diff --git a/README.md b/README.md
index cbca5292..968b3ee1 100644
--- a/README.md
+++ b/README.md
@@ -10,3 +10,5 @@
|bitget-node-sdk-api|Node|-|
|bitget-golang-sdk-api|Go|-|
|bitget-php-sdk-api|Php|-|
+
+Please join [Telegram](https://t.me/bitgetOpenapi)
diff --git a/bitget-goland-sdk-open-api/README.md b/bitget-goland-sdk-open-api/README.md
deleted file mode 100644
index e25787e6..00000000
--- a/bitget-goland-sdk-open-api/README.md
+++ /dev/null
@@ -1,374 +0,0 @@
-# Go API client for openapi
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-## Overview
-This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
-
-- API version: 2.0.0
-- Package version: 1.0.0
-- Build package: org.openapitools.codegen.languages.GoClientCodegen
-
-## Installation
-
-Install the following dependencies:
-
-```shell
-go get github.com/stretchr/testify/assert
-go get golang.org/x/oauth2
-go get golang.org/x/net/context
-```
-
-Put the package under your project folder and add the following in import:
-
-```golang
-import openapi "github.com/GIT_USER_ID/GIT_REPO_ID"
-```
-
-To use a proxy, set the environment variable `HTTP_PROXY`:
-
-```golang
-os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
-```
-
-## Configuration of Server URL
-
-Default configuration comes with `Servers` field that contains server objects as defined in the OpenAPI specification.
-
-### Select Server Configuration
-
-For using other server than the one defined on index 0 set context value `sw.ContextServerIndex` of type `int`.
-
-```golang
-ctx := context.WithValue(context.Background(), openapi.ContextServerIndex, 1)
-```
-
-### Templated Server URL
-
-Templated server URL is formatted using default variables from configuration or from context value `sw.ContextServerVariables` of type `map[string]string`.
-
-```golang
-ctx := context.WithValue(context.Background(), openapi.ContextServerVariables, map[string]string{
- "basePath": "v2",
-})
-```
-
-Note, enum values are always validated and all unused variables are silently ignored.
-
-### URLs Configuration per Operation
-
-Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
-An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
-Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.
-
-```golang
-ctx := context.WithValue(context.Background(), openapi.ContextOperationServerIndices, map[string]int{
- "{classname}Service.{nickname}": 2,
-})
-ctx = context.WithValue(context.Background(), openapi.ContextOperationServerVariables, map[string]map[string]string{
- "{classname}Service.{nickname}": {
- "port": "8443",
- },
-})
-```
-
-### Code Demo
-```golang
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "os"
- "testing"
-)
-
-func Test_openapi_ApiService(t *testing.T) {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
-
- t.Run("Test Api", func(t *testing.T) {
- configuration := openapiclient.NewConfiguration()
- configuration.AddDefaultHeader("ACCESS-KEY", "xxx")
- configuration.AddDefaultHeader("ACCESS-PASSPHRASE", "xxx")
- configuration.AddDefaultHeader("SECRET-KEY", "xxx")
- configuration.Host = "api.bitget.com"
- configuration.Scheme = "https"
-
- apiClient := openapiclient.NewAPIClient(configuration)
- param := *openapiclient.NewMixPlaceOrderRequest("USDT", "market", "open_long", float32(1.0), "BTCUSDT_UMCBL") // MixPlaceOrderRequest | param
- resp, r, err := apiClient.MixOrderApi.PlaceOrder(context.Background()).Param(param).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MixOrderApi.PlaceOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("student=%v\n", out.String())
-
- resp1, r, err := apiClient.MixOrderApi.MarginCoinCurrent(context.Background()).ProductType("umcbl").MarginCoin("USDT").Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MixOrderApi.GetMarginCoinCurrent``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- bs1, _ := json.Marshal(resp1)
- var out1 bytes.Buffer
- json.Indent(&out1, bs1, "", "\t")
- fmt.Printf("student=%v\n", out1.String())
-
- resp2, r, err := apiClient.MixOrderApi.MixOrderFills(context.Background()).Symbol("BTCUSDT_UMCBL").StartTime("1671402175000").EndTime("1673517445000").Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MixOrderApi.GetMarginCoinCurrent``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- bs2, _ := json.Marshal(resp2)
- var out2 bytes.Buffer
- json.Indent(&out2, bs2, "", "\t")
- fmt.Printf("student=%v\n", out2.String())
- })
-}
-````
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://api.bitget.com*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*MarginCrossAccountApi* | [**MarginCrossAccountAssets**](docs/MarginCrossAccountApi.md#margincrossaccountassets) | **Get** /api/margin/v1/cross/account/assets | assets
-*MarginCrossAccountApi* | [**MarginCrossAccountBorrow**](docs/MarginCrossAccountApi.md#margincrossaccountborrow) | **Post** /api/margin/v1/cross/account/borrow | borrow
-*MarginCrossAccountApi* | [**MarginCrossAccountMaxBorrowableAmount**](docs/MarginCrossAccountApi.md#margincrossaccountmaxborrowableamount) | **Post** /api/margin/v1/cross/account/maxBorrowableAmount | maxBorrowableAmount
-*MarginCrossAccountApi* | [**MarginCrossAccountMaxTransferOutAmount**](docs/MarginCrossAccountApi.md#margincrossaccountmaxtransferoutamount) | **Get** /api/margin/v1/cross/account/maxTransferOutAmount | maxTransferOutAmount
-*MarginCrossAccountApi* | [**MarginCrossAccountRepay**](docs/MarginCrossAccountApi.md#margincrossaccountrepay) | **Post** /api/margin/v1/cross/account/repay | repay
-*MarginCrossAccountApi* | [**MarginCrossAccountRiskRate**](docs/MarginCrossAccountApi.md#margincrossaccountriskrate) | **Get** /api/margin/v1/cross/account/riskRate | riskRate
-*MarginCrossAccountApi* | [**Void**](docs/MarginCrossAccountApi.md#void) | **Get** /api/margin/v1/cross/account/void | void
-*MarginCrossBorrowApi* | [**CrossLoanList**](docs/MarginCrossBorrowApi.md#crossloanlist) | **Get** /api/margin/v1/cross/loan/list | list
-*MarginCrossFinflowApi* | [**CrossFinList**](docs/MarginCrossFinflowApi.md#crossfinlist) | **Get** /api/margin/v1/cross/fin/list | list
-*MarginCrossInterestApi* | [**CrossInterestList**](docs/MarginCrossInterestApi.md#crossinterestlist) | **Get** /api/margin/v1/cross/interest/list | list
-*MarginCrossLiquidationApi* | [**CrossLiquidationList**](docs/MarginCrossLiquidationApi.md#crossliquidationlist) | **Get** /api/margin/v1/cross/liquidation/list | list
-*MarginCrossOrderApi* | [**MarginCrossBatchCancelOrder**](docs/MarginCrossOrderApi.md#margincrossbatchcancelorder) | **Post** /api/margin/v1/cross/order/batchCancelOrder | batchCancelOrder
-*MarginCrossOrderApi* | [**MarginCrossBatchPlaceOrder**](docs/MarginCrossOrderApi.md#margincrossbatchplaceorder) | **Post** /api/margin/v1/cross/order/batchPlaceOrder | batchPlaceOrder
-*MarginCrossOrderApi* | [**MarginCrossCancelOrder**](docs/MarginCrossOrderApi.md#margincrosscancelorder) | **Post** /api/margin/v1/cross/order/cancelOrder | cancelOrder
-*MarginCrossOrderApi* | [**MarginCrossFills**](docs/MarginCrossOrderApi.md#margincrossfills) | **Get** /api/margin/v1/cross/order/fills | fills
-*MarginCrossOrderApi* | [**MarginCrossHistoryOrders**](docs/MarginCrossOrderApi.md#margincrosshistoryorders) | **Get** /api/margin/v1/cross/order/history | history
-*MarginCrossOrderApi* | [**MarginCrossOpenOrders**](docs/MarginCrossOrderApi.md#margincrossopenorders) | **Get** /api/margin/v1/cross/order/openOrders | openOrders
-*MarginCrossOrderApi* | [**MarginCrossPlaceOrder**](docs/MarginCrossOrderApi.md#margincrossplaceorder) | **Post** /api/margin/v1/cross/order/placeOrder | placeOrder
-*MarginCrossPublicApi* | [**MarginCrossPublicInterestRateAndLimit**](docs/MarginCrossPublicApi.md#margincrosspublicinterestrateandlimit) | **Get** /api/margin/v1/cross/public/interestRateAndLimit | interestRateAndLimit
-*MarginCrossPublicApi* | [**MarginCrossPublicTierData**](docs/MarginCrossPublicApi.md#margincrosspublictierdata) | **Get** /api/margin/v1/cross/public/tierData | tierData
-*MarginCrossRepayApi* | [**CrossRepayList**](docs/MarginCrossRepayApi.md#crossrepaylist) | **Get** /api/margin/v1/cross/repay/list | list
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountAssets**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountassets) | **Get** /api/margin/v1/isolated/account/assets | assets
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountBorrow**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountborrow) | **Post** /api/margin/v1/isolated/account/borrow | borrow
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountMaxBorrowableAmount**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountmaxborrowableamount) | **Post** /api/margin/v1/isolated/account/maxBorrowableAmount | maxBorrowableAmount
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountMaxTransferOutAmount**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountmaxtransferoutamount) | **Get** /api/margin/v1/isolated/account/maxTransferOutAmount | maxTransferOutAmount
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountRepay**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountrepay) | **Post** /api/margin/v1/isolated/account/repay | repay
-*MarginIsolatedAccountApi* | [**MarginIsolatedAccountRiskRate**](docs/MarginIsolatedAccountApi.md#marginisolatedaccountriskrate) | **Post** /api/margin/v1/isolated/account/riskRate | riskRate
-*MarginIsolatedBorrowApi* | [**IsolatedLoanList**](docs/MarginIsolatedBorrowApi.md#isolatedloanlist) | **Get** /api/margin/v1/isolated/loan/list | list
-*MarginIsolatedFinflowApi* | [**IsolatedFinList**](docs/MarginIsolatedFinflowApi.md#isolatedfinlist) | **Get** /api/margin/v1/isolated/fin/list | list
-*MarginIsolatedInterestApi* | [**IsolatedInterestList**](docs/MarginIsolatedInterestApi.md#isolatedinterestlist) | **Get** /api/margin/v1/isolated/interest/list | list
-*MarginIsolatedLiquidationApi* | [**IsolatedLiquidationList**](docs/MarginIsolatedLiquidationApi.md#isolatedliquidationlist) | **Get** /api/margin/v1/isolated/liquidation/list | list
-*MarginIsolatedOrderApi* | [**MarginIsolatedBatchCancelOrder**](docs/MarginIsolatedOrderApi.md#marginisolatedbatchcancelorder) | **Post** /api/margin/v1/isolated/order/batchCancelOrder | batchCancelOrder
-*MarginIsolatedOrderApi* | [**MarginIsolatedBatchPlaceOrder**](docs/MarginIsolatedOrderApi.md#marginisolatedbatchplaceorder) | **Post** /api/margin/v1/isolated/order/batchPlaceOrder | batchPlaceOrder
-*MarginIsolatedOrderApi* | [**MarginIsolatedCancelOrder**](docs/MarginIsolatedOrderApi.md#marginisolatedcancelorder) | **Post** /api/margin/v1/isolated/order/cancelOrder | cancelOrder
-*MarginIsolatedOrderApi* | [**MarginIsolatedFills**](docs/MarginIsolatedOrderApi.md#marginisolatedfills) | **Get** /api/margin/v1/isolated/order/fills | fills
-*MarginIsolatedOrderApi* | [**MarginIsolatedHistoryOrders**](docs/MarginIsolatedOrderApi.md#marginisolatedhistoryorders) | **Get** /api/margin/v1/isolated/order/history | history
-*MarginIsolatedOrderApi* | [**MarginIsolatedOpenOrders**](docs/MarginIsolatedOrderApi.md#marginisolatedopenorders) | **Get** /api/margin/v1/isolated/order/openOrders | openOrders
-*MarginIsolatedOrderApi* | [**MarginIsolatedPlaceOrder**](docs/MarginIsolatedOrderApi.md#marginisolatedplaceorder) | **Post** /api/margin/v1/isolated/order/placeOrder | placeOrder
-*MarginIsolatedPublicApi* | [**MarginIsolatedPublicInterestRateAndLimit**](docs/MarginIsolatedPublicApi.md#marginisolatedpublicinterestrateandlimit) | **Get** /api/margin/v1/isolated/public/interestRateAndLimit | interestRateAndLimit
-*MarginIsolatedPublicApi* | [**MarginIsolatedPublicTierData**](docs/MarginIsolatedPublicApi.md#marginisolatedpublictierdata) | **Get** /api/margin/v1/isolated/public/tierData | tierData
-*MarginIsolatedRepayApi* | [**IsolateRepayList**](docs/MarginIsolatedRepayApi.md#isolaterepaylist) | **Get** /api/margin/v1/isolated/repay/list | list
-*MarginPublicApi* | [**MarginPublicCurrencies**](docs/MarginPublicApi.md#marginpubliccurrencies) | **Get** /api/margin/v1/public/currencies | currencies
-*P2pMerchantApi* | [**MerchantAdvList**](docs/P2pMerchantApi.md#merchantadvlist) | **Get** /api/p2p/v1/merchant/advList | advList
-*P2pMerchantApi* | [**MerchantInfo**](docs/P2pMerchantApi.md#merchantinfo) | **Get** /api/p2p/v1/merchant/merchantInfo | merchantInfo
-*P2pMerchantApi* | [**MerchantList**](docs/P2pMerchantApi.md#merchantlist) | **Get** /api/p2p/v1/merchant/merchantList | merchantList
-*P2pMerchantApi* | [**MerchantOrderList**](docs/P2pMerchantApi.md#merchantorderlist) | **Get** /api/p2p/v1/merchant/orderList | orderList
-
-
-## Documentation For Models
-
- - [ApiResponseResultOfListOfMarginCrossAssetsPopulationResult](docs/ApiResponseResultOfListOfMarginCrossAssetsPopulationResult.md)
- - [ApiResponseResultOfListOfMarginCrossLevelResult](docs/ApiResponseResultOfListOfMarginCrossLevelResult.md)
- - [ApiResponseResultOfListOfMarginCrossRateAndLimitResult](docs/ApiResponseResultOfListOfMarginCrossRateAndLimitResult.md)
- - [ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult](docs/ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult.md)
- - [ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult](docs/ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult.md)
- - [ApiResponseResultOfListOfMarginIsolatedLevelResult](docs/ApiResponseResultOfListOfMarginIsolatedLevelResult.md)
- - [ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult](docs/ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult.md)
- - [ApiResponseResultOfListOfMarginSystemResult](docs/ApiResponseResultOfListOfMarginSystemResult.md)
- - [ApiResponseResultOfMarginBatchCancelOrderResult](docs/ApiResponseResultOfMarginBatchCancelOrderResult.md)
- - [ApiResponseResultOfMarginBatchPlaceOrderResult](docs/ApiResponseResultOfMarginBatchPlaceOrderResult.md)
- - [ApiResponseResultOfMarginCrossAssetsResult](docs/ApiResponseResultOfMarginCrossAssetsResult.md)
- - [ApiResponseResultOfMarginCrossAssetsRiskResult](docs/ApiResponseResultOfMarginCrossAssetsRiskResult.md)
- - [ApiResponseResultOfMarginCrossBorrowLimitResult](docs/ApiResponseResultOfMarginCrossBorrowLimitResult.md)
- - [ApiResponseResultOfMarginCrossFinFlowResult](docs/ApiResponseResultOfMarginCrossFinFlowResult.md)
- - [ApiResponseResultOfMarginCrossMaxBorrowResult](docs/ApiResponseResultOfMarginCrossMaxBorrowResult.md)
- - [ApiResponseResultOfMarginCrossRepayResult](docs/ApiResponseResultOfMarginCrossRepayResult.md)
- - [ApiResponseResultOfMarginInterestInfoResult](docs/ApiResponseResultOfMarginInterestInfoResult.md)
- - [ApiResponseResultOfMarginIsolatedAssetsResult](docs/ApiResponseResultOfMarginIsolatedAssetsResult.md)
- - [ApiResponseResultOfMarginIsolatedBorrowLimitResult](docs/ApiResponseResultOfMarginIsolatedBorrowLimitResult.md)
- - [ApiResponseResultOfMarginIsolatedFinFlowResult](docs/ApiResponseResultOfMarginIsolatedFinFlowResult.md)
- - [ApiResponseResultOfMarginIsolatedInterestInfoResult](docs/ApiResponseResultOfMarginIsolatedInterestInfoResult.md)
- - [ApiResponseResultOfMarginIsolatedLiquidationInfoResult](docs/ApiResponseResultOfMarginIsolatedLiquidationInfoResult.md)
- - [ApiResponseResultOfMarginIsolatedLoanInfoResult](docs/ApiResponseResultOfMarginIsolatedLoanInfoResult.md)
- - [ApiResponseResultOfMarginIsolatedMaxBorrowResult](docs/ApiResponseResultOfMarginIsolatedMaxBorrowResult.md)
- - [ApiResponseResultOfMarginIsolatedRepayInfoResult](docs/ApiResponseResultOfMarginIsolatedRepayInfoResult.md)
- - [ApiResponseResultOfMarginIsolatedRepayResult](docs/ApiResponseResultOfMarginIsolatedRepayResult.md)
- - [ApiResponseResultOfMarginLiquidationInfoResult](docs/ApiResponseResultOfMarginLiquidationInfoResult.md)
- - [ApiResponseResultOfMarginLoanInfoResult](docs/ApiResponseResultOfMarginLoanInfoResult.md)
- - [ApiResponseResultOfMarginOpenOrderInfoResult](docs/ApiResponseResultOfMarginOpenOrderInfoResult.md)
- - [ApiResponseResultOfMarginPlaceOrderResult](docs/ApiResponseResultOfMarginPlaceOrderResult.md)
- - [ApiResponseResultOfMarginRepayInfoResult](docs/ApiResponseResultOfMarginRepayInfoResult.md)
- - [ApiResponseResultOfMarginTradeDetailInfoResult](docs/ApiResponseResultOfMarginTradeDetailInfoResult.md)
- - [ApiResponseResultOfMerchantAdvResult](docs/ApiResponseResultOfMerchantAdvResult.md)
- - [ApiResponseResultOfMerchantInfoResult](docs/ApiResponseResultOfMerchantInfoResult.md)
- - [ApiResponseResultOfMerchantOrderResult](docs/ApiResponseResultOfMerchantOrderResult.md)
- - [ApiResponseResultOfMerchantPersonInfo](docs/ApiResponseResultOfMerchantPersonInfo.md)
- - [ApiResponseResultOfVoid](docs/ApiResponseResultOfVoid.md)
- - [FiatPaymentDetailInfo](docs/FiatPaymentDetailInfo.md)
- - [FiatPaymentInfo](docs/FiatPaymentInfo.md)
- - [MarginBatchCancelOrderRequest](docs/MarginBatchCancelOrderRequest.md)
- - [MarginBatchCancelOrderResult](docs/MarginBatchCancelOrderResult.md)
- - [MarginBatchOrdersRequest](docs/MarginBatchOrdersRequest.md)
- - [MarginBatchPlaceOrderFailureResult](docs/MarginBatchPlaceOrderFailureResult.md)
- - [MarginBatchPlaceOrderResult](docs/MarginBatchPlaceOrderResult.md)
- - [MarginCancelOrderFailureResult](docs/MarginCancelOrderFailureResult.md)
- - [MarginCancelOrderRequest](docs/MarginCancelOrderRequest.md)
- - [MarginCancelOrderResult](docs/MarginCancelOrderResult.md)
- - [MarginCrossAssetsPopulationResult](docs/MarginCrossAssetsPopulationResult.md)
- - [MarginCrossAssetsResult](docs/MarginCrossAssetsResult.md)
- - [MarginCrossAssetsRiskResult](docs/MarginCrossAssetsRiskResult.md)
- - [MarginCrossBorrowLimitResult](docs/MarginCrossBorrowLimitResult.md)
- - [MarginCrossFinFlowInfo](docs/MarginCrossFinFlowInfo.md)
- - [MarginCrossFinFlowResult](docs/MarginCrossFinFlowResult.md)
- - [MarginCrossLevelResult](docs/MarginCrossLevelResult.md)
- - [MarginCrossLimitRequest](docs/MarginCrossLimitRequest.md)
- - [MarginCrossMaxBorrowRequest](docs/MarginCrossMaxBorrowRequest.md)
- - [MarginCrossMaxBorrowResult](docs/MarginCrossMaxBorrowResult.md)
- - [MarginCrossRateAndLimitResult](docs/MarginCrossRateAndLimitResult.md)
- - [MarginCrossRepayRequest](docs/MarginCrossRepayRequest.md)
- - [MarginCrossRepayResult](docs/MarginCrossRepayResult.md)
- - [MarginCrossVipResult](docs/MarginCrossVipResult.md)
- - [MarginInterestInfo](docs/MarginInterestInfo.md)
- - [MarginInterestInfoResult](docs/MarginInterestInfoResult.md)
- - [MarginIsolatedAssetsPopulationResult](docs/MarginIsolatedAssetsPopulationResult.md)
- - [MarginIsolatedAssetsResult](docs/MarginIsolatedAssetsResult.md)
- - [MarginIsolatedAssetsRiskRequest](docs/MarginIsolatedAssetsRiskRequest.md)
- - [MarginIsolatedAssetsRiskResult](docs/MarginIsolatedAssetsRiskResult.md)
- - [MarginIsolatedBorrowLimitResult](docs/MarginIsolatedBorrowLimitResult.md)
- - [MarginIsolatedFinFlowInfo](docs/MarginIsolatedFinFlowInfo.md)
- - [MarginIsolatedFinFlowResult](docs/MarginIsolatedFinFlowResult.md)
- - [MarginIsolatedInterestInfo](docs/MarginIsolatedInterestInfo.md)
- - [MarginIsolatedInterestInfoResult](docs/MarginIsolatedInterestInfoResult.md)
- - [MarginIsolatedLevelResult](docs/MarginIsolatedLevelResult.md)
- - [MarginIsolatedLimitRequest](docs/MarginIsolatedLimitRequest.md)
- - [MarginIsolatedLiquidationInfo](docs/MarginIsolatedLiquidationInfo.md)
- - [MarginIsolatedLiquidationInfoResult](docs/MarginIsolatedLiquidationInfoResult.md)
- - [MarginIsolatedLoanInfo](docs/MarginIsolatedLoanInfo.md)
- - [MarginIsolatedLoanInfoResult](docs/MarginIsolatedLoanInfoResult.md)
- - [MarginIsolatedMaxBorrowRequest](docs/MarginIsolatedMaxBorrowRequest.md)
- - [MarginIsolatedMaxBorrowResult](docs/MarginIsolatedMaxBorrowResult.md)
- - [MarginIsolatedRateAndLimitResult](docs/MarginIsolatedRateAndLimitResult.md)
- - [MarginIsolatedRepayInfo](docs/MarginIsolatedRepayInfo.md)
- - [MarginIsolatedRepayInfoResult](docs/MarginIsolatedRepayInfoResult.md)
- - [MarginIsolatedRepayRequest](docs/MarginIsolatedRepayRequest.md)
- - [MarginIsolatedRepayResult](docs/MarginIsolatedRepayResult.md)
- - [MarginIsolatedVipResult](docs/MarginIsolatedVipResult.md)
- - [MarginLiquidationInfo](docs/MarginLiquidationInfo.md)
- - [MarginLiquidationInfoResult](docs/MarginLiquidationInfoResult.md)
- - [MarginLoanInfo](docs/MarginLoanInfo.md)
- - [MarginLoanInfoResult](docs/MarginLoanInfoResult.md)
- - [MarginOpenOrderInfoResult](docs/MarginOpenOrderInfoResult.md)
- - [MarginOrderInfo](docs/MarginOrderInfo.md)
- - [MarginOrderRequest](docs/MarginOrderRequest.md)
- - [MarginPlaceOrderResult](docs/MarginPlaceOrderResult.md)
- - [MarginRepayInfo](docs/MarginRepayInfo.md)
- - [MarginRepayInfoResult](docs/MarginRepayInfoResult.md)
- - [MarginSystemResult](docs/MarginSystemResult.md)
- - [MarginTradeDetailInfo](docs/MarginTradeDetailInfo.md)
- - [MarginTradeDetailInfoResult](docs/MarginTradeDetailInfoResult.md)
- - [MerchantAdvInfo](docs/MerchantAdvInfo.md)
- - [MerchantAdvResult](docs/MerchantAdvResult.md)
- - [MerchantAdvUserLimitInfo](docs/MerchantAdvUserLimitInfo.md)
- - [MerchantInfo](docs/MerchantInfo.md)
- - [MerchantInfoResult](docs/MerchantInfoResult.md)
- - [MerchantOrderInfo](docs/MerchantOrderInfo.md)
- - [MerchantOrderPaymentInfo](docs/MerchantOrderPaymentInfo.md)
- - [MerchantOrderResult](docs/MerchantOrderResult.md)
- - [MerchantPersonInfo](docs/MerchantPersonInfo.md)
- - [OrderPaymentDetailInfo](docs/OrderPaymentDetailInfo.md)
-
-
-## Documentation For Authorization
-
-
-
-### ACCESS_KEY
-
-- **Type**: API key
-- **API key parameter name**: ACCESS-KEY
-- **Location**: HTTP header
-
-Note, each API key must be added to a map of `map[string]APIKey` where the key is: ACCESS-KEY and passed in as the auth context for each request.
-
-
-### ACCESS_PASSPHRASE
-
-- **Type**: API key
-- **API key parameter name**: ACCESS-PASSPHRASE
-- **Location**: HTTP header
-
-Note, each API key must be added to a map of `map[string]APIKey` where the key is: ACCESS-PASSPHRASE and passed in as the auth context for each request.
-
-
-### ACCESS_SIGN
-
-- **Type**: API key
-- **API key parameter name**: ACCESS-SIGN
-- **Location**: HTTP header
-
-Note, each API key must be added to a map of `map[string]APIKey` where the key is: ACCESS-SIGN and passed in as the auth context for each request.
-
-
-### ACCESS_TIMESTAMP
-
-- **Type**: API key
-- **API key parameter name**: ACCESS-TIMESTAMP
-- **Location**: HTTP header
-
-Note, each API key must be added to a map of `map[string]APIKey` where the key is: ACCESS-TIMESTAMP and passed in as the auth context for each request.
-
-
-### SECRET_KEY
-
-- **Type**: API key
-- **API key parameter name**: SECRET-KEY
-- **Location**: HTTP header
-
-Note, each API key must be added to a map of `map[string]APIKey` where the key is: SECRET-KEY and passed in as the auth context for each request.
-
-
-## Documentation for Utility Methods
-
-Due to the fact that model structure members are all pointers, this package contains
-a number of utility functions to easily obtain pointers to values of basic types.
-Each of these functions takes a value of the given basic type and returns a pointer to it:
-
-* `PtrBool`
-* `PtrInt`
-* `PtrInt32`
-* `PtrInt64`
-* `PtrFloat`
-* `PtrFloat32`
-* `PtrFloat64`
-* `PtrString`
-* `PtrTime`
-
-## Author
-
-
-
diff --git a/bitget-goland-sdk-open-api/api/openapi.yaml b/bitget-goland-sdk-open-api/api/openapi.yaml
deleted file mode 100644
index 461263f4..00000000
--- a/bitget-goland-sdk-open-api/api/openapi.yaml
+++ /dev/null
@@ -1,6267 +0,0 @@
-openapi: 3.0.1
-info:
- title: Bitget Open API
- version: 2.0.0
-servers:
-- url: https://api.bitget.com/
-tags:
-- description: Margin Cross Account Controller
- name: margin_cross_account
-- description: Margin Cross Borrow Query Controller
- name: margin_cross_borrow
-- description: Margin Cross Fin Flow Query Controller
- name: margin_cross_finflow
-- description: Margin Cross Interest Query Controller
- name: margin_cross_interest
-- description: Margin Cross Liquidation Query Controller
- name: margin_cross_liquidation
-- description: Margin Cross Order Controller
- name: margin_cross_order
-- description: Margin Cross Public Controller
- name: margin_cross_public
-- description: Margin Cross Repay Query Controller
- name: margin_cross_repay
-- description: Margin Isolated Account Controller
- name: margin_isolated_account
-- description: Margin Isolated Borrow Query Controller
- name: margin_isolated_borrow
-- description: Margin Isolated Fin Flow Query Controller
- name: margin_isolated_finflow
-- description: Margin Isolated Interest Query Controller
- name: margin_isolated_interest
-- description: Margin Isolated Liquidation Query Controller
- name: margin_isolated_liquidation
-- description: Margin Isolated Order Controller
- name: margin_isolated_order
-- description: Margin Isolated Public Controller
- name: margin_isolated_public
-- description: Margin Isolated Repay Query Controller
- name: margin_isolated_repay
-- description: Margin Public Controller
- name: margin_public
-- description: Merchant Controller
- name: p2p_merchant
-paths:
- /api/margin/v1/cross/account/assets:
- get:
- deprecated: false
- description: Get Assets
- operationId: marginCrossAccountAssets
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginCrossAssetsPopulationResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: assets
- tags:
- - margin_cross_account
- /api/margin/v1/cross/account/borrow:
- post:
- deprecated: false
- description: borrow
- operationId: marginCrossAccountBorrow
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginCrossLimitRequest'
- description: marginCrossLimitRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossBorrowLimitResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: borrow
- tags:
- - margin_cross_account
- x-codegen-request-body-name: marginCrossLimitRequest
- /api/margin/v1/cross/account/maxBorrowableAmount:
- post:
- deprecated: false
- description: Get MaxBorrowableAmount
- operationId: marginCrossAccountMaxBorrowableAmount
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginCrossMaxBorrowRequest'
- description: marginCrossMaxBorrowRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossMaxBorrowResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: maxBorrowableAmount
- tags:
- - margin_cross_account
- x-codegen-request-body-name: marginCrossMaxBorrowRequest
- /api/margin/v1/cross/account/maxTransferOutAmount:
- get:
- deprecated: false
- description: Get Max TransferOutAmount
- operationId: marginCrossAccountMaxTransferOutAmount
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossAssetsResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: maxTransferOutAmount
- tags:
- - margin_cross_account
- /api/margin/v1/cross/account/repay:
- post:
- deprecated: false
- description: repay
- operationId: marginCrossAccountRepay
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginCrossRepayRequest'
- description: marginCrossRepayRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossRepayResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: repay
- tags:
- - margin_cross_account
- x-codegen-request-body-name: marginCrossRepayRequest
- /api/margin/v1/cross/account/riskRate:
- get:
- deprecated: false
- description: riskRate
- operationId: marginCrossAccountRiskRate
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossAssetsRiskResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: riskRate
- tags:
- - margin_cross_account
- /api/margin/v1/cross/account/void:
- get:
- deprecated: false
- description: empty
- operationId: void
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: void
- tags:
- - margin_cross_account
- /api/margin/v1/cross/fin/list:
- get:
- deprecated: false
- description: Get finance flow List
- operationId: crossFinList
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: marginType
- example: transfer_in
- in: query
- name: marginType
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- example: minId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginCrossFinFlowResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_cross_finflow
- /api/margin/v1/cross/interest/list:
- get:
- deprecated: false
- description: Get interest List
- operationId: crossInterestList
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: startTime
- example: "1678193138000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginInterestInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_cross_interest
- /api/margin/v1/cross/liquidation/list:
- get:
- deprecated: false
- description: Get liquidation List
- operationId: crossLiquidationList
- parameters:
- - description: startTime
- example: "1678193138000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginLiquidationInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_cross_liquidation
- /api/margin/v1/cross/loan/list:
- get:
- deprecated: false
- description: Get Loan List
- operationId: crossLoanList
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: loanId
- in: query
- name: loanId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- example: minId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginLoanInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_cross_borrow
- /api/margin/v1/cross/order/batchCancelOrder:
- post:
- deprecated: false
- description: Margin Cross BatchCancelOrder
- operationId: marginCrossBatchCancelOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginBatchCancelOrderRequest'
- description: marginBatchCancelOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchCancelOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: batchCancelOrder
- tags:
- - margin_cross_order
- x-codegen-request-body-name: marginBatchCancelOrderRequest
- /api/margin/v1/cross/order/batchPlaceOrder:
- post:
- deprecated: false
- description: Margin Cross PlaceOrder
- operationId: marginCrossBatchPlaceOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginBatchOrdersRequest'
- description: marginOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchPlaceOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: batchPlaceOrder
- tags:
- - margin_cross_order
- x-codegen-request-body-name: marginOrderRequest
- /api/margin/v1/cross/order/cancelOrder:
- post:
- deprecated: false
- description: Margin Cross CancelOrder
- operationId: marginCrossCancelOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginCancelOrderRequest'
- description: marginCancelOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchCancelOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: cancelOrder
- tags:
- - margin_cross_order
- x-codegen-request-body-name: marginCancelOrderRequest
- /api/margin/v1/cross/order/fills:
- get:
- deprecated: false
- description: Margin Cross Fills
- operationId: marginCrossFills
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: source
- example: API
- in: query
- name: source
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: lastFillId
- in: query
- name: lastFillId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginTradeDetailInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: fills
- tags:
- - margin_cross_order
- /api/margin/v1/cross/order/history:
- get:
- deprecated: false
- description: Margin Cross historyOrders
- operationId: marginCrossHistoryOrders
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: source
- example: API
- in: query
- name: source
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: clientOid
- example: "123456"
- in: query
- name: clientOid
- schema:
- type: string
- - description: minId
- in: query
- name: minId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginOpenOrderInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: history
- tags:
- - margin_cross_order
- /api/margin/v1/cross/order/openOrders:
- get:
- deprecated: false
- description: Margin Cross openOrders
- operationId: marginCrossOpenOrders
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: clientOid
- example: "123456"
- in: query
- name: clientOid
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginOpenOrderInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: openOrders
- tags:
- - margin_cross_order
- /api/margin/v1/cross/order/placeOrder:
- post:
- deprecated: false
- description: Margin Cross PlaceOrder
- operationId: marginCrossPlaceOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginOrderRequest'
- description: marginOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginPlaceOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: placeOrder
- tags:
- - margin_cross_order
- x-codegen-request-body-name: marginOrderRequest
- /api/margin/v1/cross/public/interestRateAndLimit:
- get:
- deprecated: false
- description: Get InterestRateAndLimit
- operationId: marginCrossPublicInterestRateAndLimit
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginCrossRateAndLimitResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- summary: interestRateAndLimit
- tags:
- - margin_cross_public
- /api/margin/v1/cross/public/tierData:
- get:
- deprecated: false
- description: Get TierData
- operationId: marginCrossPublicTierData
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginCrossLevelResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- summary: tierData
- tags:
- - margin_cross_public
- /api/margin/v1/cross/repay/list:
- get:
- deprecated: false
- description: Get liquidation List
- operationId: crossRepayList
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: repayId
- example: "32428347234"
- in: query
- name: repayId
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- example: minId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginRepayInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_cross_repay
- /api/margin/v1/isolated/account/assets:
- get:
- deprecated: false
- description: Get Assets
- operationId: marginIsolatedAccountAssets
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: assets
- tags:
- - margin_isolated_account
- /api/margin/v1/isolated/account/borrow:
- post:
- deprecated: false
- description: borrow
- operationId: marginIsolatedAccountBorrow
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginIsolatedLimitRequest'
- description: marginIsolatedLimitRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedBorrowLimitResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: borrow
- tags:
- - margin_isolated_account
- x-codegen-request-body-name: marginIsolatedLimitRequest
- /api/margin/v1/isolated/account/maxBorrowableAmount:
- post:
- deprecated: false
- description: Get MaxBorrowableAmount
- operationId: marginIsolatedAccountMaxBorrowableAmount
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginIsolatedMaxBorrowRequest'
- description: marginIsolatedMaxBorrowRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedMaxBorrowResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: maxBorrowableAmount
- tags:
- - margin_isolated_account
- x-codegen-request-body-name: marginIsolatedMaxBorrowRequest
- /api/margin/v1/isolated/account/maxTransferOutAmount:
- get:
- deprecated: false
- description: Get Max TransferOutAmount
- operationId: marginIsolatedAccountMaxTransferOutAmount
- parameters:
- - description: coin
- example: USDT
- in: query
- name: coin
- required: true
- schema:
- type: string
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedAssetsResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: maxTransferOutAmount
- tags:
- - margin_isolated_account
- /api/margin/v1/isolated/account/repay:
- post:
- deprecated: false
- description: repay
- operationId: marginIsolatedAccountRepay
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginIsolatedRepayRequest'
- description: marginIsolatedRepayRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedRepayResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: repay
- tags:
- - margin_isolated_account
- x-codegen-request-body-name: marginIsolatedRepayRequest
- /api/margin/v1/isolated/account/riskRate:
- post:
- deprecated: false
- description: riskRate
- operationId: marginIsolatedAccountRiskRate
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginIsolatedAssetsRiskRequest'
- description: marginIsolatedAssetsRiskRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: riskRate
- tags:
- - margin_isolated_account
- x-codegen-request-body-name: marginIsolatedAssetsRiskRequest
- /api/margin/v1/isolated/fin/list:
- get:
- deprecated: false
- description: Get finance flow List
- operationId: isolatedFinList
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: marginType
- example: transfer_in
- in: query
- name: marginType
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: loanId
- in: query
- name: loanId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedFinFlowResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_isolated_finflow
- /api/margin/v1/isolated/interest/list:
- get:
- deprecated: false
- description: Get interest List
- operationId: isolatedInterestList
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: startTime
- example: "1678193138000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedInterestInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_isolated_interest
- /api/margin/v1/isolated/liquidation/list:
- get:
- deprecated: false
- description: Get liquidation List
- operationId: isolatedLiquidationList
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: startTime
- example: "1678193138000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedLiquidationInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_isolated_liquidation
- /api/margin/v1/isolated/loan/list:
- get:
- deprecated: false
- description: Get Loan List
- operationId: isolatedLoanList
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: loanId
- in: query
- name: loanId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedLoanInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_isolated_borrow
- /api/margin/v1/isolated/order/batchCancelOrder:
- post:
- deprecated: false
- description: Margin Isolated BatchCancelOrder
- operationId: marginIsolatedBatchCancelOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginBatchCancelOrderRequest'
- description: marginBatchCancelOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchCancelOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: batchCancelOrder
- tags:
- - margin_isolated_order
- x-codegen-request-body-name: marginBatchCancelOrderRequest
- /api/margin/v1/isolated/order/batchPlaceOrder:
- post:
- deprecated: false
- description: Margin Isolated PlaceOrder
- operationId: marginIsolatedBatchPlaceOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginBatchOrdersRequest'
- description: marginOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchPlaceOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: batchPlaceOrder
- tags:
- - margin_isolated_order
- x-codegen-request-body-name: marginOrderRequest
- /api/margin/v1/isolated/order/cancelOrder:
- post:
- deprecated: false
- description: Margin Isolated CancelOrder
- operationId: marginIsolatedCancelOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginCancelOrderRequest'
- description: marginCancelOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginBatchCancelOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: cancelOrder
- tags:
- - margin_isolated_order
- x-codegen-request-body-name: marginCancelOrderRequest
- /api/margin/v1/isolated/order/fills:
- get:
- deprecated: false
- description: Margin Isolated Fills
- operationId: marginIsolatedFills
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: lastFillId
- in: query
- name: lastFillId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginTradeDetailInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: fills
- tags:
- - margin_isolated_order
- /api/margin/v1/isolated/order/history:
- get:
- deprecated: false
- description: Margin Isolated historyOrders
- operationId: marginIsolatedHistoryOrders
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- schema:
- type: string
- - description: source
- example: API
- in: query
- name: source
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: clientOid
- example: "123456"
- in: query
- name: clientOid
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: minId
- in: query
- name: minId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginOpenOrderInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: history
- tags:
- - margin_isolated_order
- /api/margin/v1/isolated/order/openOrders:
- get:
- deprecated: false
- description: Margin Isolated openOrders
- operationId: marginIsolatedOpenOrders
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: orderId
- example: "32428347234"
- in: query
- name: orderId
- schema:
- type: string
- - description: clientOid
- example: "123456"
- in: query
- name: clientOid
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginOpenOrderInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: openOrders
- tags:
- - margin_isolated_order
- /api/margin/v1/isolated/order/placeOrder:
- post:
- deprecated: false
- description: Margin Isolated PlaceOrder
- operationId: marginIsolatedPlaceOrder
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/MarginOrderRequest'
- description: marginOrderRequest
- required: true
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginPlaceOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: placeOrder
- tags:
- - margin_isolated_order
- x-codegen-request-body-name: marginOrderRequest
- /api/margin/v1/isolated/public/interestRateAndLimit:
- get:
- deprecated: false
- description: Get InterestRateAndLimit
- operationId: marginIsolatedPublicInterestRateAndLimit
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- summary: interestRateAndLimit
- tags:
- - margin_isolated_public
- /api/margin/v1/isolated/public/tierData:
- get:
- deprecated: false
- description: Get TierData
- operationId: marginIsolatedPublicTierData
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginIsolatedLevelResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- summary: tierData
- tags:
- - margin_isolated_public
- /api/margin/v1/isolated/repay/list:
- get:
- deprecated: false
- description: Get liquidation List
- operationId: isolateRepayList
- parameters:
- - description: symbol
- example: BTCUSDT
- in: query
- name: symbol
- required: true
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: repayId
- in: query
- name: repayId
- schema:
- type: string
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: pageId
- in: query
- name: pageId
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMarginIsolatedRepayInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: list
- tags:
- - margin_isolated_repay
- /api/margin/v1/public/currencies:
- get:
- deprecated: false
- description: Get Currencies
- operationId: marginPublicCurrencies
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfListOfMarginSystemResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- summary: currencies
- tags:
- - margin_public
- /api/p2p/v1/merchant/advList:
- get:
- deprecated: false
- description: P2P merchant adv info
- operationId: merchantAdvList
- parameters:
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: status
- example: upper
- in: query
- name: status
- schema:
- type: string
- - description: type
- example: sell
- in: query
- name: type
- schema:
- type: string
- - description: advNo
- example: "1678193338000"
- in: query
- name: advNo
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: languageType
- example: en-US
- in: query
- name: languageType
- schema:
- type: string
- - description: fiat
- example: USD
- in: query
- name: fiat
- schema:
- type: string
- - description: languageType
- example: "43534"
- in: query
- name: lastMinId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- - description: orderBy
- example: createTime
- in: query
- name: orderBy
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMerchantAdvResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: advList
- tags:
- - p2p_merchant
- /api/p2p/v1/merchant/merchantInfo:
- get:
- deprecated: false
- description: P2P merchant info self
- operationId: merchantInfo
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMerchantPersonInfo'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: merchantInfo
- tags:
- - p2p_merchant
- /api/p2p/v1/merchant/merchantList:
- get:
- deprecated: false
- description: P2P merchant list
- operationId: merchantList
- parameters:
- - description: online
- example: "yes"
- in: query
- name: online
- schema:
- type: string
- - description: merchantId
- example: "4534534534"
- in: query
- name: merchantId
- schema:
- type: string
- - description: lastMinId
- example: "1678193338000"
- in: query
- name: lastMinId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMerchantInfoResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: merchantList
- tags:
- - p2p_merchant
- /api/p2p/v1/merchant/orderList:
- get:
- deprecated: false
- description: P2P merchant order info
- operationId: merchantOrderList
- parameters:
- - description: startTime
- example: "1678193338000"
- in: query
- name: startTime
- required: true
- schema:
- type: string
- - description: endTime
- example: "1678193338000"
- in: query
- name: endTime
- schema:
- type: string
- - description: status
- example: wait_pay
- in: query
- name: status
- schema:
- type: string
- - description: type
- example: sell
- in: query
- name: type
- schema:
- type: string
- - description: advNo
- example: "1678193338000"
- in: query
- name: advNo
- schema:
- type: string
- - description: orderNo
- example: "23842478324723423"
- in: query
- name: orderNo
- schema:
- type: string
- - description: coin
- example: USDT
- in: query
- name: coin
- schema:
- type: string
- - description: languageType
- example: en-US
- in: query
- name: languageType
- schema:
- type: string
- - description: fiat
- example: USD
- in: query
- name: fiat
- schema:
- type: string
- - description: languageType
- example: "43534"
- in: query
- name: lastMinId
- schema:
- type: string
- - description: pageSize
- example: "10"
- in: query
- name: pageSize
- schema:
- type: string
- responses:
- "200":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfMerchantOrderResult'
- description: OK
- "400":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Bad Request
- "429":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Gateway Frequency Limit
- "500":
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ApiResponseResultOfVoid'
- description: Server Error
- security:
- - ACCESS_TIMESTAMP: []
- - SECRET_KEY: []
- - ACCESS_PASSPHRASE: []
- - ACCESS_SIGN: []
- - ACCESS_KEY: []
- summary: orderList
- tags:
- - p2p_merchant
-components:
- schemas:
- ApiResponseResultOfListOfMarginCrossAssetsPopulationResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginCrossAssetsPopulationResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
- type: object
- ApiResponseResultOfListOfMarginCrossLevelResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginCrossLevelResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginCrossLevelResult
- type: object
- ApiResponseResultOfListOfMarginCrossRateAndLimitResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginCrossRateAndLimitResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginCrossRateAndLimitResult
- type: object
- ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginIsolatedAssetsPopulationResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
- type: object
- ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginIsolatedAssetsRiskResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
- type: object
- ApiResponseResultOfListOfMarginIsolatedLevelResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginIsolatedLevelResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginIsolatedLevelResult
- type: object
- ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginIsolatedRateAndLimitResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
- type: object
- ApiResponseResultOfListOfMarginSystemResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data: {}
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- description: data
- example: {}
- items:
- $ref: '#/components/schemas/MarginSystemResult'
- type: array
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfListOfMarginSystemResult
- type: object
- ApiResponseResultOfMarginBatchCancelOrderResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- failure:
- - orderId: orderId
- clientOid: clientOid
- errorMsg: errorMsg
- - orderId: orderId
- clientOid: clientOid
- errorMsg: errorMsg
- resultList:
- - orderId: orderId
- clientOid: clientOid
- - orderId: orderId
- clientOid: clientOid
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginBatchCancelOrderResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginBatchCancelOrderResult
- type: object
- ApiResponseResultOfMarginBatchPlaceOrderResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- failure:
- - clientOid: clientOid
- errorMsg: errorMsg
- - clientOid: clientOid
- errorMsg: errorMsg
- resultList:
- - orderId: orderId
- clientOid: clientOid
- - orderId: orderId
- clientOid: clientOid
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginBatchPlaceOrderResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginBatchPlaceOrderResult
- type: object
- ApiResponseResultOfMarginCrossAssetsResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxTransferOutAmount: maxTransferOutAmount
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossAssetsResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossAssetsResult
- type: object
- ApiResponseResultOfMarginCrossAssetsRiskResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- riskRate: riskRate
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossAssetsRiskResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossAssetsRiskResult
- type: object
- ApiResponseResultOfMarginCrossBorrowLimitResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- borrowAmount: borrowAmount
- clientOid: clientOid
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossBorrowLimitResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossBorrowLimitResult
- type: object
- ApiResponseResultOfMarginCrossFinFlowResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- - amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossFinFlowResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossFinFlowResult
- type: object
- ApiResponseResultOfMarginCrossMaxBorrowResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxBorrowableAmount: maxBorrowableAmount
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossMaxBorrowResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossMaxBorrowResult
- type: object
- ApiResponseResultOfMarginCrossRepayResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- remainDebtAmount: remainDebtAmount
- repayAmount: repayAmount
- clientOid: clientOid
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginCrossRepayResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginCrossRepayResult
- type: object
- ApiResponseResultOfMarginInterestInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - interestRate: interestRate
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- - interestRate: interestRate
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginInterestInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginInterestInfoResult
- type: object
- ApiResponseResultOfMarginIsolatedAssetsResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxTransferOutAmount: maxTransferOutAmount
- symbol: symbol
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedAssetsResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedAssetsResult
- type: object
- ApiResponseResultOfMarginIsolatedBorrowLimitResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- symbol: symbol
- borrowAmount: borrowAmount
- clientOid: clientOid
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedBorrowLimitResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedBorrowLimitResult
- type: object
- ApiResponseResultOfMarginIsolatedFinFlowResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- - symbol: symbol
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedFinFlowResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedFinFlowResult
- type: object
- ApiResponseResultOfMarginIsolatedInterestInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - interestRate: interestRate
- symbol: symbol
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- - interestRate: interestRate
- symbol: symbol
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedInterestInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedInterestInfoResult
- type: object
- ApiResponseResultOfMarginIsolatedLiquidationInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- - symbol: symbol
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedLiquidationInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedLiquidationInfoResult
- type: object
- ApiResponseResultOfMarginIsolatedLoanInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- - symbol: symbol
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedLoanInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedLoanInfoResult
- type: object
- ApiResponseResultOfMarginIsolatedMaxBorrowResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- symbol: symbol
- maxBorrowableAmount: maxBorrowableAmount
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedMaxBorrowResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedMaxBorrowResult
- type: object
- ApiResponseResultOfMarginIsolatedRepayInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- - symbol: symbol
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedRepayInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedRepayInfoResult
- type: object
- ApiResponseResultOfMarginIsolatedRepayResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- symbol: symbol
- remainDebtAmount: remainDebtAmount
- repayAmount: repayAmount
- clientOid: clientOid
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginIsolatedRepayResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginIsolatedRepayResult
- type: object
- ApiResponseResultOfMarginLiquidationInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- - totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginLiquidationInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginLiquidationInfoResult
- type: object
- ApiResponseResultOfMarginLoanInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- - amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginLoanInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginLoanInfoResult
- type: object
- ApiResponseResultOfMarginOpenOrderInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- orderList:
- - orderType: orderType
- symbol: symbol
- side: side
- loanType: loanType
- orderId: orderId
- fillTotalAmount: fillTotalAmount
- source: source
- fillPrice: fillPrice
- baseQuantity: baseQuantity
- price: price
- quoteAmount: quoteAmount
- ctime: ctime
- fillQuantity: fillQuantity
- clientOid: clientOid
- status: status
- - orderType: orderType
- symbol: symbol
- side: side
- loanType: loanType
- orderId: orderId
- fillTotalAmount: fillTotalAmount
- source: source
- fillPrice: fillPrice
- baseQuantity: baseQuantity
- price: price
- quoteAmount: quoteAmount
- ctime: ctime
- fillQuantity: fillQuantity
- clientOid: clientOid
- status: status
- minId: minId
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginOpenOrderInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginOpenOrderInfoResult
- type: object
- ApiResponseResultOfMarginPlaceOrderResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- orderId: orderId
- clientOid: clientOid
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginPlaceOrderResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginPlaceOrderResult
- type: object
- ApiResponseResultOfMarginRepayInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- resultList:
- - totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- - totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginRepayInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginRepayInfoResult
- type: object
- ApiResponseResultOfMarginTradeDetailInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- maxId: maxId
- minId: minId
- fills:
- - orderType: orderType
- fees: fees
- side: side
- orderId: orderId
- fillId: fillId
- ctime: ctime
- fillTotalAmount: fillTotalAmount
- fillQuantity: fillQuantity
- fillPrice: fillPrice
- feeCcy: feeCcy
- - orderType: orderType
- fees: fees
- side: side
- orderId: orderId
- fillId: fillId
- ctime: ctime
- fillTotalAmount: fillTotalAmount
- fillQuantity: fillQuantity
- fillPrice: fillPrice
- feeCcy: feeCcy
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MarginTradeDetailInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMarginTradeDetailInfoResult
- type: object
- ApiResponseResultOfMerchantAdvResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- advList:
- - minAmount: minAmount
- amount: amount
- fiatPrecision: fiatPrecision
- payDuration: payDuration
- dealAmount: dealAmount
- advId: advId
- remark: remark
- fiatCode: fiatCode
- type: type
- advNo: advNo
- hide: hide
- coinPrecision: coinPrecision
- turnoverNum: turnoverNum
- price: price
- turnoverRate: turnoverRate
- ctime: ctime
- fiatSymbol: fiatSymbol
- paymentMethod:
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- maxAmount: maxAmount
- userLimit:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- coin: coin
- status: status
- - minAmount: minAmount
- amount: amount
- fiatPrecision: fiatPrecision
- payDuration: payDuration
- dealAmount: dealAmount
- advId: advId
- remark: remark
- fiatCode: fiatCode
- type: type
- advNo: advNo
- hide: hide
- coinPrecision: coinPrecision
- turnoverNum: turnoverNum
- price: price
- turnoverRate: turnoverRate
- ctime: ctime
- fiatSymbol: fiatSymbol
- paymentMethod:
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- maxAmount: maxAmount
- userLimit:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- coin: coin
- status: status
- minId: minId
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MerchantAdvResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMerchantAdvResult
- type: object
- ApiResponseResultOfMerchantInfoResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- minId: minId
- resultList:
- - totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- thirtyBuy: thirtyBuy
- isOnline: isOnline
- totalTrades: totalTrades
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- - totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- thirtyBuy: thirtyBuy
- isOnline: isOnline
- totalTrades: totalTrades
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MerchantInfoResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMerchantInfoResult
- type: object
- ApiResponseResultOfMerchantOrderResult:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- orderList:
- - amount: amount
- orderNo: orderNo
- orderId: orderId
- count: count
- buyerRealName: buyerRealName
- type: type
- sellerRealName: sellerRealName
- advNo: advNo
- price: price
- releaseCoinTime: releaseCoinTime
- representTime: representTime
- ctime: ctime
- fiat: fiat
- withdrawTime: withdrawTime
- paymentTime: paymentTime
- paymentInfo:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- coin: coin
- status: status
- - amount: amount
- orderNo: orderNo
- orderId: orderId
- count: count
- buyerRealName: buyerRealName
- type: type
- sellerRealName: sellerRealName
- advNo: advNo
- price: price
- releaseCoinTime: releaseCoinTime
- representTime: representTime
- ctime: ctime
- fiat: fiat
- withdrawTime: withdrawTime
- paymentTime: paymentTime
- paymentInfo:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- coin: coin
- status: status
- minId: minId
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MerchantOrderResult'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMerchantOrderResult
- type: object
- ApiResponseResultOfMerchantPersonInfo:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- data:
- totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- kycFlag: true
- mobile: mobile
- thirtyBuy: thirtyBuy
- totalTrades: totalTrades
- emailBindFlag: true
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- realName: realName
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- mobileBindFlag: true
- email: email
- properties:
- code:
- description: code
- example: "00000"
- type: string
- data:
- $ref: '#/components/schemas/MerchantPersonInfo'
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfMerchantPersonInfo
- type: object
- ApiResponseResultOfVoid:
- example:
- msg: success
- requestTime: 1675044340493
- code: "00000"
- properties:
- code:
- description: code
- example: "00000"
- type: string
- msg:
- description: msg
- example: success
- type: string
- requestTime:
- description: requestTime
- example: 1675044340493
- format: int64
- type: integer
- title: ApiResponseResultOfVoid
- type: object
- FiatPaymentDetailInfo:
- example:
- name: name
- type: type
- required: true
- properties:
- name:
- type: string
- required:
- type: boolean
- type:
- type: string
- title: FiatPaymentDetailInfo
- type: object
- FiatPaymentInfo:
- example:
- paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- properties:
- paymentId:
- type: string
- paymentInfo:
- items:
- $ref: '#/components/schemas/FiatPaymentDetailInfo'
- type: array
- paymentMethod:
- type: string
- title: FiatPaymentInfo
- type: object
- MarginBatchCancelOrderRequest:
- example:
- symbol: BTCUSDT_SPBL
- clientOids:
- - myId001
- orderIds:
- - "34324234234234324"
- properties:
- clientOids:
- description: clientOids
- example:
- - myId001
- items:
- type: string
- type: array
- orderIds:
- description: orderIds
- example:
- - "34324234234234324"
- items:
- type: string
- type: array
- symbol:
- description: symbol
- example: BTCUSDT_SPBL
- type: string
- required:
- - symbol
- title: MarginBatchCancelOrderRequest
- type: object
- MarginBatchCancelOrderResult:
- example:
- failure:
- - orderId: orderId
- clientOid: clientOid
- errorMsg: errorMsg
- - orderId: orderId
- clientOid: clientOid
- errorMsg: errorMsg
- resultList:
- - orderId: orderId
- clientOid: clientOid
- - orderId: orderId
- clientOid: clientOid
- properties:
- failure:
- items:
- $ref: '#/components/schemas/MarginCancelOrderFailureResult'
- type: array
- resultList:
- items:
- $ref: '#/components/schemas/MarginCancelOrderResult'
- type: array
- title: MarginBatchCancelOrderResult
- type: object
- MarginBatchOrdersRequest:
- example:
- symbol: BTCUSDT_SPBL
- ip: ip
- channelApiCode: channelApiCode
- orderList:
- - orderType: limit/market
- symbol: BTCUSDT_SPBL
- side: sell/buy
- loanType: normal/autoLoan/autoRepay
- baseQuantity: "0.2"
- price: "21000"
- ip: ip
- quoteAmount: "2000"
- channelApiCode: channelApiCode
- timeInForce: gtc
- clientOid: myId0001
- - orderType: limit/market
- symbol: BTCUSDT_SPBL
- side: sell/buy
- loanType: normal/autoLoan/autoRepay
- baseQuantity: "0.2"
- price: "21000"
- ip: ip
- quoteAmount: "2000"
- channelApiCode: channelApiCode
- timeInForce: gtc
- clientOid: myId0001
- properties:
- channelApiCode:
- type: string
- ip:
- type: string
- orderList:
- items:
- $ref: '#/components/schemas/MarginOrderRequest'
- type: array
- symbol:
- description: symbol
- example: BTCUSDT_SPBL
- type: string
- required:
- - symbol
- title: MarginBatchOrdersRequest
- type: object
- MarginBatchPlaceOrderFailureResult:
- example:
- clientOid: clientOid
- errorMsg: errorMsg
- properties:
- clientOid:
- type: string
- errorMsg:
- type: string
- title: MarginBatchPlaceOrderFailureResult
- type: object
- MarginBatchPlaceOrderResult:
- example:
- failure:
- - clientOid: clientOid
- errorMsg: errorMsg
- - clientOid: clientOid
- errorMsg: errorMsg
- resultList:
- - orderId: orderId
- clientOid: clientOid
- - orderId: orderId
- clientOid: clientOid
- properties:
- failure:
- items:
- $ref: '#/components/schemas/MarginBatchPlaceOrderFailureResult'
- type: array
- resultList:
- items:
- $ref: '#/components/schemas/MarginCancelOrderResult'
- type: array
- title: MarginBatchPlaceOrderResult
- type: object
- MarginCancelOrderFailureResult:
- example:
- orderId: orderId
- clientOid: clientOid
- errorMsg: errorMsg
- properties:
- clientOid:
- type: string
- errorMsg:
- type: string
- orderId:
- type: string
- title: MarginCancelOrderFailureResult
- type: object
- MarginCancelOrderRequest:
- example:
- symbol: BTCUSDT_SPBL
- orderId: "324234234234234723647"
- clientOid: myId0001
- properties:
- clientOid:
- description: clientOid
- example: myId0001
- type: string
- orderId:
- description: orderId
- example: "324234234234234723647"
- type: string
- symbol:
- description: symbol
- example: BTCUSDT_SPBL
- type: string
- required:
- - symbol
- title: MarginCancelOrderRequest
- type: object
- MarginCancelOrderResult:
- example:
- orderId: orderId
- clientOid: clientOid
- properties:
- clientOid:
- type: string
- orderId:
- type: string
- title: MarginCancelOrderResult
- type: object
- MarginCrossAssetsPopulationResult:
- properties:
- available:
- type: string
- borrow:
- type: string
- coin:
- type: string
- ctime:
- type: string
- frozen:
- type: string
- interest:
- type: string
- net:
- type: string
- totalAmount:
- type: string
- title: MarginCrossAssetsPopulationResult
- type: object
- MarginCrossAssetsResult:
- example:
- maxTransferOutAmount: maxTransferOutAmount
- coin: coin
- properties:
- coin:
- type: string
- maxTransferOutAmount:
- type: string
- title: MarginCrossAssetsResult
- type: object
- MarginCrossAssetsRiskResult:
- example:
- riskRate: riskRate
- properties:
- riskRate:
- type: string
- title: MarginCrossAssetsRiskResult
- type: object
- MarginCrossBorrowLimitResult:
- example:
- borrowAmount: borrowAmount
- clientOid: clientOid
- coin: coin
- properties:
- borrowAmount:
- type: string
- clientOid:
- type: string
- coin:
- type: string
- title: MarginCrossBorrowLimitResult
- type: object
- MarginCrossFinFlowInfo:
- example:
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- amount:
- type: string
- balance:
- type: string
- coin:
- type: string
- ctime:
- type: string
- fee:
- type: string
- marginId:
- type: string
- marginType:
- type: string
- title: MarginCrossFinFlowInfo
- type: object
- MarginCrossFinFlowResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- - amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginCrossFinFlowInfo'
- type: array
- title: MarginCrossFinFlowResult
- type: object
- MarginCrossLevelResult:
- properties:
- coin:
- type: string
- leverage:
- type: string
- maintainMarginRate:
- type: string
- maxBorrowableAmount:
- type: string
- tier:
- type: string
- title: MarginCrossLevelResult
- type: object
- MarginCrossLimitRequest:
- example:
- borrowAmount: "1.0"
- coin: USDT
- properties:
- borrowAmount:
- description: borrowAmount
- example: "1.0"
- type: string
- coin:
- description: coin
- example: USDT
- type: string
- required:
- - borrowAmount
- - coin
- title: MarginCrossLimitRequest
- type: object
- MarginCrossMaxBorrowRequest:
- example:
- coin: USDT
- properties:
- coin:
- description: coin
- example: USDT
- type: string
- required:
- - coin
- title: MarginCrossMaxBorrowRequest
- type: object
- MarginCrossMaxBorrowResult:
- example:
- maxBorrowableAmount: maxBorrowableAmount
- coin: coin
- properties:
- coin:
- type: string
- maxBorrowableAmount:
- type: string
- title: MarginCrossMaxBorrowResult
- type: object
- MarginCrossRateAndLimitResult:
- properties:
- borrowAble:
- type: boolean
- coin:
- type: string
- dailyInterestRate:
- type: string
- leverage:
- type: string
- maxBorrowableAmount:
- type: string
- transferInAble:
- type: boolean
- vips:
- items:
- $ref: '#/components/schemas/MarginCrossVipResult'
- type: array
- yearlyInterestRate:
- type: string
- title: MarginCrossRateAndLimitResult
- type: object
- MarginCrossRepayRequest:
- example:
- repayAmount: "1.0"
- coin: USDT
- properties:
- coin:
- description: coin
- example: USDT
- type: string
- repayAmount:
- description: repayAmount
- example: "1.0"
- type: string
- required:
- - coin
- - repayAmount
- title: MarginCrossRepayRequest
- type: object
- MarginCrossRepayResult:
- example:
- remainDebtAmount: remainDebtAmount
- repayAmount: repayAmount
- clientOid: clientOid
- coin: coin
- properties:
- clientOid:
- type: string
- coin:
- type: string
- remainDebtAmount:
- type: string
- repayAmount:
- type: string
- title: MarginCrossRepayResult
- type: object
- MarginCrossVipResult:
- properties:
- dailyInterestRate:
- type: string
- discountRate:
- type: string
- level:
- type: string
- yearlyInterestRate:
- type: string
- title: MarginCrossVipResult
- type: object
- MarginInterestInfo:
- example:
- interestRate: interestRate
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- amount:
- type: string
- ctime:
- type: string
- interestCoin:
- type: string
- interestId:
- type: string
- interestRate:
- type: string
- loanCoin:
- type: string
- type:
- type: string
- title: MarginInterestInfo
- type: object
- MarginInterestInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - interestRate: interestRate
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- - interestRate: interestRate
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginInterestInfo'
- type: array
- title: MarginInterestInfoResult
- type: object
- MarginIsolatedAssetsPopulationResult:
- properties:
- available:
- type: string
- borrow:
- type: string
- coin:
- type: string
- ctime:
- type: string
- frozen:
- type: string
- interest:
- type: string
- net:
- type: string
- symbol:
- type: string
- totalAmount:
- type: string
- title: MarginIsolatedAssetsPopulationResult
- type: object
- MarginIsolatedAssetsResult:
- example:
- maxTransferOutAmount: maxTransferOutAmount
- symbol: symbol
- coin: coin
- properties:
- coin:
- type: string
- maxTransferOutAmount:
- type: string
- symbol:
- type: string
- title: MarginIsolatedAssetsResult
- type: object
- MarginIsolatedAssetsRiskRequest:
- example:
- symbol: BTCUSDT
- pageSize: "100"
- pageNum: "1"
- properties:
- pageNum:
- description: pageNum
- example: "1"
- type: string
- pageSize:
- description: pageSize
- example: "100"
- type: string
- symbol:
- description: symbol
- example: BTCUSDT
- type: string
- required:
- - symbol
- title: MarginIsolatedAssetsRiskRequest
- type: object
- MarginIsolatedAssetsRiskResult:
- properties:
- riskRate:
- type: string
- symbol:
- type: string
- title: MarginIsolatedAssetsRiskResult
- type: object
- MarginIsolatedBorrowLimitResult:
- example:
- symbol: symbol
- borrowAmount: borrowAmount
- clientOid: clientOid
- coin: coin
- properties:
- borrowAmount:
- type: string
- clientOid:
- type: string
- coin:
- type: string
- symbol:
- type: string
- title: MarginIsolatedBorrowLimitResult
- type: object
- MarginIsolatedFinFlowInfo:
- example:
- symbol: symbol
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- amount:
- type: string
- balance:
- type: string
- coin:
- type: string
- ctime:
- type: string
- fee:
- type: string
- marginId:
- type: string
- marginType:
- type: string
- symbol:
- type: string
- title: MarginIsolatedFinFlowInfo
- type: object
- MarginIsolatedFinFlowResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- - symbol: symbol
- amount: amount
- balance: balance
- marginType: marginType
- fee: fee
- marginId: marginId
- ctime: ctime
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginIsolatedFinFlowInfo'
- type: array
- title: MarginIsolatedFinFlowResult
- type: object
- MarginIsolatedInterestInfo:
- example:
- interestRate: interestRate
- symbol: symbol
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- amount:
- type: string
- ctime:
- type: string
- interestCoin:
- type: string
- interestId:
- type: string
- interestRate:
- type: string
- loanCoin:
- type: string
- symbol:
- type: string
- type:
- type: string
- title: MarginIsolatedInterestInfo
- type: object
- MarginIsolatedInterestInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - interestRate: interestRate
- symbol: symbol
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- - interestRate: interestRate
- symbol: symbol
- amount: amount
- interestId: interestId
- loanCoin: loanCoin
- ctime: ctime
- type: type
- interestCoin: interestCoin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginIsolatedInterestInfo'
- type: array
- title: MarginIsolatedInterestInfoResult
- type: object
- MarginIsolatedLevelResult:
- properties:
- baseCoin:
- type: string
- baseMaxBorrowableAmount:
- type: string
- initRate:
- type: string
- leverage:
- type: string
- maintainMarginRate:
- type: string
- quoteCoin:
- type: string
- quoteMaxBorrowableAmount:
- type: string
- symbol:
- type: string
- tier:
- type: string
- title: MarginIsolatedLevelResult
- type: object
- MarginIsolatedLimitRequest:
- example:
- symbol: USDT
- borrowAmount: "1.0"
- coin: USDT
- properties:
- borrowAmount:
- description: borrowAmount
- example: "1.0"
- type: string
- coin:
- description: coin
- example: USDT
- type: string
- symbol:
- description: symbol
- example: USDT
- type: string
- required:
- - borrowAmount
- - coin
- - symbol
- title: MarginIsolatedLimitRequest
- type: object
- MarginIsolatedLiquidationInfo:
- example:
- symbol: symbol
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- ctime:
- type: string
- liqEndTime:
- type: string
- liqFee:
- type: string
- liqId:
- type: string
- liqRisk:
- type: string
- liqStartTime:
- type: string
- symbol:
- type: string
- totalAssets:
- type: string
- totalDebt:
- type: string
- title: MarginIsolatedLiquidationInfo
- type: object
- MarginIsolatedLiquidationInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- - symbol: symbol
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginIsolatedLiquidationInfo'
- type: array
- title: MarginIsolatedLiquidationInfoResult
- type: object
- MarginIsolatedLoanInfo:
- example:
- symbol: symbol
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- amount:
- type: string
- coin:
- type: string
- ctime:
- type: string
- loanId:
- type: string
- symbol:
- type: string
- type:
- type: string
- title: MarginIsolatedLoanInfo
- type: object
- MarginIsolatedLoanInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- - symbol: symbol
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginIsolatedLoanInfo'
- type: array
- title: MarginIsolatedLoanInfoResult
- type: object
- MarginIsolatedMaxBorrowRequest:
- example:
- symbol: BTCUSDT
- coin: USDT
- properties:
- coin:
- description: coin
- example: USDT
- type: string
- symbol:
- description: symbol
- example: BTCUSDT
- type: string
- required:
- - coin
- - symbol
- title: MarginIsolatedMaxBorrowRequest
- type: object
- MarginIsolatedMaxBorrowResult:
- example:
- symbol: symbol
- maxBorrowableAmount: maxBorrowableAmount
- coin: coin
- properties:
- coin:
- type: string
- maxBorrowableAmount:
- type: string
- symbol:
- type: string
- title: MarginIsolatedMaxBorrowResult
- type: object
- MarginIsolatedRateAndLimitResult:
- properties:
- baseBorrowAble:
- type: boolean
- baseCoin:
- type: string
- baseDailyInterestRate:
- type: string
- baseMaxBorrowableAmount:
- type: string
- baseTransferInAble:
- type: boolean
- baseVips:
- items:
- $ref: '#/components/schemas/MarginIsolatedVipResult'
- type: array
- baseYearlyInterestRate:
- type: string
- leverage:
- type: string
- quoteBorrowAble:
- type: boolean
- quoteCoin:
- type: string
- quoteDailyInterestRate:
- type: string
- quoteMaxBorrowableAmount:
- type: string
- quoteTransferInAble:
- type: boolean
- quoteVips:
- items:
- $ref: '#/components/schemas/MarginIsolatedVipResult'
- type: array
- quoteYearlyInterestRate:
- type: string
- symbol:
- type: string
- title: MarginIsolatedRateAndLimitResult
- type: object
- MarginIsolatedRepayInfo:
- example:
- symbol: symbol
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- amount:
- type: string
- coin:
- type: string
- ctime:
- type: string
- interest:
- type: string
- repayId:
- type: string
- symbol:
- type: string
- totalAmount:
- type: string
- type:
- type: string
- title: MarginIsolatedRepayInfo
- type: object
- MarginIsolatedRepayInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - symbol: symbol
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- - symbol: symbol
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginIsolatedRepayInfo'
- type: array
- title: MarginIsolatedRepayInfoResult
- type: object
- MarginIsolatedRepayRequest:
- example:
- symbol: BTCUSDT
- repayAmount: "1.0"
- coin: USDT
- properties:
- coin:
- description: coin
- example: USDT
- type: string
- repayAmount:
- description: repayAmount
- example: "1.0"
- type: string
- symbol:
- description: symbol
- example: BTCUSDT
- type: string
- required:
- - coin
- - repayAmount
- - symbol
- title: MarginIsolatedRepayRequest
- type: object
- MarginIsolatedRepayResult:
- example:
- symbol: symbol
- remainDebtAmount: remainDebtAmount
- repayAmount: repayAmount
- clientOid: clientOid
- coin: coin
- properties:
- clientOid:
- type: string
- coin:
- type: string
- remainDebtAmount:
- type: string
- repayAmount:
- type: string
- symbol:
- type: string
- title: MarginIsolatedRepayResult
- type: object
- MarginIsolatedVipResult:
- properties:
- dailyInterestRate:
- type: string
- discountRate:
- type: string
- level:
- type: string
- yearlyInterestRate:
- type: string
- title: MarginIsolatedVipResult
- type: object
- MarginLiquidationInfo:
- example:
- totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- ctime:
- type: string
- liqEndTime:
- type: string
- liqFee:
- type: string
- liqId:
- type: string
- liqRisk:
- type: string
- liqStartTime:
- type: string
- totalAssets:
- type: string
- totalDebt:
- type: string
- title: MarginLiquidationInfo
- type: object
- MarginLiquidationInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- - totalAssets: totalAssets
- liqFee: liqFee
- totalDebt: totalDebt
- ctime: ctime
- liqEndTime: liqEndTime
- liqStartTime: liqStartTime
- liqId: liqId
- liqRisk: liqRisk
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginLiquidationInfo'
- type: array
- title: MarginLiquidationInfoResult
- type: object
- MarginLoanInfo:
- example:
- amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- amount:
- type: string
- coin:
- type: string
- ctime:
- type: string
- loanId:
- type: string
- type:
- type: string
- title: MarginLoanInfo
- type: object
- MarginLoanInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- - amount: amount
- ctime: ctime
- type: type
- loanId: loanId
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginLoanInfo'
- type: array
- title: MarginLoanInfoResult
- type: object
- MarginOpenOrderInfoResult:
- example:
- maxId: maxId
- orderList:
- - orderType: orderType
- symbol: symbol
- side: side
- loanType: loanType
- orderId: orderId
- fillTotalAmount: fillTotalAmount
- source: source
- fillPrice: fillPrice
- baseQuantity: baseQuantity
- price: price
- quoteAmount: quoteAmount
- ctime: ctime
- fillQuantity: fillQuantity
- clientOid: clientOid
- status: status
- - orderType: orderType
- symbol: symbol
- side: side
- loanType: loanType
- orderId: orderId
- fillTotalAmount: fillTotalAmount
- source: source
- fillPrice: fillPrice
- baseQuantity: baseQuantity
- price: price
- quoteAmount: quoteAmount
- ctime: ctime
- fillQuantity: fillQuantity
- clientOid: clientOid
- status: status
- minId: minId
- properties:
- maxId:
- type: string
- minId:
- type: string
- orderList:
- items:
- $ref: '#/components/schemas/MarginOrderInfo'
- type: array
- title: MarginOpenOrderInfoResult
- type: object
- MarginOrderInfo:
- example:
- orderType: orderType
- symbol: symbol
- side: side
- loanType: loanType
- orderId: orderId
- fillTotalAmount: fillTotalAmount
- source: source
- fillPrice: fillPrice
- baseQuantity: baseQuantity
- price: price
- quoteAmount: quoteAmount
- ctime: ctime
- fillQuantity: fillQuantity
- clientOid: clientOid
- status: status
- properties:
- baseQuantity:
- type: string
- clientOid:
- type: string
- ctime:
- type: string
- fillPrice:
- type: string
- fillQuantity:
- type: string
- fillTotalAmount:
- type: string
- loanType:
- type: string
- orderId:
- type: string
- orderType:
- type: string
- price:
- type: string
- quoteAmount:
- type: string
- side:
- type: string
- source:
- type: string
- status:
- type: string
- symbol:
- type: string
- title: MarginOrderInfo
- type: object
- MarginOrderRequest:
- example:
- orderType: limit/market
- symbol: BTCUSDT_SPBL
- side: sell/buy
- loanType: normal/autoLoan/autoRepay
- baseQuantity: "0.2"
- price: "21000"
- ip: ip
- quoteAmount: "2000"
- channelApiCode: channelApiCode
- timeInForce: gtc
- clientOid: myId0001
- properties:
- baseQuantity:
- description: baseQuantity
- example: "0.2"
- type: string
- channelApiCode:
- type: string
- clientOid:
- description: clientOid
- example: myId0001
- type: string
- ip:
- type: string
- loanType:
- description: loanType
- example: normal/autoLoan/autoRepay
- type: string
- orderType:
- description: orderType
- example: limit/market
- type: string
- price:
- description: price
- example: "21000"
- type: string
- quoteAmount:
- description: quoteAmount
- example: "2000"
- type: string
- side:
- description: side
- example: sell/buy
- type: string
- symbol:
- description: symbol
- example: BTCUSDT_SPBL
- type: string
- timeInForce:
- description: timeInForce
- example: gtc
- type: string
- required:
- - loanType
- - orderType
- - side
- - symbol
- title: MarginOrderRequest
- type: object
- MarginPlaceOrderResult:
- example:
- orderId: orderId
- clientOid: clientOid
- properties:
- clientOid:
- type: string
- orderId:
- type: string
- title: MarginPlaceOrderResult
- type: object
- MarginRepayInfo:
- example:
- totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- amount:
- type: string
- coin:
- type: string
- ctime:
- type: string
- interest:
- type: string
- repayId:
- type: string
- totalAmount:
- type: string
- type:
- type: string
- title: MarginRepayInfo
- type: object
- MarginRepayInfoResult:
- example:
- maxId: maxId
- minId: minId
- resultList:
- - totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- - totalAmount: totalAmount
- amount: amount
- interest: interest
- repayId: repayId
- ctime: ctime
- type: type
- coin: coin
- properties:
- maxId:
- type: string
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MarginRepayInfo'
- type: array
- title: MarginRepayInfoResult
- type: object
- MarginSystemResult:
- properties:
- baseCoin:
- type: string
- isBorrowable:
- type: boolean
- liquidationRiskRatio:
- type: string
- makerFeeRate:
- type: string
- maxCrossLeverage:
- type: string
- maxIsolatedLeverage:
- type: string
- maxTradeAmount:
- type: string
- minTradeAmount:
- type: string
- minTradeUSDT:
- type: string
- priceScale:
- type: string
- quantityScale:
- type: string
- quoteCoin:
- type: string
- status:
- type: string
- symbol:
- type: string
- takerFeeRate:
- type: string
- userMinBorrow:
- type: string
- warningRiskRatio:
- type: string
- title: MarginSystemResult
- type: object
- MarginTradeDetailInfo:
- example:
- orderType: orderType
- fees: fees
- side: side
- orderId: orderId
- fillId: fillId
- ctime: ctime
- fillTotalAmount: fillTotalAmount
- fillQuantity: fillQuantity
- fillPrice: fillPrice
- feeCcy: feeCcy
- properties:
- ctime:
- type: string
- feeCcy:
- type: string
- fees:
- type: string
- fillId:
- type: string
- fillPrice:
- type: string
- fillQuantity:
- type: string
- fillTotalAmount:
- type: string
- orderId:
- type: string
- orderType:
- type: string
- side:
- type: string
- title: MarginTradeDetailInfo
- type: object
- MarginTradeDetailInfoResult:
- example:
- maxId: maxId
- minId: minId
- fills:
- - orderType: orderType
- fees: fees
- side: side
- orderId: orderId
- fillId: fillId
- ctime: ctime
- fillTotalAmount: fillTotalAmount
- fillQuantity: fillQuantity
- fillPrice: fillPrice
- feeCcy: feeCcy
- - orderType: orderType
- fees: fees
- side: side
- orderId: orderId
- fillId: fillId
- ctime: ctime
- fillTotalAmount: fillTotalAmount
- fillQuantity: fillQuantity
- fillPrice: fillPrice
- feeCcy: feeCcy
- properties:
- fills:
- items:
- $ref: '#/components/schemas/MarginTradeDetailInfo'
- type: array
- maxId:
- type: string
- minId:
- type: string
- title: MarginTradeDetailInfoResult
- type: object
- MerchantAdvInfo:
- example:
- minAmount: minAmount
- amount: amount
- fiatPrecision: fiatPrecision
- payDuration: payDuration
- dealAmount: dealAmount
- advId: advId
- remark: remark
- fiatCode: fiatCode
- type: type
- advNo: advNo
- hide: hide
- coinPrecision: coinPrecision
- turnoverNum: turnoverNum
- price: price
- turnoverRate: turnoverRate
- ctime: ctime
- fiatSymbol: fiatSymbol
- paymentMethod:
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- maxAmount: maxAmount
- userLimit:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- coin: coin
- status: status
- properties:
- advId:
- type: string
- advNo:
- type: string
- amount:
- type: string
- coin:
- type: string
- coinPrecision:
- type: string
- ctime:
- type: string
- dealAmount:
- type: string
- fiatCode:
- type: string
- fiatPrecision:
- type: string
- fiatSymbol:
- type: string
- hide:
- type: string
- maxAmount:
- type: string
- minAmount:
- type: string
- payDuration:
- type: string
- paymentMethod:
- items:
- $ref: '#/components/schemas/FiatPaymentInfo'
- type: array
- price:
- type: string
- remark:
- type: string
- status:
- type: string
- turnoverNum:
- type: string
- turnoverRate:
- type: string
- type:
- type: string
- userLimit:
- $ref: '#/components/schemas/MerchantAdvUserLimitInfo'
- title: MerchantAdvInfo
- type: object
- MerchantAdvResult:
- example:
- advList:
- - minAmount: minAmount
- amount: amount
- fiatPrecision: fiatPrecision
- payDuration: payDuration
- dealAmount: dealAmount
- advId: advId
- remark: remark
- fiatCode: fiatCode
- type: type
- advNo: advNo
- hide: hide
- coinPrecision: coinPrecision
- turnoverNum: turnoverNum
- price: price
- turnoverRate: turnoverRate
- ctime: ctime
- fiatSymbol: fiatSymbol
- paymentMethod:
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- maxAmount: maxAmount
- userLimit:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- coin: coin
- status: status
- - minAmount: minAmount
- amount: amount
- fiatPrecision: fiatPrecision
- payDuration: payDuration
- dealAmount: dealAmount
- advId: advId
- remark: remark
- fiatCode: fiatCode
- type: type
- advNo: advNo
- hide: hide
- coinPrecision: coinPrecision
- turnoverNum: turnoverNum
- price: price
- turnoverRate: turnoverRate
- ctime: ctime
- fiatSymbol: fiatSymbol
- paymentMethod:
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- - paymentId: paymentId
- paymentMethod: paymentMethod
- paymentInfo:
- - name: name
- type: type
- required: true
- - name: name
- type: type
- required: true
- maxAmount: maxAmount
- userLimit:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- coin: coin
- status: status
- minId: minId
- properties:
- advList:
- items:
- $ref: '#/components/schemas/MerchantAdvInfo'
- type: array
- minId:
- type: string
- title: MerchantAdvResult
- type: object
- MerchantAdvUserLimitInfo:
- example:
- placeOrderNum: placeOrderNum
- country: country
- maxCompleteNum: maxCompleteNum
- thirtyCompleteRate: thirtyCompleteRate
- minCompleteNum: minCompleteNum
- allowMerchantPlace: allowMerchantPlace
- properties:
- allowMerchantPlace:
- type: string
- country:
- type: string
- maxCompleteNum:
- type: string
- minCompleteNum:
- type: string
- placeOrderNum:
- type: string
- thirtyCompleteRate:
- type: string
- title: MerchantAdvUserLimitInfo
- type: object
- MerchantInfo:
- example:
- totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- thirtyBuy: thirtyBuy
- isOnline: isOnline
- totalTrades: totalTrades
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- properties:
- averagePayment:
- type: string
- averageRealese:
- type: string
- isOnline:
- type: string
- merchantId:
- type: string
- nickName:
- type: string
- registerTime:
- type: string
- thirtyBuy:
- type: string
- thirtyCompletionRate:
- type: string
- thirtySell:
- type: string
- thirtyTrades:
- type: string
- totalBuy:
- type: string
- totalCompletionRate:
- type: string
- totalSell:
- type: string
- totalTrades:
- type: string
- title: MerchantInfo
- type: object
- MerchantInfoResult:
- example:
- minId: minId
- resultList:
- - totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- thirtyBuy: thirtyBuy
- isOnline: isOnline
- totalTrades: totalTrades
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- - totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- thirtyBuy: thirtyBuy
- isOnline: isOnline
- totalTrades: totalTrades
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- properties:
- minId:
- type: string
- resultList:
- items:
- $ref: '#/components/schemas/MerchantInfo'
- type: array
- title: MerchantInfoResult
- type: object
- MerchantOrderInfo:
- example:
- amount: amount
- orderNo: orderNo
- orderId: orderId
- count: count
- buyerRealName: buyerRealName
- type: type
- sellerRealName: sellerRealName
- advNo: advNo
- price: price
- releaseCoinTime: releaseCoinTime
- representTime: representTime
- ctime: ctime
- fiat: fiat
- withdrawTime: withdrawTime
- paymentTime: paymentTime
- paymentInfo:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- coin: coin
- status: status
- properties:
- advNo:
- type: string
- amount:
- type: string
- buyerRealName:
- type: string
- coin:
- type: string
- count:
- type: string
- ctime:
- type: string
- fiat:
- type: string
- orderId:
- type: string
- orderNo:
- type: string
- paymentInfo:
- $ref: '#/components/schemas/MerchantOrderPaymentInfo'
- paymentTime:
- type: string
- price:
- type: string
- releaseCoinTime:
- type: string
- representTime:
- type: string
- sellerRealName:
- type: string
- status:
- type: string
- type:
- type: string
- withdrawTime:
- type: string
- title: MerchantOrderInfo
- type: object
- MerchantOrderPaymentInfo:
- example:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- properties:
- paymethodId:
- type: string
- paymethodInfo:
- items:
- $ref: '#/components/schemas/OrderPaymentDetailInfo'
- type: array
- paymethodName:
- type: string
- title: MerchantOrderPaymentInfo
- type: object
- MerchantOrderResult:
- example:
- orderList:
- - amount: amount
- orderNo: orderNo
- orderId: orderId
- count: count
- buyerRealName: buyerRealName
- type: type
- sellerRealName: sellerRealName
- advNo: advNo
- price: price
- releaseCoinTime: releaseCoinTime
- representTime: representTime
- ctime: ctime
- fiat: fiat
- withdrawTime: withdrawTime
- paymentTime: paymentTime
- paymentInfo:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- coin: coin
- status: status
- - amount: amount
- orderNo: orderNo
- orderId: orderId
- count: count
- buyerRealName: buyerRealName
- type: type
- sellerRealName: sellerRealName
- advNo: advNo
- price: price
- releaseCoinTime: releaseCoinTime
- representTime: representTime
- ctime: ctime
- fiat: fiat
- withdrawTime: withdrawTime
- paymentTime: paymentTime
- paymentInfo:
- paymethodName: paymethodName
- paymethodInfo:
- - name: name
- type: type
- value: value
- required: true
- - name: name
- type: type
- value: value
- required: true
- paymethodId: paymethodId
- coin: coin
- status: status
- minId: minId
- properties:
- minId:
- type: string
- orderList:
- items:
- $ref: '#/components/schemas/MerchantOrderInfo'
- type: array
- title: MerchantOrderResult
- type: object
- MerchantPersonInfo:
- example:
- totalSell: totalSell
- totalCompletionRate: totalCompletionRate
- registerTime: registerTime
- nickName: nickName
- kycFlag: true
- mobile: mobile
- thirtyBuy: thirtyBuy
- totalTrades: totalTrades
- emailBindFlag: true
- thirtySell: thirtySell
- averagePayment: averagePayment
- averageRealese: averageRealese
- thirtyCompletionRate: thirtyCompletionRate
- realName: realName
- thirtyTrades: thirtyTrades
- merchantId: merchantId
- totalBuy: totalBuy
- mobileBindFlag: true
- email: email
- properties:
- averagePayment:
- type: string
- averageRealese:
- type: string
- email:
- type: string
- emailBindFlag:
- type: boolean
- kycFlag:
- type: boolean
- merchantId:
- type: string
- mobile:
- type: string
- mobileBindFlag:
- type: boolean
- nickName:
- type: string
- realName:
- type: string
- registerTime:
- type: string
- thirtyBuy:
- type: string
- thirtyCompletionRate:
- type: string
- thirtySell:
- type: string
- thirtyTrades:
- type: string
- totalBuy:
- type: string
- totalCompletionRate:
- type: string
- totalSell:
- type: string
- totalTrades:
- type: string
- title: MerchantPersonInfo
- type: object
- OrderPaymentDetailInfo:
- example:
- name: name
- type: type
- value: value
- required: true
- properties:
- name:
- type: string
- required:
- type: boolean
- type:
- type: string
- value:
- type: string
- title: OrderPaymentDetailInfo
- type: object
- securitySchemes:
- ACCESS_KEY:
- in: header
- name: ACCESS-KEY
- type: apiKey
- ACCESS_PASSPHRASE:
- in: header
- name: ACCESS-PASSPHRASE
- type: apiKey
- ACCESS_SIGN:
- in: header
- name: ACCESS-SIGN
- type: apiKey
- ACCESS_TIMESTAMP:
- in: header
- name: ACCESS-TIMESTAMP
- type: apiKey
- SECRET_KEY:
- in: header
- name: SECRET-KEY
- type: apiKey
-x-original-swagger-version: "2.0"
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_account.go b/bitget-goland-sdk-open-api/api_margin_cross_account.go
deleted file mode 100644
index ab2fbc22..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_account.go
+++ /dev/null
@@ -1,1494 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossAccountApiService MarginCrossAccountApi service
-type MarginCrossAccountApiService service
-
-type ApiMarginCrossAccountAssetsRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
- coin *string
-}
-
-// coin
-func (r ApiMarginCrossAccountAssetsRequest) Coin(coin string) ApiMarginCrossAccountAssetsRequest {
- r.coin = &coin
- return r
-}
-
-func (r ApiMarginCrossAccountAssetsRequest) Execute() (*ApiResponseResultOfListOfMarginCrossAssetsPopulationResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountAssetsExecute(r)
-}
-
-/*
-MarginCrossAccountAssets assets
-
-Get Assets
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountAssetsRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountAssets(ctx context.Context) ApiMarginCrossAccountAssetsRequest {
- return ApiMarginCrossAccountAssetsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountAssetsExecute(r ApiMarginCrossAccountAssetsRequest) (*ApiResponseResultOfListOfMarginCrossAssetsPopulationResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountAssets")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/assets"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.coin == nil {
- return localVarReturnValue, nil, reportError("coin is required and must be specified")
- }
-
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossAccountBorrowRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
- marginCrossLimitRequest *MarginCrossLimitRequest
-}
-
-// marginCrossLimitRequest
-func (r ApiMarginCrossAccountBorrowRequest) MarginCrossLimitRequest(marginCrossLimitRequest MarginCrossLimitRequest) ApiMarginCrossAccountBorrowRequest {
- r.marginCrossLimitRequest = &marginCrossLimitRequest
- return r
-}
-
-func (r ApiMarginCrossAccountBorrowRequest) Execute() (*ApiResponseResultOfMarginCrossBorrowLimitResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountBorrowExecute(r)
-}
-
-/*
-MarginCrossAccountBorrow borrow
-
-borrow
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountBorrowRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountBorrow(ctx context.Context) ApiMarginCrossAccountBorrowRequest {
- return ApiMarginCrossAccountBorrowRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossBorrowLimitResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountBorrowExecute(r ApiMarginCrossAccountBorrowRequest) (*ApiResponseResultOfMarginCrossBorrowLimitResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossBorrowLimitResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountBorrow")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/borrow"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginCrossLimitRequest == nil {
- return localVarReturnValue, nil, reportError("marginCrossLimitRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginCrossLimitRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossAccountMaxBorrowableAmountRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
- marginCrossMaxBorrowRequest *MarginCrossMaxBorrowRequest
-}
-
-// marginCrossMaxBorrowRequest
-func (r ApiMarginCrossAccountMaxBorrowableAmountRequest) MarginCrossMaxBorrowRequest(marginCrossMaxBorrowRequest MarginCrossMaxBorrowRequest) ApiMarginCrossAccountMaxBorrowableAmountRequest {
- r.marginCrossMaxBorrowRequest = &marginCrossMaxBorrowRequest
- return r
-}
-
-func (r ApiMarginCrossAccountMaxBorrowableAmountRequest) Execute() (*ApiResponseResultOfMarginCrossMaxBorrowResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountMaxBorrowableAmountExecute(r)
-}
-
-/*
-MarginCrossAccountMaxBorrowableAmount maxBorrowableAmount
-
-Get MaxBorrowableAmount
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountMaxBorrowableAmountRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountMaxBorrowableAmount(ctx context.Context) ApiMarginCrossAccountMaxBorrowableAmountRequest {
- return ApiMarginCrossAccountMaxBorrowableAmountRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossMaxBorrowResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountMaxBorrowableAmountExecute(r ApiMarginCrossAccountMaxBorrowableAmountRequest) (*ApiResponseResultOfMarginCrossMaxBorrowResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossMaxBorrowResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountMaxBorrowableAmount")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/maxBorrowableAmount"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginCrossMaxBorrowRequest == nil {
- return localVarReturnValue, nil, reportError("marginCrossMaxBorrowRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginCrossMaxBorrowRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossAccountMaxTransferOutAmountRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
- coin *string
-}
-
-// coin
-func (r ApiMarginCrossAccountMaxTransferOutAmountRequest) Coin(coin string) ApiMarginCrossAccountMaxTransferOutAmountRequest {
- r.coin = &coin
- return r
-}
-
-func (r ApiMarginCrossAccountMaxTransferOutAmountRequest) Execute() (*ApiResponseResultOfMarginCrossAssetsResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountMaxTransferOutAmountExecute(r)
-}
-
-/*
-MarginCrossAccountMaxTransferOutAmount maxTransferOutAmount
-
-Get Max TransferOutAmount
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountMaxTransferOutAmountRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountMaxTransferOutAmount(ctx context.Context) ApiMarginCrossAccountMaxTransferOutAmountRequest {
- return ApiMarginCrossAccountMaxTransferOutAmountRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossAssetsResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountMaxTransferOutAmountExecute(r ApiMarginCrossAccountMaxTransferOutAmountRequest) (*ApiResponseResultOfMarginCrossAssetsResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossAssetsResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountMaxTransferOutAmount")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/maxTransferOutAmount"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.coin == nil {
- return localVarReturnValue, nil, reportError("coin is required and must be specified")
- }
-
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossAccountRepayRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
- marginCrossRepayRequest *MarginCrossRepayRequest
-}
-
-// marginCrossRepayRequest
-func (r ApiMarginCrossAccountRepayRequest) MarginCrossRepayRequest(marginCrossRepayRequest MarginCrossRepayRequest) ApiMarginCrossAccountRepayRequest {
- r.marginCrossRepayRequest = &marginCrossRepayRequest
- return r
-}
-
-func (r ApiMarginCrossAccountRepayRequest) Execute() (*ApiResponseResultOfMarginCrossRepayResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountRepayExecute(r)
-}
-
-/*
-MarginCrossAccountRepay repay
-
-repay
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountRepayRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountRepay(ctx context.Context) ApiMarginCrossAccountRepayRequest {
- return ApiMarginCrossAccountRepayRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossRepayResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountRepayExecute(r ApiMarginCrossAccountRepayRequest) (*ApiResponseResultOfMarginCrossRepayResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossRepayResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountRepay")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/repay"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginCrossRepayRequest == nil {
- return localVarReturnValue, nil, reportError("marginCrossRepayRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginCrossRepayRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossAccountRiskRateRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
-}
-
-func (r ApiMarginCrossAccountRiskRateRequest) Execute() (*ApiResponseResultOfMarginCrossAssetsRiskResult, *http.Response, error) {
- return r.ApiService.MarginCrossAccountRiskRateExecute(r)
-}
-
-/*
-MarginCrossAccountRiskRate riskRate
-
-riskRate
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossAccountRiskRateRequest
-*/
-func (a *MarginCrossAccountApiService) MarginCrossAccountRiskRate(ctx context.Context) ApiMarginCrossAccountRiskRateRequest {
- return ApiMarginCrossAccountRiskRateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossAssetsRiskResult
-func (a *MarginCrossAccountApiService) MarginCrossAccountRiskRateExecute(r ApiMarginCrossAccountRiskRateRequest) (*ApiResponseResultOfMarginCrossAssetsRiskResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossAssetsRiskResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.MarginCrossAccountRiskRate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/riskRate"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiVoidRequest struct {
- ctx context.Context
- ApiService *MarginCrossAccountApiService
-}
-
-func (r ApiVoidRequest) Execute() (*ApiResponseResultOfVoid, *http.Response, error) {
- return r.ApiService.VoidExecute(r)
-}
-
-/*
-Void void
-
-empty
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiVoidRequest
-*/
-func (a *MarginCrossAccountApiService) Void(ctx context.Context) ApiVoidRequest {
- return ApiVoidRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfVoid
-func (a *MarginCrossAccountApiService) VoidExecute(r ApiVoidRequest) (*ApiResponseResultOfVoid, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfVoid
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossAccountApiService.Void")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/account/void"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_borrow.go b/bitget-goland-sdk-open-api/api_margin_cross_borrow.go
deleted file mode 100644
index d31ed59d..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_borrow.go
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossBorrowApiService MarginCrossBorrowApi service
-type MarginCrossBorrowApiService service
-
-type ApiCrossLoanListRequest struct {
- ctx context.Context
- ApiService *MarginCrossBorrowApiService
- startTime *string
- coin *string
- endTime *string
- loanId *string
- pageSize *string
- pageId *string
-}
-
-// startTime
-func (r ApiCrossLoanListRequest) StartTime(startTime string) ApiCrossLoanListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiCrossLoanListRequest) Coin(coin string) ApiCrossLoanListRequest {
- r.coin = &coin
- return r
-}
-
-// endTime
-func (r ApiCrossLoanListRequest) EndTime(endTime string) ApiCrossLoanListRequest {
- r.endTime = &endTime
- return r
-}
-
-// loanId
-func (r ApiCrossLoanListRequest) LoanId(loanId string) ApiCrossLoanListRequest {
- r.loanId = &loanId
- return r
-}
-
-// pageSize
-func (r ApiCrossLoanListRequest) PageSize(pageSize string) ApiCrossLoanListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiCrossLoanListRequest) PageId(pageId string) ApiCrossLoanListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiCrossLoanListRequest) Execute() (*ApiResponseResultOfMarginLoanInfoResult, *http.Response, error) {
- return r.ApiService.CrossLoanListExecute(r)
-}
-
-/*
-CrossLoanList list
-
-Get Loan List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCrossLoanListRequest
-*/
-func (a *MarginCrossBorrowApiService) CrossLoanList(ctx context.Context) ApiCrossLoanListRequest {
- return ApiCrossLoanListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginLoanInfoResult
-func (a *MarginCrossBorrowApiService) CrossLoanListExecute(r ApiCrossLoanListRequest) (*ApiResponseResultOfMarginLoanInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginLoanInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossBorrowApiService.CrossLoanList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/loan/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.loanId != nil {
- localVarQueryParams.Add("loanId", parameterToString(*r.loanId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_finflow.go b/bitget-goland-sdk-open-api/api_margin_cross_finflow.go
deleted file mode 100644
index 0d28586c..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_finflow.go
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossFinflowApiService MarginCrossFinflowApi service
-type MarginCrossFinflowApiService service
-
-type ApiCrossFinListRequest struct {
- ctx context.Context
- ApiService *MarginCrossFinflowApiService
- startTime *string
- coin *string
- endTime *string
- marginType *string
- pageSize *string
- pageId *string
-}
-
-// startTime
-func (r ApiCrossFinListRequest) StartTime(startTime string) ApiCrossFinListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiCrossFinListRequest) Coin(coin string) ApiCrossFinListRequest {
- r.coin = &coin
- return r
-}
-
-// endTime
-func (r ApiCrossFinListRequest) EndTime(endTime string) ApiCrossFinListRequest {
- r.endTime = &endTime
- return r
-}
-
-// marginType
-func (r ApiCrossFinListRequest) MarginType(marginType string) ApiCrossFinListRequest {
- r.marginType = &marginType
- return r
-}
-
-// pageSize
-func (r ApiCrossFinListRequest) PageSize(pageSize string) ApiCrossFinListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiCrossFinListRequest) PageId(pageId string) ApiCrossFinListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiCrossFinListRequest) Execute() (*ApiResponseResultOfMarginCrossFinFlowResult, *http.Response, error) {
- return r.ApiService.CrossFinListExecute(r)
-}
-
-/*
-CrossFinList list
-
-Get finance flow List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCrossFinListRequest
-*/
-func (a *MarginCrossFinflowApiService) CrossFinList(ctx context.Context) ApiCrossFinListRequest {
- return ApiCrossFinListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginCrossFinFlowResult
-func (a *MarginCrossFinflowApiService) CrossFinListExecute(r ApiCrossFinListRequest) (*ApiResponseResultOfMarginCrossFinFlowResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginCrossFinFlowResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossFinflowApiService.CrossFinList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/fin/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.marginType != nil {
- localVarQueryParams.Add("marginType", parameterToString(*r.marginType, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_interest.go b/bitget-goland-sdk-open-api/api_margin_cross_interest.go
deleted file mode 100644
index 64b21d1c..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_interest.go
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossInterestApiService MarginCrossInterestApi service
-type MarginCrossInterestApiService service
-
-type ApiCrossInterestListRequest struct {
- ctx context.Context
- ApiService *MarginCrossInterestApiService
- startTime *string
- coin *string
- pageSize *string
- pageId *string
-}
-
-// startTime
-func (r ApiCrossInterestListRequest) StartTime(startTime string) ApiCrossInterestListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiCrossInterestListRequest) Coin(coin string) ApiCrossInterestListRequest {
- r.coin = &coin
- return r
-}
-
-// pageSize
-func (r ApiCrossInterestListRequest) PageSize(pageSize string) ApiCrossInterestListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiCrossInterestListRequest) PageId(pageId string) ApiCrossInterestListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiCrossInterestListRequest) Execute() (*ApiResponseResultOfMarginInterestInfoResult, *http.Response, error) {
- return r.ApiService.CrossInterestListExecute(r)
-}
-
-/*
-CrossInterestList list
-
-Get interest List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCrossInterestListRequest
-*/
-func (a *MarginCrossInterestApiService) CrossInterestList(ctx context.Context) ApiCrossInterestListRequest {
- return ApiCrossInterestListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginInterestInfoResult
-func (a *MarginCrossInterestApiService) CrossInterestListExecute(r ApiCrossInterestListRequest) (*ApiResponseResultOfMarginInterestInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginInterestInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossInterestApiService.CrossInterestList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/interest/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_liquidation.go b/bitget-goland-sdk-open-api/api_margin_cross_liquidation.go
deleted file mode 100644
index 4ccb143c..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_liquidation.go
+++ /dev/null
@@ -1,265 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossLiquidationApiService MarginCrossLiquidationApi service
-type MarginCrossLiquidationApiService service
-
-type ApiCrossLiquidationListRequest struct {
- ctx context.Context
- ApiService *MarginCrossLiquidationApiService
- startTime *string
- endTime *string
- pageSize *string
- pageId *string
-}
-
-// startTime
-func (r ApiCrossLiquidationListRequest) StartTime(startTime string) ApiCrossLiquidationListRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiCrossLiquidationListRequest) EndTime(endTime string) ApiCrossLiquidationListRequest {
- r.endTime = &endTime
- return r
-}
-
-// pageSize
-func (r ApiCrossLiquidationListRequest) PageSize(pageSize string) ApiCrossLiquidationListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiCrossLiquidationListRequest) PageId(pageId string) ApiCrossLiquidationListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiCrossLiquidationListRequest) Execute() (*ApiResponseResultOfMarginLiquidationInfoResult, *http.Response, error) {
- return r.ApiService.CrossLiquidationListExecute(r)
-}
-
-/*
-CrossLiquidationList list
-
-Get liquidation List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCrossLiquidationListRequest
-*/
-func (a *MarginCrossLiquidationApiService) CrossLiquidationList(ctx context.Context) ApiCrossLiquidationListRequest {
- return ApiCrossLiquidationListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginLiquidationInfoResult
-func (a *MarginCrossLiquidationApiService) CrossLiquidationListExecute(r ApiCrossLiquidationListRequest) (*ApiResponseResultOfMarginLiquidationInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginLiquidationInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossLiquidationApiService.CrossLiquidationList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/liquidation/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_order.go b/bitget-goland-sdk-open-api/api_margin_cross_order.go
deleted file mode 100644
index 5a00075c..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_order.go
+++ /dev/null
@@ -1,1700 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossOrderApiService MarginCrossOrderApi service
-type MarginCrossOrderApiService service
-
-type ApiMarginCrossBatchCancelOrderRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- marginBatchCancelOrderRequest *MarginBatchCancelOrderRequest
-}
-
-// marginBatchCancelOrderRequest
-func (r ApiMarginCrossBatchCancelOrderRequest) MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest MarginBatchCancelOrderRequest) ApiMarginCrossBatchCancelOrderRequest {
- r.marginBatchCancelOrderRequest = &marginBatchCancelOrderRequest
- return r
-}
-
-func (r ApiMarginCrossBatchCancelOrderRequest) Execute() (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- return r.ApiService.MarginCrossBatchCancelOrderExecute(r)
-}
-
-/*
-MarginCrossBatchCancelOrder batchCancelOrder
-
-Margin Cross BatchCancelOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossBatchCancelOrderRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossBatchCancelOrder(ctx context.Context) ApiMarginCrossBatchCancelOrderRequest {
- return ApiMarginCrossBatchCancelOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchCancelOrderResult
-func (a *MarginCrossOrderApiService) MarginCrossBatchCancelOrderExecute(r ApiMarginCrossBatchCancelOrderRequest) (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchCancelOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossBatchCancelOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/batchCancelOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginBatchCancelOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginBatchCancelOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginBatchCancelOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossBatchPlaceOrderRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- marginOrderRequest *MarginBatchOrdersRequest
-}
-
-// marginOrderRequest
-func (r ApiMarginCrossBatchPlaceOrderRequest) MarginOrderRequest(marginOrderRequest MarginBatchOrdersRequest) ApiMarginCrossBatchPlaceOrderRequest {
- r.marginOrderRequest = &marginOrderRequest
- return r
-}
-
-func (r ApiMarginCrossBatchPlaceOrderRequest) Execute() (*ApiResponseResultOfMarginBatchPlaceOrderResult, *http.Response, error) {
- return r.ApiService.MarginCrossBatchPlaceOrderExecute(r)
-}
-
-/*
-MarginCrossBatchPlaceOrder batchPlaceOrder
-
-Margin Cross PlaceOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossBatchPlaceOrderRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossBatchPlaceOrder(ctx context.Context) ApiMarginCrossBatchPlaceOrderRequest {
- return ApiMarginCrossBatchPlaceOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchPlaceOrderResult
-func (a *MarginCrossOrderApiService) MarginCrossBatchPlaceOrderExecute(r ApiMarginCrossBatchPlaceOrderRequest) (*ApiResponseResultOfMarginBatchPlaceOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchPlaceOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossBatchPlaceOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/batchPlaceOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossCancelOrderRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- marginCancelOrderRequest *MarginCancelOrderRequest
-}
-
-// marginCancelOrderRequest
-func (r ApiMarginCrossCancelOrderRequest) MarginCancelOrderRequest(marginCancelOrderRequest MarginCancelOrderRequest) ApiMarginCrossCancelOrderRequest {
- r.marginCancelOrderRequest = &marginCancelOrderRequest
- return r
-}
-
-func (r ApiMarginCrossCancelOrderRequest) Execute() (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- return r.ApiService.MarginCrossCancelOrderExecute(r)
-}
-
-/*
-MarginCrossCancelOrder cancelOrder
-
-Margin Cross CancelOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossCancelOrderRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossCancelOrder(ctx context.Context) ApiMarginCrossCancelOrderRequest {
- return ApiMarginCrossCancelOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchCancelOrderResult
-func (a *MarginCrossOrderApiService) MarginCrossCancelOrderExecute(r ApiMarginCrossCancelOrderRequest) (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchCancelOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossCancelOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/cancelOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginCancelOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginCancelOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginCancelOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossFillsRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- symbol *string
- startTime *string
- source *string
- endTime *string
- orderId *string
- lastFillId *string
- pageSize *string
-}
-
-// symbol
-func (r ApiMarginCrossFillsRequest) Symbol(symbol string) ApiMarginCrossFillsRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiMarginCrossFillsRequest) StartTime(startTime string) ApiMarginCrossFillsRequest {
- r.startTime = &startTime
- return r
-}
-
-// source
-func (r ApiMarginCrossFillsRequest) Source(source string) ApiMarginCrossFillsRequest {
- r.source = &source
- return r
-}
-
-// endTime
-func (r ApiMarginCrossFillsRequest) EndTime(endTime string) ApiMarginCrossFillsRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginCrossFillsRequest) OrderId(orderId string) ApiMarginCrossFillsRequest {
- r.orderId = &orderId
- return r
-}
-
-// lastFillId
-func (r ApiMarginCrossFillsRequest) LastFillId(lastFillId string) ApiMarginCrossFillsRequest {
- r.lastFillId = &lastFillId
- return r
-}
-
-// pageSize
-func (r ApiMarginCrossFillsRequest) PageSize(pageSize string) ApiMarginCrossFillsRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMarginCrossFillsRequest) Execute() (*ApiResponseResultOfMarginTradeDetailInfoResult, *http.Response, error) {
- return r.ApiService.MarginCrossFillsExecute(r)
-}
-
-/*
-MarginCrossFills fills
-
-Margin Cross Fills
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossFillsRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossFills(ctx context.Context) ApiMarginCrossFillsRequest {
- return ApiMarginCrossFillsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginTradeDetailInfoResult
-func (a *MarginCrossOrderApiService) MarginCrossFillsExecute(r ApiMarginCrossFillsRequest) (*ApiResponseResultOfMarginTradeDetailInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginTradeDetailInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossFills")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/fills"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.source != nil {
- localVarQueryParams.Add("source", parameterToString(*r.source, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.lastFillId != nil {
- localVarQueryParams.Add("lastFillId", parameterToString(*r.lastFillId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossHistoryOrdersRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- symbol *string
- startTime *string
- source *string
- endTime *string
- orderId *string
- clientOid *string
- minId *string
- pageSize *string
-}
-
-// symbol
-func (r ApiMarginCrossHistoryOrdersRequest) Symbol(symbol string) ApiMarginCrossHistoryOrdersRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiMarginCrossHistoryOrdersRequest) StartTime(startTime string) ApiMarginCrossHistoryOrdersRequest {
- r.startTime = &startTime
- return r
-}
-
-// source
-func (r ApiMarginCrossHistoryOrdersRequest) Source(source string) ApiMarginCrossHistoryOrdersRequest {
- r.source = &source
- return r
-}
-
-// endTime
-func (r ApiMarginCrossHistoryOrdersRequest) EndTime(endTime string) ApiMarginCrossHistoryOrdersRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginCrossHistoryOrdersRequest) OrderId(orderId string) ApiMarginCrossHistoryOrdersRequest {
- r.orderId = &orderId
- return r
-}
-
-// clientOid
-func (r ApiMarginCrossHistoryOrdersRequest) ClientOid(clientOid string) ApiMarginCrossHistoryOrdersRequest {
- r.clientOid = &clientOid
- return r
-}
-
-// minId
-func (r ApiMarginCrossHistoryOrdersRequest) MinId(minId string) ApiMarginCrossHistoryOrdersRequest {
- r.minId = &minId
- return r
-}
-
-// pageSize
-func (r ApiMarginCrossHistoryOrdersRequest) PageSize(pageSize string) ApiMarginCrossHistoryOrdersRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMarginCrossHistoryOrdersRequest) Execute() (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- return r.ApiService.MarginCrossHistoryOrdersExecute(r)
-}
-
-/*
-MarginCrossHistoryOrders history
-
-Margin Cross historyOrders
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossHistoryOrdersRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossHistoryOrders(ctx context.Context) ApiMarginCrossHistoryOrdersRequest {
- return ApiMarginCrossHistoryOrdersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginOpenOrderInfoResult
-func (a *MarginCrossOrderApiService) MarginCrossHistoryOrdersExecute(r ApiMarginCrossHistoryOrdersRequest) (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginOpenOrderInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossHistoryOrders")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/history"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.source != nil {
- localVarQueryParams.Add("source", parameterToString(*r.source, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.clientOid != nil {
- localVarQueryParams.Add("clientOid", parameterToString(*r.clientOid, ""))
- }
- if r.minId != nil {
- localVarQueryParams.Add("minId", parameterToString(*r.minId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossOpenOrdersRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- symbol *string
- startTime *string
- endTime *string
- orderId *string
- clientOid *string
- pageSize *string
-}
-
-// symbol
-func (r ApiMarginCrossOpenOrdersRequest) Symbol(symbol string) ApiMarginCrossOpenOrdersRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiMarginCrossOpenOrdersRequest) StartTime(startTime string) ApiMarginCrossOpenOrdersRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiMarginCrossOpenOrdersRequest) EndTime(endTime string) ApiMarginCrossOpenOrdersRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginCrossOpenOrdersRequest) OrderId(orderId string) ApiMarginCrossOpenOrdersRequest {
- r.orderId = &orderId
- return r
-}
-
-// clientOid
-func (r ApiMarginCrossOpenOrdersRequest) ClientOid(clientOid string) ApiMarginCrossOpenOrdersRequest {
- r.clientOid = &clientOid
- return r
-}
-
-// pageSize
-func (r ApiMarginCrossOpenOrdersRequest) PageSize(pageSize string) ApiMarginCrossOpenOrdersRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMarginCrossOpenOrdersRequest) Execute() (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- return r.ApiService.MarginCrossOpenOrdersExecute(r)
-}
-
-/*
-MarginCrossOpenOrders openOrders
-
-Margin Cross openOrders
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossOpenOrdersRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossOpenOrders(ctx context.Context) ApiMarginCrossOpenOrdersRequest {
- return ApiMarginCrossOpenOrdersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginOpenOrderInfoResult
-func (a *MarginCrossOrderApiService) MarginCrossOpenOrdersExecute(r ApiMarginCrossOpenOrdersRequest) (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginOpenOrderInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossOpenOrders")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/openOrders"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.clientOid != nil {
- localVarQueryParams.Add("clientOid", parameterToString(*r.clientOid, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossPlaceOrderRequest struct {
- ctx context.Context
- ApiService *MarginCrossOrderApiService
- marginOrderRequest *MarginOrderRequest
-}
-
-// marginOrderRequest
-func (r ApiMarginCrossPlaceOrderRequest) MarginOrderRequest(marginOrderRequest MarginOrderRequest) ApiMarginCrossPlaceOrderRequest {
- r.marginOrderRequest = &marginOrderRequest
- return r
-}
-
-func (r ApiMarginCrossPlaceOrderRequest) Execute() (*ApiResponseResultOfMarginPlaceOrderResult, *http.Response, error) {
- return r.ApiService.MarginCrossPlaceOrderExecute(r)
-}
-
-/*
-MarginCrossPlaceOrder placeOrder
-
-Margin Cross PlaceOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossPlaceOrderRequest
-*/
-func (a *MarginCrossOrderApiService) MarginCrossPlaceOrder(ctx context.Context) ApiMarginCrossPlaceOrderRequest {
- return ApiMarginCrossPlaceOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginPlaceOrderResult
-func (a *MarginCrossOrderApiService) MarginCrossPlaceOrderExecute(r ApiMarginCrossPlaceOrderRequest) (*ApiResponseResultOfMarginPlaceOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginPlaceOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossOrderApiService.MarginCrossPlaceOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/order/placeOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_public.go b/bitget-goland-sdk-open-api/api_margin_cross_public.go
deleted file mode 100644
index 7e9522c4..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_public.go
+++ /dev/null
@@ -1,308 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossPublicApiService MarginCrossPublicApi service
-type MarginCrossPublicApiService service
-
-type ApiMarginCrossPublicInterestRateAndLimitRequest struct {
- ctx context.Context
- ApiService *MarginCrossPublicApiService
- coin *string
-}
-
-// coin
-func (r ApiMarginCrossPublicInterestRateAndLimitRequest) Coin(coin string) ApiMarginCrossPublicInterestRateAndLimitRequest {
- r.coin = &coin
- return r
-}
-
-func (r ApiMarginCrossPublicInterestRateAndLimitRequest) Execute() (*ApiResponseResultOfListOfMarginCrossRateAndLimitResult, *http.Response, error) {
- return r.ApiService.MarginCrossPublicInterestRateAndLimitExecute(r)
-}
-
-/*
-MarginCrossPublicInterestRateAndLimit interestRateAndLimit
-
-Get InterestRateAndLimit
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossPublicInterestRateAndLimitRequest
-*/
-func (a *MarginCrossPublicApiService) MarginCrossPublicInterestRateAndLimit(ctx context.Context) ApiMarginCrossPublicInterestRateAndLimitRequest {
- return ApiMarginCrossPublicInterestRateAndLimitRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginCrossRateAndLimitResult
-func (a *MarginCrossPublicApiService) MarginCrossPublicInterestRateAndLimitExecute(r ApiMarginCrossPublicInterestRateAndLimitRequest) (*ApiResponseResultOfListOfMarginCrossRateAndLimitResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginCrossRateAndLimitResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossPublicApiService.MarginCrossPublicInterestRateAndLimit")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/public/interestRateAndLimit"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.coin == nil {
- return localVarReturnValue, nil, reportError("coin is required and must be specified")
- }
-
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginCrossPublicTierDataRequest struct {
- ctx context.Context
- ApiService *MarginCrossPublicApiService
- coin *string
-}
-
-// coin
-func (r ApiMarginCrossPublicTierDataRequest) Coin(coin string) ApiMarginCrossPublicTierDataRequest {
- r.coin = &coin
- return r
-}
-
-func (r ApiMarginCrossPublicTierDataRequest) Execute() (*ApiResponseResultOfListOfMarginCrossLevelResult, *http.Response, error) {
- return r.ApiService.MarginCrossPublicTierDataExecute(r)
-}
-
-/*
-MarginCrossPublicTierData tierData
-
-Get TierData
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginCrossPublicTierDataRequest
-*/
-func (a *MarginCrossPublicApiService) MarginCrossPublicTierData(ctx context.Context) ApiMarginCrossPublicTierDataRequest {
- return ApiMarginCrossPublicTierDataRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginCrossLevelResult
-func (a *MarginCrossPublicApiService) MarginCrossPublicTierDataExecute(r ApiMarginCrossPublicTierDataRequest) (*ApiResponseResultOfListOfMarginCrossLevelResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginCrossLevelResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossPublicApiService.MarginCrossPublicTierData")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/public/tierData"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.coin == nil {
- return localVarReturnValue, nil, reportError("coin is required and must be specified")
- }
-
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_cross_repay.go b/bitget-goland-sdk-open-api/api_margin_cross_repay.go
deleted file mode 100644
index 7256a768..00000000
--- a/bitget-goland-sdk-open-api/api_margin_cross_repay.go
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginCrossRepayApiService MarginCrossRepayApi service
-type MarginCrossRepayApiService service
-
-type ApiCrossRepayListRequest struct {
- ctx context.Context
- ApiService *MarginCrossRepayApiService
- startTime *string
- coin *string
- repayId *string
- endTime *string
- pageSize *string
- pageId *string
-}
-
-// startTime
-func (r ApiCrossRepayListRequest) StartTime(startTime string) ApiCrossRepayListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiCrossRepayListRequest) Coin(coin string) ApiCrossRepayListRequest {
- r.coin = &coin
- return r
-}
-
-// repayId
-func (r ApiCrossRepayListRequest) RepayId(repayId string) ApiCrossRepayListRequest {
- r.repayId = &repayId
- return r
-}
-
-// endTime
-func (r ApiCrossRepayListRequest) EndTime(endTime string) ApiCrossRepayListRequest {
- r.endTime = &endTime
- return r
-}
-
-// pageSize
-func (r ApiCrossRepayListRequest) PageSize(pageSize string) ApiCrossRepayListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiCrossRepayListRequest) PageId(pageId string) ApiCrossRepayListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiCrossRepayListRequest) Execute() (*ApiResponseResultOfMarginRepayInfoResult, *http.Response, error) {
- return r.ApiService.CrossRepayListExecute(r)
-}
-
-/*
-CrossRepayList list
-
-Get liquidation List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCrossRepayListRequest
-*/
-func (a *MarginCrossRepayApiService) CrossRepayList(ctx context.Context) ApiCrossRepayListRequest {
- return ApiCrossRepayListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginRepayInfoResult
-func (a *MarginCrossRepayApiService) CrossRepayListExecute(r ApiCrossRepayListRequest) (*ApiResponseResultOfMarginRepayInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginRepayInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginCrossRepayApiService.CrossRepayList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/cross/repay/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- if r.repayId != nil {
- localVarQueryParams.Add("repayId", parameterToString(*r.repayId, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_account.go b/bitget-goland-sdk-open-api/api_margin_isolated_account.go
deleted file mode 100644
index 3f405b29..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_account.go
+++ /dev/null
@@ -1,1315 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedAccountApiService MarginIsolatedAccountApi service
-type MarginIsolatedAccountApiService service
-
-type ApiMarginIsolatedAccountAssetsRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- symbol *string
-}
-
-// symbol
-func (r ApiMarginIsolatedAccountAssetsRequest) Symbol(symbol string) ApiMarginIsolatedAccountAssetsRequest {
- r.symbol = &symbol
- return r
-}
-
-func (r ApiMarginIsolatedAccountAssetsRequest) Execute() (*ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountAssetsExecute(r)
-}
-
-/*
-MarginIsolatedAccountAssets assets
-
-Get Assets
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountAssetsRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountAssets(ctx context.Context) ApiMarginIsolatedAccountAssetsRequest {
- return ApiMarginIsolatedAccountAssetsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountAssetsExecute(r ApiMarginIsolatedAccountAssetsRequest) (*ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountAssets")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/assets"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedAccountBorrowRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- marginIsolatedLimitRequest *MarginIsolatedLimitRequest
-}
-
-// marginIsolatedLimitRequest
-func (r ApiMarginIsolatedAccountBorrowRequest) MarginIsolatedLimitRequest(marginIsolatedLimitRequest MarginIsolatedLimitRequest) ApiMarginIsolatedAccountBorrowRequest {
- r.marginIsolatedLimitRequest = &marginIsolatedLimitRequest
- return r
-}
-
-func (r ApiMarginIsolatedAccountBorrowRequest) Execute() (*ApiResponseResultOfMarginIsolatedBorrowLimitResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountBorrowExecute(r)
-}
-
-/*
-MarginIsolatedAccountBorrow borrow
-
-borrow
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountBorrowRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountBorrow(ctx context.Context) ApiMarginIsolatedAccountBorrowRequest {
- return ApiMarginIsolatedAccountBorrowRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedBorrowLimitResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountBorrowExecute(r ApiMarginIsolatedAccountBorrowRequest) (*ApiResponseResultOfMarginIsolatedBorrowLimitResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedBorrowLimitResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountBorrow")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/borrow"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginIsolatedLimitRequest == nil {
- return localVarReturnValue, nil, reportError("marginIsolatedLimitRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginIsolatedLimitRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedAccountMaxBorrowableAmountRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- marginIsolatedMaxBorrowRequest *MarginIsolatedMaxBorrowRequest
-}
-
-// marginIsolatedMaxBorrowRequest
-func (r ApiMarginIsolatedAccountMaxBorrowableAmountRequest) MarginIsolatedMaxBorrowRequest(marginIsolatedMaxBorrowRequest MarginIsolatedMaxBorrowRequest) ApiMarginIsolatedAccountMaxBorrowableAmountRequest {
- r.marginIsolatedMaxBorrowRequest = &marginIsolatedMaxBorrowRequest
- return r
-}
-
-func (r ApiMarginIsolatedAccountMaxBorrowableAmountRequest) Execute() (*ApiResponseResultOfMarginIsolatedMaxBorrowResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountMaxBorrowableAmountExecute(r)
-}
-
-/*
-MarginIsolatedAccountMaxBorrowableAmount maxBorrowableAmount
-
-Get MaxBorrowableAmount
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountMaxBorrowableAmountRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountMaxBorrowableAmount(ctx context.Context) ApiMarginIsolatedAccountMaxBorrowableAmountRequest {
- return ApiMarginIsolatedAccountMaxBorrowableAmountRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedMaxBorrowResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountMaxBorrowableAmountExecute(r ApiMarginIsolatedAccountMaxBorrowableAmountRequest) (*ApiResponseResultOfMarginIsolatedMaxBorrowResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedMaxBorrowResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountMaxBorrowableAmount")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/maxBorrowableAmount"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginIsolatedMaxBorrowRequest == nil {
- return localVarReturnValue, nil, reportError("marginIsolatedMaxBorrowRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginIsolatedMaxBorrowRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedAccountMaxTransferOutAmountRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- coin *string
- symbol *string
-}
-
-// coin
-func (r ApiMarginIsolatedAccountMaxTransferOutAmountRequest) Coin(coin string) ApiMarginIsolatedAccountMaxTransferOutAmountRequest {
- r.coin = &coin
- return r
-}
-
-// symbol
-func (r ApiMarginIsolatedAccountMaxTransferOutAmountRequest) Symbol(symbol string) ApiMarginIsolatedAccountMaxTransferOutAmountRequest {
- r.symbol = &symbol
- return r
-}
-
-func (r ApiMarginIsolatedAccountMaxTransferOutAmountRequest) Execute() (*ApiResponseResultOfMarginIsolatedAssetsResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountMaxTransferOutAmountExecute(r)
-}
-
-/*
-MarginIsolatedAccountMaxTransferOutAmount maxTransferOutAmount
-
-Get Max TransferOutAmount
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountMaxTransferOutAmountRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountMaxTransferOutAmount(ctx context.Context) ApiMarginIsolatedAccountMaxTransferOutAmountRequest {
- return ApiMarginIsolatedAccountMaxTransferOutAmountRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedAssetsResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountMaxTransferOutAmountExecute(r ApiMarginIsolatedAccountMaxTransferOutAmountRequest) (*ApiResponseResultOfMarginIsolatedAssetsResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedAssetsResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountMaxTransferOutAmount")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/maxTransferOutAmount"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.coin == nil {
- return localVarReturnValue, nil, reportError("coin is required and must be specified")
- }
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
-
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedAccountRepayRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- marginIsolatedRepayRequest *MarginIsolatedRepayRequest
-}
-
-// marginIsolatedRepayRequest
-func (r ApiMarginIsolatedAccountRepayRequest) MarginIsolatedRepayRequest(marginIsolatedRepayRequest MarginIsolatedRepayRequest) ApiMarginIsolatedAccountRepayRequest {
- r.marginIsolatedRepayRequest = &marginIsolatedRepayRequest
- return r
-}
-
-func (r ApiMarginIsolatedAccountRepayRequest) Execute() (*ApiResponseResultOfMarginIsolatedRepayResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountRepayExecute(r)
-}
-
-/*
-MarginIsolatedAccountRepay repay
-
-repay
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountRepayRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountRepay(ctx context.Context) ApiMarginIsolatedAccountRepayRequest {
- return ApiMarginIsolatedAccountRepayRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedRepayResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountRepayExecute(r ApiMarginIsolatedAccountRepayRequest) (*ApiResponseResultOfMarginIsolatedRepayResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedRepayResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountRepay")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/repay"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginIsolatedRepayRequest == nil {
- return localVarReturnValue, nil, reportError("marginIsolatedRepayRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginIsolatedRepayRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedAccountRiskRateRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedAccountApiService
- marginIsolatedAssetsRiskRequest *MarginIsolatedAssetsRiskRequest
-}
-
-// marginIsolatedAssetsRiskRequest
-func (r ApiMarginIsolatedAccountRiskRateRequest) MarginIsolatedAssetsRiskRequest(marginIsolatedAssetsRiskRequest MarginIsolatedAssetsRiskRequest) ApiMarginIsolatedAccountRiskRateRequest {
- r.marginIsolatedAssetsRiskRequest = &marginIsolatedAssetsRiskRequest
- return r
-}
-
-func (r ApiMarginIsolatedAccountRiskRateRequest) Execute() (*ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedAccountRiskRateExecute(r)
-}
-
-/*
-MarginIsolatedAccountRiskRate riskRate
-
-riskRate
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedAccountRiskRateRequest
-*/
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountRiskRate(ctx context.Context) ApiMarginIsolatedAccountRiskRateRequest {
- return ApiMarginIsolatedAccountRiskRateRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
-func (a *MarginIsolatedAccountApiService) MarginIsolatedAccountRiskRateExecute(r ApiMarginIsolatedAccountRiskRateRequest) (*ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedAccountApiService.MarginIsolatedAccountRiskRate")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/account/riskRate"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginIsolatedAssetsRiskRequest == nil {
- return localVarReturnValue, nil, reportError("marginIsolatedAssetsRiskRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginIsolatedAssetsRiskRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_borrow.go b/bitget-goland-sdk-open-api/api_margin_isolated_borrow.go
deleted file mode 100644
index 2b5fd2ae..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_borrow.go
+++ /dev/null
@@ -1,296 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedBorrowApiService MarginIsolatedBorrowApi service
-type MarginIsolatedBorrowApiService service
-
-type ApiIsolatedLoanListRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedBorrowApiService
- symbol *string
- startTime *string
- coin *string
- endTime *string
- loanId *string
- pageSize *string
- pageId *string
-}
-
-// symbol
-func (r ApiIsolatedLoanListRequest) Symbol(symbol string) ApiIsolatedLoanListRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiIsolatedLoanListRequest) StartTime(startTime string) ApiIsolatedLoanListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiIsolatedLoanListRequest) Coin(coin string) ApiIsolatedLoanListRequest {
- r.coin = &coin
- return r
-}
-
-// endTime
-func (r ApiIsolatedLoanListRequest) EndTime(endTime string) ApiIsolatedLoanListRequest {
- r.endTime = &endTime
- return r
-}
-
-// loanId
-func (r ApiIsolatedLoanListRequest) LoanId(loanId string) ApiIsolatedLoanListRequest {
- r.loanId = &loanId
- return r
-}
-
-// pageSize
-func (r ApiIsolatedLoanListRequest) PageSize(pageSize string) ApiIsolatedLoanListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiIsolatedLoanListRequest) PageId(pageId string) ApiIsolatedLoanListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiIsolatedLoanListRequest) Execute() (*ApiResponseResultOfMarginIsolatedLoanInfoResult, *http.Response, error) {
- return r.ApiService.IsolatedLoanListExecute(r)
-}
-
-/*
-IsolatedLoanList list
-
-Get Loan List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIsolatedLoanListRequest
-*/
-func (a *MarginIsolatedBorrowApiService) IsolatedLoanList(ctx context.Context) ApiIsolatedLoanListRequest {
- return ApiIsolatedLoanListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedLoanInfoResult
-func (a *MarginIsolatedBorrowApiService) IsolatedLoanListExecute(r ApiIsolatedLoanListRequest) (*ApiResponseResultOfMarginIsolatedLoanInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedLoanInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedBorrowApiService.IsolatedLoanList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/loan/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.loanId != nil {
- localVarQueryParams.Add("loanId", parameterToString(*r.loanId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_finflow.go b/bitget-goland-sdk-open-api/api_margin_isolated_finflow.go
deleted file mode 100644
index b99f63b4..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_finflow.go
+++ /dev/null
@@ -1,306 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedFinflowApiService MarginIsolatedFinflowApi service
-type MarginIsolatedFinflowApiService service
-
-type ApiIsolatedFinListRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedFinflowApiService
- symbol *string
- startTime *string
- coin *string
- marginType *string
- endTime *string
- loanId *string
- pageSize *string
- pageId *string
-}
-
-// symbol
-func (r ApiIsolatedFinListRequest) Symbol(symbol string) ApiIsolatedFinListRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiIsolatedFinListRequest) StartTime(startTime string) ApiIsolatedFinListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiIsolatedFinListRequest) Coin(coin string) ApiIsolatedFinListRequest {
- r.coin = &coin
- return r
-}
-
-// marginType
-func (r ApiIsolatedFinListRequest) MarginType(marginType string) ApiIsolatedFinListRequest {
- r.marginType = &marginType
- return r
-}
-
-// endTime
-func (r ApiIsolatedFinListRequest) EndTime(endTime string) ApiIsolatedFinListRequest {
- r.endTime = &endTime
- return r
-}
-
-// loanId
-func (r ApiIsolatedFinListRequest) LoanId(loanId string) ApiIsolatedFinListRequest {
- r.loanId = &loanId
- return r
-}
-
-// pageSize
-func (r ApiIsolatedFinListRequest) PageSize(pageSize string) ApiIsolatedFinListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiIsolatedFinListRequest) PageId(pageId string) ApiIsolatedFinListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiIsolatedFinListRequest) Execute() (*ApiResponseResultOfMarginIsolatedFinFlowResult, *http.Response, error) {
- return r.ApiService.IsolatedFinListExecute(r)
-}
-
-/*
-IsolatedFinList list
-
-Get finance flow List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIsolatedFinListRequest
-*/
-func (a *MarginIsolatedFinflowApiService) IsolatedFinList(ctx context.Context) ApiIsolatedFinListRequest {
- return ApiIsolatedFinListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedFinFlowResult
-func (a *MarginIsolatedFinflowApiService) IsolatedFinListExecute(r ApiIsolatedFinListRequest) (*ApiResponseResultOfMarginIsolatedFinFlowResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedFinFlowResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedFinflowApiService.IsolatedFinList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/fin/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- if r.marginType != nil {
- localVarQueryParams.Add("marginType", parameterToString(*r.marginType, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.loanId != nil {
- localVarQueryParams.Add("loanId", parameterToString(*r.loanId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_interest.go b/bitget-goland-sdk-open-api/api_margin_isolated_interest.go
deleted file mode 100644
index f277c464..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_interest.go
+++ /dev/null
@@ -1,276 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedInterestApiService MarginIsolatedInterestApi service
-type MarginIsolatedInterestApiService service
-
-type ApiIsolatedInterestListRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedInterestApiService
- symbol *string
- startTime *string
- coin *string
- pageSize *string
- pageId *string
-}
-
-// symbol
-func (r ApiIsolatedInterestListRequest) Symbol(symbol string) ApiIsolatedInterestListRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiIsolatedInterestListRequest) StartTime(startTime string) ApiIsolatedInterestListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiIsolatedInterestListRequest) Coin(coin string) ApiIsolatedInterestListRequest {
- r.coin = &coin
- return r
-}
-
-// pageSize
-func (r ApiIsolatedInterestListRequest) PageSize(pageSize string) ApiIsolatedInterestListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiIsolatedInterestListRequest) PageId(pageId string) ApiIsolatedInterestListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiIsolatedInterestListRequest) Execute() (*ApiResponseResultOfMarginIsolatedInterestInfoResult, *http.Response, error) {
- return r.ApiService.IsolatedInterestListExecute(r)
-}
-
-/*
-IsolatedInterestList list
-
-Get interest List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIsolatedInterestListRequest
-*/
-func (a *MarginIsolatedInterestApiService) IsolatedInterestList(ctx context.Context) ApiIsolatedInterestListRequest {
- return ApiIsolatedInterestListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedInterestInfoResult
-func (a *MarginIsolatedInterestApiService) IsolatedInterestListExecute(r ApiIsolatedInterestListRequest) (*ApiResponseResultOfMarginIsolatedInterestInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedInterestInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedInterestApiService.IsolatedInterestList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/interest/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_liquidation.go b/bitget-goland-sdk-open-api/api_margin_isolated_liquidation.go
deleted file mode 100644
index 34748149..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_liquidation.go
+++ /dev/null
@@ -1,276 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedLiquidationApiService MarginIsolatedLiquidationApi service
-type MarginIsolatedLiquidationApiService service
-
-type ApiIsolatedLiquidationListRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedLiquidationApiService
- symbol *string
- startTime *string
- endTime *string
- pageSize *string
- pageId *string
-}
-
-// symbol
-func (r ApiIsolatedLiquidationListRequest) Symbol(symbol string) ApiIsolatedLiquidationListRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiIsolatedLiquidationListRequest) StartTime(startTime string) ApiIsolatedLiquidationListRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiIsolatedLiquidationListRequest) EndTime(endTime string) ApiIsolatedLiquidationListRequest {
- r.endTime = &endTime
- return r
-}
-
-// pageSize
-func (r ApiIsolatedLiquidationListRequest) PageSize(pageSize string) ApiIsolatedLiquidationListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiIsolatedLiquidationListRequest) PageId(pageId string) ApiIsolatedLiquidationListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiIsolatedLiquidationListRequest) Execute() (*ApiResponseResultOfMarginIsolatedLiquidationInfoResult, *http.Response, error) {
- return r.ApiService.IsolatedLiquidationListExecute(r)
-}
-
-/*
-IsolatedLiquidationList list
-
-Get liquidation List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIsolatedLiquidationListRequest
-*/
-func (a *MarginIsolatedLiquidationApiService) IsolatedLiquidationList(ctx context.Context) ApiIsolatedLiquidationListRequest {
- return ApiIsolatedLiquidationListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedLiquidationInfoResult
-func (a *MarginIsolatedLiquidationApiService) IsolatedLiquidationListExecute(r ApiIsolatedLiquidationListRequest) (*ApiResponseResultOfMarginIsolatedLiquidationInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedLiquidationInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedLiquidationApiService.IsolatedLiquidationList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/liquidation/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_order.go b/bitget-goland-sdk-open-api/api_margin_isolated_order.go
deleted file mode 100644
index d786d5cd..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_order.go
+++ /dev/null
@@ -1,1688 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedOrderApiService MarginIsolatedOrderApi service
-type MarginIsolatedOrderApiService service
-
-type ApiMarginIsolatedBatchCancelOrderRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- marginBatchCancelOrderRequest *MarginBatchCancelOrderRequest
-}
-
-// marginBatchCancelOrderRequest
-func (r ApiMarginIsolatedBatchCancelOrderRequest) MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest MarginBatchCancelOrderRequest) ApiMarginIsolatedBatchCancelOrderRequest {
- r.marginBatchCancelOrderRequest = &marginBatchCancelOrderRequest
- return r
-}
-
-func (r ApiMarginIsolatedBatchCancelOrderRequest) Execute() (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedBatchCancelOrderExecute(r)
-}
-
-/*
-MarginIsolatedBatchCancelOrder batchCancelOrder
-
-Margin Isolated BatchCancelOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedBatchCancelOrderRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedBatchCancelOrder(ctx context.Context) ApiMarginIsolatedBatchCancelOrderRequest {
- return ApiMarginIsolatedBatchCancelOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchCancelOrderResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedBatchCancelOrderExecute(r ApiMarginIsolatedBatchCancelOrderRequest) (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchCancelOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedBatchCancelOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/batchCancelOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginBatchCancelOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginBatchCancelOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginBatchCancelOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedBatchPlaceOrderRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- marginOrderRequest *MarginBatchOrdersRequest
-}
-
-// marginOrderRequest
-func (r ApiMarginIsolatedBatchPlaceOrderRequest) MarginOrderRequest(marginOrderRequest MarginBatchOrdersRequest) ApiMarginIsolatedBatchPlaceOrderRequest {
- r.marginOrderRequest = &marginOrderRequest
- return r
-}
-
-func (r ApiMarginIsolatedBatchPlaceOrderRequest) Execute() (*ApiResponseResultOfMarginBatchPlaceOrderResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedBatchPlaceOrderExecute(r)
-}
-
-/*
-MarginIsolatedBatchPlaceOrder batchPlaceOrder
-
-Margin Isolated PlaceOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedBatchPlaceOrderRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedBatchPlaceOrder(ctx context.Context) ApiMarginIsolatedBatchPlaceOrderRequest {
- return ApiMarginIsolatedBatchPlaceOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchPlaceOrderResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedBatchPlaceOrderExecute(r ApiMarginIsolatedBatchPlaceOrderRequest) (*ApiResponseResultOfMarginBatchPlaceOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchPlaceOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedBatchPlaceOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/batchPlaceOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedCancelOrderRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- marginCancelOrderRequest *MarginCancelOrderRequest
-}
-
-// marginCancelOrderRequest
-func (r ApiMarginIsolatedCancelOrderRequest) MarginCancelOrderRequest(marginCancelOrderRequest MarginCancelOrderRequest) ApiMarginIsolatedCancelOrderRequest {
- r.marginCancelOrderRequest = &marginCancelOrderRequest
- return r
-}
-
-func (r ApiMarginIsolatedCancelOrderRequest) Execute() (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedCancelOrderExecute(r)
-}
-
-/*
-MarginIsolatedCancelOrder cancelOrder
-
-Margin Isolated CancelOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedCancelOrderRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedCancelOrder(ctx context.Context) ApiMarginIsolatedCancelOrderRequest {
- return ApiMarginIsolatedCancelOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginBatchCancelOrderResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedCancelOrderExecute(r ApiMarginIsolatedCancelOrderRequest) (*ApiResponseResultOfMarginBatchCancelOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginBatchCancelOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedCancelOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/cancelOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginCancelOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginCancelOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginCancelOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedFillsRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- startTime *string
- symbol *string
- endTime *string
- orderId *string
- lastFillId *string
- pageSize *string
-}
-
-// startTime
-func (r ApiMarginIsolatedFillsRequest) StartTime(startTime string) ApiMarginIsolatedFillsRequest {
- r.startTime = &startTime
- return r
-}
-
-// symbol
-func (r ApiMarginIsolatedFillsRequest) Symbol(symbol string) ApiMarginIsolatedFillsRequest {
- r.symbol = &symbol
- return r
-}
-
-// endTime
-func (r ApiMarginIsolatedFillsRequest) EndTime(endTime string) ApiMarginIsolatedFillsRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginIsolatedFillsRequest) OrderId(orderId string) ApiMarginIsolatedFillsRequest {
- r.orderId = &orderId
- return r
-}
-
-// lastFillId
-func (r ApiMarginIsolatedFillsRequest) LastFillId(lastFillId string) ApiMarginIsolatedFillsRequest {
- r.lastFillId = &lastFillId
- return r
-}
-
-// pageSize
-func (r ApiMarginIsolatedFillsRequest) PageSize(pageSize string) ApiMarginIsolatedFillsRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMarginIsolatedFillsRequest) Execute() (*ApiResponseResultOfMarginTradeDetailInfoResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedFillsExecute(r)
-}
-
-/*
-MarginIsolatedFills fills
-
-Margin Isolated Fills
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedFillsRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedFills(ctx context.Context) ApiMarginIsolatedFillsRequest {
- return ApiMarginIsolatedFillsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginTradeDetailInfoResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedFillsExecute(r ApiMarginIsolatedFillsRequest) (*ApiResponseResultOfMarginTradeDetailInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginTradeDetailInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedFills")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/fills"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.symbol != nil {
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.lastFillId != nil {
- localVarQueryParams.Add("lastFillId", parameterToString(*r.lastFillId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedHistoryOrdersRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- startTime *string
- symbol *string
- source *string
- endTime *string
- orderId *string
- clientOid *string
- pageSize *string
- minId *string
-}
-
-// startTime
-func (r ApiMarginIsolatedHistoryOrdersRequest) StartTime(startTime string) ApiMarginIsolatedHistoryOrdersRequest {
- r.startTime = &startTime
- return r
-}
-
-// symbol
-func (r ApiMarginIsolatedHistoryOrdersRequest) Symbol(symbol string) ApiMarginIsolatedHistoryOrdersRequest {
- r.symbol = &symbol
- return r
-}
-
-// source
-func (r ApiMarginIsolatedHistoryOrdersRequest) Source(source string) ApiMarginIsolatedHistoryOrdersRequest {
- r.source = &source
- return r
-}
-
-// endTime
-func (r ApiMarginIsolatedHistoryOrdersRequest) EndTime(endTime string) ApiMarginIsolatedHistoryOrdersRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginIsolatedHistoryOrdersRequest) OrderId(orderId string) ApiMarginIsolatedHistoryOrdersRequest {
- r.orderId = &orderId
- return r
-}
-
-// clientOid
-func (r ApiMarginIsolatedHistoryOrdersRequest) ClientOid(clientOid string) ApiMarginIsolatedHistoryOrdersRequest {
- r.clientOid = &clientOid
- return r
-}
-
-// pageSize
-func (r ApiMarginIsolatedHistoryOrdersRequest) PageSize(pageSize string) ApiMarginIsolatedHistoryOrdersRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// minId
-func (r ApiMarginIsolatedHistoryOrdersRequest) MinId(minId string) ApiMarginIsolatedHistoryOrdersRequest {
- r.minId = &minId
- return r
-}
-
-func (r ApiMarginIsolatedHistoryOrdersRequest) Execute() (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedHistoryOrdersExecute(r)
-}
-
-/*
-MarginIsolatedHistoryOrders history
-
-Margin Isolated historyOrders
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedHistoryOrdersRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedHistoryOrders(ctx context.Context) ApiMarginIsolatedHistoryOrdersRequest {
- return ApiMarginIsolatedHistoryOrdersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginOpenOrderInfoResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedHistoryOrdersExecute(r ApiMarginIsolatedHistoryOrdersRequest) (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginOpenOrderInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedHistoryOrders")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/history"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- if r.symbol != nil {
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- }
- if r.source != nil {
- localVarQueryParams.Add("source", parameterToString(*r.source, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.clientOid != nil {
- localVarQueryParams.Add("clientOid", parameterToString(*r.clientOid, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.minId != nil {
- localVarQueryParams.Add("minId", parameterToString(*r.minId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedOpenOrdersRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- symbol *string
- startTime *string
- endTime *string
- orderId *string
- clientOid *string
- pageSize *string
-}
-
-// symbol
-func (r ApiMarginIsolatedOpenOrdersRequest) Symbol(symbol string) ApiMarginIsolatedOpenOrdersRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiMarginIsolatedOpenOrdersRequest) StartTime(startTime string) ApiMarginIsolatedOpenOrdersRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiMarginIsolatedOpenOrdersRequest) EndTime(endTime string) ApiMarginIsolatedOpenOrdersRequest {
- r.endTime = &endTime
- return r
-}
-
-// orderId
-func (r ApiMarginIsolatedOpenOrdersRequest) OrderId(orderId string) ApiMarginIsolatedOpenOrdersRequest {
- r.orderId = &orderId
- return r
-}
-
-// clientOid
-func (r ApiMarginIsolatedOpenOrdersRequest) ClientOid(clientOid string) ApiMarginIsolatedOpenOrdersRequest {
- r.clientOid = &clientOid
- return r
-}
-
-// pageSize
-func (r ApiMarginIsolatedOpenOrdersRequest) PageSize(pageSize string) ApiMarginIsolatedOpenOrdersRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMarginIsolatedOpenOrdersRequest) Execute() (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedOpenOrdersExecute(r)
-}
-
-/*
-MarginIsolatedOpenOrders openOrders
-
-Margin Isolated openOrders
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedOpenOrdersRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedOpenOrders(ctx context.Context) ApiMarginIsolatedOpenOrdersRequest {
- return ApiMarginIsolatedOpenOrdersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginOpenOrderInfoResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedOpenOrdersExecute(r ApiMarginIsolatedOpenOrdersRequest) (*ApiResponseResultOfMarginOpenOrderInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginOpenOrderInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedOpenOrders")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/openOrders"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.orderId != nil {
- localVarQueryParams.Add("orderId", parameterToString(*r.orderId, ""))
- }
- if r.clientOid != nil {
- localVarQueryParams.Add("clientOid", parameterToString(*r.clientOid, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedPlaceOrderRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedOrderApiService
- marginOrderRequest *MarginOrderRequest
-}
-
-// marginOrderRequest
-func (r ApiMarginIsolatedPlaceOrderRequest) MarginOrderRequest(marginOrderRequest MarginOrderRequest) ApiMarginIsolatedPlaceOrderRequest {
- r.marginOrderRequest = &marginOrderRequest
- return r
-}
-
-func (r ApiMarginIsolatedPlaceOrderRequest) Execute() (*ApiResponseResultOfMarginPlaceOrderResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedPlaceOrderExecute(r)
-}
-
-/*
-MarginIsolatedPlaceOrder placeOrder
-
-Margin Isolated PlaceOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedPlaceOrderRequest
-*/
-func (a *MarginIsolatedOrderApiService) MarginIsolatedPlaceOrder(ctx context.Context) ApiMarginIsolatedPlaceOrderRequest {
- return ApiMarginIsolatedPlaceOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginPlaceOrderResult
-func (a *MarginIsolatedOrderApiService) MarginIsolatedPlaceOrderExecute(r ApiMarginIsolatedPlaceOrderRequest) (*ApiResponseResultOfMarginPlaceOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginPlaceOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedOrderApiService.MarginIsolatedPlaceOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/order/placeOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.marginOrderRequest == nil {
- return localVarReturnValue, nil, reportError("marginOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.marginOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_public.go b/bitget-goland-sdk-open-api/api_margin_isolated_public.go
deleted file mode 100644
index 507d175b..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_public.go
+++ /dev/null
@@ -1,308 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedPublicApiService MarginIsolatedPublicApi service
-type MarginIsolatedPublicApiService service
-
-type ApiMarginIsolatedPublicInterestRateAndLimitRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedPublicApiService
- symbol *string
-}
-
-// symbol
-func (r ApiMarginIsolatedPublicInterestRateAndLimitRequest) Symbol(symbol string) ApiMarginIsolatedPublicInterestRateAndLimitRequest {
- r.symbol = &symbol
- return r
-}
-
-func (r ApiMarginIsolatedPublicInterestRateAndLimitRequest) Execute() (*ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedPublicInterestRateAndLimitExecute(r)
-}
-
-/*
-MarginIsolatedPublicInterestRateAndLimit interestRateAndLimit
-
-Get InterestRateAndLimit
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedPublicInterestRateAndLimitRequest
-*/
-func (a *MarginIsolatedPublicApiService) MarginIsolatedPublicInterestRateAndLimit(ctx context.Context) ApiMarginIsolatedPublicInterestRateAndLimitRequest {
- return ApiMarginIsolatedPublicInterestRateAndLimitRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
-func (a *MarginIsolatedPublicApiService) MarginIsolatedPublicInterestRateAndLimitExecute(r ApiMarginIsolatedPublicInterestRateAndLimitRequest) (*ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedPublicApiService.MarginIsolatedPublicInterestRateAndLimit")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/public/interestRateAndLimit"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMarginIsolatedPublicTierDataRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedPublicApiService
- symbol *string
-}
-
-// symbol
-func (r ApiMarginIsolatedPublicTierDataRequest) Symbol(symbol string) ApiMarginIsolatedPublicTierDataRequest {
- r.symbol = &symbol
- return r
-}
-
-func (r ApiMarginIsolatedPublicTierDataRequest) Execute() (*ApiResponseResultOfListOfMarginIsolatedLevelResult, *http.Response, error) {
- return r.ApiService.MarginIsolatedPublicTierDataExecute(r)
-}
-
-/*
-MarginIsolatedPublicTierData tierData
-
-Get TierData
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginIsolatedPublicTierDataRequest
-*/
-func (a *MarginIsolatedPublicApiService) MarginIsolatedPublicTierData(ctx context.Context) ApiMarginIsolatedPublicTierDataRequest {
- return ApiMarginIsolatedPublicTierDataRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginIsolatedLevelResult
-func (a *MarginIsolatedPublicApiService) MarginIsolatedPublicTierDataExecute(r ApiMarginIsolatedPublicTierDataRequest) (*ApiResponseResultOfListOfMarginIsolatedLevelResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginIsolatedLevelResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedPublicApiService.MarginIsolatedPublicTierData")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/public/tierData"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_isolated_repay.go b/bitget-goland-sdk-open-api/api_margin_isolated_repay.go
deleted file mode 100644
index ba8df205..00000000
--- a/bitget-goland-sdk-open-api/api_margin_isolated_repay.go
+++ /dev/null
@@ -1,296 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginIsolatedRepayApiService MarginIsolatedRepayApi service
-type MarginIsolatedRepayApiService service
-
-type ApiIsolateRepayListRequest struct {
- ctx context.Context
- ApiService *MarginIsolatedRepayApiService
- symbol *string
- startTime *string
- coin *string
- repayId *string
- endTime *string
- pageSize *string
- pageId *string
-}
-
-// symbol
-func (r ApiIsolateRepayListRequest) Symbol(symbol string) ApiIsolateRepayListRequest {
- r.symbol = &symbol
- return r
-}
-
-// startTime
-func (r ApiIsolateRepayListRequest) StartTime(startTime string) ApiIsolateRepayListRequest {
- r.startTime = &startTime
- return r
-}
-
-// coin
-func (r ApiIsolateRepayListRequest) Coin(coin string) ApiIsolateRepayListRequest {
- r.coin = &coin
- return r
-}
-
-// repayId
-func (r ApiIsolateRepayListRequest) RepayId(repayId string) ApiIsolateRepayListRequest {
- r.repayId = &repayId
- return r
-}
-
-// endTime
-func (r ApiIsolateRepayListRequest) EndTime(endTime string) ApiIsolateRepayListRequest {
- r.endTime = &endTime
- return r
-}
-
-// pageSize
-func (r ApiIsolateRepayListRequest) PageSize(pageSize string) ApiIsolateRepayListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// pageId
-func (r ApiIsolateRepayListRequest) PageId(pageId string) ApiIsolateRepayListRequest {
- r.pageId = &pageId
- return r
-}
-
-func (r ApiIsolateRepayListRequest) Execute() (*ApiResponseResultOfMarginIsolatedRepayInfoResult, *http.Response, error) {
- return r.ApiService.IsolateRepayListExecute(r)
-}
-
-/*
-IsolateRepayList list
-
-Get liquidation List
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiIsolateRepayListRequest
-*/
-func (a *MarginIsolatedRepayApiService) IsolateRepayList(ctx context.Context) ApiIsolateRepayListRequest {
- return ApiIsolateRepayListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMarginIsolatedRepayInfoResult
-func (a *MarginIsolatedRepayApiService) IsolateRepayListExecute(r ApiIsolateRepayListRequest) (*ApiResponseResultOfMarginIsolatedRepayInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMarginIsolatedRepayInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginIsolatedRepayApiService.IsolateRepayList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/isolated/repay/list"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.symbol == nil {
- return localVarReturnValue, nil, reportError("symbol is required and must be specified")
- }
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("symbol", parameterToString(*r.symbol, ""))
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- if r.repayId != nil {
- localVarQueryParams.Add("repayId", parameterToString(*r.repayId, ""))
- }
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.pageId != nil {
- localVarQueryParams.Add("pageId", parameterToString(*r.pageId, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_margin_public.go b/bitget-goland-sdk-open-api/api_margin_public.go
deleted file mode 100644
index 94961201..00000000
--- a/bitget-goland-sdk-open-api/api_margin_public.go
+++ /dev/null
@@ -1,154 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// MarginPublicApiService MarginPublicApi service
-type MarginPublicApiService service
-
-type ApiMarginPublicCurrenciesRequest struct {
- ctx context.Context
- ApiService *MarginPublicApiService
-}
-
-func (r ApiMarginPublicCurrenciesRequest) Execute() (*ApiResponseResultOfListOfMarginSystemResult, *http.Response, error) {
- return r.ApiService.MarginPublicCurrenciesExecute(r)
-}
-
-/*
-MarginPublicCurrencies currencies
-
-Get Currencies
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMarginPublicCurrenciesRequest
-*/
-func (a *MarginPublicApiService) MarginPublicCurrencies(ctx context.Context) ApiMarginPublicCurrenciesRequest {
- return ApiMarginPublicCurrenciesRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfMarginSystemResult
-func (a *MarginPublicApiService) MarginPublicCurrenciesExecute(r ApiMarginPublicCurrenciesRequest) (*ApiResponseResultOfListOfMarginSystemResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfMarginSystemResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "MarginPublicApiService.MarginPublicCurrencies")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/margin/v1/public/currencies"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_p2p_merchant.go b/bitget-goland-sdk-open-api/api_p2p_merchant.go
deleted file mode 100644
index 3c1f1bf8..00000000
--- a/bitget-goland-sdk-open-api/api_p2p_merchant.go
+++ /dev/null
@@ -1,1092 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// P2pMerchantApiService P2pMerchantApi service
-type P2pMerchantApiService service
-
-type ApiMerchantAdvListRequest struct {
- ctx context.Context
- ApiService *P2pMerchantApiService
- startTime *string
- endTime *string
- status *string
- type_ *string
- advNo *string
- coin *string
- languageType *string
- fiat *string
- lastMinId *string
- pageSize *string
- orderBy *string
-}
-
-// startTime
-func (r ApiMerchantAdvListRequest) StartTime(startTime string) ApiMerchantAdvListRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiMerchantAdvListRequest) EndTime(endTime string) ApiMerchantAdvListRequest {
- r.endTime = &endTime
- return r
-}
-
-// status
-func (r ApiMerchantAdvListRequest) Status(status string) ApiMerchantAdvListRequest {
- r.status = &status
- return r
-}
-
-// type
-func (r ApiMerchantAdvListRequest) Type_(type_ string) ApiMerchantAdvListRequest {
- r.type_ = &type_
- return r
-}
-
-// advNo
-func (r ApiMerchantAdvListRequest) AdvNo(advNo string) ApiMerchantAdvListRequest {
- r.advNo = &advNo
- return r
-}
-
-// coin
-func (r ApiMerchantAdvListRequest) Coin(coin string) ApiMerchantAdvListRequest {
- r.coin = &coin
- return r
-}
-
-// languageType
-func (r ApiMerchantAdvListRequest) LanguageType(languageType string) ApiMerchantAdvListRequest {
- r.languageType = &languageType
- return r
-}
-
-// fiat
-func (r ApiMerchantAdvListRequest) Fiat(fiat string) ApiMerchantAdvListRequest {
- r.fiat = &fiat
- return r
-}
-
-// languageType
-func (r ApiMerchantAdvListRequest) LastMinId(lastMinId string) ApiMerchantAdvListRequest {
- r.lastMinId = &lastMinId
- return r
-}
-
-// pageSize
-func (r ApiMerchantAdvListRequest) PageSize(pageSize string) ApiMerchantAdvListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-// orderBy
-func (r ApiMerchantAdvListRequest) OrderBy(orderBy string) ApiMerchantAdvListRequest {
- r.orderBy = &orderBy
- return r
-}
-
-func (r ApiMerchantAdvListRequest) Execute() (*ApiResponseResultOfMerchantAdvResult, *http.Response, error) {
- return r.ApiService.MerchantAdvListExecute(r)
-}
-
-/*
-MerchantAdvList advList
-
-P2P merchant adv info
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMerchantAdvListRequest
-*/
-func (a *P2pMerchantApiService) MerchantAdvList(ctx context.Context) ApiMerchantAdvListRequest {
- return ApiMerchantAdvListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMerchantAdvResult
-func (a *P2pMerchantApiService) MerchantAdvListExecute(r ApiMerchantAdvListRequest) (*ApiResponseResultOfMerchantAdvResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMerchantAdvResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "P2pMerchantApiService.MerchantAdvList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/p2p/v1/merchant/advList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.status != nil {
- localVarQueryParams.Add("status", parameterToString(*r.status, ""))
- }
- if r.type_ != nil {
- localVarQueryParams.Add("type", parameterToString(*r.type_, ""))
- }
- if r.advNo != nil {
- localVarQueryParams.Add("advNo", parameterToString(*r.advNo, ""))
- }
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- if r.languageType != nil {
- localVarQueryParams.Add("languageType", parameterToString(*r.languageType, ""))
- }
- if r.fiat != nil {
- localVarQueryParams.Add("fiat", parameterToString(*r.fiat, ""))
- }
- if r.lastMinId != nil {
- localVarQueryParams.Add("lastMinId", parameterToString(*r.lastMinId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- if r.orderBy != nil {
- localVarQueryParams.Add("orderBy", parameterToString(*r.orderBy, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMerchantInfoRequest struct {
- ctx context.Context
- ApiService *P2pMerchantApiService
-}
-
-func (r ApiMerchantInfoRequest) Execute() (*ApiResponseResultOfMerchantPersonInfo, *http.Response, error) {
- return r.ApiService.MerchantInfoExecute(r)
-}
-
-/*
-MerchantInfo merchantInfo
-
-P2P merchant info self
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMerchantInfoRequest
-*/
-func (a *P2pMerchantApiService) MerchantInfo(ctx context.Context) ApiMerchantInfoRequest {
- return ApiMerchantInfoRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMerchantPersonInfo
-func (a *P2pMerchantApiService) MerchantInfoExecute(r ApiMerchantInfoRequest) (*ApiResponseResultOfMerchantPersonInfo, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMerchantPersonInfo
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "P2pMerchantApiService.MerchantInfo")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/p2p/v1/merchant/merchantInfo"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMerchantListRequest struct {
- ctx context.Context
- ApiService *P2pMerchantApiService
- online *string
- merchantId *string
- lastMinId *string
- pageSize *string
-}
-
-// online
-func (r ApiMerchantListRequest) Online(online string) ApiMerchantListRequest {
- r.online = &online
- return r
-}
-
-// merchantId
-func (r ApiMerchantListRequest) MerchantId(merchantId string) ApiMerchantListRequest {
- r.merchantId = &merchantId
- return r
-}
-
-// lastMinId
-func (r ApiMerchantListRequest) LastMinId(lastMinId string) ApiMerchantListRequest {
- r.lastMinId = &lastMinId
- return r
-}
-
-// pageSize
-func (r ApiMerchantListRequest) PageSize(pageSize string) ApiMerchantListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMerchantListRequest) Execute() (*ApiResponseResultOfMerchantInfoResult, *http.Response, error) {
- return r.ApiService.MerchantListExecute(r)
-}
-
-/*
-MerchantList merchantList
-
-P2P merchant list
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMerchantListRequest
-*/
-func (a *P2pMerchantApiService) MerchantList(ctx context.Context) ApiMerchantListRequest {
- return ApiMerchantListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMerchantInfoResult
-func (a *P2pMerchantApiService) MerchantListExecute(r ApiMerchantListRequest) (*ApiResponseResultOfMerchantInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMerchantInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "P2pMerchantApiService.MerchantList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/p2p/v1/merchant/merchantList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- if r.online != nil {
- localVarQueryParams.Add("online", parameterToString(*r.online, ""))
- }
- if r.merchantId != nil {
- localVarQueryParams.Add("merchantId", parameterToString(*r.merchantId, ""))
- }
- if r.lastMinId != nil {
- localVarQueryParams.Add("lastMinId", parameterToString(*r.lastMinId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiMerchantOrderListRequest struct {
- ctx context.Context
- ApiService *P2pMerchantApiService
- startTime *string
- endTime *string
- status *string
- type_ *string
- advNo *string
- orderNo *string
- coin *string
- languageType *string
- fiat *string
- lastMinId *string
- pageSize *string
-}
-
-// startTime
-func (r ApiMerchantOrderListRequest) StartTime(startTime string) ApiMerchantOrderListRequest {
- r.startTime = &startTime
- return r
-}
-
-// endTime
-func (r ApiMerchantOrderListRequest) EndTime(endTime string) ApiMerchantOrderListRequest {
- r.endTime = &endTime
- return r
-}
-
-// status
-func (r ApiMerchantOrderListRequest) Status(status string) ApiMerchantOrderListRequest {
- r.status = &status
- return r
-}
-
-// type
-func (r ApiMerchantOrderListRequest) Type_(type_ string) ApiMerchantOrderListRequest {
- r.type_ = &type_
- return r
-}
-
-// advNo
-func (r ApiMerchantOrderListRequest) AdvNo(advNo string) ApiMerchantOrderListRequest {
- r.advNo = &advNo
- return r
-}
-
-// orderNo
-func (r ApiMerchantOrderListRequest) OrderNo(orderNo string) ApiMerchantOrderListRequest {
- r.orderNo = &orderNo
- return r
-}
-
-// coin
-func (r ApiMerchantOrderListRequest) Coin(coin string) ApiMerchantOrderListRequest {
- r.coin = &coin
- return r
-}
-
-// languageType
-func (r ApiMerchantOrderListRequest) LanguageType(languageType string) ApiMerchantOrderListRequest {
- r.languageType = &languageType
- return r
-}
-
-// fiat
-func (r ApiMerchantOrderListRequest) Fiat(fiat string) ApiMerchantOrderListRequest {
- r.fiat = &fiat
- return r
-}
-
-// languageType
-func (r ApiMerchantOrderListRequest) LastMinId(lastMinId string) ApiMerchantOrderListRequest {
- r.lastMinId = &lastMinId
- return r
-}
-
-// pageSize
-func (r ApiMerchantOrderListRequest) PageSize(pageSize string) ApiMerchantOrderListRequest {
- r.pageSize = &pageSize
- return r
-}
-
-func (r ApiMerchantOrderListRequest) Execute() (*ApiResponseResultOfMerchantOrderResult, *http.Response, error) {
- return r.ApiService.MerchantOrderListExecute(r)
-}
-
-/*
-MerchantOrderList orderList
-
-P2P merchant order info
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiMerchantOrderListRequest
-*/
-func (a *P2pMerchantApiService) MerchantOrderList(ctx context.Context) ApiMerchantOrderListRequest {
- return ApiMerchantOrderListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMerchantOrderResult
-func (a *P2pMerchantApiService) MerchantOrderListExecute(r ApiMerchantOrderListRequest) (*ApiResponseResultOfMerchantOrderResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodGet
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMerchantOrderResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "P2pMerchantApiService.MerchantOrderList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/p2p/v1/merchant/orderList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.startTime == nil {
- return localVarReturnValue, nil, reportError("startTime is required and must be specified")
- }
-
- localVarQueryParams.Add("startTime", parameterToString(*r.startTime, ""))
- if r.endTime != nil {
- localVarQueryParams.Add("endTime", parameterToString(*r.endTime, ""))
- }
- if r.status != nil {
- localVarQueryParams.Add("status", parameterToString(*r.status, ""))
- }
- if r.type_ != nil {
- localVarQueryParams.Add("type", parameterToString(*r.type_, ""))
- }
- if r.advNo != nil {
- localVarQueryParams.Add("advNo", parameterToString(*r.advNo, ""))
- }
- if r.orderNo != nil {
- localVarQueryParams.Add("orderNo", parameterToString(*r.orderNo, ""))
- }
- if r.coin != nil {
- localVarQueryParams.Add("coin", parameterToString(*r.coin, ""))
- }
- if r.languageType != nil {
- localVarQueryParams.Add("languageType", parameterToString(*r.languageType, ""))
- }
- if r.fiat != nil {
- localVarQueryParams.Add("fiat", parameterToString(*r.fiat, ""))
- }
- if r.lastMinId != nil {
- localVarQueryParams.Add("lastMinId", parameterToString(*r.lastMinId, ""))
- }
- if r.pageSize != nil {
- localVarQueryParams.Add("pageSize", parameterToString(*r.pageSize, ""))
- }
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_spot_trace_order.go b/bitget-goland-sdk-open-api/api_spot_trace_order.go
deleted file mode 100644
index bdf4153b..00000000
--- a/bitget-goland-sdk-open-api/api_spot_trace_order.go
+++ /dev/null
@@ -1,2780 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// SpotTraceOrderApiService SpotTraceOrderApi service
-type SpotTraceOrderApiService service
-
-type ApiSpotTraceCloseTrackingOrderRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- closeTrackingOrderRequest *CloseTrackingOrderRequest
-}
-
-// closeTrackingOrderRequest
-func (r ApiSpotTraceCloseTrackingOrderRequest) CloseTrackingOrderRequest(closeTrackingOrderRequest CloseTrackingOrderRequest) ApiSpotTraceCloseTrackingOrderRequest {
- r.closeTrackingOrderRequest = &closeTrackingOrderRequest
- return r
-}
-
-func (r ApiSpotTraceCloseTrackingOrderRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceCloseTrackingOrderExecute(r)
-}
-
-/*
-SpotTraceCloseTrackingOrder closeTrackingOrder
-
-closeTrackingOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceCloseTrackingOrderRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceCloseTrackingOrder(ctx context.Context) ApiSpotTraceCloseTrackingOrderRequest {
- return ApiSpotTraceCloseTrackingOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceCloseTrackingOrderExecute(r ApiSpotTraceCloseTrackingOrderRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceCloseTrackingOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/closeTrackingOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.closeTrackingOrderRequest == nil {
- return localVarReturnValue, nil, reportError("closeTrackingOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.closeTrackingOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceEndOrderRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- endOrderRequest *EndOrderRequest
-}
-
-// endOrderRequest
-func (r ApiSpotTraceEndOrderRequest) EndOrderRequest(endOrderRequest EndOrderRequest) ApiSpotTraceEndOrderRequest {
- r.endOrderRequest = &endOrderRequest
- return r
-}
-
-func (r ApiSpotTraceEndOrderRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceEndOrderExecute(r)
-}
-
-/*
-SpotTraceEndOrder endOrder
-
-endOrder
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceEndOrderRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceEndOrder(ctx context.Context) ApiSpotTraceEndOrderRequest {
- return ApiSpotTraceEndOrderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceEndOrderExecute(r ApiSpotTraceEndOrderRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceEndOrder")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/endOrder"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.endOrderRequest == nil {
- return localVarReturnValue, nil, reportError("endOrderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.endOrderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceGetTraceSettingsRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- traceSettingsRequest *TraceSettingsRequest
-}
-
-// traceSettingsRequest
-func (r ApiSpotTraceGetTraceSettingsRequest) TraceSettingsRequest(traceSettingsRequest TraceSettingsRequest) ApiSpotTraceGetTraceSettingsRequest {
- r.traceSettingsRequest = &traceSettingsRequest
- return r
-}
-
-func (r ApiSpotTraceGetTraceSettingsRequest) Execute() (*ApiResponseResultOfTraceSettingResult, *http.Response, error) {
- return r.ApiService.SpotTraceGetTraceSettingsExecute(r)
-}
-
-/*
-SpotTraceGetTraceSettings getTraceSettings
-
-Get TraceSettings
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceGetTraceSettingsRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceGetTraceSettings(ctx context.Context) ApiSpotTraceGetTraceSettingsRequest {
- return ApiSpotTraceGetTraceSettingsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraceSettingResult
-func (a *SpotTraceOrderApiService) SpotTraceGetTraceSettingsExecute(r ApiSpotTraceGetTraceSettingsRequest) (*ApiResponseResultOfTraceSettingResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraceSettingResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceGetTraceSettings")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/getTraceSettings"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.traceSettingsRequest == nil {
- return localVarReturnValue, nil, reportError("traceSettingsRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.traceSettingsRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceGetTraderSettingsRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
-}
-
-func (r ApiSpotTraceGetTraderSettingsRequest) Execute() (*ApiResponseResultOfTraderSettingResult, *http.Response, error) {
- return r.ApiService.SpotTraceGetTraderSettingsExecute(r)
-}
-
-/*
-SpotTraceGetTraderSettings getTraderSettings
-
-Get TraderSettings
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceGetTraderSettingsRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceGetTraderSettings(ctx context.Context) ApiSpotTraceGetTraderSettingsRequest {
- return ApiSpotTraceGetTraderSettingsRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraderSettingResult
-func (a *SpotTraceOrderApiService) SpotTraceGetTraderSettingsExecute(r ApiSpotTraceGetTraderSettingsRequest) (*ApiResponseResultOfTraderSettingResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraderSettingResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceGetTraderSettings")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/getTraderSettings"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceMyTracersRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- myTracersRequest *MyTracersRequest
-}
-
-// myTracersRequest
-func (r ApiSpotTraceMyTracersRequest) MyTracersRequest(myTracersRequest MyTracersRequest) ApiSpotTraceMyTracersRequest {
- r.myTracersRequest = &myTracersRequest
- return r
-}
-
-func (r ApiSpotTraceMyTracersRequest) Execute() (*ApiResponseResultOfMyTracersResult, *http.Response, error) {
- return r.ApiService.SpotTraceMyTracersExecute(r)
-}
-
-/*
-SpotTraceMyTracers myTracers
-
-Get MyTracers
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceMyTracersRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceMyTracers(ctx context.Context) ApiSpotTraceMyTracersRequest {
- return ApiSpotTraceMyTracersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMyTracersResult
-func (a *SpotTraceOrderApiService) SpotTraceMyTracersExecute(r ApiSpotTraceMyTracersRequest) (*ApiResponseResultOfMyTracersResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMyTracersResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceMyTracers")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/myTracers"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.myTracersRequest == nil {
- return localVarReturnValue, nil, reportError("myTracersRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.myTracersRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceMyTradersRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- myTradersRequest *MyTradersRequest
-}
-
-// myTradersRequest
-func (r ApiSpotTraceMyTradersRequest) MyTradersRequest(myTradersRequest MyTradersRequest) ApiSpotTraceMyTradersRequest {
- r.myTradersRequest = &myTradersRequest
- return r
-}
-
-func (r ApiSpotTraceMyTradersRequest) Execute() (*ApiResponseResultOfMyTradersResult, *http.Response, error) {
- return r.ApiService.SpotTraceMyTradersExecute(r)
-}
-
-/*
-SpotTraceMyTraders myTraders
-
-Get MyTraders
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceMyTradersRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceMyTraders(ctx context.Context) ApiSpotTraceMyTradersRequest {
- return ApiSpotTraceMyTradersRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfMyTradersResult
-func (a *SpotTraceOrderApiService) SpotTraceMyTradersExecute(r ApiSpotTraceMyTradersRequest) (*ApiResponseResultOfMyTradersResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfMyTradersResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceMyTraders")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/myTraders"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.myTradersRequest == nil {
- return localVarReturnValue, nil, reportError("myTradersRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.myTradersRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceOrderCurrentListRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- currentOrderListRequest *CurrentOrderListRequest
-}
-
-// currentOrderListRequest
-func (r ApiSpotTraceOrderCurrentListRequest) CurrentOrderListRequest(currentOrderListRequest CurrentOrderListRequest) ApiSpotTraceOrderCurrentListRequest {
- r.currentOrderListRequest = ¤tOrderListRequest
- return r
-}
-
-func (r ApiSpotTraceOrderCurrentListRequest) Execute() (*ApiResponseResultOfOrderCurrentListResult, *http.Response, error) {
- return r.ApiService.SpotTraceOrderCurrentListExecute(r)
-}
-
-/*
-SpotTraceOrderCurrentList orderCurrentList
-
-Get OrderCurrentList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceOrderCurrentListRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceOrderCurrentList(ctx context.Context) ApiSpotTraceOrderCurrentListRequest {
- return ApiSpotTraceOrderCurrentListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfOrderCurrentListResult
-func (a *SpotTraceOrderApiService) SpotTraceOrderCurrentListExecute(r ApiSpotTraceOrderCurrentListRequest) (*ApiResponseResultOfOrderCurrentListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfOrderCurrentListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceOrderCurrentList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/orderCurrentList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.currentOrderListRequest == nil {
- return localVarReturnValue, nil, reportError("currentOrderListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.currentOrderListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceOrderHistoryListRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- historyOrderListRequest *HistoryOrderListRequest
-}
-
-// historyOrderListRequest
-func (r ApiSpotTraceOrderHistoryListRequest) HistoryOrderListRequest(historyOrderListRequest HistoryOrderListRequest) ApiSpotTraceOrderHistoryListRequest {
- r.historyOrderListRequest = &historyOrderListRequest
- return r
-}
-
-func (r ApiSpotTraceOrderHistoryListRequest) Execute() (*ApiResponseResultOfOrderHistoryListResult, *http.Response, error) {
- return r.ApiService.SpotTraceOrderHistoryListExecute(r)
-}
-
-/*
-SpotTraceOrderHistoryList orderHistoryList
-
-Get OrderHistoryList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceOrderHistoryListRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceOrderHistoryList(ctx context.Context) ApiSpotTraceOrderHistoryListRequest {
- return ApiSpotTraceOrderHistoryListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfOrderHistoryListResult
-func (a *SpotTraceOrderApiService) SpotTraceOrderHistoryListExecute(r ApiSpotTraceOrderHistoryListRequest) (*ApiResponseResultOfOrderHistoryListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfOrderHistoryListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceOrderHistoryList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/orderHistoryList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.historyOrderListRequest == nil {
- return localVarReturnValue, nil, reportError("historyOrderListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.historyOrderListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceRemoveTraderRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- removeTraderRequest *RemoveTraderRequest
-}
-
-// removeTraderRequest
-func (r ApiSpotTraceRemoveTraderRequest) RemoveTraderRequest(removeTraderRequest RemoveTraderRequest) ApiSpotTraceRemoveTraderRequest {
- r.removeTraderRequest = &removeTraderRequest
- return r
-}
-
-func (r ApiSpotTraceRemoveTraderRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceRemoveTraderExecute(r)
-}
-
-/*
-SpotTraceRemoveTrader removeTrader
-
-RemoveTrader
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceRemoveTraderRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceRemoveTrader(ctx context.Context) ApiSpotTraceRemoveTraderRequest {
- return ApiSpotTraceRemoveTraderRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceRemoveTraderExecute(r ApiSpotTraceRemoveTraderRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceRemoveTrader")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/removeTrader"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.removeTraderRequest == nil {
- return localVarReturnValue, nil, reportError("removeTraderRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.removeTraderRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceSetProductCodeRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- productCodeRequest *ProductCodeRequest
-}
-
-// productCodeRequest
-func (r ApiSpotTraceSetProductCodeRequest) ProductCodeRequest(productCodeRequest ProductCodeRequest) ApiSpotTraceSetProductCodeRequest {
- r.productCodeRequest = &productCodeRequest
- return r
-}
-
-func (r ApiSpotTraceSetProductCodeRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceSetProductCodeExecute(r)
-}
-
-/*
-SpotTraceSetProductCode setProductCode
-
-SetProductCode
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceSetProductCodeRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceSetProductCode(ctx context.Context) ApiSpotTraceSetProductCodeRequest {
- return ApiSpotTraceSetProductCodeRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceSetProductCodeExecute(r ApiSpotTraceSetProductCodeRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceSetProductCode")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/setProductCode"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.productCodeRequest == nil {
- return localVarReturnValue, nil, reportError("productCodeRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.productCodeRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceSetTraceConfigRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- traceConfigRequest *TraceConfigRequest
-}
-
-// traceConfigRequest
-func (r ApiSpotTraceSetTraceConfigRequest) TraceConfigRequest(traceConfigRequest TraceConfigRequest) ApiSpotTraceSetTraceConfigRequest {
- r.traceConfigRequest = &traceConfigRequest
- return r
-}
-
-func (r ApiSpotTraceSetTraceConfigRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceSetTraceConfigExecute(r)
-}
-
-/*
-SpotTraceSetTraceConfig setTraceConfig
-
-SetTraceConfig
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceSetTraceConfigRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceSetTraceConfig(ctx context.Context) ApiSpotTraceSetTraceConfigRequest {
- return ApiSpotTraceSetTraceConfigRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceSetTraceConfigExecute(r ApiSpotTraceSetTraceConfigRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceSetTraceConfig")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/setTraceConfig"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.traceConfigRequest == nil {
- return localVarReturnValue, nil, reportError("traceConfigRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.traceConfigRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceSpotInfoListRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
-}
-
-func (r ApiSpotTraceSpotInfoListRequest) Execute() (*ApiResponseResultOfListOfSpotInfoResult, *http.Response, error) {
- return r.ApiService.SpotTraceSpotInfoListExecute(r)
-}
-
-/*
-SpotTraceSpotInfoList spotInfoList
-
-Get SpotInfoList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceSpotInfoListRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceSpotInfoList(ctx context.Context) ApiSpotTraceSpotInfoListRequest {
- return ApiSpotTraceSpotInfoListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfSpotInfoResult
-func (a *SpotTraceOrderApiService) SpotTraceSpotInfoListExecute(r ApiSpotTraceSpotInfoListRequest) (*ApiResponseResultOfListOfSpotInfoResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfSpotInfoResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceSpotInfoList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/spotInfoList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceUpdateTpslRequest struct {
- ctx context.Context
- ApiService *SpotTraceOrderApiService
- updateTpslRequest *UpdateTpslRequest
-}
-
-// updateTpslRequest
-func (r ApiSpotTraceUpdateTpslRequest) UpdateTpslRequest(updateTpslRequest UpdateTpslRequest) ApiSpotTraceUpdateTpslRequest {
- r.updateTpslRequest = &updateTpslRequest
- return r
-}
-
-func (r ApiSpotTraceUpdateTpslRequest) Execute() (*ApiResponseResultOfboolean, *http.Response, error) {
- return r.ApiService.SpotTraceUpdateTpslExecute(r)
-}
-
-/*
-SpotTraceUpdateTpsl updateTpsl
-
-updateTpsl
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceUpdateTpslRequest
-*/
-func (a *SpotTraceOrderApiService) SpotTraceUpdateTpsl(ctx context.Context) ApiSpotTraceUpdateTpslRequest {
- return ApiSpotTraceUpdateTpslRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfboolean
-func (a *SpotTraceOrderApiService) SpotTraceUpdateTpslExecute(r ApiSpotTraceUpdateTpslRequest) (*ApiResponseResultOfboolean, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfboolean
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceOrderApiService.SpotTraceUpdateTpsl")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/order/updateTpsl"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.updateTpslRequest == nil {
- return localVarReturnValue, nil, reportError("updateTpslRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.updateTpslRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/api_spot_trace_profit.go b/bitget-goland-sdk-open-api/api_spot_trace_profit.go
deleted file mode 100644
index eca1f306..00000000
--- a/bitget-goland-sdk-open-api/api_spot_trace_profit.go
+++ /dev/null
@@ -1,1080 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-// SpotTraceProfitApiService SpotTraceProfitApi service
-type SpotTraceProfitApiService service
-
-type ApiSpotTraceProfitHisDetailListRequest struct {
- ctx context.Context
- ApiService *SpotTraceProfitApiService
- totalProfitHisDetailListRequest *TotalProfitHisDetailListRequest
-}
-
-// totalProfitHisDetailListRequest
-func (r ApiSpotTraceProfitHisDetailListRequest) TotalProfitHisDetailListRequest(totalProfitHisDetailListRequest TotalProfitHisDetailListRequest) ApiSpotTraceProfitHisDetailListRequest {
- r.totalProfitHisDetailListRequest = &totalProfitHisDetailListRequest
- return r
-}
-
-func (r ApiSpotTraceProfitHisDetailListRequest) Execute() (*ApiResponseResultOfTraderProfitHisDetailListResult, *http.Response, error) {
- return r.ApiService.SpotTraceProfitHisDetailListExecute(r)
-}
-
-/*
-SpotTraceProfitHisDetailList profitHisDetailList
-
-Get ProfitHisDetailList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceProfitHisDetailListRequest
-*/
-func (a *SpotTraceProfitApiService) SpotTraceProfitHisDetailList(ctx context.Context) ApiSpotTraceProfitHisDetailListRequest {
- return ApiSpotTraceProfitHisDetailListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraderProfitHisDetailListResult
-func (a *SpotTraceProfitApiService) SpotTraceProfitHisDetailListExecute(r ApiSpotTraceProfitHisDetailListRequest) (*ApiResponseResultOfTraderProfitHisDetailListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraderProfitHisDetailListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceProfitApiService.SpotTraceProfitHisDetailList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/profit/profitHisDetailList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.totalProfitHisDetailListRequest == nil {
- return localVarReturnValue, nil, reportError("totalProfitHisDetailListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.totalProfitHisDetailListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceProfitHisListRequest struct {
- ctx context.Context
- ApiService *SpotTraceProfitApiService
- totalProfitHisListRequest *TotalProfitHisListRequest
-}
-
-// totalProfitHisListRequest
-func (r ApiSpotTraceProfitHisListRequest) TotalProfitHisListRequest(totalProfitHisListRequest TotalProfitHisListRequest) ApiSpotTraceProfitHisListRequest {
- r.totalProfitHisListRequest = &totalProfitHisListRequest
- return r
-}
-
-func (r ApiSpotTraceProfitHisListRequest) Execute() (*ApiResponseResultOfTraderProfitHisListResult, *http.Response, error) {
- return r.ApiService.SpotTraceProfitHisListExecute(r)
-}
-
-/*
-SpotTraceProfitHisList profitHisList
-
-Get ProfitHisList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceProfitHisListRequest
-*/
-func (a *SpotTraceProfitApiService) SpotTraceProfitHisList(ctx context.Context) ApiSpotTraceProfitHisListRequest {
- return ApiSpotTraceProfitHisListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraderProfitHisListResult
-func (a *SpotTraceProfitApiService) SpotTraceProfitHisListExecute(r ApiSpotTraceProfitHisListRequest) (*ApiResponseResultOfTraderProfitHisListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraderProfitHisListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceProfitApiService.SpotTraceProfitHisList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/profit/profitHisList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.totalProfitHisListRequest == nil {
- return localVarReturnValue, nil, reportError("totalProfitHisListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.totalProfitHisListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceTotalProfitInfoRequest struct {
- ctx context.Context
- ApiService *SpotTraceProfitApiService
-}
-
-func (r ApiSpotTraceTotalProfitInfoRequest) Execute() (*ApiResponseResultOfTraderTotalProfitResult, *http.Response, error) {
- return r.ApiService.SpotTraceTotalProfitInfoExecute(r)
-}
-
-/*
-SpotTraceTotalProfitInfo totalProfitInfo
-
-Get TotalProfitInfo
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceTotalProfitInfoRequest
-*/
-func (a *SpotTraceProfitApiService) SpotTraceTotalProfitInfo(ctx context.Context) ApiSpotTraceTotalProfitInfoRequest {
- return ApiSpotTraceTotalProfitInfoRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraderTotalProfitResult
-func (a *SpotTraceProfitApiService) SpotTraceTotalProfitInfoExecute(r ApiSpotTraceTotalProfitInfoRequest) (*ApiResponseResultOfTraderTotalProfitResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraderTotalProfitResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceProfitApiService.SpotTraceTotalProfitInfo")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/profit/totalProfitInfo"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceTotalProfitListRequest struct {
- ctx context.Context
- ApiService *SpotTraceProfitApiService
- totalProfitListRequest *TotalProfitListRequest
-}
-
-// totalProfitListRequest
-func (r ApiSpotTraceTotalProfitListRequest) TotalProfitListRequest(totalProfitListRequest TotalProfitListRequest) ApiSpotTraceTotalProfitListRequest {
- r.totalProfitListRequest = &totalProfitListRequest
- return r
-}
-
-func (r ApiSpotTraceTotalProfitListRequest) Execute() (*ApiResponseResultOfListOfTraderTotalProfitListResult, *http.Response, error) {
- return r.ApiService.SpotTraceTotalProfitListExecute(r)
-}
-
-/*
-SpotTraceTotalProfitList totalProfitList
-
-Get TotalProfitList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceTotalProfitListRequest
-*/
-func (a *SpotTraceProfitApiService) SpotTraceTotalProfitList(ctx context.Context) ApiSpotTraceTotalProfitListRequest {
- return ApiSpotTraceTotalProfitListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfListOfTraderTotalProfitListResult
-func (a *SpotTraceProfitApiService) SpotTraceTotalProfitListExecute(r ApiSpotTraceTotalProfitListRequest) (*ApiResponseResultOfListOfTraderTotalProfitListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfListOfTraderTotalProfitListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceProfitApiService.SpotTraceTotalProfitList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/profit/totalProfitList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.totalProfitListRequest == nil {
- return localVarReturnValue, nil, reportError("totalProfitListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.totalProfitListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
-
-type ApiSpotTraceWaitProfitDetailListRequest struct {
- ctx context.Context
- ApiService *SpotTraceProfitApiService
- waitProfitDetailListRequest *WaitProfitDetailListRequest
-}
-
-// waitProfitDetailListRequest
-func (r ApiSpotTraceWaitProfitDetailListRequest) WaitProfitDetailListRequest(waitProfitDetailListRequest WaitProfitDetailListRequest) ApiSpotTraceWaitProfitDetailListRequest {
- r.waitProfitDetailListRequest = &waitProfitDetailListRequest
- return r
-}
-
-func (r ApiSpotTraceWaitProfitDetailListRequest) Execute() (*ApiResponseResultOfTraderWaitProfitDetailListResult, *http.Response, error) {
- return r.ApiService.SpotTraceWaitProfitDetailListExecute(r)
-}
-
-/*
-SpotTraceWaitProfitDetailList waitProfitDetailList
-
-Get WaitProfitDetailList
-
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSpotTraceWaitProfitDetailListRequest
-*/
-func (a *SpotTraceProfitApiService) SpotTraceWaitProfitDetailList(ctx context.Context) ApiSpotTraceWaitProfitDetailListRequest {
- return ApiSpotTraceWaitProfitDetailListRequest{
- ApiService: a,
- ctx: ctx,
- }
-}
-
-// Execute executes the request
-//
-// @return ApiResponseResultOfTraderWaitProfitDetailListResult
-func (a *SpotTraceProfitApiService) SpotTraceWaitProfitDetailListExecute(r ApiSpotTraceWaitProfitDetailListRequest) (*ApiResponseResultOfTraderWaitProfitDetailListResult, *http.Response, error) {
- var (
- localVarHTTPMethod = http.MethodPost
- localVarPostBody interface{}
- formFiles []formFile
- localVarReturnValue *ApiResponseResultOfTraderWaitProfitDetailListResult
- )
-
- localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "SpotTraceProfitApiService.SpotTraceWaitProfitDetailList")
- if err != nil {
- return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
- }
-
- localVarPath := localBasePath + "/api/spot/v1/trace/profit/waitProfitDetailList"
-
- localVarHeaderParams := make(map[string]string)
- localVarQueryParams := url.Values{}
- localVarFormParams := url.Values{}
- if r.waitProfitDetailListRequest == nil {
- return localVarReturnValue, nil, reportError("waitProfitDetailListRequest is required and must be specified")
- }
-
- // to determine the Content-Type header
- localVarHTTPContentTypes := []string{"application/json"}
-
- // set Content-Type header
- localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
- if localVarHTTPContentType != "" {
- localVarHeaderParams["Content-Type"] = localVarHTTPContentType
- }
-
- // to determine the Accept header
- localVarHTTPHeaderAccepts := []string{"application/json"}
-
- // set Accept header
- localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
- if localVarHTTPHeaderAccept != "" {
- localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
- }
- // body params
- localVarPostBody = r.waitProfitDetailListRequest
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-KEY"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_PASSPHRASE"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-PASSPHRASE"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_SIGN"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-SIGN"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["ACCESS_TIMESTAMP"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["ACCESS-TIMESTAMP"] = key
- }
- }
- }
- if r.ctx != nil {
- // API Key Authentication
- if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok {
- if apiKey, ok := auth["SECRET_KEY"]; ok {
- var key string
- if apiKey.Prefix != "" {
- key = apiKey.Prefix + " " + apiKey.Key
- } else {
- key = apiKey.Key
- }
- localVarHeaderParams["SECRET-KEY"] = key
- }
- }
- }
- req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles)
- if err != nil {
- return localVarReturnValue, nil, err
- }
-
- localVarHTTPResponse, err := a.client.callAPI(req)
- if err != nil || localVarHTTPResponse == nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- localVarBody, err := ioutil.ReadAll(localVarHTTPResponse.Body)
- localVarHTTPResponse.Body.Close()
- localVarHTTPResponse.Body = ioutil.NopCloser(bytes.NewBuffer(localVarBody))
- if err != nil {
- return localVarReturnValue, localVarHTTPResponse, err
- }
-
- if localVarHTTPResponse.StatusCode >= 300 {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: localVarHTTPResponse.Status,
- }
- if localVarHTTPResponse.StatusCode == 400 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 429 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- if localVarHTTPResponse.StatusCode == 500 {
- var v ApiResponseResultOfVoid
- err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr.error = err.Error()
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
- newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v)
- newErr.model = v
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
- if err != nil {
- newErr := &GenericOpenAPIError{
- body: localVarBody,
- error: err.Error(),
- }
- return localVarReturnValue, localVarHTTPResponse, newErr
- }
-
- return localVarReturnValue, localVarHTTPResponse, nil
-}
diff --git a/bitget-goland-sdk-open-api/client.go b/bitget-goland-sdk-open-api/client.go
deleted file mode 100644
index 29669975..00000000
--- a/bitget-goland-sdk-open-api/client.go
+++ /dev/null
@@ -1,646 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "encoding/xml"
- "errors"
- "fmt"
- "io"
- "io/ioutil"
- "log"
- "mime/multipart"
- "net/http"
- "net/http/httputil"
- "net/url"
- "os"
- "path/filepath"
- "reflect"
- "regexp"
- "strconv"
- "strings"
- "time"
- "unicode/utf8"
-
- "golang.org/x/oauth2"
-)
-
-var (
- jsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:vnd\.[^;]+\+)?json)`)
- xmlCheck = regexp.MustCompile(`(?i:(?:application|text)/xml)`)
-)
-
-// APIClient manages communication with the Bitget Open API API v2.0.0
-// In most cases there should be only one, shared, APIClient.
-type APIClient struct {
- cfg *Configuration
- common service // Reuse a single struct instead of allocating one for each service on the heap.
-
- // API Services
-
- MarginCrossAccountApi *MarginCrossAccountApiService
-
- MarginCrossBorrowApi *MarginCrossBorrowApiService
-
- MarginCrossFinflowApi *MarginCrossFinflowApiService
-
- MarginCrossInterestApi *MarginCrossInterestApiService
-
- MarginCrossLiquidationApi *MarginCrossLiquidationApiService
-
- MarginCrossOrderApi *MarginCrossOrderApiService
-
- MarginCrossPublicApi *MarginCrossPublicApiService
-
- MarginCrossRepayApi *MarginCrossRepayApiService
-
- MarginIsolatedAccountApi *MarginIsolatedAccountApiService
-
- MarginIsolatedBorrowApi *MarginIsolatedBorrowApiService
-
- MarginIsolatedFinflowApi *MarginIsolatedFinflowApiService
-
- MarginIsolatedInterestApi *MarginIsolatedInterestApiService
-
- MarginIsolatedLiquidationApi *MarginIsolatedLiquidationApiService
-
- MarginIsolatedOrderApi *MarginIsolatedOrderApiService
-
- MarginIsolatedPublicApi *MarginIsolatedPublicApiService
-
- MarginIsolatedRepayApi *MarginIsolatedRepayApiService
-
- MarginPublicApi *MarginPublicApiService
-
- P2pMerchantApi *P2pMerchantApiService
-}
-
-type service struct {
- client *APIClient
-}
-
-// NewAPIClient creates a new API client. Requires a userAgent string describing your application.
-// optionally a custom http.Client to allow for advanced features such as caching.
-func NewAPIClient(cfg *Configuration) *APIClient {
- if cfg.HTTPClient == nil {
- cfg.HTTPClient = http.DefaultClient
- }
-
- c := &APIClient{}
- c.cfg = cfg
- c.common.client = c
-
- // API Services
- c.MarginCrossAccountApi = (*MarginCrossAccountApiService)(&c.common)
- c.MarginCrossBorrowApi = (*MarginCrossBorrowApiService)(&c.common)
- c.MarginCrossFinflowApi = (*MarginCrossFinflowApiService)(&c.common)
- c.MarginCrossInterestApi = (*MarginCrossInterestApiService)(&c.common)
- c.MarginCrossLiquidationApi = (*MarginCrossLiquidationApiService)(&c.common)
- c.MarginCrossOrderApi = (*MarginCrossOrderApiService)(&c.common)
- c.MarginCrossPublicApi = (*MarginCrossPublicApiService)(&c.common)
- c.MarginCrossRepayApi = (*MarginCrossRepayApiService)(&c.common)
- c.MarginIsolatedAccountApi = (*MarginIsolatedAccountApiService)(&c.common)
- c.MarginIsolatedBorrowApi = (*MarginIsolatedBorrowApiService)(&c.common)
- c.MarginIsolatedFinflowApi = (*MarginIsolatedFinflowApiService)(&c.common)
- c.MarginIsolatedInterestApi = (*MarginIsolatedInterestApiService)(&c.common)
- c.MarginIsolatedLiquidationApi = (*MarginIsolatedLiquidationApiService)(&c.common)
- c.MarginIsolatedOrderApi = (*MarginIsolatedOrderApiService)(&c.common)
- c.MarginIsolatedPublicApi = (*MarginIsolatedPublicApiService)(&c.common)
- c.MarginIsolatedRepayApi = (*MarginIsolatedRepayApiService)(&c.common)
- c.MarginPublicApi = (*MarginPublicApiService)(&c.common)
- c.P2pMerchantApi = (*P2pMerchantApiService)(&c.common)
-
- return c
-}
-
-func atoi(in string) (int, error) {
- return strconv.Atoi(in)
-}
-
-// selectHeaderContentType select a content type from the available list.
-func selectHeaderContentType(contentTypes []string) string {
- if len(contentTypes) == 0 {
- return ""
- }
- if contains(contentTypes, "application/json") {
- return "application/json"
- }
- return contentTypes[0] // use the first content type specified in 'consumes'
-}
-
-// selectHeaderAccept join all accept types and return
-func selectHeaderAccept(accepts []string) string {
- if len(accepts) == 0 {
- return ""
- }
-
- if contains(accepts, "application/json") {
- return "application/json"
- }
-
- return strings.Join(accepts, ",")
-}
-
-// contains is a case insensitive match, finding needle in a haystack
-func contains(haystack []string, needle string) bool {
- for _, a := range haystack {
- if strings.EqualFold(a, needle) {
- return true
- }
- }
- return false
-}
-
-// Verify optional parameters are of the correct type.
-func typeCheckParameter(obj interface{}, expected string, name string) error {
- // Make sure there is an object.
- if obj == nil {
- return nil
- }
-
- // Check the type is as expected.
- if reflect.TypeOf(obj).String() != expected {
- return fmt.Errorf("expected %s to be of type %s but received %s", name, expected, reflect.TypeOf(obj).String())
- }
- return nil
-}
-
-// parameterToString convert interface{} parameters to string, using a delimiter if format is provided.
-func parameterToString(obj interface{}, collectionFormat string) string {
- var delimiter string
-
- switch collectionFormat {
- case "pipes":
- delimiter = "|"
- case "ssv":
- delimiter = " "
- case "tsv":
- delimiter = "\t"
- case "csv":
- delimiter = ","
- }
-
- if reflect.TypeOf(obj).Kind() == reflect.Slice {
- return strings.Trim(strings.Replace(fmt.Sprint(obj), " ", delimiter, -1), "[]")
- } else if t, ok := obj.(time.Time); ok {
- return t.Format(time.RFC3339)
- }
-
- return fmt.Sprintf("%v", obj)
-}
-
-// helper for converting interface{} parameters to json strings
-func parameterToJson(obj interface{}) (string, error) {
- jsonBuf, err := json.Marshal(obj)
- if err != nil {
- return "", err
- }
- return string(jsonBuf), err
-}
-
-// callAPI do the request.
-func (c *APIClient) callAPI(request *http.Request) (*http.Response, error) {
- if c.cfg.Debug {
- dump, err := httputil.DumpRequestOut(request, true)
- if err != nil {
- return nil, err
- }
- log.Printf("\n%s\n", string(dump))
- }
-
- resp, err := c.cfg.HTTPClient.Do(request)
- if err != nil {
- return resp, err
- }
-
- if c.cfg.Debug {
- dump, err := httputil.DumpResponse(resp, true)
- if err != nil {
- return resp, err
- }
- log.Printf("\n%s\n", string(dump))
- }
- return resp, err
-}
-
-// Allow modification of underlying config for alternate implementations and testing
-// Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
-func (c *APIClient) GetConfig() *Configuration {
- return c.cfg
-}
-
-type formFile struct {
- fileBytes []byte
- fileName string
- formFileName string
-}
-
-// prepareRequest build the request
-func (c *APIClient) prepareRequest(
- ctx context.Context,
- path string, method string,
- postBody interface{},
- headerParams map[string]string,
- queryParams url.Values,
- formParams url.Values,
- formFiles []formFile) (localVarRequest *http.Request, err error) {
-
- var body *bytes.Buffer
-
- // Detect postBody type and post.
- if postBody != nil {
- contentType := headerParams["Content-Type"]
- if contentType == "" {
- contentType = detectContentType(postBody)
- headerParams["Content-Type"] = contentType
- }
-
- body, err = setBody(postBody, contentType)
- if err != nil {
- return nil, err
- }
- }
-
- // add form parameters and file if available.
- if strings.HasPrefix(headerParams["Content-Type"], "multipart/form-data") && len(formParams) > 0 || (len(formFiles) > 0) {
- if body != nil {
- return nil, errors.New("Cannot specify postBody and multipart form at the same time.")
- }
- body = &bytes.Buffer{}
- w := multipart.NewWriter(body)
-
- for k, v := range formParams {
- for _, iv := range v {
- if strings.HasPrefix(k, "@") { // file
- err = addFile(w, k[1:], iv)
- if err != nil {
- return nil, err
- }
- } else { // form value
- w.WriteField(k, iv)
- }
- }
- }
- for _, formFile := range formFiles {
- if len(formFile.fileBytes) > 0 && formFile.fileName != "" {
- w.Boundary()
- part, err := w.CreateFormFile(formFile.formFileName, filepath.Base(formFile.fileName))
- if err != nil {
- return nil, err
- }
- _, err = part.Write(formFile.fileBytes)
- if err != nil {
- return nil, err
- }
- }
- }
-
- // Set the Boundary in the Content-Type
- headerParams["Content-Type"] = w.FormDataContentType()
-
- // Set Content-Length
- headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len())
- w.Close()
- }
-
- if strings.HasPrefix(headerParams["Content-Type"], "application/x-www-form-urlencoded") && len(formParams) > 0 {
- if body != nil {
- return nil, errors.New("Cannot specify postBody and x-www-form-urlencoded form at the same time.")
- }
- body = &bytes.Buffer{}
- body.WriteString(formParams.Encode())
- // Set Content-Length
- headerParams["Content-Length"] = fmt.Sprintf("%d", body.Len())
- }
-
- // Setup path and query parameters
- url, err := url.Parse(path)
- if err != nil {
- return nil, err
- }
-
- // Override request host, if applicable
- if c.cfg.Host != "" {
- url.Host = c.cfg.Host
- }
-
- // Override request scheme, if applicable
- if c.cfg.Scheme != "" {
- url.Scheme = c.cfg.Scheme
- }
-
- // Adding Query Param
- query := url.Query()
- for k, v := range queryParams {
- for _, iv := range v {
- query.Add(k, iv)
- }
- }
-
- // Encode the parameters.
- url.RawQuery = query.Encode()
-
- // Generate a new request
- if body != nil {
- localVarRequest, err = http.NewRequest(method, url.String(), body)
- } else {
- localVarRequest, err = http.NewRequest(method, url.String(), nil)
- }
- if err != nil {
- return nil, err
- }
-
- // add header parameters, if any
- if len(headerParams) > 0 {
- headers := http.Header{}
- for h, v := range headerParams {
- headers[h] = []string{v}
- }
- localVarRequest.Header = headers
- }
-
- // Add the user agent to the request.
- localVarRequest.Header.Add("User-Agent", c.cfg.UserAgent)
-
- if ctx != nil {
- // add context to the request
- localVarRequest = localVarRequest.WithContext(ctx)
-
- // Walk through any authentication.
-
- // OAuth2 authentication
- if tok, ok := ctx.Value(ContextOAuth2).(oauth2.TokenSource); ok {
- // We were able to grab an oauth2 token from the context
- var latestToken *oauth2.Token
- if latestToken, err = tok.Token(); err != nil {
- return nil, err
- }
-
- latestToken.SetAuthHeader(localVarRequest)
- }
-
- // Basic HTTP Authentication
- if auth, ok := ctx.Value(ContextBasicAuth).(BasicAuth); ok {
- localVarRequest.SetBasicAuth(auth.UserName, auth.Password)
- }
-
- // AccessToken Authentication
- if auth, ok := ctx.Value(ContextAccessToken).(string); ok {
- localVarRequest.Header.Add("Authorization", "Bearer "+auth)
- }
-
- }
-
- for header, value := range c.cfg.DefaultHeader {
- localVarRequest.Header.Add(header, value)
- }
-
- // auto sign
- timesStamp := GetTimesStamp()
- bodyStr := ""
- if body != nil {
- bodyStr = body.String()
- }
- sign := Sign(method, url.Path, url.Query().Encode(), bodyStr, timesStamp, localVarRequest.Header.Get("SECRET-KEY"))
- localVarRequest.Header.Set("ACCESS-SIGN", sign)
- localVarRequest.Header.Set("ACCESS-TIMESTAMP", timesStamp)
- localVarRequest.Header.Set("SECRET-KEY", "")
-
- return localVarRequest, nil
-}
-
-func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err error) {
- if len(b) == 0 {
- return nil
- }
- if s, ok := v.(*string); ok {
- *s = string(b)
- return nil
- }
- if f, ok := v.(**os.File); ok {
- *f, err = ioutil.TempFile("", "HttpClientFile")
- if err != nil {
- return
- }
- _, err = (*f).Write(b)
- if err != nil {
- return
- }
- _, err = (*f).Seek(0, io.SeekStart)
- return
- }
- if xmlCheck.MatchString(contentType) {
- if err = xml.Unmarshal(b, v); err != nil {
- return err
- }
- return nil
- }
- if jsonCheck.MatchString(contentType) {
- if actualObj, ok := v.(interface{ GetActualInstance() interface{} }); ok { // oneOf, anyOf schemas
- if unmarshalObj, ok := actualObj.(interface{ UnmarshalJSON([]byte) error }); ok { // make sure it has UnmarshalJSON defined
- if err = unmarshalObj.UnmarshalJSON(b); err != nil {
- return err
- }
- } else {
- return errors.New("Unknown type with GetActualInstance but no unmarshalObj.UnmarshalJSON defined")
- }
- } else if err = json.Unmarshal(b, v); err != nil { // simple model
- return err
- }
- return nil
- }
- return errors.New("undefined response type")
-}
-
-// Add a file to the multipart request
-func addFile(w *multipart.Writer, fieldName, path string) error {
- file, err := os.Open(filepath.Clean(path))
- if err != nil {
- return err
- }
- err = file.Close()
- if err != nil {
- return err
- }
-
- part, err := w.CreateFormFile(fieldName, filepath.Base(path))
- if err != nil {
- return err
- }
- _, err = io.Copy(part, file)
-
- return err
-}
-
-// Prevent trying to import "fmt"
-func reportError(format string, a ...interface{}) error {
- return fmt.Errorf(format, a...)
-}
-
-// A wrapper for strict JSON decoding
-func newStrictDecoder(data []byte) *json.Decoder {
- dec := json.NewDecoder(bytes.NewBuffer(data))
- dec.DisallowUnknownFields()
- return dec
-}
-
-// Set request body from an interface{}
-func setBody(body interface{}, contentType string) (bodyBuf *bytes.Buffer, err error) {
- if bodyBuf == nil {
- bodyBuf = &bytes.Buffer{}
- }
-
- if reader, ok := body.(io.Reader); ok {
- _, err = bodyBuf.ReadFrom(reader)
- } else if fp, ok := body.(**os.File); ok {
- _, err = bodyBuf.ReadFrom(*fp)
- } else if b, ok := body.([]byte); ok {
- _, err = bodyBuf.Write(b)
- } else if s, ok := body.(string); ok {
- _, err = bodyBuf.WriteString(s)
- } else if s, ok := body.(*string); ok {
- _, err = bodyBuf.WriteString(*s)
- } else if jsonCheck.MatchString(contentType) {
- err = json.NewEncoder(bodyBuf).Encode(body)
- } else if xmlCheck.MatchString(contentType) {
- err = xml.NewEncoder(bodyBuf).Encode(body)
- }
-
- if err != nil {
- return nil, err
- }
-
- if bodyBuf.Len() == 0 {
- err = fmt.Errorf("invalid body type %s\n", contentType)
- return nil, err
- }
- return bodyBuf, nil
-}
-
-// detectContentType method is used to figure out `Request.Body` content type for request header
-func detectContentType(body interface{}) string {
- contentType := "text/plain; charset=utf-8"
- kind := reflect.TypeOf(body).Kind()
-
- switch kind {
- case reflect.Struct, reflect.Map, reflect.Ptr:
- contentType = "application/json; charset=utf-8"
- case reflect.String:
- contentType = "text/plain; charset=utf-8"
- default:
- if b, ok := body.([]byte); ok {
- contentType = http.DetectContentType(b)
- } else if kind == reflect.Slice {
- contentType = "application/json; charset=utf-8"
- }
- }
-
- return contentType
-}
-
-// Ripped from https://github.com/gregjones/httpcache/blob/master/httpcache.go
-type cacheControl map[string]string
-
-func parseCacheControl(headers http.Header) cacheControl {
- cc := cacheControl{}
- ccHeader := headers.Get("Cache-Control")
- for _, part := range strings.Split(ccHeader, ",") {
- part = strings.Trim(part, " ")
- if part == "" {
- continue
- }
- if strings.ContainsRune(part, '=') {
- keyval := strings.Split(part, "=")
- cc[strings.Trim(keyval[0], " ")] = strings.Trim(keyval[1], ",")
- } else {
- cc[part] = ""
- }
- }
- return cc
-}
-
-// CacheExpires helper function to determine remaining time before repeating a request.
-func CacheExpires(r *http.Response) time.Time {
- // Figure out when the cache expires.
- var expires time.Time
- now, err := time.Parse(time.RFC1123, r.Header.Get("date"))
- if err != nil {
- return time.Now()
- }
- respCacheControl := parseCacheControl(r.Header)
-
- if maxAge, ok := respCacheControl["max-age"]; ok {
- lifetime, err := time.ParseDuration(maxAge + "s")
- if err != nil {
- expires = now
- } else {
- expires = now.Add(lifetime)
- }
- } else {
- expiresHeader := r.Header.Get("Expires")
- if expiresHeader != "" {
- expires, err = time.Parse(time.RFC1123, expiresHeader)
- if err != nil {
- expires = now
- }
- }
- }
- return expires
-}
-
-func strlen(s string) int {
- return utf8.RuneCountInString(s)
-}
-
-// GenericOpenAPIError Provides access to the body, error and model on returned errors.
-type GenericOpenAPIError struct {
- body []byte
- error string
- model interface{}
-}
-
-// Error returns non-empty string if there was an error.
-func (e GenericOpenAPIError) Error() string {
- return e.error
-}
-
-// Body returns the raw bytes of the response
-func (e GenericOpenAPIError) Body() []byte {
- return e.body
-}
-
-// Model returns the unpacked model of the error
-func (e GenericOpenAPIError) Model() interface{} {
- return e.model
-}
-
-// format error message using title and detail when model implements rfc7807
-func formatErrorMessage(status string, v interface{}) string {
-
- str := ""
- metaValue := reflect.ValueOf(v).Elem()
-
- field := metaValue.FieldByName("Title")
- if field != (reflect.Value{}) {
- str = fmt.Sprintf("%s", field.Interface())
- }
-
- field = metaValue.FieldByName("Detail")
- if field != (reflect.Value{}) {
- str = fmt.Sprintf("%s (%s)", str, field.Interface())
- }
-
- // status title (detail)
- return fmt.Sprintf("%s %s", status, str)
-}
diff --git a/bitget-goland-sdk-open-api/configuration.go b/bitget-goland-sdk-open-api/configuration.go
deleted file mode 100644
index 68e43791..00000000
--- a/bitget-goland-sdk-open-api/configuration.go
+++ /dev/null
@@ -1,239 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "context"
- "fmt"
- "net/http"
- "strings"
-)
-
-// contextKeys are used to identify the type of value in the context.
-// Since these are string, it is possible to get a short description of the
-// context key for logging and debugging using key.String().
-
-type contextKey string
-
-func (c contextKey) String() string {
- return "auth " + string(c)
-}
-
-var (
- // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
- ContextOAuth2 = contextKey("token")
-
- // ContextBasicAuth takes BasicAuth as authentication for the request.
- ContextBasicAuth = contextKey("basic")
-
- // ContextAccessToken takes a string oauth2 access token as authentication for the request.
- ContextAccessToken = contextKey("accesstoken")
-
- // ContextAPIKeys takes a string apikey as authentication for the request
- ContextAPIKeys = contextKey("apiKeys")
-
- // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
- ContextHttpSignatureAuth = contextKey("httpsignature")
-
- // ContextServerIndex uses a server configuration from the index.
- ContextServerIndex = contextKey("serverIndex")
-
- // ContextOperationServerIndices uses a server configuration from the index mapping.
- ContextOperationServerIndices = contextKey("serverOperationIndices")
-
- // ContextServerVariables overrides a server configuration variables.
- ContextServerVariables = contextKey("serverVariables")
-
- // ContextOperationServerVariables overrides a server configuration variables using operation specific values.
- ContextOperationServerVariables = contextKey("serverOperationVariables")
-)
-
-// BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
-type BasicAuth struct {
- UserName string `json:"userName,omitempty"`
- Password string `json:"password,omitempty"`
-}
-
-// APIKey provides API key based authentication to a request passed via context using ContextAPIKey
-type APIKey struct {
- Key string
- Prefix string
-}
-
-// ServerVariable stores the information about a server variable
-type ServerVariable struct {
- Description string
- DefaultValue string
- EnumValues []string
-}
-
-// ServerConfiguration stores the information about a server
-type ServerConfiguration struct {
- URL string
- Description string
- Variables map[string]ServerVariable
-}
-
-// ServerConfigurations stores multiple ServerConfiguration items
-type ServerConfigurations []ServerConfiguration
-
-// Configuration stores the configuration of the API client
-type Configuration struct {
- Host string `json:"host,omitempty"`
- Scheme string `json:"scheme,omitempty"`
- DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
- UserAgent string `json:"userAgent,omitempty"`
- Debug bool `json:"debug,omitempty"`
- Servers ServerConfigurations
- OperationServers map[string]ServerConfigurations
- HTTPClient *http.Client
-}
-
-// NewConfiguration returns a new Configuration object
-func NewConfiguration() *Configuration {
- cfg := &Configuration{
- DefaultHeader: make(map[string]string),
- UserAgent: "OpenAPI-Generator/1.0.0/go",
- Debug: false,
- Servers: ServerConfigurations{
- {
- URL: "https://api.bitget.com",
- Description: "No description provided",
- },
- },
- OperationServers: map[string]ServerConfigurations{},
- }
- return cfg
-}
-
-// AddDefaultHeader adds a new HTTP header to the default header in the request
-func (c *Configuration) AddDefaultHeader(key string, value string) {
- c.DefaultHeader[key] = value
-}
-
-// URL formats template on a index using given variables
-func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error) {
- if index < 0 || len(sc) <= index {
- return "", fmt.Errorf("index %v out of range %v", index, len(sc)-1)
- }
- server := sc[index]
- url := server.URL
-
- // go through variables and replace placeholders
- for name, variable := range server.Variables {
- if value, ok := variables[name]; ok {
- found := bool(len(variable.EnumValues) == 0)
- for _, enumValue := range variable.EnumValues {
- if value == enumValue {
- found = true
- }
- }
- if !found {
- return "", fmt.Errorf("the variable %s in the server URL has invalid value %v. Must be %v", name, value, variable.EnumValues)
- }
- url = strings.Replace(url, "{"+name+"}", value, -1)
- } else {
- url = strings.Replace(url, "{"+name+"}", variable.DefaultValue, -1)
- }
- }
- return url, nil
-}
-
-// ServerURL returns URL based on server settings
-func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error) {
- return c.Servers.URL(index, variables)
-}
-
-func getServerIndex(ctx context.Context) (int, error) {
- si := ctx.Value(ContextServerIndex)
- if si != nil {
- if index, ok := si.(int); ok {
- return index, nil
- }
- return 0, reportError("Invalid type %T should be int", si)
- }
- return 0, nil
-}
-
-func getServerOperationIndex(ctx context.Context, endpoint string) (int, error) {
- osi := ctx.Value(ContextOperationServerIndices)
- if osi != nil {
- if operationIndices, ok := osi.(map[string]int); !ok {
- return 0, reportError("Invalid type %T should be map[string]int", osi)
- } else {
- index, ok := operationIndices[endpoint]
- if ok {
- return index, nil
- }
- }
- }
- return getServerIndex(ctx)
-}
-
-func getServerVariables(ctx context.Context) (map[string]string, error) {
- sv := ctx.Value(ContextServerVariables)
- if sv != nil {
- if variables, ok := sv.(map[string]string); ok {
- return variables, nil
- }
- return nil, reportError("ctx value of ContextServerVariables has invalid type %T should be map[string]string", sv)
- }
- return nil, nil
-}
-
-func getServerOperationVariables(ctx context.Context, endpoint string) (map[string]string, error) {
- osv := ctx.Value(ContextOperationServerVariables)
- if osv != nil {
- if operationVariables, ok := osv.(map[string]map[string]string); !ok {
- return nil, reportError("ctx value of ContextOperationServerVariables has invalid type %T should be map[string]map[string]string", osv)
- } else {
- variables, ok := operationVariables[endpoint]
- if ok {
- return variables, nil
- }
- }
- }
- return getServerVariables(ctx)
-}
-
-// ServerURLWithContext returns a new server URL given an endpoint
-func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error) {
- sc, ok := c.OperationServers[endpoint]
- if !ok {
- sc = c.Servers
- }
-
- if ctx == nil {
- return sc.URL(0, nil)
- }
-
- index, err := getServerOperationIndex(ctx, endpoint)
- if err != nil {
- return "", err
- }
-
- variables, err := getServerOperationVariables(ctx, endpoint)
- if err != nil {
- return "", err
- }
-
- return sc.URL(index, variables)
-}
-
-func NewDefaultConfiguration() *Configuration {
- cfg := NewConfiguration()
- cfg.AddDefaultHeader("ACCESS-KEY", "your value")
- cfg.AddDefaultHeader("ACCESS-PASSPHRASE", "your value")
- cfg.AddDefaultHeader("SECRET-KEY", "your value")
- cfg.Host = "api.bitget.com"
- cfg.Scheme = "https"
- return cfg
-}
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossAssetsPopulationResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossAssetsPopulationResult.md
deleted file mode 100644
index 6439ead5..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossAssetsPopulationResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginCrossAssetsPopulationResult**](MarginCrossAssetsPopulationResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginCrossAssetsPopulationResult
-
-`func NewApiResponseResultOfListOfMarginCrossAssetsPopulationResult() *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult`
-
-NewApiResponseResultOfListOfMarginCrossAssetsPopulationResult instantiates a new ApiResponseResultOfListOfMarginCrossAssetsPopulationResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginCrossAssetsPopulationResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginCrossAssetsPopulationResultWithDefaults() *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult`
-
-NewApiResponseResultOfListOfMarginCrossAssetsPopulationResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossAssetsPopulationResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetData() []MarginCrossAssetsPopulationResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetDataOk() (*[]MarginCrossAssetsPopulationResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetData(v []MarginCrossAssetsPopulationResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossLevelResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossLevelResult.md
deleted file mode 100644
index 3c16d8d9..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossLevelResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginCrossLevelResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginCrossLevelResult**](MarginCrossLevelResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginCrossLevelResult
-
-`func NewApiResponseResultOfListOfMarginCrossLevelResult() *ApiResponseResultOfListOfMarginCrossLevelResult`
-
-NewApiResponseResultOfListOfMarginCrossLevelResult instantiates a new ApiResponseResultOfListOfMarginCrossLevelResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginCrossLevelResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginCrossLevelResultWithDefaults() *ApiResponseResultOfListOfMarginCrossLevelResult`
-
-NewApiResponseResultOfListOfMarginCrossLevelResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossLevelResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetData() []MarginCrossLevelResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetDataOk() (*[]MarginCrossLevelResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetData(v []MarginCrossLevelResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossRateAndLimitResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossRateAndLimitResult.md
deleted file mode 100644
index 84912ee5..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginCrossRateAndLimitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginCrossRateAndLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginCrossRateAndLimitResult**](MarginCrossRateAndLimitResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginCrossRateAndLimitResult
-
-`func NewApiResponseResultOfListOfMarginCrossRateAndLimitResult() *ApiResponseResultOfListOfMarginCrossRateAndLimitResult`
-
-NewApiResponseResultOfListOfMarginCrossRateAndLimitResult instantiates a new ApiResponseResultOfListOfMarginCrossRateAndLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginCrossRateAndLimitResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginCrossRateAndLimitResultWithDefaults() *ApiResponseResultOfListOfMarginCrossRateAndLimitResult`
-
-NewApiResponseResultOfListOfMarginCrossRateAndLimitResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossRateAndLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetData() []MarginCrossRateAndLimitResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetDataOk() (*[]MarginCrossRateAndLimitResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetData(v []MarginCrossRateAndLimitResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult.md
deleted file mode 100644
index fb130e98..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginIsolatedAssetsPopulationResult**](MarginIsolatedAssetsPopulationResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
-
-`func NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult() *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult`
-
-NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult`
-
-NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetData() []MarginIsolatedAssetsPopulationResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetDataOk() (*[]MarginIsolatedAssetsPopulationResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetData(v []MarginIsolatedAssetsPopulationResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult.md
deleted file mode 100644
index fb13b63d..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginIsolatedAssetsRiskResult**](MarginIsolatedAssetsRiskResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
-
-`func NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResult() *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult`
-
-NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResult instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult`
-
-NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetData() []MarginIsolatedAssetsRiskResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetDataOk() (*[]MarginIsolatedAssetsRiskResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetData(v []MarginIsolatedAssetsRiskResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedLevelResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedLevelResult.md
deleted file mode 100644
index a017dd77..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedLevelResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginIsolatedLevelResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginIsolatedLevelResult**](MarginIsolatedLevelResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginIsolatedLevelResult
-
-`func NewApiResponseResultOfListOfMarginIsolatedLevelResult() *ApiResponseResultOfListOfMarginIsolatedLevelResult`
-
-NewApiResponseResultOfListOfMarginIsolatedLevelResult instantiates a new ApiResponseResultOfListOfMarginIsolatedLevelResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginIsolatedLevelResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginIsolatedLevelResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedLevelResult`
-
-NewApiResponseResultOfListOfMarginIsolatedLevelResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedLevelResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetData() []MarginIsolatedLevelResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetDataOk() (*[]MarginIsolatedLevelResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetData(v []MarginIsolatedLevelResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult.md
deleted file mode 100644
index b8140db2..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginIsolatedRateAndLimitResult**](MarginIsolatedRateAndLimitResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
-
-`func NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResult() *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult`
-
-NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResult instantiates a new ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult`
-
-NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetData() []MarginIsolatedRateAndLimitResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetDataOk() (*[]MarginIsolatedRateAndLimitResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetData(v []MarginIsolatedRateAndLimitResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginSystemResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginSystemResult.md
deleted file mode 100644
index 2996b0df..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfMarginSystemResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfMarginSystemResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]MarginSystemResult**](MarginSystemResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfMarginSystemResult
-
-`func NewApiResponseResultOfListOfMarginSystemResult() *ApiResponseResultOfListOfMarginSystemResult`
-
-NewApiResponseResultOfListOfMarginSystemResult instantiates a new ApiResponseResultOfListOfMarginSystemResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfMarginSystemResultWithDefaults
-
-`func NewApiResponseResultOfListOfMarginSystemResultWithDefaults() *ApiResponseResultOfListOfMarginSystemResult`
-
-NewApiResponseResultOfListOfMarginSystemResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginSystemResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetData() []MarginSystemResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetDataOk() (*[]MarginSystemResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) SetData(v []MarginSystemResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfMarginSystemResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfSpotInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfSpotInfoResult.md
deleted file mode 100644
index 466238f1..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfSpotInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfSpotInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]SpotInfoResult**](SpotInfoResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfSpotInfoResult
-
-`func NewApiResponseResultOfListOfSpotInfoResult() *ApiResponseResultOfListOfSpotInfoResult`
-
-NewApiResponseResultOfListOfSpotInfoResult instantiates a new ApiResponseResultOfListOfSpotInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfSpotInfoResultWithDefaults
-
-`func NewApiResponseResultOfListOfSpotInfoResultWithDefaults() *ApiResponseResultOfListOfSpotInfoResult`
-
-NewApiResponseResultOfListOfSpotInfoResultWithDefaults instantiates a new ApiResponseResultOfListOfSpotInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetData() []SpotInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetDataOk() (*[]SpotInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) SetData(v []SpotInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfSpotInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfTraderTotalProfitListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfTraderTotalProfitListResult.md
deleted file mode 100644
index 84102bd2..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfListOfTraderTotalProfitListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfListOfTraderTotalProfitListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**[]TraderTotalProfitListResult**](TraderTotalProfitListResult.md) | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfListOfTraderTotalProfitListResult
-
-`func NewApiResponseResultOfListOfTraderTotalProfitListResult() *ApiResponseResultOfListOfTraderTotalProfitListResult`
-
-NewApiResponseResultOfListOfTraderTotalProfitListResult instantiates a new ApiResponseResultOfListOfTraderTotalProfitListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfListOfTraderTotalProfitListResultWithDefaults
-
-`func NewApiResponseResultOfListOfTraderTotalProfitListResultWithDefaults() *ApiResponseResultOfListOfTraderTotalProfitListResult`
-
-NewApiResponseResultOfListOfTraderTotalProfitListResultWithDefaults instantiates a new ApiResponseResultOfListOfTraderTotalProfitListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetData() []TraderTotalProfitListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetDataOk() (*[]TraderTotalProfitListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetData(v []TraderTotalProfitListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchCancelOrderResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchCancelOrderResult.md
deleted file mode 100644
index 3d68d652..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchCancelOrderResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginBatchCancelOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginBatchCancelOrderResult**](MarginBatchCancelOrderResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginBatchCancelOrderResult
-
-`func NewApiResponseResultOfMarginBatchCancelOrderResult() *ApiResponseResultOfMarginBatchCancelOrderResult`
-
-NewApiResponseResultOfMarginBatchCancelOrderResult instantiates a new ApiResponseResultOfMarginBatchCancelOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginBatchCancelOrderResultWithDefaults
-
-`func NewApiResponseResultOfMarginBatchCancelOrderResultWithDefaults() *ApiResponseResultOfMarginBatchCancelOrderResult`
-
-NewApiResponseResultOfMarginBatchCancelOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginBatchCancelOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetData() MarginBatchCancelOrderResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetDataOk() (*MarginBatchCancelOrderResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetData(v MarginBatchCancelOrderResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchPlaceOrderResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchPlaceOrderResult.md
deleted file mode 100644
index 5272be21..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginBatchPlaceOrderResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginBatchPlaceOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginBatchPlaceOrderResult**](MarginBatchPlaceOrderResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginBatchPlaceOrderResult
-
-`func NewApiResponseResultOfMarginBatchPlaceOrderResult() *ApiResponseResultOfMarginBatchPlaceOrderResult`
-
-NewApiResponseResultOfMarginBatchPlaceOrderResult instantiates a new ApiResponseResultOfMarginBatchPlaceOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginBatchPlaceOrderResultWithDefaults
-
-`func NewApiResponseResultOfMarginBatchPlaceOrderResultWithDefaults() *ApiResponseResultOfMarginBatchPlaceOrderResult`
-
-NewApiResponseResultOfMarginBatchPlaceOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginBatchPlaceOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetData() MarginBatchPlaceOrderResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetDataOk() (*MarginBatchPlaceOrderResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetData(v MarginBatchPlaceOrderResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsResult.md
deleted file mode 100644
index ed894313..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossAssetsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossAssetsResult**](MarginCrossAssetsResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossAssetsResult
-
-`func NewApiResponseResultOfMarginCrossAssetsResult() *ApiResponseResultOfMarginCrossAssetsResult`
-
-NewApiResponseResultOfMarginCrossAssetsResult instantiates a new ApiResponseResultOfMarginCrossAssetsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossAssetsResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossAssetsResultWithDefaults() *ApiResponseResultOfMarginCrossAssetsResult`
-
-NewApiResponseResultOfMarginCrossAssetsResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossAssetsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetData() MarginCrossAssetsResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetDataOk() (*MarginCrossAssetsResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) SetData(v MarginCrossAssetsResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsRiskResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsRiskResult.md
deleted file mode 100644
index 5ea028d4..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossAssetsRiskResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossAssetsRiskResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossAssetsRiskResult**](MarginCrossAssetsRiskResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossAssetsRiskResult
-
-`func NewApiResponseResultOfMarginCrossAssetsRiskResult() *ApiResponseResultOfMarginCrossAssetsRiskResult`
-
-NewApiResponseResultOfMarginCrossAssetsRiskResult instantiates a new ApiResponseResultOfMarginCrossAssetsRiskResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossAssetsRiskResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossAssetsRiskResultWithDefaults() *ApiResponseResultOfMarginCrossAssetsRiskResult`
-
-NewApiResponseResultOfMarginCrossAssetsRiskResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossAssetsRiskResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetData() MarginCrossAssetsRiskResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetDataOk() (*MarginCrossAssetsRiskResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetData(v MarginCrossAssetsRiskResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossBorrowLimitResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossBorrowLimitResult.md
deleted file mode 100644
index 7992d84a..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossBorrowLimitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossBorrowLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossBorrowLimitResult**](MarginCrossBorrowLimitResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossBorrowLimitResult
-
-`func NewApiResponseResultOfMarginCrossBorrowLimitResult() *ApiResponseResultOfMarginCrossBorrowLimitResult`
-
-NewApiResponseResultOfMarginCrossBorrowLimitResult instantiates a new ApiResponseResultOfMarginCrossBorrowLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossBorrowLimitResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossBorrowLimitResultWithDefaults() *ApiResponseResultOfMarginCrossBorrowLimitResult`
-
-NewApiResponseResultOfMarginCrossBorrowLimitResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossBorrowLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetData() MarginCrossBorrowLimitResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetDataOk() (*MarginCrossBorrowLimitResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetData(v MarginCrossBorrowLimitResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossFinFlowResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossFinFlowResult.md
deleted file mode 100644
index b9e9f08e..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossFinFlowResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossFinFlowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossFinFlowResult**](MarginCrossFinFlowResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossFinFlowResult
-
-`func NewApiResponseResultOfMarginCrossFinFlowResult() *ApiResponseResultOfMarginCrossFinFlowResult`
-
-NewApiResponseResultOfMarginCrossFinFlowResult instantiates a new ApiResponseResultOfMarginCrossFinFlowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossFinFlowResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossFinFlowResultWithDefaults() *ApiResponseResultOfMarginCrossFinFlowResult`
-
-NewApiResponseResultOfMarginCrossFinFlowResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossFinFlowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetData() MarginCrossFinFlowResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetDataOk() (*MarginCrossFinFlowResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetData(v MarginCrossFinFlowResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossMaxBorrowResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossMaxBorrowResult.md
deleted file mode 100644
index 6f22c74a..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossMaxBorrowResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossMaxBorrowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossMaxBorrowResult**](MarginCrossMaxBorrowResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossMaxBorrowResult
-
-`func NewApiResponseResultOfMarginCrossMaxBorrowResult() *ApiResponseResultOfMarginCrossMaxBorrowResult`
-
-NewApiResponseResultOfMarginCrossMaxBorrowResult instantiates a new ApiResponseResultOfMarginCrossMaxBorrowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossMaxBorrowResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossMaxBorrowResultWithDefaults() *ApiResponseResultOfMarginCrossMaxBorrowResult`
-
-NewApiResponseResultOfMarginCrossMaxBorrowResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossMaxBorrowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetData() MarginCrossMaxBorrowResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetDataOk() (*MarginCrossMaxBorrowResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetData(v MarginCrossMaxBorrowResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossRepayResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossRepayResult.md
deleted file mode 100644
index e097757c..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginCrossRepayResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginCrossRepayResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginCrossRepayResult**](MarginCrossRepayResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginCrossRepayResult
-
-`func NewApiResponseResultOfMarginCrossRepayResult() *ApiResponseResultOfMarginCrossRepayResult`
-
-NewApiResponseResultOfMarginCrossRepayResult instantiates a new ApiResponseResultOfMarginCrossRepayResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginCrossRepayResultWithDefaults
-
-`func NewApiResponseResultOfMarginCrossRepayResultWithDefaults() *ApiResponseResultOfMarginCrossRepayResult`
-
-NewApiResponseResultOfMarginCrossRepayResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossRepayResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetData() MarginCrossRepayResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetDataOk() (*MarginCrossRepayResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) SetData(v MarginCrossRepayResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginCrossRepayResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginInterestInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginInterestInfoResult.md
deleted file mode 100644
index 24463192..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginInterestInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginInterestInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginInterestInfoResult**](MarginInterestInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginInterestInfoResult
-
-`func NewApiResponseResultOfMarginInterestInfoResult() *ApiResponseResultOfMarginInterestInfoResult`
-
-NewApiResponseResultOfMarginInterestInfoResult instantiates a new ApiResponseResultOfMarginInterestInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginInterestInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginInterestInfoResultWithDefaults() *ApiResponseResultOfMarginInterestInfoResult`
-
-NewApiResponseResultOfMarginInterestInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginInterestInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetData() MarginInterestInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetDataOk() (*MarginInterestInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) SetData(v MarginInterestInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginInterestInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedAssetsResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedAssetsResult.md
deleted file mode 100644
index 177b0872..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedAssetsResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedAssetsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedAssetsResult**](MarginIsolatedAssetsResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedAssetsResult
-
-`func NewApiResponseResultOfMarginIsolatedAssetsResult() *ApiResponseResultOfMarginIsolatedAssetsResult`
-
-NewApiResponseResultOfMarginIsolatedAssetsResult instantiates a new ApiResponseResultOfMarginIsolatedAssetsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedAssetsResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedAssetsResultWithDefaults() *ApiResponseResultOfMarginIsolatedAssetsResult`
-
-NewApiResponseResultOfMarginIsolatedAssetsResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedAssetsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetData() MarginIsolatedAssetsResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetDataOk() (*MarginIsolatedAssetsResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetData(v MarginIsolatedAssetsResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedBorrowLimitResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedBorrowLimitResult.md
deleted file mode 100644
index f5dfaa4a..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedBorrowLimitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedBorrowLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedBorrowLimitResult**](MarginIsolatedBorrowLimitResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedBorrowLimitResult
-
-`func NewApiResponseResultOfMarginIsolatedBorrowLimitResult() *ApiResponseResultOfMarginIsolatedBorrowLimitResult`
-
-NewApiResponseResultOfMarginIsolatedBorrowLimitResult instantiates a new ApiResponseResultOfMarginIsolatedBorrowLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedBorrowLimitResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedBorrowLimitResultWithDefaults() *ApiResponseResultOfMarginIsolatedBorrowLimitResult`
-
-NewApiResponseResultOfMarginIsolatedBorrowLimitResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedBorrowLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetData() MarginIsolatedBorrowLimitResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetDataOk() (*MarginIsolatedBorrowLimitResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetData(v MarginIsolatedBorrowLimitResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedFinFlowResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedFinFlowResult.md
deleted file mode 100644
index caa9f1a6..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedFinFlowResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedFinFlowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedFinFlowResult**](MarginIsolatedFinFlowResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedFinFlowResult
-
-`func NewApiResponseResultOfMarginIsolatedFinFlowResult() *ApiResponseResultOfMarginIsolatedFinFlowResult`
-
-NewApiResponseResultOfMarginIsolatedFinFlowResult instantiates a new ApiResponseResultOfMarginIsolatedFinFlowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedFinFlowResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedFinFlowResultWithDefaults() *ApiResponseResultOfMarginIsolatedFinFlowResult`
-
-NewApiResponseResultOfMarginIsolatedFinFlowResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedFinFlowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetData() MarginIsolatedFinFlowResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetDataOk() (*MarginIsolatedFinFlowResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetData(v MarginIsolatedFinFlowResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedInterestInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedInterestInfoResult.md
deleted file mode 100644
index 061ae66b..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedInterestInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedInterestInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedInterestInfoResult**](MarginIsolatedInterestInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedInterestInfoResult
-
-`func NewApiResponseResultOfMarginIsolatedInterestInfoResult() *ApiResponseResultOfMarginIsolatedInterestInfoResult`
-
-NewApiResponseResultOfMarginIsolatedInterestInfoResult instantiates a new ApiResponseResultOfMarginIsolatedInterestInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedInterestInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedInterestInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedInterestInfoResult`
-
-NewApiResponseResultOfMarginIsolatedInterestInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedInterestInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetData() MarginIsolatedInterestInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetDataOk() (*MarginIsolatedInterestInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetData(v MarginIsolatedInterestInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLiquidationInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLiquidationInfoResult.md
deleted file mode 100644
index 8421e6e9..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLiquidationInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedLiquidationInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedLiquidationInfoResult**](MarginIsolatedLiquidationInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedLiquidationInfoResult
-
-`func NewApiResponseResultOfMarginIsolatedLiquidationInfoResult() *ApiResponseResultOfMarginIsolatedLiquidationInfoResult`
-
-NewApiResponseResultOfMarginIsolatedLiquidationInfoResult instantiates a new ApiResponseResultOfMarginIsolatedLiquidationInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedLiquidationInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedLiquidationInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedLiquidationInfoResult`
-
-NewApiResponseResultOfMarginIsolatedLiquidationInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedLiquidationInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetData() MarginIsolatedLiquidationInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetDataOk() (*MarginIsolatedLiquidationInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetData(v MarginIsolatedLiquidationInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLoanInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLoanInfoResult.md
deleted file mode 100644
index f369d542..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedLoanInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedLoanInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedLoanInfoResult**](MarginIsolatedLoanInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedLoanInfoResult
-
-`func NewApiResponseResultOfMarginIsolatedLoanInfoResult() *ApiResponseResultOfMarginIsolatedLoanInfoResult`
-
-NewApiResponseResultOfMarginIsolatedLoanInfoResult instantiates a new ApiResponseResultOfMarginIsolatedLoanInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedLoanInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedLoanInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedLoanInfoResult`
-
-NewApiResponseResultOfMarginIsolatedLoanInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedLoanInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetData() MarginIsolatedLoanInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetDataOk() (*MarginIsolatedLoanInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetData(v MarginIsolatedLoanInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedMaxBorrowResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedMaxBorrowResult.md
deleted file mode 100644
index 60d4fc73..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedMaxBorrowResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedMaxBorrowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedMaxBorrowResult**](MarginIsolatedMaxBorrowResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedMaxBorrowResult
-
-`func NewApiResponseResultOfMarginIsolatedMaxBorrowResult() *ApiResponseResultOfMarginIsolatedMaxBorrowResult`
-
-NewApiResponseResultOfMarginIsolatedMaxBorrowResult instantiates a new ApiResponseResultOfMarginIsolatedMaxBorrowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedMaxBorrowResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedMaxBorrowResultWithDefaults() *ApiResponseResultOfMarginIsolatedMaxBorrowResult`
-
-NewApiResponseResultOfMarginIsolatedMaxBorrowResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedMaxBorrowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetData() MarginIsolatedMaxBorrowResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetDataOk() (*MarginIsolatedMaxBorrowResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetData(v MarginIsolatedMaxBorrowResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayInfoResult.md
deleted file mode 100644
index c84e963c..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedRepayInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedRepayInfoResult**](MarginIsolatedRepayInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedRepayInfoResult
-
-`func NewApiResponseResultOfMarginIsolatedRepayInfoResult() *ApiResponseResultOfMarginIsolatedRepayInfoResult`
-
-NewApiResponseResultOfMarginIsolatedRepayInfoResult instantiates a new ApiResponseResultOfMarginIsolatedRepayInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedRepayInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedRepayInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedRepayInfoResult`
-
-NewApiResponseResultOfMarginIsolatedRepayInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedRepayInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetData() MarginIsolatedRepayInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetDataOk() (*MarginIsolatedRepayInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetData(v MarginIsolatedRepayInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayResult.md
deleted file mode 100644
index 45506fdd..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginIsolatedRepayResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginIsolatedRepayResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginIsolatedRepayResult**](MarginIsolatedRepayResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginIsolatedRepayResult
-
-`func NewApiResponseResultOfMarginIsolatedRepayResult() *ApiResponseResultOfMarginIsolatedRepayResult`
-
-NewApiResponseResultOfMarginIsolatedRepayResult instantiates a new ApiResponseResultOfMarginIsolatedRepayResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginIsolatedRepayResultWithDefaults
-
-`func NewApiResponseResultOfMarginIsolatedRepayResultWithDefaults() *ApiResponseResultOfMarginIsolatedRepayResult`
-
-NewApiResponseResultOfMarginIsolatedRepayResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedRepayResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetData() MarginIsolatedRepayResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetDataOk() (*MarginIsolatedRepayResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetData(v MarginIsolatedRepayResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLiquidationInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLiquidationInfoResult.md
deleted file mode 100644
index 2cab760b..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLiquidationInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginLiquidationInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginLiquidationInfoResult**](MarginLiquidationInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginLiquidationInfoResult
-
-`func NewApiResponseResultOfMarginLiquidationInfoResult() *ApiResponseResultOfMarginLiquidationInfoResult`
-
-NewApiResponseResultOfMarginLiquidationInfoResult instantiates a new ApiResponseResultOfMarginLiquidationInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginLiquidationInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginLiquidationInfoResultWithDefaults() *ApiResponseResultOfMarginLiquidationInfoResult`
-
-NewApiResponseResultOfMarginLiquidationInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginLiquidationInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetData() MarginLiquidationInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetDataOk() (*MarginLiquidationInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetData(v MarginLiquidationInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLoanInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLoanInfoResult.md
deleted file mode 100644
index ab4a0870..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginLoanInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginLoanInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginLoanInfoResult**](MarginLoanInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginLoanInfoResult
-
-`func NewApiResponseResultOfMarginLoanInfoResult() *ApiResponseResultOfMarginLoanInfoResult`
-
-NewApiResponseResultOfMarginLoanInfoResult instantiates a new ApiResponseResultOfMarginLoanInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginLoanInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginLoanInfoResultWithDefaults() *ApiResponseResultOfMarginLoanInfoResult`
-
-NewApiResponseResultOfMarginLoanInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginLoanInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetData() MarginLoanInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetDataOk() (*MarginLoanInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) SetData(v MarginLoanInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginLoanInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginOpenOrderInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginOpenOrderInfoResult.md
deleted file mode 100644
index 487f565c..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginOpenOrderInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginOpenOrderInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginOpenOrderInfoResult**](MarginOpenOrderInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginOpenOrderInfoResult
-
-`func NewApiResponseResultOfMarginOpenOrderInfoResult() *ApiResponseResultOfMarginOpenOrderInfoResult`
-
-NewApiResponseResultOfMarginOpenOrderInfoResult instantiates a new ApiResponseResultOfMarginOpenOrderInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginOpenOrderInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginOpenOrderInfoResultWithDefaults() *ApiResponseResultOfMarginOpenOrderInfoResult`
-
-NewApiResponseResultOfMarginOpenOrderInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginOpenOrderInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetData() MarginOpenOrderInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetDataOk() (*MarginOpenOrderInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetData(v MarginOpenOrderInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginPlaceOrderResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginPlaceOrderResult.md
deleted file mode 100644
index 958274c4..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginPlaceOrderResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginPlaceOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginPlaceOrderResult**](MarginPlaceOrderResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginPlaceOrderResult
-
-`func NewApiResponseResultOfMarginPlaceOrderResult() *ApiResponseResultOfMarginPlaceOrderResult`
-
-NewApiResponseResultOfMarginPlaceOrderResult instantiates a new ApiResponseResultOfMarginPlaceOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginPlaceOrderResultWithDefaults
-
-`func NewApiResponseResultOfMarginPlaceOrderResultWithDefaults() *ApiResponseResultOfMarginPlaceOrderResult`
-
-NewApiResponseResultOfMarginPlaceOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginPlaceOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetData() MarginPlaceOrderResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetDataOk() (*MarginPlaceOrderResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) SetData(v MarginPlaceOrderResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginPlaceOrderResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginRepayInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginRepayInfoResult.md
deleted file mode 100644
index 94e242ad..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginRepayInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginRepayInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginRepayInfoResult**](MarginRepayInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginRepayInfoResult
-
-`func NewApiResponseResultOfMarginRepayInfoResult() *ApiResponseResultOfMarginRepayInfoResult`
-
-NewApiResponseResultOfMarginRepayInfoResult instantiates a new ApiResponseResultOfMarginRepayInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginRepayInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginRepayInfoResultWithDefaults() *ApiResponseResultOfMarginRepayInfoResult`
-
-NewApiResponseResultOfMarginRepayInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginRepayInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetData() MarginRepayInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetDataOk() (*MarginRepayInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) SetData(v MarginRepayInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginRepayInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginTradeDetailInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginTradeDetailInfoResult.md
deleted file mode 100644
index 3bfe6223..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMarginTradeDetailInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMarginTradeDetailInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MarginTradeDetailInfoResult**](MarginTradeDetailInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMarginTradeDetailInfoResult
-
-`func NewApiResponseResultOfMarginTradeDetailInfoResult() *ApiResponseResultOfMarginTradeDetailInfoResult`
-
-NewApiResponseResultOfMarginTradeDetailInfoResult instantiates a new ApiResponseResultOfMarginTradeDetailInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMarginTradeDetailInfoResultWithDefaults
-
-`func NewApiResponseResultOfMarginTradeDetailInfoResultWithDefaults() *ApiResponseResultOfMarginTradeDetailInfoResult`
-
-NewApiResponseResultOfMarginTradeDetailInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginTradeDetailInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetData() MarginTradeDetailInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetDataOk() (*MarginTradeDetailInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetData(v MarginTradeDetailInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantAdvResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantAdvResult.md
deleted file mode 100644
index 77bfe58d..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantAdvResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMerchantAdvResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MerchantAdvResult**](MerchantAdvResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMerchantAdvResult
-
-`func NewApiResponseResultOfMerchantAdvResult() *ApiResponseResultOfMerchantAdvResult`
-
-NewApiResponseResultOfMerchantAdvResult instantiates a new ApiResponseResultOfMerchantAdvResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMerchantAdvResultWithDefaults
-
-`func NewApiResponseResultOfMerchantAdvResultWithDefaults() *ApiResponseResultOfMerchantAdvResult`
-
-NewApiResponseResultOfMerchantAdvResultWithDefaults instantiates a new ApiResponseResultOfMerchantAdvResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMerchantAdvResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMerchantAdvResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetData() MerchantAdvResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetDataOk() (*MerchantAdvResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMerchantAdvResult) SetData(v MerchantAdvResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMerchantAdvResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMerchantAdvResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMerchantAdvResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMerchantAdvResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMerchantAdvResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMerchantAdvResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantInfoResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantInfoResult.md
deleted file mode 100644
index a668b691..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMerchantInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MerchantInfoResult**](MerchantInfoResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMerchantInfoResult
-
-`func NewApiResponseResultOfMerchantInfoResult() *ApiResponseResultOfMerchantInfoResult`
-
-NewApiResponseResultOfMerchantInfoResult instantiates a new ApiResponseResultOfMerchantInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMerchantInfoResultWithDefaults
-
-`func NewApiResponseResultOfMerchantInfoResultWithDefaults() *ApiResponseResultOfMerchantInfoResult`
-
-NewApiResponseResultOfMerchantInfoResultWithDefaults instantiates a new ApiResponseResultOfMerchantInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMerchantInfoResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMerchantInfoResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetData() MerchantInfoResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetDataOk() (*MerchantInfoResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMerchantInfoResult) SetData(v MerchantInfoResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMerchantInfoResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMerchantInfoResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMerchantInfoResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMerchantInfoResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMerchantInfoResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMerchantInfoResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantOrderResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantOrderResult.md
deleted file mode 100644
index 0a499f3a..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantOrderResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMerchantOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MerchantOrderResult**](MerchantOrderResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMerchantOrderResult
-
-`func NewApiResponseResultOfMerchantOrderResult() *ApiResponseResultOfMerchantOrderResult`
-
-NewApiResponseResultOfMerchantOrderResult instantiates a new ApiResponseResultOfMerchantOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMerchantOrderResultWithDefaults
-
-`func NewApiResponseResultOfMerchantOrderResultWithDefaults() *ApiResponseResultOfMerchantOrderResult`
-
-NewApiResponseResultOfMerchantOrderResultWithDefaults instantiates a new ApiResponseResultOfMerchantOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMerchantOrderResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMerchantOrderResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetData() MerchantOrderResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetDataOk() (*MerchantOrderResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMerchantOrderResult) SetData(v MerchantOrderResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMerchantOrderResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMerchantOrderResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMerchantOrderResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMerchantOrderResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMerchantOrderResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMerchantOrderResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantPersonInfo.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantPersonInfo.md
deleted file mode 100644
index cf9b6a6c..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMerchantPersonInfo.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMerchantPersonInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MerchantPersonInfo**](MerchantPersonInfo.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMerchantPersonInfo
-
-`func NewApiResponseResultOfMerchantPersonInfo() *ApiResponseResultOfMerchantPersonInfo`
-
-NewApiResponseResultOfMerchantPersonInfo instantiates a new ApiResponseResultOfMerchantPersonInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMerchantPersonInfoWithDefaults
-
-`func NewApiResponseResultOfMerchantPersonInfoWithDefaults() *ApiResponseResultOfMerchantPersonInfo`
-
-NewApiResponseResultOfMerchantPersonInfoWithDefaults instantiates a new ApiResponseResultOfMerchantPersonInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetData() MerchantPersonInfo`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetDataOk() (*MerchantPersonInfo, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) SetData(v MerchantPersonInfo)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMerchantPersonInfo) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTracersResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTracersResult.md
deleted file mode 100644
index 551a26d5..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTracersResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMyTracersResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MyTracersResult**](MyTracersResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMyTracersResult
-
-`func NewApiResponseResultOfMyTracersResult() *ApiResponseResultOfMyTracersResult`
-
-NewApiResponseResultOfMyTracersResult instantiates a new ApiResponseResultOfMyTracersResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMyTracersResultWithDefaults
-
-`func NewApiResponseResultOfMyTracersResultWithDefaults() *ApiResponseResultOfMyTracersResult`
-
-NewApiResponseResultOfMyTracersResultWithDefaults instantiates a new ApiResponseResultOfMyTracersResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMyTracersResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMyTracersResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMyTracersResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMyTracersResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMyTracersResult) GetData() MyTracersResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMyTracersResult) GetDataOk() (*MyTracersResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMyTracersResult) SetData(v MyTracersResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMyTracersResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMyTracersResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMyTracersResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMyTracersResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMyTracersResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMyTracersResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMyTracersResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMyTracersResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMyTracersResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTradersResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTradersResult.md
deleted file mode 100644
index 4dc57f9d..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfMyTradersResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfMyTradersResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**MyTradersResult**](MyTradersResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfMyTradersResult
-
-`func NewApiResponseResultOfMyTradersResult() *ApiResponseResultOfMyTradersResult`
-
-NewApiResponseResultOfMyTradersResult instantiates a new ApiResponseResultOfMyTradersResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfMyTradersResultWithDefaults
-
-`func NewApiResponseResultOfMyTradersResultWithDefaults() *ApiResponseResultOfMyTradersResult`
-
-NewApiResponseResultOfMyTradersResultWithDefaults instantiates a new ApiResponseResultOfMyTradersResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfMyTradersResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfMyTradersResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfMyTradersResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfMyTradersResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfMyTradersResult) GetData() MyTradersResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfMyTradersResult) GetDataOk() (*MyTradersResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfMyTradersResult) SetData(v MyTradersResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfMyTradersResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfMyTradersResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfMyTradersResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfMyTradersResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfMyTradersResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfMyTradersResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfMyTradersResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfMyTradersResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfMyTradersResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderCurrentListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderCurrentListResult.md
deleted file mode 100644
index 854fa84b..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderCurrentListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfOrderCurrentListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**OrderCurrentListResult**](OrderCurrentListResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfOrderCurrentListResult
-
-`func NewApiResponseResultOfOrderCurrentListResult() *ApiResponseResultOfOrderCurrentListResult`
-
-NewApiResponseResultOfOrderCurrentListResult instantiates a new ApiResponseResultOfOrderCurrentListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfOrderCurrentListResultWithDefaults
-
-`func NewApiResponseResultOfOrderCurrentListResultWithDefaults() *ApiResponseResultOfOrderCurrentListResult`
-
-NewApiResponseResultOfOrderCurrentListResultWithDefaults instantiates a new ApiResponseResultOfOrderCurrentListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetData() OrderCurrentListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetDataOk() (*OrderCurrentListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) SetData(v OrderCurrentListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfOrderCurrentListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderHistoryListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderHistoryListResult.md
deleted file mode 100644
index 8d42563c..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfOrderHistoryListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfOrderHistoryListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**OrderHistoryListResult**](OrderHistoryListResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfOrderHistoryListResult
-
-`func NewApiResponseResultOfOrderHistoryListResult() *ApiResponseResultOfOrderHistoryListResult`
-
-NewApiResponseResultOfOrderHistoryListResult instantiates a new ApiResponseResultOfOrderHistoryListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfOrderHistoryListResultWithDefaults
-
-`func NewApiResponseResultOfOrderHistoryListResultWithDefaults() *ApiResponseResultOfOrderHistoryListResult`
-
-NewApiResponseResultOfOrderHistoryListResultWithDefaults instantiates a new ApiResponseResultOfOrderHistoryListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetData() OrderHistoryListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetDataOk() (*OrderHistoryListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) SetData(v OrderHistoryListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfOrderHistoryListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraceSettingResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraceSettingResult.md
deleted file mode 100644
index 47060441..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraceSettingResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraceSettingResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraceSettingResult**](TraceSettingResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraceSettingResult
-
-`func NewApiResponseResultOfTraceSettingResult() *ApiResponseResultOfTraceSettingResult`
-
-NewApiResponseResultOfTraceSettingResult instantiates a new ApiResponseResultOfTraceSettingResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraceSettingResultWithDefaults
-
-`func NewApiResponseResultOfTraceSettingResultWithDefaults() *ApiResponseResultOfTraceSettingResult`
-
-NewApiResponseResultOfTraceSettingResultWithDefaults instantiates a new ApiResponseResultOfTraceSettingResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraceSettingResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraceSettingResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetData() TraceSettingResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetDataOk() (*TraceSettingResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraceSettingResult) SetData(v TraceSettingResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraceSettingResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraceSettingResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraceSettingResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraceSettingResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraceSettingResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraceSettingResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisDetailListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisDetailListResult.md
deleted file mode 100644
index d8fa5f66..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisDetailListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraderProfitHisDetailListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraderProfitHisDetailListResult**](TraderProfitHisDetailListResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraderProfitHisDetailListResult
-
-`func NewApiResponseResultOfTraderProfitHisDetailListResult() *ApiResponseResultOfTraderProfitHisDetailListResult`
-
-NewApiResponseResultOfTraderProfitHisDetailListResult instantiates a new ApiResponseResultOfTraderProfitHisDetailListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraderProfitHisDetailListResultWithDefaults
-
-`func NewApiResponseResultOfTraderProfitHisDetailListResultWithDefaults() *ApiResponseResultOfTraderProfitHisDetailListResult`
-
-NewApiResponseResultOfTraderProfitHisDetailListResultWithDefaults instantiates a new ApiResponseResultOfTraderProfitHisDetailListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetData() TraderProfitHisDetailListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetDataOk() (*TraderProfitHisDetailListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetData(v TraderProfitHisDetailListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisListResult.md
deleted file mode 100644
index 22936ba9..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderProfitHisListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraderProfitHisListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraderProfitHisListResult**](TraderProfitHisListResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraderProfitHisListResult
-
-`func NewApiResponseResultOfTraderProfitHisListResult() *ApiResponseResultOfTraderProfitHisListResult`
-
-NewApiResponseResultOfTraderProfitHisListResult instantiates a new ApiResponseResultOfTraderProfitHisListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraderProfitHisListResultWithDefaults
-
-`func NewApiResponseResultOfTraderProfitHisListResultWithDefaults() *ApiResponseResultOfTraderProfitHisListResult`
-
-NewApiResponseResultOfTraderProfitHisListResultWithDefaults instantiates a new ApiResponseResultOfTraderProfitHisListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetData() TraderProfitHisListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetDataOk() (*TraderProfitHisListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) SetData(v TraderProfitHisListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraderProfitHisListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderSettingResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderSettingResult.md
deleted file mode 100644
index 559997fb..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderSettingResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraderSettingResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraderSettingResult**](TraderSettingResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraderSettingResult
-
-`func NewApiResponseResultOfTraderSettingResult() *ApiResponseResultOfTraderSettingResult`
-
-NewApiResponseResultOfTraderSettingResult instantiates a new ApiResponseResultOfTraderSettingResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraderSettingResultWithDefaults
-
-`func NewApiResponseResultOfTraderSettingResultWithDefaults() *ApiResponseResultOfTraderSettingResult`
-
-NewApiResponseResultOfTraderSettingResultWithDefaults instantiates a new ApiResponseResultOfTraderSettingResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraderSettingResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraderSettingResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetData() TraderSettingResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetDataOk() (*TraderSettingResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraderSettingResult) SetData(v TraderSettingResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraderSettingResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraderSettingResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraderSettingResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraderSettingResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraderSettingResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraderSettingResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderTotalProfitResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderTotalProfitResult.md
deleted file mode 100644
index 75e3eb21..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderTotalProfitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraderTotalProfitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraderTotalProfitResult**](TraderTotalProfitResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraderTotalProfitResult
-
-`func NewApiResponseResultOfTraderTotalProfitResult() *ApiResponseResultOfTraderTotalProfitResult`
-
-NewApiResponseResultOfTraderTotalProfitResult instantiates a new ApiResponseResultOfTraderTotalProfitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraderTotalProfitResultWithDefaults
-
-`func NewApiResponseResultOfTraderTotalProfitResultWithDefaults() *ApiResponseResultOfTraderTotalProfitResult`
-
-NewApiResponseResultOfTraderTotalProfitResultWithDefaults instantiates a new ApiResponseResultOfTraderTotalProfitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetData() TraderTotalProfitResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetDataOk() (*TraderTotalProfitResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) SetData(v TraderTotalProfitResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraderTotalProfitResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderWaitProfitDetailListResult.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderWaitProfitDetailListResult.md
deleted file mode 100644
index 3beda7ea..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfTraderWaitProfitDetailListResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfTraderWaitProfitDetailListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to [**TraderWaitProfitDetailListResult**](TraderWaitProfitDetailListResult.md) | | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfTraderWaitProfitDetailListResult
-
-`func NewApiResponseResultOfTraderWaitProfitDetailListResult() *ApiResponseResultOfTraderWaitProfitDetailListResult`
-
-NewApiResponseResultOfTraderWaitProfitDetailListResult instantiates a new ApiResponseResultOfTraderWaitProfitDetailListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfTraderWaitProfitDetailListResultWithDefaults
-
-`func NewApiResponseResultOfTraderWaitProfitDetailListResultWithDefaults() *ApiResponseResultOfTraderWaitProfitDetailListResult`
-
-NewApiResponseResultOfTraderWaitProfitDetailListResultWithDefaults instantiates a new ApiResponseResultOfTraderWaitProfitDetailListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetData() TraderWaitProfitDetailListResult`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetDataOk() (*TraderWaitProfitDetailListResult, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetData(v TraderWaitProfitDetailListResult)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfVoid.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfVoid.md
deleted file mode 100644
index 8fc07ff2..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfVoid.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# ApiResponseResultOfVoid
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfVoid
-
-`func NewApiResponseResultOfVoid() *ApiResponseResultOfVoid`
-
-NewApiResponseResultOfVoid instantiates a new ApiResponseResultOfVoid object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfVoidWithDefaults
-
-`func NewApiResponseResultOfVoidWithDefaults() *ApiResponseResultOfVoid`
-
-NewApiResponseResultOfVoidWithDefaults instantiates a new ApiResponseResultOfVoid object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfVoid) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfVoid) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfVoid) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfVoid) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfVoid) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfVoid) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfVoid) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfVoid) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfVoid) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfVoid) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfVoid) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfVoid) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfboolean.md b/bitget-goland-sdk-open-api/docs/ApiResponseResultOfboolean.md
deleted file mode 100644
index d8b95644..00000000
--- a/bitget-goland-sdk-open-api/docs/ApiResponseResultOfboolean.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# ApiResponseResultOfboolean
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Code** | Pointer to **string** | code | [optional]
-**Data** | Pointer to **bool** | data | [optional]
-**Msg** | Pointer to **string** | msg | [optional]
-**RequestTime** | Pointer to **int64** | requestTime | [optional]
-
-## Methods
-
-### NewApiResponseResultOfboolean
-
-`func NewApiResponseResultOfboolean() *ApiResponseResultOfboolean`
-
-NewApiResponseResultOfboolean instantiates a new ApiResponseResultOfboolean object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewApiResponseResultOfbooleanWithDefaults
-
-`func NewApiResponseResultOfbooleanWithDefaults() *ApiResponseResultOfboolean`
-
-NewApiResponseResultOfbooleanWithDefaults instantiates a new ApiResponseResultOfboolean object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCode
-
-`func (o *ApiResponseResultOfboolean) GetCode() string`
-
-GetCode returns the Code field if non-nil, zero value otherwise.
-
-### GetCodeOk
-
-`func (o *ApiResponseResultOfboolean) GetCodeOk() (*string, bool)`
-
-GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCode
-
-`func (o *ApiResponseResultOfboolean) SetCode(v string)`
-
-SetCode sets Code field to given value.
-
-### HasCode
-
-`func (o *ApiResponseResultOfboolean) HasCode() bool`
-
-HasCode returns a boolean if a field has been set.
-
-### GetData
-
-`func (o *ApiResponseResultOfboolean) GetData() bool`
-
-GetData returns the Data field if non-nil, zero value otherwise.
-
-### GetDataOk
-
-`func (o *ApiResponseResultOfboolean) GetDataOk() (*bool, bool)`
-
-GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetData
-
-`func (o *ApiResponseResultOfboolean) SetData(v bool)`
-
-SetData sets Data field to given value.
-
-### HasData
-
-`func (o *ApiResponseResultOfboolean) HasData() bool`
-
-HasData returns a boolean if a field has been set.
-
-### GetMsg
-
-`func (o *ApiResponseResultOfboolean) GetMsg() string`
-
-GetMsg returns the Msg field if non-nil, zero value otherwise.
-
-### GetMsgOk
-
-`func (o *ApiResponseResultOfboolean) GetMsgOk() (*string, bool)`
-
-GetMsgOk returns a tuple with the Msg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMsg
-
-`func (o *ApiResponseResultOfboolean) SetMsg(v string)`
-
-SetMsg sets Msg field to given value.
-
-### HasMsg
-
-`func (o *ApiResponseResultOfboolean) HasMsg() bool`
-
-HasMsg returns a boolean if a field has been set.
-
-### GetRequestTime
-
-`func (o *ApiResponseResultOfboolean) GetRequestTime() int64`
-
-GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
-
-### GetRequestTimeOk
-
-`func (o *ApiResponseResultOfboolean) GetRequestTimeOk() (*int64, bool)`
-
-GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequestTime
-
-`func (o *ApiResponseResultOfboolean) SetRequestTime(v int64)`
-
-SetRequestTime sets RequestTime field to given value.
-
-### HasRequestTime
-
-`func (o *ApiResponseResultOfboolean) HasRequestTime() bool`
-
-HasRequestTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/CloseTrackingOrderRequest.md b/bitget-goland-sdk-open-api/docs/CloseTrackingOrderRequest.md
deleted file mode 100644
index ca4d2cad..00000000
--- a/bitget-goland-sdk-open-api/docs/CloseTrackingOrderRequest.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# CloseTrackingOrderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**SymbolId** | **string** | symbolId |
-**TrackingOrderNos** | **[]string** | trackingOrderNos |
-
-## Methods
-
-### NewCloseTrackingOrderRequest
-
-`func NewCloseTrackingOrderRequest(symbolId string, trackingOrderNos []string, ) *CloseTrackingOrderRequest`
-
-NewCloseTrackingOrderRequest instantiates a new CloseTrackingOrderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewCloseTrackingOrderRequestWithDefaults
-
-`func NewCloseTrackingOrderRequestWithDefaults() *CloseTrackingOrderRequest`
-
-NewCloseTrackingOrderRequestWithDefaults instantiates a new CloseTrackingOrderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetSymbolId
-
-`func (o *CloseTrackingOrderRequest) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *CloseTrackingOrderRequest) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *CloseTrackingOrderRequest) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-
-### GetTrackingOrderNos
-
-`func (o *CloseTrackingOrderRequest) GetTrackingOrderNos() []string`
-
-GetTrackingOrderNos returns the TrackingOrderNos field if non-nil, zero value otherwise.
-
-### GetTrackingOrderNosOk
-
-`func (o *CloseTrackingOrderRequest) GetTrackingOrderNosOk() (*[]string, bool)`
-
-GetTrackingOrderNosOk returns a tuple with the TrackingOrderNos field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingOrderNos
-
-`func (o *CloseTrackingOrderRequest) SetTrackingOrderNos(v []string)`
-
-SetTrackingOrderNos sets TrackingOrderNos field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/CurrentOrderListRequest.md b/bitget-goland-sdk-open-api/docs/CurrentOrderListRequest.md
deleted file mode 100644
index 03702f3b..00000000
--- a/bitget-goland-sdk-open-api/docs/CurrentOrderListRequest.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# CurrentOrderListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MixId** | Pointer to **string** | mixId | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-**TrackingNo** | Pointer to **string** | trackingNo | [optional]
-
-## Methods
-
-### NewCurrentOrderListRequest
-
-`func NewCurrentOrderListRequest() *CurrentOrderListRequest`
-
-NewCurrentOrderListRequest instantiates a new CurrentOrderListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewCurrentOrderListRequestWithDefaults
-
-`func NewCurrentOrderListRequestWithDefaults() *CurrentOrderListRequest`
-
-NewCurrentOrderListRequestWithDefaults instantiates a new CurrentOrderListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMixId
-
-`func (o *CurrentOrderListRequest) GetMixId() string`
-
-GetMixId returns the MixId field if non-nil, zero value otherwise.
-
-### GetMixIdOk
-
-`func (o *CurrentOrderListRequest) GetMixIdOk() (*string, bool)`
-
-GetMixIdOk returns a tuple with the MixId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMixId
-
-`func (o *CurrentOrderListRequest) SetMixId(v string)`
-
-SetMixId sets MixId field to given value.
-
-### HasMixId
-
-`func (o *CurrentOrderListRequest) HasMixId() bool`
-
-HasMixId returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *CurrentOrderListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *CurrentOrderListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *CurrentOrderListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *CurrentOrderListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-### GetTrackingNo
-
-`func (o *CurrentOrderListRequest) GetTrackingNo() string`
-
-GetTrackingNo returns the TrackingNo field if non-nil, zero value otherwise.
-
-### GetTrackingNoOk
-
-`func (o *CurrentOrderListRequest) GetTrackingNoOk() (*string, bool)`
-
-GetTrackingNoOk returns a tuple with the TrackingNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingNo
-
-`func (o *CurrentOrderListRequest) SetTrackingNo(v string)`
-
-SetTrackingNo sets TrackingNo field to given value.
-
-### HasTrackingNo
-
-`func (o *CurrentOrderListRequest) HasTrackingNo() bool`
-
-HasTrackingNo returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/EndOrderRequest.md b/bitget-goland-sdk-open-api/docs/EndOrderRequest.md
deleted file mode 100644
index 4840a70e..00000000
--- a/bitget-goland-sdk-open-api/docs/EndOrderRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# EndOrderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**TrackingOrderNos** | **[]string** | trackingOrderNos |
-
-## Methods
-
-### NewEndOrderRequest
-
-`func NewEndOrderRequest(trackingOrderNos []string, ) *EndOrderRequest`
-
-NewEndOrderRequest instantiates a new EndOrderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewEndOrderRequestWithDefaults
-
-`func NewEndOrderRequestWithDefaults() *EndOrderRequest`
-
-NewEndOrderRequestWithDefaults instantiates a new EndOrderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetTrackingOrderNos
-
-`func (o *EndOrderRequest) GetTrackingOrderNos() []string`
-
-GetTrackingOrderNos returns the TrackingOrderNos field if non-nil, zero value otherwise.
-
-### GetTrackingOrderNosOk
-
-`func (o *EndOrderRequest) GetTrackingOrderNosOk() (*[]string, bool)`
-
-GetTrackingOrderNosOk returns a tuple with the TrackingOrderNos field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingOrderNos
-
-`func (o *EndOrderRequest) SetTrackingOrderNos(v []string)`
-
-SetTrackingOrderNos sets TrackingOrderNos field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/FiatPaymentDetailInfo.md b/bitget-goland-sdk-open-api/docs/FiatPaymentDetailInfo.md
deleted file mode 100644
index 95e96187..00000000
--- a/bitget-goland-sdk-open-api/docs/FiatPaymentDetailInfo.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# FiatPaymentDetailInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Name** | Pointer to **string** | | [optional]
-**Required** | Pointer to **bool** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewFiatPaymentDetailInfo
-
-`func NewFiatPaymentDetailInfo() *FiatPaymentDetailInfo`
-
-NewFiatPaymentDetailInfo instantiates a new FiatPaymentDetailInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewFiatPaymentDetailInfoWithDefaults
-
-`func NewFiatPaymentDetailInfoWithDefaults() *FiatPaymentDetailInfo`
-
-NewFiatPaymentDetailInfoWithDefaults instantiates a new FiatPaymentDetailInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetName
-
-`func (o *FiatPaymentDetailInfo) GetName() string`
-
-GetName returns the Name field if non-nil, zero value otherwise.
-
-### GetNameOk
-
-`func (o *FiatPaymentDetailInfo) GetNameOk() (*string, bool)`
-
-GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetName
-
-`func (o *FiatPaymentDetailInfo) SetName(v string)`
-
-SetName sets Name field to given value.
-
-### HasName
-
-`func (o *FiatPaymentDetailInfo) HasName() bool`
-
-HasName returns a boolean if a field has been set.
-
-### GetRequired
-
-`func (o *FiatPaymentDetailInfo) GetRequired() bool`
-
-GetRequired returns the Required field if non-nil, zero value otherwise.
-
-### GetRequiredOk
-
-`func (o *FiatPaymentDetailInfo) GetRequiredOk() (*bool, bool)`
-
-GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequired
-
-`func (o *FiatPaymentDetailInfo) SetRequired(v bool)`
-
-SetRequired sets Required field to given value.
-
-### HasRequired
-
-`func (o *FiatPaymentDetailInfo) HasRequired() bool`
-
-HasRequired returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *FiatPaymentDetailInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *FiatPaymentDetailInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *FiatPaymentDetailInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *FiatPaymentDetailInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/FiatPaymentInfo.md b/bitget-goland-sdk-open-api/docs/FiatPaymentInfo.md
deleted file mode 100644
index 435b9943..00000000
--- a/bitget-goland-sdk-open-api/docs/FiatPaymentInfo.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# FiatPaymentInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PaymentId** | Pointer to **string** | | [optional]
-**PaymentInfo** | Pointer to [**[]FiatPaymentDetailInfo**](FiatPaymentDetailInfo.md) | | [optional]
-**PaymentMethod** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewFiatPaymentInfo
-
-`func NewFiatPaymentInfo() *FiatPaymentInfo`
-
-NewFiatPaymentInfo instantiates a new FiatPaymentInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewFiatPaymentInfoWithDefaults
-
-`func NewFiatPaymentInfoWithDefaults() *FiatPaymentInfo`
-
-NewFiatPaymentInfoWithDefaults instantiates a new FiatPaymentInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPaymentId
-
-`func (o *FiatPaymentInfo) GetPaymentId() string`
-
-GetPaymentId returns the PaymentId field if non-nil, zero value otherwise.
-
-### GetPaymentIdOk
-
-`func (o *FiatPaymentInfo) GetPaymentIdOk() (*string, bool)`
-
-GetPaymentIdOk returns a tuple with the PaymentId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentId
-
-`func (o *FiatPaymentInfo) SetPaymentId(v string)`
-
-SetPaymentId sets PaymentId field to given value.
-
-### HasPaymentId
-
-`func (o *FiatPaymentInfo) HasPaymentId() bool`
-
-HasPaymentId returns a boolean if a field has been set.
-
-### GetPaymentInfo
-
-`func (o *FiatPaymentInfo) GetPaymentInfo() []FiatPaymentDetailInfo`
-
-GetPaymentInfo returns the PaymentInfo field if non-nil, zero value otherwise.
-
-### GetPaymentInfoOk
-
-`func (o *FiatPaymentInfo) GetPaymentInfoOk() (*[]FiatPaymentDetailInfo, bool)`
-
-GetPaymentInfoOk returns a tuple with the PaymentInfo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentInfo
-
-`func (o *FiatPaymentInfo) SetPaymentInfo(v []FiatPaymentDetailInfo)`
-
-SetPaymentInfo sets PaymentInfo field to given value.
-
-### HasPaymentInfo
-
-`func (o *FiatPaymentInfo) HasPaymentInfo() bool`
-
-HasPaymentInfo returns a boolean if a field has been set.
-
-### GetPaymentMethod
-
-`func (o *FiatPaymentInfo) GetPaymentMethod() string`
-
-GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.
-
-### GetPaymentMethodOk
-
-`func (o *FiatPaymentInfo) GetPaymentMethodOk() (*string, bool)`
-
-GetPaymentMethodOk returns a tuple with the PaymentMethod field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentMethod
-
-`func (o *FiatPaymentInfo) SetPaymentMethod(v string)`
-
-SetPaymentMethod sets PaymentMethod field to given value.
-
-### HasPaymentMethod
-
-`func (o *FiatPaymentInfo) HasPaymentMethod() bool`
-
-HasPaymentMethod returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/HistoryOrderListRequest.md b/bitget-goland-sdk-open-api/docs/HistoryOrderListRequest.md
deleted file mode 100644
index ab1cf391..00000000
--- a/bitget-goland-sdk-open-api/docs/HistoryOrderListRequest.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# HistoryOrderListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MixId** | Pointer to **string** | mixId | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-**TrackingNo** | Pointer to **string** | trackingNo | [optional]
-
-## Methods
-
-### NewHistoryOrderListRequest
-
-`func NewHistoryOrderListRequest() *HistoryOrderListRequest`
-
-NewHistoryOrderListRequest instantiates a new HistoryOrderListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewHistoryOrderListRequestWithDefaults
-
-`func NewHistoryOrderListRequestWithDefaults() *HistoryOrderListRequest`
-
-NewHistoryOrderListRequestWithDefaults instantiates a new HistoryOrderListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMixId
-
-`func (o *HistoryOrderListRequest) GetMixId() string`
-
-GetMixId returns the MixId field if non-nil, zero value otherwise.
-
-### GetMixIdOk
-
-`func (o *HistoryOrderListRequest) GetMixIdOk() (*string, bool)`
-
-GetMixIdOk returns a tuple with the MixId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMixId
-
-`func (o *HistoryOrderListRequest) SetMixId(v string)`
-
-SetMixId sets MixId field to given value.
-
-### HasMixId
-
-`func (o *HistoryOrderListRequest) HasMixId() bool`
-
-HasMixId returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *HistoryOrderListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *HistoryOrderListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *HistoryOrderListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *HistoryOrderListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-### GetTrackingNo
-
-`func (o *HistoryOrderListRequest) GetTrackingNo() string`
-
-GetTrackingNo returns the TrackingNo field if non-nil, zero value otherwise.
-
-### GetTrackingNoOk
-
-`func (o *HistoryOrderListRequest) GetTrackingNoOk() (*string, bool)`
-
-GetTrackingNoOk returns a tuple with the TrackingNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingNo
-
-`func (o *HistoryOrderListRequest) SetTrackingNo(v string)`
-
-SetTrackingNo sets TrackingNo field to given value.
-
-### HasTrackingNo
-
-`func (o *HistoryOrderListRequest) HasTrackingNo() bool`
-
-HasTrackingNo returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderRequest.md b/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderRequest.md
deleted file mode 100644
index ac9d20ce..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderRequest.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# MarginBatchCancelOrderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOids** | Pointer to **[]string** | clientOids | [optional]
-**OrderIds** | Pointer to **[]string** | orderIds | [optional]
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginBatchCancelOrderRequest
-
-`func NewMarginBatchCancelOrderRequest(symbol string, ) *MarginBatchCancelOrderRequest`
-
-NewMarginBatchCancelOrderRequest instantiates a new MarginBatchCancelOrderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginBatchCancelOrderRequestWithDefaults
-
-`func NewMarginBatchCancelOrderRequestWithDefaults() *MarginBatchCancelOrderRequest`
-
-NewMarginBatchCancelOrderRequestWithDefaults instantiates a new MarginBatchCancelOrderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOids
-
-`func (o *MarginBatchCancelOrderRequest) GetClientOids() []string`
-
-GetClientOids returns the ClientOids field if non-nil, zero value otherwise.
-
-### GetClientOidsOk
-
-`func (o *MarginBatchCancelOrderRequest) GetClientOidsOk() (*[]string, bool)`
-
-GetClientOidsOk returns a tuple with the ClientOids field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOids
-
-`func (o *MarginBatchCancelOrderRequest) SetClientOids(v []string)`
-
-SetClientOids sets ClientOids field to given value.
-
-### HasClientOids
-
-`func (o *MarginBatchCancelOrderRequest) HasClientOids() bool`
-
-HasClientOids returns a boolean if a field has been set.
-
-### GetOrderIds
-
-`func (o *MarginBatchCancelOrderRequest) GetOrderIds() []string`
-
-GetOrderIds returns the OrderIds field if non-nil, zero value otherwise.
-
-### GetOrderIdsOk
-
-`func (o *MarginBatchCancelOrderRequest) GetOrderIdsOk() (*[]string, bool)`
-
-GetOrderIdsOk returns a tuple with the OrderIds field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderIds
-
-`func (o *MarginBatchCancelOrderRequest) SetOrderIds(v []string)`
-
-SetOrderIds sets OrderIds field to given value.
-
-### HasOrderIds
-
-`func (o *MarginBatchCancelOrderRequest) HasOrderIds() bool`
-
-HasOrderIds returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginBatchCancelOrderRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginBatchCancelOrderRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginBatchCancelOrderRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderResult.md b/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderResult.md
deleted file mode 100644
index 1c3357f4..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginBatchCancelOrderResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginBatchCancelOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Failure** | Pointer to [**[]MarginCancelOrderFailureResult**](MarginCancelOrderFailureResult.md) | | [optional]
-**ResultList** | Pointer to [**[]MarginCancelOrderResult**](MarginCancelOrderResult.md) | | [optional]
-
-## Methods
-
-### NewMarginBatchCancelOrderResult
-
-`func NewMarginBatchCancelOrderResult() *MarginBatchCancelOrderResult`
-
-NewMarginBatchCancelOrderResult instantiates a new MarginBatchCancelOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginBatchCancelOrderResultWithDefaults
-
-`func NewMarginBatchCancelOrderResultWithDefaults() *MarginBatchCancelOrderResult`
-
-NewMarginBatchCancelOrderResultWithDefaults instantiates a new MarginBatchCancelOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetFailure
-
-`func (o *MarginBatchCancelOrderResult) GetFailure() []MarginCancelOrderFailureResult`
-
-GetFailure returns the Failure field if non-nil, zero value otherwise.
-
-### GetFailureOk
-
-`func (o *MarginBatchCancelOrderResult) GetFailureOk() (*[]MarginCancelOrderFailureResult, bool)`
-
-GetFailureOk returns a tuple with the Failure field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFailure
-
-`func (o *MarginBatchCancelOrderResult) SetFailure(v []MarginCancelOrderFailureResult)`
-
-SetFailure sets Failure field to given value.
-
-### HasFailure
-
-`func (o *MarginBatchCancelOrderResult) HasFailure() bool`
-
-HasFailure returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginBatchCancelOrderResult) GetResultList() []MarginCancelOrderResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginBatchCancelOrderResult) GetResultListOk() (*[]MarginCancelOrderResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginBatchCancelOrderResult) SetResultList(v []MarginCancelOrderResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginBatchCancelOrderResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginBatchOrdersRequest.md b/bitget-goland-sdk-open-api/docs/MarginBatchOrdersRequest.md
deleted file mode 100644
index ab1811a3..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginBatchOrdersRequest.md
+++ /dev/null
@@ -1,129 +0,0 @@
-# MarginBatchOrdersRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ChannelApiCode** | Pointer to **string** | | [optional]
-**Ip** | Pointer to **string** | | [optional]
-**OrderList** | Pointer to [**[]MarginOrderRequest**](MarginOrderRequest.md) | | [optional]
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginBatchOrdersRequest
-
-`func NewMarginBatchOrdersRequest(symbol string, ) *MarginBatchOrdersRequest`
-
-NewMarginBatchOrdersRequest instantiates a new MarginBatchOrdersRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginBatchOrdersRequestWithDefaults
-
-`func NewMarginBatchOrdersRequestWithDefaults() *MarginBatchOrdersRequest`
-
-NewMarginBatchOrdersRequestWithDefaults instantiates a new MarginBatchOrdersRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetChannelApiCode
-
-`func (o *MarginBatchOrdersRequest) GetChannelApiCode() string`
-
-GetChannelApiCode returns the ChannelApiCode field if non-nil, zero value otherwise.
-
-### GetChannelApiCodeOk
-
-`func (o *MarginBatchOrdersRequest) GetChannelApiCodeOk() (*string, bool)`
-
-GetChannelApiCodeOk returns a tuple with the ChannelApiCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetChannelApiCode
-
-`func (o *MarginBatchOrdersRequest) SetChannelApiCode(v string)`
-
-SetChannelApiCode sets ChannelApiCode field to given value.
-
-### HasChannelApiCode
-
-`func (o *MarginBatchOrdersRequest) HasChannelApiCode() bool`
-
-HasChannelApiCode returns a boolean if a field has been set.
-
-### GetIp
-
-`func (o *MarginBatchOrdersRequest) GetIp() string`
-
-GetIp returns the Ip field if non-nil, zero value otherwise.
-
-### GetIpOk
-
-`func (o *MarginBatchOrdersRequest) GetIpOk() (*string, bool)`
-
-GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIp
-
-`func (o *MarginBatchOrdersRequest) SetIp(v string)`
-
-SetIp sets Ip field to given value.
-
-### HasIp
-
-`func (o *MarginBatchOrdersRequest) HasIp() bool`
-
-HasIp returns a boolean if a field has been set.
-
-### GetOrderList
-
-`func (o *MarginBatchOrdersRequest) GetOrderList() []MarginOrderRequest`
-
-GetOrderList returns the OrderList field if non-nil, zero value otherwise.
-
-### GetOrderListOk
-
-`func (o *MarginBatchOrdersRequest) GetOrderListOk() (*[]MarginOrderRequest, bool)`
-
-GetOrderListOk returns a tuple with the OrderList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderList
-
-`func (o *MarginBatchOrdersRequest) SetOrderList(v []MarginOrderRequest)`
-
-SetOrderList sets OrderList field to given value.
-
-### HasOrderList
-
-`func (o *MarginBatchOrdersRequest) HasOrderList() bool`
-
-HasOrderList returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginBatchOrdersRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginBatchOrdersRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginBatchOrdersRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderFailureResult.md b/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderFailureResult.md
deleted file mode 100644
index 46520abf..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderFailureResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginBatchPlaceOrderFailureResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**ErrorMsg** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginBatchPlaceOrderFailureResult
-
-`func NewMarginBatchPlaceOrderFailureResult() *MarginBatchPlaceOrderFailureResult`
-
-NewMarginBatchPlaceOrderFailureResult instantiates a new MarginBatchPlaceOrderFailureResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginBatchPlaceOrderFailureResultWithDefaults
-
-`func NewMarginBatchPlaceOrderFailureResultWithDefaults() *MarginBatchPlaceOrderFailureResult`
-
-NewMarginBatchPlaceOrderFailureResultWithDefaults instantiates a new MarginBatchPlaceOrderFailureResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginBatchPlaceOrderFailureResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginBatchPlaceOrderFailureResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginBatchPlaceOrderFailureResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginBatchPlaceOrderFailureResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetErrorMsg
-
-`func (o *MarginBatchPlaceOrderFailureResult) GetErrorMsg() string`
-
-GetErrorMsg returns the ErrorMsg field if non-nil, zero value otherwise.
-
-### GetErrorMsgOk
-
-`func (o *MarginBatchPlaceOrderFailureResult) GetErrorMsgOk() (*string, bool)`
-
-GetErrorMsgOk returns a tuple with the ErrorMsg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetErrorMsg
-
-`func (o *MarginBatchPlaceOrderFailureResult) SetErrorMsg(v string)`
-
-SetErrorMsg sets ErrorMsg field to given value.
-
-### HasErrorMsg
-
-`func (o *MarginBatchPlaceOrderFailureResult) HasErrorMsg() bool`
-
-HasErrorMsg returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderResult.md b/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderResult.md
deleted file mode 100644
index d7169e68..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginBatchPlaceOrderResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginBatchPlaceOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Failure** | Pointer to [**[]MarginBatchPlaceOrderFailureResult**](MarginBatchPlaceOrderFailureResult.md) | | [optional]
-**ResultList** | Pointer to [**[]MarginCancelOrderResult**](MarginCancelOrderResult.md) | | [optional]
-
-## Methods
-
-### NewMarginBatchPlaceOrderResult
-
-`func NewMarginBatchPlaceOrderResult() *MarginBatchPlaceOrderResult`
-
-NewMarginBatchPlaceOrderResult instantiates a new MarginBatchPlaceOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginBatchPlaceOrderResultWithDefaults
-
-`func NewMarginBatchPlaceOrderResultWithDefaults() *MarginBatchPlaceOrderResult`
-
-NewMarginBatchPlaceOrderResultWithDefaults instantiates a new MarginBatchPlaceOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetFailure
-
-`func (o *MarginBatchPlaceOrderResult) GetFailure() []MarginBatchPlaceOrderFailureResult`
-
-GetFailure returns the Failure field if non-nil, zero value otherwise.
-
-### GetFailureOk
-
-`func (o *MarginBatchPlaceOrderResult) GetFailureOk() (*[]MarginBatchPlaceOrderFailureResult, bool)`
-
-GetFailureOk returns a tuple with the Failure field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFailure
-
-`func (o *MarginBatchPlaceOrderResult) SetFailure(v []MarginBatchPlaceOrderFailureResult)`
-
-SetFailure sets Failure field to given value.
-
-### HasFailure
-
-`func (o *MarginBatchPlaceOrderResult) HasFailure() bool`
-
-HasFailure returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginBatchPlaceOrderResult) GetResultList() []MarginCancelOrderResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginBatchPlaceOrderResult) GetResultListOk() (*[]MarginCancelOrderResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginBatchPlaceOrderResult) SetResultList(v []MarginCancelOrderResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginBatchPlaceOrderResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCancelOrderFailureResult.md b/bitget-goland-sdk-open-api/docs/MarginCancelOrderFailureResult.md
deleted file mode 100644
index 22d2dbef..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCancelOrderFailureResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginCancelOrderFailureResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**ErrorMsg** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCancelOrderFailureResult
-
-`func NewMarginCancelOrderFailureResult() *MarginCancelOrderFailureResult`
-
-NewMarginCancelOrderFailureResult instantiates a new MarginCancelOrderFailureResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCancelOrderFailureResultWithDefaults
-
-`func NewMarginCancelOrderFailureResultWithDefaults() *MarginCancelOrderFailureResult`
-
-NewMarginCancelOrderFailureResultWithDefaults instantiates a new MarginCancelOrderFailureResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginCancelOrderFailureResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginCancelOrderFailureResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginCancelOrderFailureResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginCancelOrderFailureResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetErrorMsg
-
-`func (o *MarginCancelOrderFailureResult) GetErrorMsg() string`
-
-GetErrorMsg returns the ErrorMsg field if non-nil, zero value otherwise.
-
-### GetErrorMsgOk
-
-`func (o *MarginCancelOrderFailureResult) GetErrorMsgOk() (*string, bool)`
-
-GetErrorMsgOk returns a tuple with the ErrorMsg field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetErrorMsg
-
-`func (o *MarginCancelOrderFailureResult) SetErrorMsg(v string)`
-
-SetErrorMsg sets ErrorMsg field to given value.
-
-### HasErrorMsg
-
-`func (o *MarginCancelOrderFailureResult) HasErrorMsg() bool`
-
-HasErrorMsg returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginCancelOrderFailureResult) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginCancelOrderFailureResult) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginCancelOrderFailureResult) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginCancelOrderFailureResult) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCancelOrderRequest.md b/bitget-goland-sdk-open-api/docs/MarginCancelOrderRequest.md
deleted file mode 100644
index 3b1f9a82..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCancelOrderRequest.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# MarginCancelOrderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | clientOid | [optional]
-**OrderId** | Pointer to **string** | orderId | [optional]
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginCancelOrderRequest
-
-`func NewMarginCancelOrderRequest(symbol string, ) *MarginCancelOrderRequest`
-
-NewMarginCancelOrderRequest instantiates a new MarginCancelOrderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCancelOrderRequestWithDefaults
-
-`func NewMarginCancelOrderRequestWithDefaults() *MarginCancelOrderRequest`
-
-NewMarginCancelOrderRequestWithDefaults instantiates a new MarginCancelOrderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginCancelOrderRequest) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginCancelOrderRequest) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginCancelOrderRequest) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginCancelOrderRequest) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginCancelOrderRequest) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginCancelOrderRequest) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginCancelOrderRequest) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginCancelOrderRequest) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginCancelOrderRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginCancelOrderRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginCancelOrderRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCancelOrderResult.md b/bitget-goland-sdk-open-api/docs/MarginCancelOrderResult.md
deleted file mode 100644
index b3d0bd1a..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCancelOrderResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginCancelOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCancelOrderResult
-
-`func NewMarginCancelOrderResult() *MarginCancelOrderResult`
-
-NewMarginCancelOrderResult instantiates a new MarginCancelOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCancelOrderResultWithDefaults
-
-`func NewMarginCancelOrderResultWithDefaults() *MarginCancelOrderResult`
-
-NewMarginCancelOrderResultWithDefaults instantiates a new MarginCancelOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginCancelOrderResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginCancelOrderResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginCancelOrderResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginCancelOrderResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginCancelOrderResult) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginCancelOrderResult) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginCancelOrderResult) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginCancelOrderResult) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossAccountApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossAccountApi.md
deleted file mode 100644
index 8990062d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossAccountApi.md
+++ /dev/null
@@ -1,467 +0,0 @@
-# \MarginCrossAccountApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginCrossAccountAssets**](MarginCrossAccountApi.md#MarginCrossAccountAssets) | **Get** /api/margin/v1/cross/account/assets | assets
-[**MarginCrossAccountBorrow**](MarginCrossAccountApi.md#MarginCrossAccountBorrow) | **Post** /api/margin/v1/cross/account/borrow | borrow
-[**MarginCrossAccountMaxBorrowableAmount**](MarginCrossAccountApi.md#MarginCrossAccountMaxBorrowableAmount) | **Post** /api/margin/v1/cross/account/maxBorrowableAmount | maxBorrowableAmount
-[**MarginCrossAccountMaxTransferOutAmount**](MarginCrossAccountApi.md#MarginCrossAccountMaxTransferOutAmount) | **Get** /api/margin/v1/cross/account/maxTransferOutAmount | maxTransferOutAmount
-[**MarginCrossAccountRepay**](MarginCrossAccountApi.md#MarginCrossAccountRepay) | **Post** /api/margin/v1/cross/account/repay | repay
-[**MarginCrossAccountRiskRate**](MarginCrossAccountApi.md#MarginCrossAccountRiskRate) | **Get** /api/margin/v1/cross/account/riskRate | riskRate
-[**Void**](MarginCrossAccountApi.md#Void) | **Get** /api/margin/v1/cross/account/void | void
-
-
-
-## MarginCrossAccountAssets
-
-> ApiResponseResultOfListOfMarginCrossAssetsPopulationResult MarginCrossAccountAssets(ctx).Coin(coin).Execute()
-
-assets
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- coin := "USDT" // string | coin
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountAssets(context.Background()).Coin(coin).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountAssets``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountAssets`: ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountAssets`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountAssetsRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **coin** | **string** | coin |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginCrossAssetsPopulationResult**](ApiResponseResultOfListOfMarginCrossAssetsPopulationResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossAccountBorrow
-
-> ApiResponseResultOfMarginCrossBorrowLimitResult MarginCrossAccountBorrow(ctx).MarginCrossLimitRequest(marginCrossLimitRequest).Execute()
-
-borrow
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginCrossLimitRequest := *openapiclient.NewMarginCrossLimitRequest("1.0", "USDT") // MarginCrossLimitRequest | marginCrossLimitRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountBorrow(context.Background()).MarginCrossLimitRequest(marginCrossLimitRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountBorrow``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountBorrow`: ApiResponseResultOfMarginCrossBorrowLimitResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountBorrow`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountBorrowRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginCrossLimitRequest** | [**MarginCrossLimitRequest**](MarginCrossLimitRequest.md) | marginCrossLimitRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossBorrowLimitResult**](ApiResponseResultOfMarginCrossBorrowLimitResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossAccountMaxBorrowableAmount
-
-> ApiResponseResultOfMarginCrossMaxBorrowResult MarginCrossAccountMaxBorrowableAmount(ctx).MarginCrossMaxBorrowRequest(marginCrossMaxBorrowRequest).Execute()
-
-maxBorrowableAmount
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginCrossMaxBorrowRequest := *openapiclient.NewMarginCrossMaxBorrowRequest("USDT") // MarginCrossMaxBorrowRequest | marginCrossMaxBorrowRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountMaxBorrowableAmount(context.Background()).MarginCrossMaxBorrowRequest(marginCrossMaxBorrowRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountMaxBorrowableAmount``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountMaxBorrowableAmount`: ApiResponseResultOfMarginCrossMaxBorrowResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountMaxBorrowableAmount`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountMaxBorrowableAmountRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginCrossMaxBorrowRequest** | [**MarginCrossMaxBorrowRequest**](MarginCrossMaxBorrowRequest.md) | marginCrossMaxBorrowRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossMaxBorrowResult**](ApiResponseResultOfMarginCrossMaxBorrowResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossAccountMaxTransferOutAmount
-
-> ApiResponseResultOfMarginCrossAssetsResult MarginCrossAccountMaxTransferOutAmount(ctx).Coin(coin).Execute()
-
-maxTransferOutAmount
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- coin := "USDT" // string | coin
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountMaxTransferOutAmount(context.Background()).Coin(coin).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountMaxTransferOutAmount``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountMaxTransferOutAmount`: ApiResponseResultOfMarginCrossAssetsResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountMaxTransferOutAmount`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountMaxTransferOutAmountRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **coin** | **string** | coin |
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossAssetsResult**](ApiResponseResultOfMarginCrossAssetsResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossAccountRepay
-
-> ApiResponseResultOfMarginCrossRepayResult MarginCrossAccountRepay(ctx).MarginCrossRepayRequest(marginCrossRepayRequest).Execute()
-
-repay
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginCrossRepayRequest := *openapiclient.NewMarginCrossRepayRequest("USDT", "1.0") // MarginCrossRepayRequest | marginCrossRepayRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountRepay(context.Background()).MarginCrossRepayRequest(marginCrossRepayRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountRepay``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountRepay`: ApiResponseResultOfMarginCrossRepayResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountRepay`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountRepayRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginCrossRepayRequest** | [**MarginCrossRepayRequest**](MarginCrossRepayRequest.md) | marginCrossRepayRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossRepayResult**](ApiResponseResultOfMarginCrossRepayResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossAccountRiskRate
-
-> ApiResponseResultOfMarginCrossAssetsRiskResult MarginCrossAccountRiskRate(ctx).Execute()
-
-riskRate
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.MarginCrossAccountRiskRate(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.MarginCrossAccountRiskRate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossAccountRiskRate`: ApiResponseResultOfMarginCrossAssetsRiskResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.MarginCrossAccountRiskRate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossAccountRiskRateRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossAssetsRiskResult**](ApiResponseResultOfMarginCrossAssetsRiskResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## Void
-
-> ApiResponseResultOfVoid Void(ctx).Execute()
-
-void
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossAccountApi.Void(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossAccountApi.Void``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `Void`: ApiResponseResultOfVoid
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossAccountApi.Void`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiVoidRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfVoid**](ApiResponseResultOfVoid.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsPopulationResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossAssetsPopulationResult.md
deleted file mode 100644
index 6dd55618..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsPopulationResult.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginCrossAssetsPopulationResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Available** | Pointer to **string** | | [optional]
-**Borrow** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Frozen** | Pointer to **string** | | [optional]
-**Interest** | Pointer to **string** | | [optional]
-**Net** | Pointer to **string** | | [optional]
-**TotalAmount** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossAssetsPopulationResult
-
-`func NewMarginCrossAssetsPopulationResult() *MarginCrossAssetsPopulationResult`
-
-NewMarginCrossAssetsPopulationResult instantiates a new MarginCrossAssetsPopulationResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossAssetsPopulationResultWithDefaults
-
-`func NewMarginCrossAssetsPopulationResultWithDefaults() *MarginCrossAssetsPopulationResult`
-
-NewMarginCrossAssetsPopulationResultWithDefaults instantiates a new MarginCrossAssetsPopulationResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAvailable
-
-`func (o *MarginCrossAssetsPopulationResult) GetAvailable() string`
-
-GetAvailable returns the Available field if non-nil, zero value otherwise.
-
-### GetAvailableOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetAvailableOk() (*string, bool)`
-
-GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAvailable
-
-`func (o *MarginCrossAssetsPopulationResult) SetAvailable(v string)`
-
-SetAvailable sets Available field to given value.
-
-### HasAvailable
-
-`func (o *MarginCrossAssetsPopulationResult) HasAvailable() bool`
-
-HasAvailable returns a boolean if a field has been set.
-
-### GetBorrow
-
-`func (o *MarginCrossAssetsPopulationResult) GetBorrow() string`
-
-GetBorrow returns the Borrow field if non-nil, zero value otherwise.
-
-### GetBorrowOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetBorrowOk() (*string, bool)`
-
-GetBorrowOk returns a tuple with the Borrow field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrow
-
-`func (o *MarginCrossAssetsPopulationResult) SetBorrow(v string)`
-
-SetBorrow sets Borrow field to given value.
-
-### HasBorrow
-
-`func (o *MarginCrossAssetsPopulationResult) HasBorrow() bool`
-
-HasBorrow returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginCrossAssetsPopulationResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossAssetsPopulationResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossAssetsPopulationResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginCrossAssetsPopulationResult) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginCrossAssetsPopulationResult) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginCrossAssetsPopulationResult) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFrozen
-
-`func (o *MarginCrossAssetsPopulationResult) GetFrozen() string`
-
-GetFrozen returns the Frozen field if non-nil, zero value otherwise.
-
-### GetFrozenOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetFrozenOk() (*string, bool)`
-
-GetFrozenOk returns a tuple with the Frozen field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFrozen
-
-`func (o *MarginCrossAssetsPopulationResult) SetFrozen(v string)`
-
-SetFrozen sets Frozen field to given value.
-
-### HasFrozen
-
-`func (o *MarginCrossAssetsPopulationResult) HasFrozen() bool`
-
-HasFrozen returns a boolean if a field has been set.
-
-### GetInterest
-
-`func (o *MarginCrossAssetsPopulationResult) GetInterest() string`
-
-GetInterest returns the Interest field if non-nil, zero value otherwise.
-
-### GetInterestOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetInterestOk() (*string, bool)`
-
-GetInterestOk returns a tuple with the Interest field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterest
-
-`func (o *MarginCrossAssetsPopulationResult) SetInterest(v string)`
-
-SetInterest sets Interest field to given value.
-
-### HasInterest
-
-`func (o *MarginCrossAssetsPopulationResult) HasInterest() bool`
-
-HasInterest returns a boolean if a field has been set.
-
-### GetNet
-
-`func (o *MarginCrossAssetsPopulationResult) GetNet() string`
-
-GetNet returns the Net field if non-nil, zero value otherwise.
-
-### GetNetOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetNetOk() (*string, bool)`
-
-GetNetOk returns a tuple with the Net field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNet
-
-`func (o *MarginCrossAssetsPopulationResult) SetNet(v string)`
-
-SetNet sets Net field to given value.
-
-### HasNet
-
-`func (o *MarginCrossAssetsPopulationResult) HasNet() bool`
-
-HasNet returns a boolean if a field has been set.
-
-### GetTotalAmount
-
-`func (o *MarginCrossAssetsPopulationResult) GetTotalAmount() string`
-
-GetTotalAmount returns the TotalAmount field if non-nil, zero value otherwise.
-
-### GetTotalAmountOk
-
-`func (o *MarginCrossAssetsPopulationResult) GetTotalAmountOk() (*string, bool)`
-
-GetTotalAmountOk returns a tuple with the TotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAmount
-
-`func (o *MarginCrossAssetsPopulationResult) SetTotalAmount(v string)`
-
-SetTotalAmount sets TotalAmount field to given value.
-
-### HasTotalAmount
-
-`func (o *MarginCrossAssetsPopulationResult) HasTotalAmount() bool`
-
-HasTotalAmount returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossAssetsResult.md
deleted file mode 100644
index 849026f5..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginCrossAssetsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | Pointer to **string** | | [optional]
-**MaxTransferOutAmount** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossAssetsResult
-
-`func NewMarginCrossAssetsResult() *MarginCrossAssetsResult`
-
-NewMarginCrossAssetsResult instantiates a new MarginCrossAssetsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossAssetsResultWithDefaults
-
-`func NewMarginCrossAssetsResultWithDefaults() *MarginCrossAssetsResult`
-
-NewMarginCrossAssetsResultWithDefaults instantiates a new MarginCrossAssetsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginCrossAssetsResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossAssetsResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossAssetsResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossAssetsResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetMaxTransferOutAmount
-
-`func (o *MarginCrossAssetsResult) GetMaxTransferOutAmount() string`
-
-GetMaxTransferOutAmount returns the MaxTransferOutAmount field if non-nil, zero value otherwise.
-
-### GetMaxTransferOutAmountOk
-
-`func (o *MarginCrossAssetsResult) GetMaxTransferOutAmountOk() (*string, bool)`
-
-GetMaxTransferOutAmountOk returns a tuple with the MaxTransferOutAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTransferOutAmount
-
-`func (o *MarginCrossAssetsResult) SetMaxTransferOutAmount(v string)`
-
-SetMaxTransferOutAmount sets MaxTransferOutAmount field to given value.
-
-### HasMaxTransferOutAmount
-
-`func (o *MarginCrossAssetsResult) HasMaxTransferOutAmount() bool`
-
-HasMaxTransferOutAmount returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsRiskResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossAssetsRiskResult.md
deleted file mode 100644
index 7c0ba4f9..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossAssetsRiskResult.md
+++ /dev/null
@@ -1,56 +0,0 @@
-# MarginCrossAssetsRiskResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**RiskRate** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossAssetsRiskResult
-
-`func NewMarginCrossAssetsRiskResult() *MarginCrossAssetsRiskResult`
-
-NewMarginCrossAssetsRiskResult instantiates a new MarginCrossAssetsRiskResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossAssetsRiskResultWithDefaults
-
-`func NewMarginCrossAssetsRiskResultWithDefaults() *MarginCrossAssetsRiskResult`
-
-NewMarginCrossAssetsRiskResultWithDefaults instantiates a new MarginCrossAssetsRiskResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetRiskRate
-
-`func (o *MarginCrossAssetsRiskResult) GetRiskRate() string`
-
-GetRiskRate returns the RiskRate field if non-nil, zero value otherwise.
-
-### GetRiskRateOk
-
-`func (o *MarginCrossAssetsRiskResult) GetRiskRateOk() (*string, bool)`
-
-GetRiskRateOk returns a tuple with the RiskRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRiskRate
-
-`func (o *MarginCrossAssetsRiskResult) SetRiskRate(v string)`
-
-SetRiskRate sets RiskRate field to given value.
-
-### HasRiskRate
-
-`func (o *MarginCrossAssetsRiskResult) HasRiskRate() bool`
-
-HasRiskRate returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossBorrowApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossBorrowApi.md
deleted file mode 100644
index e982bec4..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossBorrowApi.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# \MarginCrossBorrowApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CrossLoanList**](MarginCrossBorrowApi.md#CrossLoanList) | **Get** /api/margin/v1/cross/loan/list | list
-
-
-
-## CrossLoanList
-
-> ApiResponseResultOfMarginLoanInfoResult CrossLoanList(ctx).StartTime(startTime).Coin(coin).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- endTime := "1678193338000" // string | endTime (optional)
- loanId := "loanId_example" // string | loanId (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "minId" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossBorrowApi.CrossLoanList(context.Background()).StartTime(startTime).Coin(coin).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossBorrowApi.CrossLoanList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CrossLoanList`: ApiResponseResultOfMarginLoanInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossBorrowApi.CrossLoanList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCrossLoanListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **endTime** | **string** | endTime |
- **loanId** | **string** | loanId |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginLoanInfoResult**](ApiResponseResultOfMarginLoanInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossBorrowLimitResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossBorrowLimitResult.md
deleted file mode 100644
index 641fe687..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossBorrowLimitResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginCrossBorrowLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BorrowAmount** | Pointer to **string** | | [optional]
-**ClientOid** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossBorrowLimitResult
-
-`func NewMarginCrossBorrowLimitResult() *MarginCrossBorrowLimitResult`
-
-NewMarginCrossBorrowLimitResult instantiates a new MarginCrossBorrowLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossBorrowLimitResultWithDefaults
-
-`func NewMarginCrossBorrowLimitResultWithDefaults() *MarginCrossBorrowLimitResult`
-
-NewMarginCrossBorrowLimitResultWithDefaults instantiates a new MarginCrossBorrowLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBorrowAmount
-
-`func (o *MarginCrossBorrowLimitResult) GetBorrowAmount() string`
-
-GetBorrowAmount returns the BorrowAmount field if non-nil, zero value otherwise.
-
-### GetBorrowAmountOk
-
-`func (o *MarginCrossBorrowLimitResult) GetBorrowAmountOk() (*string, bool)`
-
-GetBorrowAmountOk returns a tuple with the BorrowAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrowAmount
-
-`func (o *MarginCrossBorrowLimitResult) SetBorrowAmount(v string)`
-
-SetBorrowAmount sets BorrowAmount field to given value.
-
-### HasBorrowAmount
-
-`func (o *MarginCrossBorrowLimitResult) HasBorrowAmount() bool`
-
-HasBorrowAmount returns a boolean if a field has been set.
-
-### GetClientOid
-
-`func (o *MarginCrossBorrowLimitResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginCrossBorrowLimitResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginCrossBorrowLimitResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginCrossBorrowLimitResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginCrossBorrowLimitResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossBorrowLimitResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossBorrowLimitResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossBorrowLimitResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowInfo.md b/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowInfo.md
deleted file mode 100644
index 2f4495f5..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowInfo.md
+++ /dev/null
@@ -1,212 +0,0 @@
-# MarginCrossFinFlowInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Balance** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Fee** | Pointer to **string** | | [optional]
-**MarginId** | Pointer to **string** | | [optional]
-**MarginType** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossFinFlowInfo
-
-`func NewMarginCrossFinFlowInfo() *MarginCrossFinFlowInfo`
-
-NewMarginCrossFinFlowInfo instantiates a new MarginCrossFinFlowInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossFinFlowInfoWithDefaults
-
-`func NewMarginCrossFinFlowInfoWithDefaults() *MarginCrossFinFlowInfo`
-
-NewMarginCrossFinFlowInfoWithDefaults instantiates a new MarginCrossFinFlowInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginCrossFinFlowInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginCrossFinFlowInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginCrossFinFlowInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginCrossFinFlowInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetBalance
-
-`func (o *MarginCrossFinFlowInfo) GetBalance() string`
-
-GetBalance returns the Balance field if non-nil, zero value otherwise.
-
-### GetBalanceOk
-
-`func (o *MarginCrossFinFlowInfo) GetBalanceOk() (*string, bool)`
-
-GetBalanceOk returns a tuple with the Balance field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBalance
-
-`func (o *MarginCrossFinFlowInfo) SetBalance(v string)`
-
-SetBalance sets Balance field to given value.
-
-### HasBalance
-
-`func (o *MarginCrossFinFlowInfo) HasBalance() bool`
-
-HasBalance returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginCrossFinFlowInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossFinFlowInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossFinFlowInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossFinFlowInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginCrossFinFlowInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginCrossFinFlowInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginCrossFinFlowInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginCrossFinFlowInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFee
-
-`func (o *MarginCrossFinFlowInfo) GetFee() string`
-
-GetFee returns the Fee field if non-nil, zero value otherwise.
-
-### GetFeeOk
-
-`func (o *MarginCrossFinFlowInfo) GetFeeOk() (*string, bool)`
-
-GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFee
-
-`func (o *MarginCrossFinFlowInfo) SetFee(v string)`
-
-SetFee sets Fee field to given value.
-
-### HasFee
-
-`func (o *MarginCrossFinFlowInfo) HasFee() bool`
-
-HasFee returns a boolean if a field has been set.
-
-### GetMarginId
-
-`func (o *MarginCrossFinFlowInfo) GetMarginId() string`
-
-GetMarginId returns the MarginId field if non-nil, zero value otherwise.
-
-### GetMarginIdOk
-
-`func (o *MarginCrossFinFlowInfo) GetMarginIdOk() (*string, bool)`
-
-GetMarginIdOk returns a tuple with the MarginId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMarginId
-
-`func (o *MarginCrossFinFlowInfo) SetMarginId(v string)`
-
-SetMarginId sets MarginId field to given value.
-
-### HasMarginId
-
-`func (o *MarginCrossFinFlowInfo) HasMarginId() bool`
-
-HasMarginId returns a boolean if a field has been set.
-
-### GetMarginType
-
-`func (o *MarginCrossFinFlowInfo) GetMarginType() string`
-
-GetMarginType returns the MarginType field if non-nil, zero value otherwise.
-
-### GetMarginTypeOk
-
-`func (o *MarginCrossFinFlowInfo) GetMarginTypeOk() (*string, bool)`
-
-GetMarginTypeOk returns a tuple with the MarginType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMarginType
-
-`func (o *MarginCrossFinFlowInfo) SetMarginType(v string)`
-
-SetMarginType sets MarginType field to given value.
-
-### HasMarginType
-
-`func (o *MarginCrossFinFlowInfo) HasMarginType() bool`
-
-HasMarginType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowResult.md
deleted file mode 100644
index 4efffe03..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossFinFlowResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginCrossFinFlowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginCrossFinFlowInfo**](MarginCrossFinFlowInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginCrossFinFlowResult
-
-`func NewMarginCrossFinFlowResult() *MarginCrossFinFlowResult`
-
-NewMarginCrossFinFlowResult instantiates a new MarginCrossFinFlowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossFinFlowResultWithDefaults
-
-`func NewMarginCrossFinFlowResultWithDefaults() *MarginCrossFinFlowResult`
-
-NewMarginCrossFinFlowResultWithDefaults instantiates a new MarginCrossFinFlowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginCrossFinFlowResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginCrossFinFlowResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginCrossFinFlowResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginCrossFinFlowResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginCrossFinFlowResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginCrossFinFlowResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginCrossFinFlowResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginCrossFinFlowResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginCrossFinFlowResult) GetResultList() []MarginCrossFinFlowInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginCrossFinFlowResult) GetResultListOk() (*[]MarginCrossFinFlowInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginCrossFinFlowResult) SetResultList(v []MarginCrossFinFlowInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginCrossFinFlowResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossFinflowApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossFinflowApi.md
deleted file mode 100644
index 30841c60..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossFinflowApi.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# \MarginCrossFinflowApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CrossFinList**](MarginCrossFinflowApi.md#CrossFinList) | **Get** /api/margin/v1/cross/fin/list | list
-
-
-
-## CrossFinList
-
-> ApiResponseResultOfMarginCrossFinFlowResult CrossFinList(ctx).StartTime(startTime).Coin(coin).EndTime(endTime).MarginType(marginType).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- endTime := "1678193338000" // string | endTime (optional)
- marginType := "transfer_in" // string | marginType (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "minId" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossFinflowApi.CrossFinList(context.Background()).StartTime(startTime).Coin(coin).EndTime(endTime).MarginType(marginType).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossFinflowApi.CrossFinList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CrossFinList`: ApiResponseResultOfMarginCrossFinFlowResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossFinflowApi.CrossFinList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCrossFinListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **endTime** | **string** | endTime |
- **marginType** | **string** | marginType |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginCrossFinFlowResult**](ApiResponseResultOfMarginCrossFinFlowResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossInterestApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossInterestApi.md
deleted file mode 100644
index 49d4bbe8..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossInterestApi.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# \MarginCrossInterestApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CrossInterestList**](MarginCrossInterestApi.md#CrossInterestList) | **Get** /api/margin/v1/cross/interest/list | list
-
-
-
-## CrossInterestList
-
-> ApiResponseResultOfMarginInterestInfoResult CrossInterestList(ctx).StartTime(startTime).Coin(coin).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193138000" // string | startTime
- coin := "USDT" // string | coin (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossInterestApi.CrossInterestList(context.Background()).StartTime(startTime).Coin(coin).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossInterestApi.CrossInterestList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CrossInterestList`: ApiResponseResultOfMarginInterestInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossInterestApi.CrossInterestList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCrossInterestListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginInterestInfoResult**](ApiResponseResultOfMarginInterestInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossLevelResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossLevelResult.md
deleted file mode 100644
index d80672fb..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossLevelResult.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# MarginCrossLevelResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | Pointer to **string** | | [optional]
-**Leverage** | Pointer to **string** | | [optional]
-**MaintainMarginRate** | Pointer to **string** | | [optional]
-**MaxBorrowableAmount** | Pointer to **string** | | [optional]
-**Tier** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossLevelResult
-
-`func NewMarginCrossLevelResult() *MarginCrossLevelResult`
-
-NewMarginCrossLevelResult instantiates a new MarginCrossLevelResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossLevelResultWithDefaults
-
-`func NewMarginCrossLevelResultWithDefaults() *MarginCrossLevelResult`
-
-NewMarginCrossLevelResultWithDefaults instantiates a new MarginCrossLevelResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginCrossLevelResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossLevelResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossLevelResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossLevelResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetLeverage
-
-`func (o *MarginCrossLevelResult) GetLeverage() string`
-
-GetLeverage returns the Leverage field if non-nil, zero value otherwise.
-
-### GetLeverageOk
-
-`func (o *MarginCrossLevelResult) GetLeverageOk() (*string, bool)`
-
-GetLeverageOk returns a tuple with the Leverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLeverage
-
-`func (o *MarginCrossLevelResult) SetLeverage(v string)`
-
-SetLeverage sets Leverage field to given value.
-
-### HasLeverage
-
-`func (o *MarginCrossLevelResult) HasLeverage() bool`
-
-HasLeverage returns a boolean if a field has been set.
-
-### GetMaintainMarginRate
-
-`func (o *MarginCrossLevelResult) GetMaintainMarginRate() string`
-
-GetMaintainMarginRate returns the MaintainMarginRate field if non-nil, zero value otherwise.
-
-### GetMaintainMarginRateOk
-
-`func (o *MarginCrossLevelResult) GetMaintainMarginRateOk() (*string, bool)`
-
-GetMaintainMarginRateOk returns a tuple with the MaintainMarginRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaintainMarginRate
-
-`func (o *MarginCrossLevelResult) SetMaintainMarginRate(v string)`
-
-SetMaintainMarginRate sets MaintainMarginRate field to given value.
-
-### HasMaintainMarginRate
-
-`func (o *MarginCrossLevelResult) HasMaintainMarginRate() bool`
-
-HasMaintainMarginRate returns a boolean if a field has been set.
-
-### GetMaxBorrowableAmount
-
-`func (o *MarginCrossLevelResult) GetMaxBorrowableAmount() string`
-
-GetMaxBorrowableAmount returns the MaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetMaxBorrowableAmountOk
-
-`func (o *MarginCrossLevelResult) GetMaxBorrowableAmountOk() (*string, bool)`
-
-GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxBorrowableAmount
-
-`func (o *MarginCrossLevelResult) SetMaxBorrowableAmount(v string)`
-
-SetMaxBorrowableAmount sets MaxBorrowableAmount field to given value.
-
-### HasMaxBorrowableAmount
-
-`func (o *MarginCrossLevelResult) HasMaxBorrowableAmount() bool`
-
-HasMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetTier
-
-`func (o *MarginCrossLevelResult) GetTier() string`
-
-GetTier returns the Tier field if non-nil, zero value otherwise.
-
-### GetTierOk
-
-`func (o *MarginCrossLevelResult) GetTierOk() (*string, bool)`
-
-GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTier
-
-`func (o *MarginCrossLevelResult) SetTier(v string)`
-
-SetTier sets Tier field to given value.
-
-### HasTier
-
-`func (o *MarginCrossLevelResult) HasTier() bool`
-
-HasTier returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossLimitRequest.md b/bitget-goland-sdk-open-api/docs/MarginCrossLimitRequest.md
deleted file mode 100644
index 814551ba..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossLimitRequest.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# MarginCrossLimitRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BorrowAmount** | **string** | borrowAmount |
-**Coin** | **string** | coin |
-
-## Methods
-
-### NewMarginCrossLimitRequest
-
-`func NewMarginCrossLimitRequest(borrowAmount string, coin string, ) *MarginCrossLimitRequest`
-
-NewMarginCrossLimitRequest instantiates a new MarginCrossLimitRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossLimitRequestWithDefaults
-
-`func NewMarginCrossLimitRequestWithDefaults() *MarginCrossLimitRequest`
-
-NewMarginCrossLimitRequestWithDefaults instantiates a new MarginCrossLimitRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBorrowAmount
-
-`func (o *MarginCrossLimitRequest) GetBorrowAmount() string`
-
-GetBorrowAmount returns the BorrowAmount field if non-nil, zero value otherwise.
-
-### GetBorrowAmountOk
-
-`func (o *MarginCrossLimitRequest) GetBorrowAmountOk() (*string, bool)`
-
-GetBorrowAmountOk returns a tuple with the BorrowAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrowAmount
-
-`func (o *MarginCrossLimitRequest) SetBorrowAmount(v string)`
-
-SetBorrowAmount sets BorrowAmount field to given value.
-
-
-### GetCoin
-
-`func (o *MarginCrossLimitRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossLimitRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossLimitRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossLiquidationApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossLiquidationApi.md
deleted file mode 100644
index bba4089f..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossLiquidationApi.md
+++ /dev/null
@@ -1,81 +0,0 @@
-# \MarginCrossLiquidationApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CrossLiquidationList**](MarginCrossLiquidationApi.md#CrossLiquidationList) | **Get** /api/margin/v1/cross/liquidation/list | list
-
-
-
-## CrossLiquidationList
-
-> ApiResponseResultOfMarginLiquidationInfoResult CrossLiquidationList(ctx).StartTime(startTime).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193138000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossLiquidationApi.CrossLiquidationList(context.Background()).StartTime(startTime).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossLiquidationApi.CrossLiquidationList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CrossLiquidationList`: ApiResponseResultOfMarginLiquidationInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossLiquidationApi.CrossLiquidationList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCrossLiquidationListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginLiquidationInfoResult**](ApiResponseResultOfMarginLiquidationInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowRequest.md b/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowRequest.md
deleted file mode 100644
index 619c40d2..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# MarginCrossMaxBorrowRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | **string** | coin |
-
-## Methods
-
-### NewMarginCrossMaxBorrowRequest
-
-`func NewMarginCrossMaxBorrowRequest(coin string, ) *MarginCrossMaxBorrowRequest`
-
-NewMarginCrossMaxBorrowRequest instantiates a new MarginCrossMaxBorrowRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossMaxBorrowRequestWithDefaults
-
-`func NewMarginCrossMaxBorrowRequestWithDefaults() *MarginCrossMaxBorrowRequest`
-
-NewMarginCrossMaxBorrowRequestWithDefaults instantiates a new MarginCrossMaxBorrowRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginCrossMaxBorrowRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossMaxBorrowRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossMaxBorrowRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowResult.md
deleted file mode 100644
index e05d7877..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossMaxBorrowResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginCrossMaxBorrowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | Pointer to **string** | | [optional]
-**MaxBorrowableAmount** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossMaxBorrowResult
-
-`func NewMarginCrossMaxBorrowResult() *MarginCrossMaxBorrowResult`
-
-NewMarginCrossMaxBorrowResult instantiates a new MarginCrossMaxBorrowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossMaxBorrowResultWithDefaults
-
-`func NewMarginCrossMaxBorrowResultWithDefaults() *MarginCrossMaxBorrowResult`
-
-NewMarginCrossMaxBorrowResultWithDefaults instantiates a new MarginCrossMaxBorrowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginCrossMaxBorrowResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossMaxBorrowResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossMaxBorrowResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossMaxBorrowResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetMaxBorrowableAmount
-
-`func (o *MarginCrossMaxBorrowResult) GetMaxBorrowableAmount() string`
-
-GetMaxBorrowableAmount returns the MaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetMaxBorrowableAmountOk
-
-`func (o *MarginCrossMaxBorrowResult) GetMaxBorrowableAmountOk() (*string, bool)`
-
-GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxBorrowableAmount
-
-`func (o *MarginCrossMaxBorrowResult) SetMaxBorrowableAmount(v string)`
-
-SetMaxBorrowableAmount sets MaxBorrowableAmount field to given value.
-
-### HasMaxBorrowableAmount
-
-`func (o *MarginCrossMaxBorrowResult) HasMaxBorrowableAmount() bool`
-
-HasMaxBorrowableAmount returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossOrderApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossOrderApi.md
deleted file mode 100644
index c559a741..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossOrderApi.md
+++ /dev/null
@@ -1,513 +0,0 @@
-# \MarginCrossOrderApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginCrossBatchCancelOrder**](MarginCrossOrderApi.md#MarginCrossBatchCancelOrder) | **Post** /api/margin/v1/cross/order/batchCancelOrder | batchCancelOrder
-[**MarginCrossBatchPlaceOrder**](MarginCrossOrderApi.md#MarginCrossBatchPlaceOrder) | **Post** /api/margin/v1/cross/order/batchPlaceOrder | batchPlaceOrder
-[**MarginCrossCancelOrder**](MarginCrossOrderApi.md#MarginCrossCancelOrder) | **Post** /api/margin/v1/cross/order/cancelOrder | cancelOrder
-[**MarginCrossFills**](MarginCrossOrderApi.md#MarginCrossFills) | **Get** /api/margin/v1/cross/order/fills | fills
-[**MarginCrossHistoryOrders**](MarginCrossOrderApi.md#MarginCrossHistoryOrders) | **Get** /api/margin/v1/cross/order/history | history
-[**MarginCrossOpenOrders**](MarginCrossOrderApi.md#MarginCrossOpenOrders) | **Get** /api/margin/v1/cross/order/openOrders | openOrders
-[**MarginCrossPlaceOrder**](MarginCrossOrderApi.md#MarginCrossPlaceOrder) | **Post** /api/margin/v1/cross/order/placeOrder | placeOrder
-
-
-
-## MarginCrossBatchCancelOrder
-
-> ApiResponseResultOfMarginBatchCancelOrderResult MarginCrossBatchCancelOrder(ctx).MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest).Execute()
-
-batchCancelOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginBatchCancelOrderRequest := *openapiclient.NewMarginBatchCancelOrderRequest("BTCUSDT_SPBL") // MarginBatchCancelOrderRequest | marginBatchCancelOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossBatchCancelOrder(context.Background()).MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossBatchCancelOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossBatchCancelOrder`: ApiResponseResultOfMarginBatchCancelOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossBatchCancelOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossBatchCancelOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginBatchCancelOrderRequest** | [**MarginBatchCancelOrderRequest**](MarginBatchCancelOrderRequest.md) | marginBatchCancelOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchCancelOrderResult**](ApiResponseResultOfMarginBatchCancelOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossBatchPlaceOrder
-
-> ApiResponseResultOfMarginBatchPlaceOrderResult MarginCrossBatchPlaceOrder(ctx).MarginOrderRequest(marginOrderRequest).Execute()
-
-batchPlaceOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginOrderRequest := *openapiclient.NewMarginBatchOrdersRequest("BTCUSDT_SPBL") // MarginBatchOrdersRequest | marginOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossBatchPlaceOrder(context.Background()).MarginOrderRequest(marginOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossBatchPlaceOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossBatchPlaceOrder`: ApiResponseResultOfMarginBatchPlaceOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossBatchPlaceOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossBatchPlaceOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginOrderRequest** | [**MarginBatchOrdersRequest**](MarginBatchOrdersRequest.md) | marginOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchPlaceOrderResult**](ApiResponseResultOfMarginBatchPlaceOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossCancelOrder
-
-> ApiResponseResultOfMarginBatchCancelOrderResult MarginCrossCancelOrder(ctx).MarginCancelOrderRequest(marginCancelOrderRequest).Execute()
-
-cancelOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginCancelOrderRequest := *openapiclient.NewMarginCancelOrderRequest("BTCUSDT_SPBL") // MarginCancelOrderRequest | marginCancelOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossCancelOrder(context.Background()).MarginCancelOrderRequest(marginCancelOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossCancelOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossCancelOrder`: ApiResponseResultOfMarginBatchCancelOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossCancelOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossCancelOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginCancelOrderRequest** | [**MarginCancelOrderRequest**](MarginCancelOrderRequest.md) | marginCancelOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchCancelOrderResult**](ApiResponseResultOfMarginBatchCancelOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossFills
-
-> ApiResponseResultOfMarginTradeDetailInfoResult MarginCrossFills(ctx).Symbol(symbol).StartTime(startTime).Source(source).EndTime(endTime).OrderId(orderId).LastFillId(lastFillId).PageSize(pageSize).Execute()
-
-fills
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- source := "API" // string | source (optional)
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- lastFillId := "lastFillId_example" // string | lastFillId (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossFills(context.Background()).Symbol(symbol).StartTime(startTime).Source(source).EndTime(endTime).OrderId(orderId).LastFillId(lastFillId).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossFills``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossFills`: ApiResponseResultOfMarginTradeDetailInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossFills`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossFillsRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **source** | **string** | source |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **lastFillId** | **string** | lastFillId |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMarginTradeDetailInfoResult**](ApiResponseResultOfMarginTradeDetailInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossHistoryOrders
-
-> ApiResponseResultOfMarginOpenOrderInfoResult MarginCrossHistoryOrders(ctx).Symbol(symbol).StartTime(startTime).Source(source).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).MinId(minId).PageSize(pageSize).Execute()
-
-history
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- source := "API" // string | source (optional)
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- clientOid := "123456" // string | clientOid (optional)
- minId := "minId_example" // string | minId (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossHistoryOrders(context.Background()).Symbol(symbol).StartTime(startTime).Source(source).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).MinId(minId).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossHistoryOrders``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossHistoryOrders`: ApiResponseResultOfMarginOpenOrderInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossHistoryOrders`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossHistoryOrdersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **source** | **string** | source |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **clientOid** | **string** | clientOid |
- **minId** | **string** | minId |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMarginOpenOrderInfoResult**](ApiResponseResultOfMarginOpenOrderInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossOpenOrders
-
-> ApiResponseResultOfMarginOpenOrderInfoResult MarginCrossOpenOrders(ctx).Symbol(symbol).StartTime(startTime).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).Execute()
-
-openOrders
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- clientOid := "123456" // string | clientOid (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossOpenOrders(context.Background()).Symbol(symbol).StartTime(startTime).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossOpenOrders``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossOpenOrders`: ApiResponseResultOfMarginOpenOrderInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossOpenOrders`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossOpenOrdersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **clientOid** | **string** | clientOid |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMarginOpenOrderInfoResult**](ApiResponseResultOfMarginOpenOrderInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossPlaceOrder
-
-> ApiResponseResultOfMarginPlaceOrderResult MarginCrossPlaceOrder(ctx).MarginOrderRequest(marginOrderRequest).Execute()
-
-placeOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginOrderRequest := *openapiclient.NewMarginOrderRequest("normal/autoLoan/autoRepay", "limit/market", "sell/buy", "BTCUSDT_SPBL") // MarginOrderRequest | marginOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossOrderApi.MarginCrossPlaceOrder(context.Background()).MarginOrderRequest(marginOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossOrderApi.MarginCrossPlaceOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossPlaceOrder`: ApiResponseResultOfMarginPlaceOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossOrderApi.MarginCrossPlaceOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossPlaceOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginOrderRequest** | [**MarginOrderRequest**](MarginOrderRequest.md) | marginOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginPlaceOrderResult**](ApiResponseResultOfMarginPlaceOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossPublicApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossPublicApi.md
deleted file mode 100644
index fd44f913..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossPublicApi.md
+++ /dev/null
@@ -1,142 +0,0 @@
-# \MarginCrossPublicApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginCrossPublicInterestRateAndLimit**](MarginCrossPublicApi.md#MarginCrossPublicInterestRateAndLimit) | **Get** /api/margin/v1/cross/public/interestRateAndLimit | interestRateAndLimit
-[**MarginCrossPublicTierData**](MarginCrossPublicApi.md#MarginCrossPublicTierData) | **Get** /api/margin/v1/cross/public/tierData | tierData
-
-
-
-## MarginCrossPublicInterestRateAndLimit
-
-> ApiResponseResultOfListOfMarginCrossRateAndLimitResult MarginCrossPublicInterestRateAndLimit(ctx).Coin(coin).Execute()
-
-interestRateAndLimit
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- coin := "USDT" // string | coin
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossPublicApi.MarginCrossPublicInterestRateAndLimit(context.Background()).Coin(coin).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossPublicApi.MarginCrossPublicInterestRateAndLimit``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossPublicInterestRateAndLimit`: ApiResponseResultOfListOfMarginCrossRateAndLimitResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossPublicApi.MarginCrossPublicInterestRateAndLimit`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossPublicInterestRateAndLimitRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **coin** | **string** | coin |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginCrossRateAndLimitResult**](ApiResponseResultOfListOfMarginCrossRateAndLimitResult.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginCrossPublicTierData
-
-> ApiResponseResultOfListOfMarginCrossLevelResult MarginCrossPublicTierData(ctx).Coin(coin).Execute()
-
-tierData
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- coin := "USDT" // string | coin
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossPublicApi.MarginCrossPublicTierData(context.Background()).Coin(coin).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossPublicApi.MarginCrossPublicTierData``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginCrossPublicTierData`: ApiResponseResultOfListOfMarginCrossLevelResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossPublicApi.MarginCrossPublicTierData`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginCrossPublicTierDataRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **coin** | **string** | coin |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginCrossLevelResult**](ApiResponseResultOfListOfMarginCrossLevelResult.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossRateAndLimitResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossRateAndLimitResult.md
deleted file mode 100644
index 27c6d57e..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossRateAndLimitResult.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginCrossRateAndLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BorrowAble** | Pointer to **bool** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**DailyInterestRate** | Pointer to **string** | | [optional]
-**Leverage** | Pointer to **string** | | [optional]
-**MaxBorrowableAmount** | Pointer to **string** | | [optional]
-**TransferInAble** | Pointer to **bool** | | [optional]
-**Vips** | Pointer to [**[]MarginCrossVipResult**](MarginCrossVipResult.md) | | [optional]
-**YearlyInterestRate** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossRateAndLimitResult
-
-`func NewMarginCrossRateAndLimitResult() *MarginCrossRateAndLimitResult`
-
-NewMarginCrossRateAndLimitResult instantiates a new MarginCrossRateAndLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossRateAndLimitResultWithDefaults
-
-`func NewMarginCrossRateAndLimitResultWithDefaults() *MarginCrossRateAndLimitResult`
-
-NewMarginCrossRateAndLimitResultWithDefaults instantiates a new MarginCrossRateAndLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBorrowAble
-
-`func (o *MarginCrossRateAndLimitResult) GetBorrowAble() bool`
-
-GetBorrowAble returns the BorrowAble field if non-nil, zero value otherwise.
-
-### GetBorrowAbleOk
-
-`func (o *MarginCrossRateAndLimitResult) GetBorrowAbleOk() (*bool, bool)`
-
-GetBorrowAbleOk returns a tuple with the BorrowAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrowAble
-
-`func (o *MarginCrossRateAndLimitResult) SetBorrowAble(v bool)`
-
-SetBorrowAble sets BorrowAble field to given value.
-
-### HasBorrowAble
-
-`func (o *MarginCrossRateAndLimitResult) HasBorrowAble() bool`
-
-HasBorrowAble returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginCrossRateAndLimitResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossRateAndLimitResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossRateAndLimitResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossRateAndLimitResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetDailyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) GetDailyInterestRate() string`
-
-GetDailyInterestRate returns the DailyInterestRate field if non-nil, zero value otherwise.
-
-### GetDailyInterestRateOk
-
-`func (o *MarginCrossRateAndLimitResult) GetDailyInterestRateOk() (*string, bool)`
-
-GetDailyInterestRateOk returns a tuple with the DailyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDailyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) SetDailyInterestRate(v string)`
-
-SetDailyInterestRate sets DailyInterestRate field to given value.
-
-### HasDailyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) HasDailyInterestRate() bool`
-
-HasDailyInterestRate returns a boolean if a field has been set.
-
-### GetLeverage
-
-`func (o *MarginCrossRateAndLimitResult) GetLeverage() string`
-
-GetLeverage returns the Leverage field if non-nil, zero value otherwise.
-
-### GetLeverageOk
-
-`func (o *MarginCrossRateAndLimitResult) GetLeverageOk() (*string, bool)`
-
-GetLeverageOk returns a tuple with the Leverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLeverage
-
-`func (o *MarginCrossRateAndLimitResult) SetLeverage(v string)`
-
-SetLeverage sets Leverage field to given value.
-
-### HasLeverage
-
-`func (o *MarginCrossRateAndLimitResult) HasLeverage() bool`
-
-HasLeverage returns a boolean if a field has been set.
-
-### GetMaxBorrowableAmount
-
-`func (o *MarginCrossRateAndLimitResult) GetMaxBorrowableAmount() string`
-
-GetMaxBorrowableAmount returns the MaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetMaxBorrowableAmountOk
-
-`func (o *MarginCrossRateAndLimitResult) GetMaxBorrowableAmountOk() (*string, bool)`
-
-GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxBorrowableAmount
-
-`func (o *MarginCrossRateAndLimitResult) SetMaxBorrowableAmount(v string)`
-
-SetMaxBorrowableAmount sets MaxBorrowableAmount field to given value.
-
-### HasMaxBorrowableAmount
-
-`func (o *MarginCrossRateAndLimitResult) HasMaxBorrowableAmount() bool`
-
-HasMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetTransferInAble
-
-`func (o *MarginCrossRateAndLimitResult) GetTransferInAble() bool`
-
-GetTransferInAble returns the TransferInAble field if non-nil, zero value otherwise.
-
-### GetTransferInAbleOk
-
-`func (o *MarginCrossRateAndLimitResult) GetTransferInAbleOk() (*bool, bool)`
-
-GetTransferInAbleOk returns a tuple with the TransferInAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTransferInAble
-
-`func (o *MarginCrossRateAndLimitResult) SetTransferInAble(v bool)`
-
-SetTransferInAble sets TransferInAble field to given value.
-
-### HasTransferInAble
-
-`func (o *MarginCrossRateAndLimitResult) HasTransferInAble() bool`
-
-HasTransferInAble returns a boolean if a field has been set.
-
-### GetVips
-
-`func (o *MarginCrossRateAndLimitResult) GetVips() []MarginCrossVipResult`
-
-GetVips returns the Vips field if non-nil, zero value otherwise.
-
-### GetVipsOk
-
-`func (o *MarginCrossRateAndLimitResult) GetVipsOk() (*[]MarginCrossVipResult, bool)`
-
-GetVipsOk returns a tuple with the Vips field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetVips
-
-`func (o *MarginCrossRateAndLimitResult) SetVips(v []MarginCrossVipResult)`
-
-SetVips sets Vips field to given value.
-
-### HasVips
-
-`func (o *MarginCrossRateAndLimitResult) HasVips() bool`
-
-HasVips returns a boolean if a field has been set.
-
-### GetYearlyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) GetYearlyInterestRate() string`
-
-GetYearlyInterestRate returns the YearlyInterestRate field if non-nil, zero value otherwise.
-
-### GetYearlyInterestRateOk
-
-`func (o *MarginCrossRateAndLimitResult) GetYearlyInterestRateOk() (*string, bool)`
-
-GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetYearlyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) SetYearlyInterestRate(v string)`
-
-SetYearlyInterestRate sets YearlyInterestRate field to given value.
-
-### HasYearlyInterestRate
-
-`func (o *MarginCrossRateAndLimitResult) HasYearlyInterestRate() bool`
-
-HasYearlyInterestRate returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossRepayApi.md b/bitget-goland-sdk-open-api/docs/MarginCrossRepayApi.md
deleted file mode 100644
index 5ee22662..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossRepayApi.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# \MarginCrossRepayApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**CrossRepayList**](MarginCrossRepayApi.md#CrossRepayList) | **Get** /api/margin/v1/cross/repay/list | list
-
-
-
-## CrossRepayList
-
-> ApiResponseResultOfMarginRepayInfoResult CrossRepayList(ctx).StartTime(startTime).Coin(coin).RepayId(repayId).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- repayId := "32428347234" // string | repayId (optional)
- endTime := "1678193338000" // string | endTime (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "minId" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginCrossRepayApi.CrossRepayList(context.Background()).StartTime(startTime).Coin(coin).RepayId(repayId).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginCrossRepayApi.CrossRepayList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `CrossRepayList`: ApiResponseResultOfMarginRepayInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginCrossRepayApi.CrossRepayList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiCrossRepayListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **repayId** | **string** | repayId |
- **endTime** | **string** | endTime |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginRepayInfoResult**](ApiResponseResultOfMarginRepayInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossRepayRequest.md b/bitget-goland-sdk-open-api/docs/MarginCrossRepayRequest.md
deleted file mode 100644
index 9a71505d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossRepayRequest.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# MarginCrossRepayRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | **string** | coin |
-**RepayAmount** | **string** | repayAmount |
-
-## Methods
-
-### NewMarginCrossRepayRequest
-
-`func NewMarginCrossRepayRequest(coin string, repayAmount string, ) *MarginCrossRepayRequest`
-
-NewMarginCrossRepayRequest instantiates a new MarginCrossRepayRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossRepayRequestWithDefaults
-
-`func NewMarginCrossRepayRequestWithDefaults() *MarginCrossRepayRequest`
-
-NewMarginCrossRepayRequestWithDefaults instantiates a new MarginCrossRepayRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginCrossRepayRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossRepayRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossRepayRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-### GetRepayAmount
-
-`func (o *MarginCrossRepayRequest) GetRepayAmount() string`
-
-GetRepayAmount returns the RepayAmount field if non-nil, zero value otherwise.
-
-### GetRepayAmountOk
-
-`func (o *MarginCrossRepayRequest) GetRepayAmountOk() (*string, bool)`
-
-GetRepayAmountOk returns a tuple with the RepayAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayAmount
-
-`func (o *MarginCrossRepayRequest) SetRepayAmount(v string)`
-
-SetRepayAmount sets RepayAmount field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossRepayResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossRepayResult.md
deleted file mode 100644
index 3856a70d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossRepayResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# MarginCrossRepayResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**RemainDebtAmount** | Pointer to **string** | | [optional]
-**RepayAmount** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossRepayResult
-
-`func NewMarginCrossRepayResult() *MarginCrossRepayResult`
-
-NewMarginCrossRepayResult instantiates a new MarginCrossRepayResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossRepayResultWithDefaults
-
-`func NewMarginCrossRepayResultWithDefaults() *MarginCrossRepayResult`
-
-NewMarginCrossRepayResultWithDefaults instantiates a new MarginCrossRepayResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginCrossRepayResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginCrossRepayResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginCrossRepayResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginCrossRepayResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginCrossRepayResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginCrossRepayResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginCrossRepayResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginCrossRepayResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetRemainDebtAmount
-
-`func (o *MarginCrossRepayResult) GetRemainDebtAmount() string`
-
-GetRemainDebtAmount returns the RemainDebtAmount field if non-nil, zero value otherwise.
-
-### GetRemainDebtAmountOk
-
-`func (o *MarginCrossRepayResult) GetRemainDebtAmountOk() (*string, bool)`
-
-GetRemainDebtAmountOk returns a tuple with the RemainDebtAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRemainDebtAmount
-
-`func (o *MarginCrossRepayResult) SetRemainDebtAmount(v string)`
-
-SetRemainDebtAmount sets RemainDebtAmount field to given value.
-
-### HasRemainDebtAmount
-
-`func (o *MarginCrossRepayResult) HasRemainDebtAmount() bool`
-
-HasRemainDebtAmount returns a boolean if a field has been set.
-
-### GetRepayAmount
-
-`func (o *MarginCrossRepayResult) GetRepayAmount() string`
-
-GetRepayAmount returns the RepayAmount field if non-nil, zero value otherwise.
-
-### GetRepayAmountOk
-
-`func (o *MarginCrossRepayResult) GetRepayAmountOk() (*string, bool)`
-
-GetRepayAmountOk returns a tuple with the RepayAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayAmount
-
-`func (o *MarginCrossRepayResult) SetRepayAmount(v string)`
-
-SetRepayAmount sets RepayAmount field to given value.
-
-### HasRepayAmount
-
-`func (o *MarginCrossRepayResult) HasRepayAmount() bool`
-
-HasRepayAmount returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginCrossVipResult.md b/bitget-goland-sdk-open-api/docs/MarginCrossVipResult.md
deleted file mode 100644
index 9c93c0c9..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginCrossVipResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# MarginCrossVipResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**DailyInterestRate** | Pointer to **string** | | [optional]
-**DiscountRate** | Pointer to **string** | | [optional]
-**Level** | Pointer to **string** | | [optional]
-**YearlyInterestRate** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginCrossVipResult
-
-`func NewMarginCrossVipResult() *MarginCrossVipResult`
-
-NewMarginCrossVipResult instantiates a new MarginCrossVipResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginCrossVipResultWithDefaults
-
-`func NewMarginCrossVipResultWithDefaults() *MarginCrossVipResult`
-
-NewMarginCrossVipResultWithDefaults instantiates a new MarginCrossVipResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetDailyInterestRate
-
-`func (o *MarginCrossVipResult) GetDailyInterestRate() string`
-
-GetDailyInterestRate returns the DailyInterestRate field if non-nil, zero value otherwise.
-
-### GetDailyInterestRateOk
-
-`func (o *MarginCrossVipResult) GetDailyInterestRateOk() (*string, bool)`
-
-GetDailyInterestRateOk returns a tuple with the DailyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDailyInterestRate
-
-`func (o *MarginCrossVipResult) SetDailyInterestRate(v string)`
-
-SetDailyInterestRate sets DailyInterestRate field to given value.
-
-### HasDailyInterestRate
-
-`func (o *MarginCrossVipResult) HasDailyInterestRate() bool`
-
-HasDailyInterestRate returns a boolean if a field has been set.
-
-### GetDiscountRate
-
-`func (o *MarginCrossVipResult) GetDiscountRate() string`
-
-GetDiscountRate returns the DiscountRate field if non-nil, zero value otherwise.
-
-### GetDiscountRateOk
-
-`func (o *MarginCrossVipResult) GetDiscountRateOk() (*string, bool)`
-
-GetDiscountRateOk returns a tuple with the DiscountRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDiscountRate
-
-`func (o *MarginCrossVipResult) SetDiscountRate(v string)`
-
-SetDiscountRate sets DiscountRate field to given value.
-
-### HasDiscountRate
-
-`func (o *MarginCrossVipResult) HasDiscountRate() bool`
-
-HasDiscountRate returns a boolean if a field has been set.
-
-### GetLevel
-
-`func (o *MarginCrossVipResult) GetLevel() string`
-
-GetLevel returns the Level field if non-nil, zero value otherwise.
-
-### GetLevelOk
-
-`func (o *MarginCrossVipResult) GetLevelOk() (*string, bool)`
-
-GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLevel
-
-`func (o *MarginCrossVipResult) SetLevel(v string)`
-
-SetLevel sets Level field to given value.
-
-### HasLevel
-
-`func (o *MarginCrossVipResult) HasLevel() bool`
-
-HasLevel returns a boolean if a field has been set.
-
-### GetYearlyInterestRate
-
-`func (o *MarginCrossVipResult) GetYearlyInterestRate() string`
-
-GetYearlyInterestRate returns the YearlyInterestRate field if non-nil, zero value otherwise.
-
-### GetYearlyInterestRateOk
-
-`func (o *MarginCrossVipResult) GetYearlyInterestRateOk() (*string, bool)`
-
-GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetYearlyInterestRate
-
-`func (o *MarginCrossVipResult) SetYearlyInterestRate(v string)`
-
-SetYearlyInterestRate sets YearlyInterestRate field to given value.
-
-### HasYearlyInterestRate
-
-`func (o *MarginCrossVipResult) HasYearlyInterestRate() bool`
-
-HasYearlyInterestRate returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginInterestInfo.md b/bitget-goland-sdk-open-api/docs/MarginInterestInfo.md
deleted file mode 100644
index 79ec3384..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginInterestInfo.md
+++ /dev/null
@@ -1,212 +0,0 @@
-# MarginInterestInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**InterestCoin** | Pointer to **string** | | [optional]
-**InterestId** | Pointer to **string** | | [optional]
-**InterestRate** | Pointer to **string** | | [optional]
-**LoanCoin** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginInterestInfo
-
-`func NewMarginInterestInfo() *MarginInterestInfo`
-
-NewMarginInterestInfo instantiates a new MarginInterestInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginInterestInfoWithDefaults
-
-`func NewMarginInterestInfoWithDefaults() *MarginInterestInfo`
-
-NewMarginInterestInfoWithDefaults instantiates a new MarginInterestInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginInterestInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginInterestInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginInterestInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginInterestInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginInterestInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginInterestInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginInterestInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginInterestInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetInterestCoin
-
-`func (o *MarginInterestInfo) GetInterestCoin() string`
-
-GetInterestCoin returns the InterestCoin field if non-nil, zero value otherwise.
-
-### GetInterestCoinOk
-
-`func (o *MarginInterestInfo) GetInterestCoinOk() (*string, bool)`
-
-GetInterestCoinOk returns a tuple with the InterestCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestCoin
-
-`func (o *MarginInterestInfo) SetInterestCoin(v string)`
-
-SetInterestCoin sets InterestCoin field to given value.
-
-### HasInterestCoin
-
-`func (o *MarginInterestInfo) HasInterestCoin() bool`
-
-HasInterestCoin returns a boolean if a field has been set.
-
-### GetInterestId
-
-`func (o *MarginInterestInfo) GetInterestId() string`
-
-GetInterestId returns the InterestId field if non-nil, zero value otherwise.
-
-### GetInterestIdOk
-
-`func (o *MarginInterestInfo) GetInterestIdOk() (*string, bool)`
-
-GetInterestIdOk returns a tuple with the InterestId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestId
-
-`func (o *MarginInterestInfo) SetInterestId(v string)`
-
-SetInterestId sets InterestId field to given value.
-
-### HasInterestId
-
-`func (o *MarginInterestInfo) HasInterestId() bool`
-
-HasInterestId returns a boolean if a field has been set.
-
-### GetInterestRate
-
-`func (o *MarginInterestInfo) GetInterestRate() string`
-
-GetInterestRate returns the InterestRate field if non-nil, zero value otherwise.
-
-### GetInterestRateOk
-
-`func (o *MarginInterestInfo) GetInterestRateOk() (*string, bool)`
-
-GetInterestRateOk returns a tuple with the InterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestRate
-
-`func (o *MarginInterestInfo) SetInterestRate(v string)`
-
-SetInterestRate sets InterestRate field to given value.
-
-### HasInterestRate
-
-`func (o *MarginInterestInfo) HasInterestRate() bool`
-
-HasInterestRate returns a boolean if a field has been set.
-
-### GetLoanCoin
-
-`func (o *MarginInterestInfo) GetLoanCoin() string`
-
-GetLoanCoin returns the LoanCoin field if non-nil, zero value otherwise.
-
-### GetLoanCoinOk
-
-`func (o *MarginInterestInfo) GetLoanCoinOk() (*string, bool)`
-
-GetLoanCoinOk returns a tuple with the LoanCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanCoin
-
-`func (o *MarginInterestInfo) SetLoanCoin(v string)`
-
-SetLoanCoin sets LoanCoin field to given value.
-
-### HasLoanCoin
-
-`func (o *MarginInterestInfo) HasLoanCoin() bool`
-
-HasLoanCoin returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginInterestInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginInterestInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginInterestInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginInterestInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginInterestInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginInterestInfoResult.md
deleted file mode 100644
index dd26781d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginInterestInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginInterestInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginInterestInfo**](MarginInterestInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginInterestInfoResult
-
-`func NewMarginInterestInfoResult() *MarginInterestInfoResult`
-
-NewMarginInterestInfoResult instantiates a new MarginInterestInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginInterestInfoResultWithDefaults
-
-`func NewMarginInterestInfoResultWithDefaults() *MarginInterestInfoResult`
-
-NewMarginInterestInfoResultWithDefaults instantiates a new MarginInterestInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginInterestInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginInterestInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginInterestInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginInterestInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginInterestInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginInterestInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginInterestInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginInterestInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginInterestInfoResult) GetResultList() []MarginInterestInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginInterestInfoResult) GetResultListOk() (*[]MarginInterestInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginInterestInfoResult) SetResultList(v []MarginInterestInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginInterestInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedAccountApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedAccountApi.md
deleted file mode 100644
index cf8aa030..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedAccountApi.md
+++ /dev/null
@@ -1,412 +0,0 @@
-# \MarginIsolatedAccountApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginIsolatedAccountAssets**](MarginIsolatedAccountApi.md#MarginIsolatedAccountAssets) | **Get** /api/margin/v1/isolated/account/assets | assets
-[**MarginIsolatedAccountBorrow**](MarginIsolatedAccountApi.md#MarginIsolatedAccountBorrow) | **Post** /api/margin/v1/isolated/account/borrow | borrow
-[**MarginIsolatedAccountMaxBorrowableAmount**](MarginIsolatedAccountApi.md#MarginIsolatedAccountMaxBorrowableAmount) | **Post** /api/margin/v1/isolated/account/maxBorrowableAmount | maxBorrowableAmount
-[**MarginIsolatedAccountMaxTransferOutAmount**](MarginIsolatedAccountApi.md#MarginIsolatedAccountMaxTransferOutAmount) | **Get** /api/margin/v1/isolated/account/maxTransferOutAmount | maxTransferOutAmount
-[**MarginIsolatedAccountRepay**](MarginIsolatedAccountApi.md#MarginIsolatedAccountRepay) | **Post** /api/margin/v1/isolated/account/repay | repay
-[**MarginIsolatedAccountRiskRate**](MarginIsolatedAccountApi.md#MarginIsolatedAccountRiskRate) | **Post** /api/margin/v1/isolated/account/riskRate | riskRate
-
-
-
-## MarginIsolatedAccountAssets
-
-> ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult MarginIsolatedAccountAssets(ctx).Symbol(symbol).Execute()
-
-assets
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountAssets(context.Background()).Symbol(symbol).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountAssets``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountAssets`: ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountAssets`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountAssetsRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult**](ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedAccountBorrow
-
-> ApiResponseResultOfMarginIsolatedBorrowLimitResult MarginIsolatedAccountBorrow(ctx).MarginIsolatedLimitRequest(marginIsolatedLimitRequest).Execute()
-
-borrow
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginIsolatedLimitRequest := *openapiclient.NewMarginIsolatedLimitRequest("1.0", "USDT", "USDT") // MarginIsolatedLimitRequest | marginIsolatedLimitRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountBorrow(context.Background()).MarginIsolatedLimitRequest(marginIsolatedLimitRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountBorrow``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountBorrow`: ApiResponseResultOfMarginIsolatedBorrowLimitResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountBorrow`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountBorrowRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginIsolatedLimitRequest** | [**MarginIsolatedLimitRequest**](MarginIsolatedLimitRequest.md) | marginIsolatedLimitRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedBorrowLimitResult**](ApiResponseResultOfMarginIsolatedBorrowLimitResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedAccountMaxBorrowableAmount
-
-> ApiResponseResultOfMarginIsolatedMaxBorrowResult MarginIsolatedAccountMaxBorrowableAmount(ctx).MarginIsolatedMaxBorrowRequest(marginIsolatedMaxBorrowRequest).Execute()
-
-maxBorrowableAmount
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginIsolatedMaxBorrowRequest := *openapiclient.NewMarginIsolatedMaxBorrowRequest("USDT", "BTCUSDT") // MarginIsolatedMaxBorrowRequest | marginIsolatedMaxBorrowRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountMaxBorrowableAmount(context.Background()).MarginIsolatedMaxBorrowRequest(marginIsolatedMaxBorrowRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountMaxBorrowableAmount``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountMaxBorrowableAmount`: ApiResponseResultOfMarginIsolatedMaxBorrowResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountMaxBorrowableAmount`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountMaxBorrowableAmountRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginIsolatedMaxBorrowRequest** | [**MarginIsolatedMaxBorrowRequest**](MarginIsolatedMaxBorrowRequest.md) | marginIsolatedMaxBorrowRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedMaxBorrowResult**](ApiResponseResultOfMarginIsolatedMaxBorrowResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedAccountMaxTransferOutAmount
-
-> ApiResponseResultOfMarginIsolatedAssetsResult MarginIsolatedAccountMaxTransferOutAmount(ctx).Coin(coin).Symbol(symbol).Execute()
-
-maxTransferOutAmount
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- coin := "USDT" // string | coin
- symbol := "BTCUSDT" // string | symbol
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountMaxTransferOutAmount(context.Background()).Coin(coin).Symbol(symbol).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountMaxTransferOutAmount``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountMaxTransferOutAmount`: ApiResponseResultOfMarginIsolatedAssetsResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountMaxTransferOutAmount`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountMaxTransferOutAmountRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **coin** | **string** | coin |
- **symbol** | **string** | symbol |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedAssetsResult**](ApiResponseResultOfMarginIsolatedAssetsResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedAccountRepay
-
-> ApiResponseResultOfMarginIsolatedRepayResult MarginIsolatedAccountRepay(ctx).MarginIsolatedRepayRequest(marginIsolatedRepayRequest).Execute()
-
-repay
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginIsolatedRepayRequest := *openapiclient.NewMarginIsolatedRepayRequest("USDT", "1.0", "BTCUSDT") // MarginIsolatedRepayRequest | marginIsolatedRepayRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountRepay(context.Background()).MarginIsolatedRepayRequest(marginIsolatedRepayRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountRepay``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountRepay`: ApiResponseResultOfMarginIsolatedRepayResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountRepay`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountRepayRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginIsolatedRepayRequest** | [**MarginIsolatedRepayRequest**](MarginIsolatedRepayRequest.md) | marginIsolatedRepayRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedRepayResult**](ApiResponseResultOfMarginIsolatedRepayResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedAccountRiskRate
-
-> ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult MarginIsolatedAccountRiskRate(ctx).MarginIsolatedAssetsRiskRequest(marginIsolatedAssetsRiskRequest).Execute()
-
-riskRate
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginIsolatedAssetsRiskRequest := *openapiclient.NewMarginIsolatedAssetsRiskRequest("BTCUSDT") // MarginIsolatedAssetsRiskRequest | marginIsolatedAssetsRiskRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountRiskRate(context.Background()).MarginIsolatedAssetsRiskRequest(marginIsolatedAssetsRiskRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedAccountApi.MarginIsolatedAccountRiskRate``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedAccountRiskRate`: ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedAccountApi.MarginIsolatedAccountRiskRate`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedAccountRiskRateRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginIsolatedAssetsRiskRequest** | [**MarginIsolatedAssetsRiskRequest**](MarginIsolatedAssetsRiskRequest.md) | marginIsolatedAssetsRiskRequest |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult**](ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsPopulationResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsPopulationResult.md
deleted file mode 100644
index 81634b5d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsPopulationResult.md
+++ /dev/null
@@ -1,264 +0,0 @@
-# MarginIsolatedAssetsPopulationResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Available** | Pointer to **string** | | [optional]
-**Borrow** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Frozen** | Pointer to **string** | | [optional]
-**Interest** | Pointer to **string** | | [optional]
-**Net** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**TotalAmount** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedAssetsPopulationResult
-
-`func NewMarginIsolatedAssetsPopulationResult() *MarginIsolatedAssetsPopulationResult`
-
-NewMarginIsolatedAssetsPopulationResult instantiates a new MarginIsolatedAssetsPopulationResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedAssetsPopulationResultWithDefaults
-
-`func NewMarginIsolatedAssetsPopulationResultWithDefaults() *MarginIsolatedAssetsPopulationResult`
-
-NewMarginIsolatedAssetsPopulationResultWithDefaults instantiates a new MarginIsolatedAssetsPopulationResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAvailable
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetAvailable() string`
-
-GetAvailable returns the Available field if non-nil, zero value otherwise.
-
-### GetAvailableOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetAvailableOk() (*string, bool)`
-
-GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAvailable
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetAvailable(v string)`
-
-SetAvailable sets Available field to given value.
-
-### HasAvailable
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasAvailable() bool`
-
-HasAvailable returns a boolean if a field has been set.
-
-### GetBorrow
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetBorrow() string`
-
-GetBorrow returns the Borrow field if non-nil, zero value otherwise.
-
-### GetBorrowOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetBorrowOk() (*string, bool)`
-
-GetBorrowOk returns a tuple with the Borrow field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrow
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetBorrow(v string)`
-
-SetBorrow sets Borrow field to given value.
-
-### HasBorrow
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasBorrow() bool`
-
-HasBorrow returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFrozen
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetFrozen() string`
-
-GetFrozen returns the Frozen field if non-nil, zero value otherwise.
-
-### GetFrozenOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetFrozenOk() (*string, bool)`
-
-GetFrozenOk returns a tuple with the Frozen field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFrozen
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetFrozen(v string)`
-
-SetFrozen sets Frozen field to given value.
-
-### HasFrozen
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasFrozen() bool`
-
-HasFrozen returns a boolean if a field has been set.
-
-### GetInterest
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetInterest() string`
-
-GetInterest returns the Interest field if non-nil, zero value otherwise.
-
-### GetInterestOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetInterestOk() (*string, bool)`
-
-GetInterestOk returns a tuple with the Interest field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterest
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetInterest(v string)`
-
-SetInterest sets Interest field to given value.
-
-### HasInterest
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasInterest() bool`
-
-HasInterest returns a boolean if a field has been set.
-
-### GetNet
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetNet() string`
-
-GetNet returns the Net field if non-nil, zero value otherwise.
-
-### GetNetOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetNetOk() (*string, bool)`
-
-GetNetOk returns a tuple with the Net field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNet
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetNet(v string)`
-
-SetNet sets Net field to given value.
-
-### HasNet
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasNet() bool`
-
-HasNet returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetTotalAmount
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetTotalAmount() string`
-
-GetTotalAmount returns the TotalAmount field if non-nil, zero value otherwise.
-
-### GetTotalAmountOk
-
-`func (o *MarginIsolatedAssetsPopulationResult) GetTotalAmountOk() (*string, bool)`
-
-GetTotalAmountOk returns a tuple with the TotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAmount
-
-`func (o *MarginIsolatedAssetsPopulationResult) SetTotalAmount(v string)`
-
-SetTotalAmount sets TotalAmount field to given value.
-
-### HasTotalAmount
-
-`func (o *MarginIsolatedAssetsPopulationResult) HasTotalAmount() bool`
-
-HasTotalAmount returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsResult.md
deleted file mode 100644
index ded33f3d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedAssetsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | Pointer to **string** | | [optional]
-**MaxTransferOutAmount** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedAssetsResult
-
-`func NewMarginIsolatedAssetsResult() *MarginIsolatedAssetsResult`
-
-NewMarginIsolatedAssetsResult instantiates a new MarginIsolatedAssetsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedAssetsResultWithDefaults
-
-`func NewMarginIsolatedAssetsResultWithDefaults() *MarginIsolatedAssetsResult`
-
-NewMarginIsolatedAssetsResultWithDefaults instantiates a new MarginIsolatedAssetsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginIsolatedAssetsResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedAssetsResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedAssetsResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedAssetsResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetMaxTransferOutAmount
-
-`func (o *MarginIsolatedAssetsResult) GetMaxTransferOutAmount() string`
-
-GetMaxTransferOutAmount returns the MaxTransferOutAmount field if non-nil, zero value otherwise.
-
-### GetMaxTransferOutAmountOk
-
-`func (o *MarginIsolatedAssetsResult) GetMaxTransferOutAmountOk() (*string, bool)`
-
-GetMaxTransferOutAmountOk returns a tuple with the MaxTransferOutAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTransferOutAmount
-
-`func (o *MarginIsolatedAssetsResult) SetMaxTransferOutAmount(v string)`
-
-SetMaxTransferOutAmount sets MaxTransferOutAmount field to given value.
-
-### HasMaxTransferOutAmount
-
-`func (o *MarginIsolatedAssetsResult) HasMaxTransferOutAmount() bool`
-
-HasMaxTransferOutAmount returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedAssetsResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedAssetsResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedAssetsResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedAssetsResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskRequest.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskRequest.md
deleted file mode 100644
index fa4bc01d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskRequest.md
+++ /dev/null
@@ -1,103 +0,0 @@
-# MarginIsolatedAssetsRiskRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNum** | Pointer to **string** | pageNum | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginIsolatedAssetsRiskRequest
-
-`func NewMarginIsolatedAssetsRiskRequest(symbol string, ) *MarginIsolatedAssetsRiskRequest`
-
-NewMarginIsolatedAssetsRiskRequest instantiates a new MarginIsolatedAssetsRiskRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedAssetsRiskRequestWithDefaults
-
-`func NewMarginIsolatedAssetsRiskRequestWithDefaults() *MarginIsolatedAssetsRiskRequest`
-
-NewMarginIsolatedAssetsRiskRequestWithDefaults instantiates a new MarginIsolatedAssetsRiskRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNum
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetPageNum() string`
-
-GetPageNum returns the PageNum field if non-nil, zero value otherwise.
-
-### GetPageNumOk
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetPageNumOk() (*string, bool)`
-
-GetPageNumOk returns a tuple with the PageNum field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNum
-
-`func (o *MarginIsolatedAssetsRiskRequest) SetPageNum(v string)`
-
-SetPageNum sets PageNum field to given value.
-
-### HasPageNum
-
-`func (o *MarginIsolatedAssetsRiskRequest) HasPageNum() bool`
-
-HasPageNum returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *MarginIsolatedAssetsRiskRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *MarginIsolatedAssetsRiskRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedAssetsRiskRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedAssetsRiskRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskResult.md
deleted file mode 100644
index 26aeba9b..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedAssetsRiskResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginIsolatedAssetsRiskResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**RiskRate** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedAssetsRiskResult
-
-`func NewMarginIsolatedAssetsRiskResult() *MarginIsolatedAssetsRiskResult`
-
-NewMarginIsolatedAssetsRiskResult instantiates a new MarginIsolatedAssetsRiskResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedAssetsRiskResultWithDefaults
-
-`func NewMarginIsolatedAssetsRiskResultWithDefaults() *MarginIsolatedAssetsRiskResult`
-
-NewMarginIsolatedAssetsRiskResultWithDefaults instantiates a new MarginIsolatedAssetsRiskResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetRiskRate
-
-`func (o *MarginIsolatedAssetsRiskResult) GetRiskRate() string`
-
-GetRiskRate returns the RiskRate field if non-nil, zero value otherwise.
-
-### GetRiskRateOk
-
-`func (o *MarginIsolatedAssetsRiskResult) GetRiskRateOk() (*string, bool)`
-
-GetRiskRateOk returns a tuple with the RiskRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRiskRate
-
-`func (o *MarginIsolatedAssetsRiskResult) SetRiskRate(v string)`
-
-SetRiskRate sets RiskRate field to given value.
-
-### HasRiskRate
-
-`func (o *MarginIsolatedAssetsRiskResult) HasRiskRate() bool`
-
-HasRiskRate returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedAssetsRiskResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedAssetsRiskResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedAssetsRiskResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedAssetsRiskResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowApi.md
deleted file mode 100644
index 4d3ce4e4..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowApi.md
+++ /dev/null
@@ -1,87 +0,0 @@
-# \MarginIsolatedBorrowApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**IsolatedLoanList**](MarginIsolatedBorrowApi.md#IsolatedLoanList) | **Get** /api/margin/v1/isolated/loan/list | list
-
-
-
-## IsolatedLoanList
-
-> ApiResponseResultOfMarginIsolatedLoanInfoResult IsolatedLoanList(ctx).Symbol(symbol).StartTime(startTime).Coin(coin).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- endTime := "1678193338000" // string | endTime (optional)
- loanId := "loanId_example" // string | loanId (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedBorrowApi.IsolatedLoanList(context.Background()).Symbol(symbol).StartTime(startTime).Coin(coin).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedBorrowApi.IsolatedLoanList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IsolatedLoanList`: ApiResponseResultOfMarginIsolatedLoanInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedBorrowApi.IsolatedLoanList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIsolatedLoanListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **endTime** | **string** | endTime |
- **loanId** | **string** | loanId |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedLoanInfoResult**](ApiResponseResultOfMarginIsolatedLoanInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowLimitResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowLimitResult.md
deleted file mode 100644
index 6588a94a..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedBorrowLimitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# MarginIsolatedBorrowLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BorrowAmount** | Pointer to **string** | | [optional]
-**ClientOid** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedBorrowLimitResult
-
-`func NewMarginIsolatedBorrowLimitResult() *MarginIsolatedBorrowLimitResult`
-
-NewMarginIsolatedBorrowLimitResult instantiates a new MarginIsolatedBorrowLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedBorrowLimitResultWithDefaults
-
-`func NewMarginIsolatedBorrowLimitResultWithDefaults() *MarginIsolatedBorrowLimitResult`
-
-NewMarginIsolatedBorrowLimitResultWithDefaults instantiates a new MarginIsolatedBorrowLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBorrowAmount
-
-`func (o *MarginIsolatedBorrowLimitResult) GetBorrowAmount() string`
-
-GetBorrowAmount returns the BorrowAmount field if non-nil, zero value otherwise.
-
-### GetBorrowAmountOk
-
-`func (o *MarginIsolatedBorrowLimitResult) GetBorrowAmountOk() (*string, bool)`
-
-GetBorrowAmountOk returns a tuple with the BorrowAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrowAmount
-
-`func (o *MarginIsolatedBorrowLimitResult) SetBorrowAmount(v string)`
-
-SetBorrowAmount sets BorrowAmount field to given value.
-
-### HasBorrowAmount
-
-`func (o *MarginIsolatedBorrowLimitResult) HasBorrowAmount() bool`
-
-HasBorrowAmount returns a boolean if a field has been set.
-
-### GetClientOid
-
-`func (o *MarginIsolatedBorrowLimitResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginIsolatedBorrowLimitResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginIsolatedBorrowLimitResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginIsolatedBorrowLimitResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedBorrowLimitResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedBorrowLimitResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedBorrowLimitResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedBorrowLimitResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedBorrowLimitResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedBorrowLimitResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedBorrowLimitResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedBorrowLimitResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowInfo.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowInfo.md
deleted file mode 100644
index 47929889..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowInfo.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginIsolatedFinFlowInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Balance** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Fee** | Pointer to **string** | | [optional]
-**MarginId** | Pointer to **string** | | [optional]
-**MarginType** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedFinFlowInfo
-
-`func NewMarginIsolatedFinFlowInfo() *MarginIsolatedFinFlowInfo`
-
-NewMarginIsolatedFinFlowInfo instantiates a new MarginIsolatedFinFlowInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedFinFlowInfoWithDefaults
-
-`func NewMarginIsolatedFinFlowInfoWithDefaults() *MarginIsolatedFinFlowInfo`
-
-NewMarginIsolatedFinFlowInfoWithDefaults instantiates a new MarginIsolatedFinFlowInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginIsolatedFinFlowInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginIsolatedFinFlowInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginIsolatedFinFlowInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetBalance
-
-`func (o *MarginIsolatedFinFlowInfo) GetBalance() string`
-
-GetBalance returns the Balance field if non-nil, zero value otherwise.
-
-### GetBalanceOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetBalanceOk() (*string, bool)`
-
-GetBalanceOk returns a tuple with the Balance field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBalance
-
-`func (o *MarginIsolatedFinFlowInfo) SetBalance(v string)`
-
-SetBalance sets Balance field to given value.
-
-### HasBalance
-
-`func (o *MarginIsolatedFinFlowInfo) HasBalance() bool`
-
-HasBalance returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedFinFlowInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedFinFlowInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedFinFlowInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginIsolatedFinFlowInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedFinFlowInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedFinFlowInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFee
-
-`func (o *MarginIsolatedFinFlowInfo) GetFee() string`
-
-GetFee returns the Fee field if non-nil, zero value otherwise.
-
-### GetFeeOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetFeeOk() (*string, bool)`
-
-GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFee
-
-`func (o *MarginIsolatedFinFlowInfo) SetFee(v string)`
-
-SetFee sets Fee field to given value.
-
-### HasFee
-
-`func (o *MarginIsolatedFinFlowInfo) HasFee() bool`
-
-HasFee returns a boolean if a field has been set.
-
-### GetMarginId
-
-`func (o *MarginIsolatedFinFlowInfo) GetMarginId() string`
-
-GetMarginId returns the MarginId field if non-nil, zero value otherwise.
-
-### GetMarginIdOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetMarginIdOk() (*string, bool)`
-
-GetMarginIdOk returns a tuple with the MarginId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMarginId
-
-`func (o *MarginIsolatedFinFlowInfo) SetMarginId(v string)`
-
-SetMarginId sets MarginId field to given value.
-
-### HasMarginId
-
-`func (o *MarginIsolatedFinFlowInfo) HasMarginId() bool`
-
-HasMarginId returns a boolean if a field has been set.
-
-### GetMarginType
-
-`func (o *MarginIsolatedFinFlowInfo) GetMarginType() string`
-
-GetMarginType returns the MarginType field if non-nil, zero value otherwise.
-
-### GetMarginTypeOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetMarginTypeOk() (*string, bool)`
-
-GetMarginTypeOk returns a tuple with the MarginType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMarginType
-
-`func (o *MarginIsolatedFinFlowInfo) SetMarginType(v string)`
-
-SetMarginType sets MarginType field to given value.
-
-### HasMarginType
-
-`func (o *MarginIsolatedFinFlowInfo) HasMarginType() bool`
-
-HasMarginType returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedFinFlowInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedFinFlowInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedFinFlowInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedFinFlowInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowResult.md
deleted file mode 100644
index cc05565b..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinFlowResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedFinFlowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginIsolatedFinFlowInfo**](MarginIsolatedFinFlowInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginIsolatedFinFlowResult
-
-`func NewMarginIsolatedFinFlowResult() *MarginIsolatedFinFlowResult`
-
-NewMarginIsolatedFinFlowResult instantiates a new MarginIsolatedFinFlowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedFinFlowResultWithDefaults
-
-`func NewMarginIsolatedFinFlowResultWithDefaults() *MarginIsolatedFinFlowResult`
-
-NewMarginIsolatedFinFlowResultWithDefaults instantiates a new MarginIsolatedFinFlowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginIsolatedFinFlowResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginIsolatedFinFlowResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginIsolatedFinFlowResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginIsolatedFinFlowResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginIsolatedFinFlowResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginIsolatedFinFlowResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginIsolatedFinFlowResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginIsolatedFinFlowResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginIsolatedFinFlowResult) GetResultList() []MarginIsolatedFinFlowInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginIsolatedFinFlowResult) GetResultListOk() (*[]MarginIsolatedFinFlowInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginIsolatedFinFlowResult) SetResultList(v []MarginIsolatedFinFlowInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginIsolatedFinFlowResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinflowApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedFinflowApi.md
deleted file mode 100644
index 15e443c7..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedFinflowApi.md
+++ /dev/null
@@ -1,89 +0,0 @@
-# \MarginIsolatedFinflowApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**IsolatedFinList**](MarginIsolatedFinflowApi.md#IsolatedFinList) | **Get** /api/margin/v1/isolated/fin/list | list
-
-
-
-## IsolatedFinList
-
-> ApiResponseResultOfMarginIsolatedFinFlowResult IsolatedFinList(ctx).Symbol(symbol).StartTime(startTime).Coin(coin).MarginType(marginType).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- marginType := "transfer_in" // string | marginType (optional)
- endTime := "1678193338000" // string | endTime (optional)
- loanId := "loanId_example" // string | loanId (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedFinflowApi.IsolatedFinList(context.Background()).Symbol(symbol).StartTime(startTime).Coin(coin).MarginType(marginType).EndTime(endTime).LoanId(loanId).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedFinflowApi.IsolatedFinList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IsolatedFinList`: ApiResponseResultOfMarginIsolatedFinFlowResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedFinflowApi.IsolatedFinList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIsolatedFinListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **marginType** | **string** | marginType |
- **endTime** | **string** | endTime |
- **loanId** | **string** | loanId |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedFinFlowResult**](ApiResponseResultOfMarginIsolatedFinFlowResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestApi.md
deleted file mode 100644
index 3e9aa118..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestApi.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# \MarginIsolatedInterestApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**IsolatedInterestList**](MarginIsolatedInterestApi.md#IsolatedInterestList) | **Get** /api/margin/v1/isolated/interest/list | list
-
-
-
-## IsolatedInterestList
-
-> ApiResponseResultOfMarginIsolatedInterestInfoResult IsolatedInterestList(ctx).Symbol(symbol).StartTime(startTime).Coin(coin).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193138000" // string | startTime
- coin := "USDT" // string | coin (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedInterestApi.IsolatedInterestList(context.Background()).Symbol(symbol).StartTime(startTime).Coin(coin).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedInterestApi.IsolatedInterestList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IsolatedInterestList`: ApiResponseResultOfMarginIsolatedInterestInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedInterestApi.IsolatedInterestList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIsolatedInterestListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedInterestInfoResult**](ApiResponseResultOfMarginIsolatedInterestInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfo.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfo.md
deleted file mode 100644
index 63415eca..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfo.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginIsolatedInterestInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**InterestCoin** | Pointer to **string** | | [optional]
-**InterestId** | Pointer to **string** | | [optional]
-**InterestRate** | Pointer to **string** | | [optional]
-**LoanCoin** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedInterestInfo
-
-`func NewMarginIsolatedInterestInfo() *MarginIsolatedInterestInfo`
-
-NewMarginIsolatedInterestInfo instantiates a new MarginIsolatedInterestInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedInterestInfoWithDefaults
-
-`func NewMarginIsolatedInterestInfoWithDefaults() *MarginIsolatedInterestInfo`
-
-NewMarginIsolatedInterestInfoWithDefaults instantiates a new MarginIsolatedInterestInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginIsolatedInterestInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginIsolatedInterestInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginIsolatedInterestInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginIsolatedInterestInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginIsolatedInterestInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedInterestInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedInterestInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedInterestInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetInterestCoin
-
-`func (o *MarginIsolatedInterestInfo) GetInterestCoin() string`
-
-GetInterestCoin returns the InterestCoin field if non-nil, zero value otherwise.
-
-### GetInterestCoinOk
-
-`func (o *MarginIsolatedInterestInfo) GetInterestCoinOk() (*string, bool)`
-
-GetInterestCoinOk returns a tuple with the InterestCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestCoin
-
-`func (o *MarginIsolatedInterestInfo) SetInterestCoin(v string)`
-
-SetInterestCoin sets InterestCoin field to given value.
-
-### HasInterestCoin
-
-`func (o *MarginIsolatedInterestInfo) HasInterestCoin() bool`
-
-HasInterestCoin returns a boolean if a field has been set.
-
-### GetInterestId
-
-`func (o *MarginIsolatedInterestInfo) GetInterestId() string`
-
-GetInterestId returns the InterestId field if non-nil, zero value otherwise.
-
-### GetInterestIdOk
-
-`func (o *MarginIsolatedInterestInfo) GetInterestIdOk() (*string, bool)`
-
-GetInterestIdOk returns a tuple with the InterestId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestId
-
-`func (o *MarginIsolatedInterestInfo) SetInterestId(v string)`
-
-SetInterestId sets InterestId field to given value.
-
-### HasInterestId
-
-`func (o *MarginIsolatedInterestInfo) HasInterestId() bool`
-
-HasInterestId returns a boolean if a field has been set.
-
-### GetInterestRate
-
-`func (o *MarginIsolatedInterestInfo) GetInterestRate() string`
-
-GetInterestRate returns the InterestRate field if non-nil, zero value otherwise.
-
-### GetInterestRateOk
-
-`func (o *MarginIsolatedInterestInfo) GetInterestRateOk() (*string, bool)`
-
-GetInterestRateOk returns a tuple with the InterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterestRate
-
-`func (o *MarginIsolatedInterestInfo) SetInterestRate(v string)`
-
-SetInterestRate sets InterestRate field to given value.
-
-### HasInterestRate
-
-`func (o *MarginIsolatedInterestInfo) HasInterestRate() bool`
-
-HasInterestRate returns a boolean if a field has been set.
-
-### GetLoanCoin
-
-`func (o *MarginIsolatedInterestInfo) GetLoanCoin() string`
-
-GetLoanCoin returns the LoanCoin field if non-nil, zero value otherwise.
-
-### GetLoanCoinOk
-
-`func (o *MarginIsolatedInterestInfo) GetLoanCoinOk() (*string, bool)`
-
-GetLoanCoinOk returns a tuple with the LoanCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanCoin
-
-`func (o *MarginIsolatedInterestInfo) SetLoanCoin(v string)`
-
-SetLoanCoin sets LoanCoin field to given value.
-
-### HasLoanCoin
-
-`func (o *MarginIsolatedInterestInfo) HasLoanCoin() bool`
-
-HasLoanCoin returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedInterestInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedInterestInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedInterestInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedInterestInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginIsolatedInterestInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginIsolatedInterestInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginIsolatedInterestInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginIsolatedInterestInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfoResult.md
deleted file mode 100644
index 44e819ba..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedInterestInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedInterestInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginIsolatedInterestInfo**](MarginIsolatedInterestInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginIsolatedInterestInfoResult
-
-`func NewMarginIsolatedInterestInfoResult() *MarginIsolatedInterestInfoResult`
-
-NewMarginIsolatedInterestInfoResult instantiates a new MarginIsolatedInterestInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedInterestInfoResultWithDefaults
-
-`func NewMarginIsolatedInterestInfoResultWithDefaults() *MarginIsolatedInterestInfoResult`
-
-NewMarginIsolatedInterestInfoResultWithDefaults instantiates a new MarginIsolatedInterestInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginIsolatedInterestInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginIsolatedInterestInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginIsolatedInterestInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginIsolatedInterestInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginIsolatedInterestInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginIsolatedInterestInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginIsolatedInterestInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginIsolatedInterestInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginIsolatedInterestInfoResult) GetResultList() []MarginIsolatedInterestInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginIsolatedInterestInfoResult) GetResultListOk() (*[]MarginIsolatedInterestInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginIsolatedInterestInfoResult) SetResultList(v []MarginIsolatedInterestInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginIsolatedInterestInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLevelResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLevelResult.md
deleted file mode 100644
index bd78f5d2..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLevelResult.md
+++ /dev/null
@@ -1,264 +0,0 @@
-# MarginIsolatedLevelResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BaseCoin** | Pointer to **string** | | [optional]
-**BaseMaxBorrowableAmount** | Pointer to **string** | | [optional]
-**InitRate** | Pointer to **string** | | [optional]
-**Leverage** | Pointer to **string** | | [optional]
-**MaintainMarginRate** | Pointer to **string** | | [optional]
-**QuoteCoin** | Pointer to **string** | | [optional]
-**QuoteMaxBorrowableAmount** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**Tier** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedLevelResult
-
-`func NewMarginIsolatedLevelResult() *MarginIsolatedLevelResult`
-
-NewMarginIsolatedLevelResult instantiates a new MarginIsolatedLevelResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLevelResultWithDefaults
-
-`func NewMarginIsolatedLevelResultWithDefaults() *MarginIsolatedLevelResult`
-
-NewMarginIsolatedLevelResultWithDefaults instantiates a new MarginIsolatedLevelResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBaseCoin
-
-`func (o *MarginIsolatedLevelResult) GetBaseCoin() string`
-
-GetBaseCoin returns the BaseCoin field if non-nil, zero value otherwise.
-
-### GetBaseCoinOk
-
-`func (o *MarginIsolatedLevelResult) GetBaseCoinOk() (*string, bool)`
-
-GetBaseCoinOk returns a tuple with the BaseCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseCoin
-
-`func (o *MarginIsolatedLevelResult) SetBaseCoin(v string)`
-
-SetBaseCoin sets BaseCoin field to given value.
-
-### HasBaseCoin
-
-`func (o *MarginIsolatedLevelResult) HasBaseCoin() bool`
-
-HasBaseCoin returns a boolean if a field has been set.
-
-### GetBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) GetBaseMaxBorrowableAmount() string`
-
-GetBaseMaxBorrowableAmount returns the BaseMaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetBaseMaxBorrowableAmountOk
-
-`func (o *MarginIsolatedLevelResult) GetBaseMaxBorrowableAmountOk() (*string, bool)`
-
-GetBaseMaxBorrowableAmountOk returns a tuple with the BaseMaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) SetBaseMaxBorrowableAmount(v string)`
-
-SetBaseMaxBorrowableAmount sets BaseMaxBorrowableAmount field to given value.
-
-### HasBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) HasBaseMaxBorrowableAmount() bool`
-
-HasBaseMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetInitRate
-
-`func (o *MarginIsolatedLevelResult) GetInitRate() string`
-
-GetInitRate returns the InitRate field if non-nil, zero value otherwise.
-
-### GetInitRateOk
-
-`func (o *MarginIsolatedLevelResult) GetInitRateOk() (*string, bool)`
-
-GetInitRateOk returns a tuple with the InitRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInitRate
-
-`func (o *MarginIsolatedLevelResult) SetInitRate(v string)`
-
-SetInitRate sets InitRate field to given value.
-
-### HasInitRate
-
-`func (o *MarginIsolatedLevelResult) HasInitRate() bool`
-
-HasInitRate returns a boolean if a field has been set.
-
-### GetLeverage
-
-`func (o *MarginIsolatedLevelResult) GetLeverage() string`
-
-GetLeverage returns the Leverage field if non-nil, zero value otherwise.
-
-### GetLeverageOk
-
-`func (o *MarginIsolatedLevelResult) GetLeverageOk() (*string, bool)`
-
-GetLeverageOk returns a tuple with the Leverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLeverage
-
-`func (o *MarginIsolatedLevelResult) SetLeverage(v string)`
-
-SetLeverage sets Leverage field to given value.
-
-### HasLeverage
-
-`func (o *MarginIsolatedLevelResult) HasLeverage() bool`
-
-HasLeverage returns a boolean if a field has been set.
-
-### GetMaintainMarginRate
-
-`func (o *MarginIsolatedLevelResult) GetMaintainMarginRate() string`
-
-GetMaintainMarginRate returns the MaintainMarginRate field if non-nil, zero value otherwise.
-
-### GetMaintainMarginRateOk
-
-`func (o *MarginIsolatedLevelResult) GetMaintainMarginRateOk() (*string, bool)`
-
-GetMaintainMarginRateOk returns a tuple with the MaintainMarginRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaintainMarginRate
-
-`func (o *MarginIsolatedLevelResult) SetMaintainMarginRate(v string)`
-
-SetMaintainMarginRate sets MaintainMarginRate field to given value.
-
-### HasMaintainMarginRate
-
-`func (o *MarginIsolatedLevelResult) HasMaintainMarginRate() bool`
-
-HasMaintainMarginRate returns a boolean if a field has been set.
-
-### GetQuoteCoin
-
-`func (o *MarginIsolatedLevelResult) GetQuoteCoin() string`
-
-GetQuoteCoin returns the QuoteCoin field if non-nil, zero value otherwise.
-
-### GetQuoteCoinOk
-
-`func (o *MarginIsolatedLevelResult) GetQuoteCoinOk() (*string, bool)`
-
-GetQuoteCoinOk returns a tuple with the QuoteCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteCoin
-
-`func (o *MarginIsolatedLevelResult) SetQuoteCoin(v string)`
-
-SetQuoteCoin sets QuoteCoin field to given value.
-
-### HasQuoteCoin
-
-`func (o *MarginIsolatedLevelResult) HasQuoteCoin() bool`
-
-HasQuoteCoin returns a boolean if a field has been set.
-
-### GetQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) GetQuoteMaxBorrowableAmount() string`
-
-GetQuoteMaxBorrowableAmount returns the QuoteMaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetQuoteMaxBorrowableAmountOk
-
-`func (o *MarginIsolatedLevelResult) GetQuoteMaxBorrowableAmountOk() (*string, bool)`
-
-GetQuoteMaxBorrowableAmountOk returns a tuple with the QuoteMaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) SetQuoteMaxBorrowableAmount(v string)`
-
-SetQuoteMaxBorrowableAmount sets QuoteMaxBorrowableAmount field to given value.
-
-### HasQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedLevelResult) HasQuoteMaxBorrowableAmount() bool`
-
-HasQuoteMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedLevelResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedLevelResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedLevelResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedLevelResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetTier
-
-`func (o *MarginIsolatedLevelResult) GetTier() string`
-
-GetTier returns the Tier field if non-nil, zero value otherwise.
-
-### GetTierOk
-
-`func (o *MarginIsolatedLevelResult) GetTierOk() (*string, bool)`
-
-GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTier
-
-`func (o *MarginIsolatedLevelResult) SetTier(v string)`
-
-SetTier sets Tier field to given value.
-
-### HasTier
-
-`func (o *MarginIsolatedLevelResult) HasTier() bool`
-
-HasTier returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLimitRequest.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLimitRequest.md
deleted file mode 100644
index 693e8068..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLimitRequest.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# MarginIsolatedLimitRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BorrowAmount** | **string** | borrowAmount |
-**Coin** | **string** | coin |
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginIsolatedLimitRequest
-
-`func NewMarginIsolatedLimitRequest(borrowAmount string, coin string, symbol string, ) *MarginIsolatedLimitRequest`
-
-NewMarginIsolatedLimitRequest instantiates a new MarginIsolatedLimitRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLimitRequestWithDefaults
-
-`func NewMarginIsolatedLimitRequestWithDefaults() *MarginIsolatedLimitRequest`
-
-NewMarginIsolatedLimitRequestWithDefaults instantiates a new MarginIsolatedLimitRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBorrowAmount
-
-`func (o *MarginIsolatedLimitRequest) GetBorrowAmount() string`
-
-GetBorrowAmount returns the BorrowAmount field if non-nil, zero value otherwise.
-
-### GetBorrowAmountOk
-
-`func (o *MarginIsolatedLimitRequest) GetBorrowAmountOk() (*string, bool)`
-
-GetBorrowAmountOk returns a tuple with the BorrowAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBorrowAmount
-
-`func (o *MarginIsolatedLimitRequest) SetBorrowAmount(v string)`
-
-SetBorrowAmount sets BorrowAmount field to given value.
-
-
-### GetCoin
-
-`func (o *MarginIsolatedLimitRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedLimitRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedLimitRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-### GetSymbol
-
-`func (o *MarginIsolatedLimitRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedLimitRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedLimitRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationApi.md
deleted file mode 100644
index 23f3af03..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationApi.md
+++ /dev/null
@@ -1,83 +0,0 @@
-# \MarginIsolatedLiquidationApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**IsolatedLiquidationList**](MarginIsolatedLiquidationApi.md#IsolatedLiquidationList) | **Get** /api/margin/v1/isolated/liquidation/list | list
-
-
-
-## IsolatedLiquidationList
-
-> ApiResponseResultOfMarginIsolatedLiquidationInfoResult IsolatedLiquidationList(ctx).Symbol(symbol).StartTime(startTime).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193138000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedLiquidationApi.IsolatedLiquidationList(context.Background()).Symbol(symbol).StartTime(startTime).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedLiquidationApi.IsolatedLiquidationList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IsolatedLiquidationList`: ApiResponseResultOfMarginIsolatedLiquidationInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedLiquidationApi.IsolatedLiquidationList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIsolatedLiquidationListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedLiquidationInfoResult**](ApiResponseResultOfMarginIsolatedLiquidationInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfo.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfo.md
deleted file mode 100644
index 9a251f38..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfo.md
+++ /dev/null
@@ -1,264 +0,0 @@
-# MarginIsolatedLiquidationInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Ctime** | Pointer to **string** | | [optional]
-**LiqEndTime** | Pointer to **string** | | [optional]
-**LiqFee** | Pointer to **string** | | [optional]
-**LiqId** | Pointer to **string** | | [optional]
-**LiqRisk** | Pointer to **string** | | [optional]
-**LiqStartTime** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**TotalAssets** | Pointer to **string** | | [optional]
-**TotalDebt** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedLiquidationInfo
-
-`func NewMarginIsolatedLiquidationInfo() *MarginIsolatedLiquidationInfo`
-
-NewMarginIsolatedLiquidationInfo instantiates a new MarginIsolatedLiquidationInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLiquidationInfoWithDefaults
-
-`func NewMarginIsolatedLiquidationInfoWithDefaults() *MarginIsolatedLiquidationInfo`
-
-NewMarginIsolatedLiquidationInfoWithDefaults instantiates a new MarginIsolatedLiquidationInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCtime
-
-`func (o *MarginIsolatedLiquidationInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedLiquidationInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedLiquidationInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetLiqEndTime
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqEndTime() string`
-
-GetLiqEndTime returns the LiqEndTime field if non-nil, zero value otherwise.
-
-### GetLiqEndTimeOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqEndTimeOk() (*string, bool)`
-
-GetLiqEndTimeOk returns a tuple with the LiqEndTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqEndTime
-
-`func (o *MarginIsolatedLiquidationInfo) SetLiqEndTime(v string)`
-
-SetLiqEndTime sets LiqEndTime field to given value.
-
-### HasLiqEndTime
-
-`func (o *MarginIsolatedLiquidationInfo) HasLiqEndTime() bool`
-
-HasLiqEndTime returns a boolean if a field has been set.
-
-### GetLiqFee
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqFee() string`
-
-GetLiqFee returns the LiqFee field if non-nil, zero value otherwise.
-
-### GetLiqFeeOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqFeeOk() (*string, bool)`
-
-GetLiqFeeOk returns a tuple with the LiqFee field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqFee
-
-`func (o *MarginIsolatedLiquidationInfo) SetLiqFee(v string)`
-
-SetLiqFee sets LiqFee field to given value.
-
-### HasLiqFee
-
-`func (o *MarginIsolatedLiquidationInfo) HasLiqFee() bool`
-
-HasLiqFee returns a boolean if a field has been set.
-
-### GetLiqId
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqId() string`
-
-GetLiqId returns the LiqId field if non-nil, zero value otherwise.
-
-### GetLiqIdOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqIdOk() (*string, bool)`
-
-GetLiqIdOk returns a tuple with the LiqId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqId
-
-`func (o *MarginIsolatedLiquidationInfo) SetLiqId(v string)`
-
-SetLiqId sets LiqId field to given value.
-
-### HasLiqId
-
-`func (o *MarginIsolatedLiquidationInfo) HasLiqId() bool`
-
-HasLiqId returns a boolean if a field has been set.
-
-### GetLiqRisk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqRisk() string`
-
-GetLiqRisk returns the LiqRisk field if non-nil, zero value otherwise.
-
-### GetLiqRiskOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqRiskOk() (*string, bool)`
-
-GetLiqRiskOk returns a tuple with the LiqRisk field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqRisk
-
-`func (o *MarginIsolatedLiquidationInfo) SetLiqRisk(v string)`
-
-SetLiqRisk sets LiqRisk field to given value.
-
-### HasLiqRisk
-
-`func (o *MarginIsolatedLiquidationInfo) HasLiqRisk() bool`
-
-HasLiqRisk returns a boolean if a field has been set.
-
-### GetLiqStartTime
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqStartTime() string`
-
-GetLiqStartTime returns the LiqStartTime field if non-nil, zero value otherwise.
-
-### GetLiqStartTimeOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetLiqStartTimeOk() (*string, bool)`
-
-GetLiqStartTimeOk returns a tuple with the LiqStartTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqStartTime
-
-`func (o *MarginIsolatedLiquidationInfo) SetLiqStartTime(v string)`
-
-SetLiqStartTime sets LiqStartTime field to given value.
-
-### HasLiqStartTime
-
-`func (o *MarginIsolatedLiquidationInfo) HasLiqStartTime() bool`
-
-HasLiqStartTime returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedLiquidationInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedLiquidationInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedLiquidationInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetTotalAssets
-
-`func (o *MarginIsolatedLiquidationInfo) GetTotalAssets() string`
-
-GetTotalAssets returns the TotalAssets field if non-nil, zero value otherwise.
-
-### GetTotalAssetsOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetTotalAssetsOk() (*string, bool)`
-
-GetTotalAssetsOk returns a tuple with the TotalAssets field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAssets
-
-`func (o *MarginIsolatedLiquidationInfo) SetTotalAssets(v string)`
-
-SetTotalAssets sets TotalAssets field to given value.
-
-### HasTotalAssets
-
-`func (o *MarginIsolatedLiquidationInfo) HasTotalAssets() bool`
-
-HasTotalAssets returns a boolean if a field has been set.
-
-### GetTotalDebt
-
-`func (o *MarginIsolatedLiquidationInfo) GetTotalDebt() string`
-
-GetTotalDebt returns the TotalDebt field if non-nil, zero value otherwise.
-
-### GetTotalDebtOk
-
-`func (o *MarginIsolatedLiquidationInfo) GetTotalDebtOk() (*string, bool)`
-
-GetTotalDebtOk returns a tuple with the TotalDebt field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalDebt
-
-`func (o *MarginIsolatedLiquidationInfo) SetTotalDebt(v string)`
-
-SetTotalDebt sets TotalDebt field to given value.
-
-### HasTotalDebt
-
-`func (o *MarginIsolatedLiquidationInfo) HasTotalDebt() bool`
-
-HasTotalDebt returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfoResult.md
deleted file mode 100644
index 8efe6b12..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLiquidationInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedLiquidationInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginIsolatedLiquidationInfo**](MarginIsolatedLiquidationInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginIsolatedLiquidationInfoResult
-
-`func NewMarginIsolatedLiquidationInfoResult() *MarginIsolatedLiquidationInfoResult`
-
-NewMarginIsolatedLiquidationInfoResult instantiates a new MarginIsolatedLiquidationInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLiquidationInfoResultWithDefaults
-
-`func NewMarginIsolatedLiquidationInfoResultWithDefaults() *MarginIsolatedLiquidationInfoResult`
-
-NewMarginIsolatedLiquidationInfoResultWithDefaults instantiates a new MarginIsolatedLiquidationInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginIsolatedLiquidationInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginIsolatedLiquidationInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginIsolatedLiquidationInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginIsolatedLiquidationInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetResultList() []MarginIsolatedLiquidationInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginIsolatedLiquidationInfoResult) GetResultListOk() (*[]MarginIsolatedLiquidationInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginIsolatedLiquidationInfoResult) SetResultList(v []MarginIsolatedLiquidationInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginIsolatedLiquidationInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfo.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfo.md
deleted file mode 100644
index f84de1c4..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfo.md
+++ /dev/null
@@ -1,186 +0,0 @@
-# MarginIsolatedLoanInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**LoanId** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedLoanInfo
-
-`func NewMarginIsolatedLoanInfo() *MarginIsolatedLoanInfo`
-
-NewMarginIsolatedLoanInfo instantiates a new MarginIsolatedLoanInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLoanInfoWithDefaults
-
-`func NewMarginIsolatedLoanInfoWithDefaults() *MarginIsolatedLoanInfo`
-
-NewMarginIsolatedLoanInfoWithDefaults instantiates a new MarginIsolatedLoanInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginIsolatedLoanInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginIsolatedLoanInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginIsolatedLoanInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginIsolatedLoanInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedLoanInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedLoanInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedLoanInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedLoanInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginIsolatedLoanInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedLoanInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedLoanInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedLoanInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetLoanId
-
-`func (o *MarginIsolatedLoanInfo) GetLoanId() string`
-
-GetLoanId returns the LoanId field if non-nil, zero value otherwise.
-
-### GetLoanIdOk
-
-`func (o *MarginIsolatedLoanInfo) GetLoanIdOk() (*string, bool)`
-
-GetLoanIdOk returns a tuple with the LoanId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanId
-
-`func (o *MarginIsolatedLoanInfo) SetLoanId(v string)`
-
-SetLoanId sets LoanId field to given value.
-
-### HasLoanId
-
-`func (o *MarginIsolatedLoanInfo) HasLoanId() bool`
-
-HasLoanId returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedLoanInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedLoanInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedLoanInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedLoanInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginIsolatedLoanInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginIsolatedLoanInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginIsolatedLoanInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginIsolatedLoanInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfoResult.md
deleted file mode 100644
index 27fae221..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedLoanInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedLoanInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginIsolatedLoanInfo**](MarginIsolatedLoanInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginIsolatedLoanInfoResult
-
-`func NewMarginIsolatedLoanInfoResult() *MarginIsolatedLoanInfoResult`
-
-NewMarginIsolatedLoanInfoResult instantiates a new MarginIsolatedLoanInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedLoanInfoResultWithDefaults
-
-`func NewMarginIsolatedLoanInfoResultWithDefaults() *MarginIsolatedLoanInfoResult`
-
-NewMarginIsolatedLoanInfoResultWithDefaults instantiates a new MarginIsolatedLoanInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginIsolatedLoanInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginIsolatedLoanInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginIsolatedLoanInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginIsolatedLoanInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginIsolatedLoanInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginIsolatedLoanInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginIsolatedLoanInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginIsolatedLoanInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginIsolatedLoanInfoResult) GetResultList() []MarginIsolatedLoanInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginIsolatedLoanInfoResult) GetResultListOk() (*[]MarginIsolatedLoanInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginIsolatedLoanInfoResult) SetResultList(v []MarginIsolatedLoanInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginIsolatedLoanInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowRequest.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowRequest.md
deleted file mode 100644
index aec44b98..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowRequest.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# MarginIsolatedMaxBorrowRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | **string** | coin |
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginIsolatedMaxBorrowRequest
-
-`func NewMarginIsolatedMaxBorrowRequest(coin string, symbol string, ) *MarginIsolatedMaxBorrowRequest`
-
-NewMarginIsolatedMaxBorrowRequest instantiates a new MarginIsolatedMaxBorrowRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedMaxBorrowRequestWithDefaults
-
-`func NewMarginIsolatedMaxBorrowRequestWithDefaults() *MarginIsolatedMaxBorrowRequest`
-
-NewMarginIsolatedMaxBorrowRequestWithDefaults instantiates a new MarginIsolatedMaxBorrowRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginIsolatedMaxBorrowRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedMaxBorrowRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedMaxBorrowRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-### GetSymbol
-
-`func (o *MarginIsolatedMaxBorrowRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedMaxBorrowRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedMaxBorrowRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowResult.md
deleted file mode 100644
index 5c22f13d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedMaxBorrowResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedMaxBorrowResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | Pointer to **string** | | [optional]
-**MaxBorrowableAmount** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedMaxBorrowResult
-
-`func NewMarginIsolatedMaxBorrowResult() *MarginIsolatedMaxBorrowResult`
-
-NewMarginIsolatedMaxBorrowResult instantiates a new MarginIsolatedMaxBorrowResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedMaxBorrowResultWithDefaults
-
-`func NewMarginIsolatedMaxBorrowResultWithDefaults() *MarginIsolatedMaxBorrowResult`
-
-NewMarginIsolatedMaxBorrowResultWithDefaults instantiates a new MarginIsolatedMaxBorrowResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginIsolatedMaxBorrowResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedMaxBorrowResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedMaxBorrowResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedMaxBorrowResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetMaxBorrowableAmount
-
-`func (o *MarginIsolatedMaxBorrowResult) GetMaxBorrowableAmount() string`
-
-GetMaxBorrowableAmount returns the MaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetMaxBorrowableAmountOk
-
-`func (o *MarginIsolatedMaxBorrowResult) GetMaxBorrowableAmountOk() (*string, bool)`
-
-GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxBorrowableAmount
-
-`func (o *MarginIsolatedMaxBorrowResult) SetMaxBorrowableAmount(v string)`
-
-SetMaxBorrowableAmount sets MaxBorrowableAmount field to given value.
-
-### HasMaxBorrowableAmount
-
-`func (o *MarginIsolatedMaxBorrowResult) HasMaxBorrowableAmount() bool`
-
-HasMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedMaxBorrowResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedMaxBorrowResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedMaxBorrowResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedMaxBorrowResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedOrderApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedOrderApi.md
deleted file mode 100644
index 00e5958b..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedOrderApi.md
+++ /dev/null
@@ -1,511 +0,0 @@
-# \MarginIsolatedOrderApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginIsolatedBatchCancelOrder**](MarginIsolatedOrderApi.md#MarginIsolatedBatchCancelOrder) | **Post** /api/margin/v1/isolated/order/batchCancelOrder | batchCancelOrder
-[**MarginIsolatedBatchPlaceOrder**](MarginIsolatedOrderApi.md#MarginIsolatedBatchPlaceOrder) | **Post** /api/margin/v1/isolated/order/batchPlaceOrder | batchPlaceOrder
-[**MarginIsolatedCancelOrder**](MarginIsolatedOrderApi.md#MarginIsolatedCancelOrder) | **Post** /api/margin/v1/isolated/order/cancelOrder | cancelOrder
-[**MarginIsolatedFills**](MarginIsolatedOrderApi.md#MarginIsolatedFills) | **Get** /api/margin/v1/isolated/order/fills | fills
-[**MarginIsolatedHistoryOrders**](MarginIsolatedOrderApi.md#MarginIsolatedHistoryOrders) | **Get** /api/margin/v1/isolated/order/history | history
-[**MarginIsolatedOpenOrders**](MarginIsolatedOrderApi.md#MarginIsolatedOpenOrders) | **Get** /api/margin/v1/isolated/order/openOrders | openOrders
-[**MarginIsolatedPlaceOrder**](MarginIsolatedOrderApi.md#MarginIsolatedPlaceOrder) | **Post** /api/margin/v1/isolated/order/placeOrder | placeOrder
-
-
-
-## MarginIsolatedBatchCancelOrder
-
-> ApiResponseResultOfMarginBatchCancelOrderResult MarginIsolatedBatchCancelOrder(ctx).MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest).Execute()
-
-batchCancelOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginBatchCancelOrderRequest := *openapiclient.NewMarginBatchCancelOrderRequest("BTCUSDT_SPBL") // MarginBatchCancelOrderRequest | marginBatchCancelOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedBatchCancelOrder(context.Background()).MarginBatchCancelOrderRequest(marginBatchCancelOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedBatchCancelOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedBatchCancelOrder`: ApiResponseResultOfMarginBatchCancelOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedBatchCancelOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedBatchCancelOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginBatchCancelOrderRequest** | [**MarginBatchCancelOrderRequest**](MarginBatchCancelOrderRequest.md) | marginBatchCancelOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchCancelOrderResult**](ApiResponseResultOfMarginBatchCancelOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedBatchPlaceOrder
-
-> ApiResponseResultOfMarginBatchPlaceOrderResult MarginIsolatedBatchPlaceOrder(ctx).MarginOrderRequest(marginOrderRequest).Execute()
-
-batchPlaceOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginOrderRequest := *openapiclient.NewMarginBatchOrdersRequest("BTCUSDT_SPBL") // MarginBatchOrdersRequest | marginOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedBatchPlaceOrder(context.Background()).MarginOrderRequest(marginOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedBatchPlaceOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedBatchPlaceOrder`: ApiResponseResultOfMarginBatchPlaceOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedBatchPlaceOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedBatchPlaceOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginOrderRequest** | [**MarginBatchOrdersRequest**](MarginBatchOrdersRequest.md) | marginOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchPlaceOrderResult**](ApiResponseResultOfMarginBatchPlaceOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedCancelOrder
-
-> ApiResponseResultOfMarginBatchCancelOrderResult MarginIsolatedCancelOrder(ctx).MarginCancelOrderRequest(marginCancelOrderRequest).Execute()
-
-cancelOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginCancelOrderRequest := *openapiclient.NewMarginCancelOrderRequest("BTCUSDT_SPBL") // MarginCancelOrderRequest | marginCancelOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedCancelOrder(context.Background()).MarginCancelOrderRequest(marginCancelOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedCancelOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedCancelOrder`: ApiResponseResultOfMarginBatchCancelOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedCancelOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedCancelOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginCancelOrderRequest** | [**MarginCancelOrderRequest**](MarginCancelOrderRequest.md) | marginCancelOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginBatchCancelOrderResult**](ApiResponseResultOfMarginBatchCancelOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedFills
-
-> ApiResponseResultOfMarginTradeDetailInfoResult MarginIsolatedFills(ctx).StartTime(startTime).Symbol(symbol).EndTime(endTime).OrderId(orderId).LastFillId(lastFillId).PageSize(pageSize).Execute()
-
-fills
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- symbol := "BTCUSDT" // string | symbol (optional)
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- lastFillId := "lastFillId_example" // string | lastFillId (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedFills(context.Background()).StartTime(startTime).Symbol(symbol).EndTime(endTime).OrderId(orderId).LastFillId(lastFillId).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedFills``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedFills`: ApiResponseResultOfMarginTradeDetailInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedFills`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedFillsRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **symbol** | **string** | symbol |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **lastFillId** | **string** | lastFillId |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMarginTradeDetailInfoResult**](ApiResponseResultOfMarginTradeDetailInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedHistoryOrders
-
-> ApiResponseResultOfMarginOpenOrderInfoResult MarginIsolatedHistoryOrders(ctx).StartTime(startTime).Symbol(symbol).Source(source).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).MinId(minId).Execute()
-
-history
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- symbol := "BTCUSDT" // string | symbol (optional)
- source := "API" // string | source (optional)
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- clientOid := "123456" // string | clientOid (optional)
- pageSize := "10" // string | pageSize (optional)
- minId := "minId_example" // string | minId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedHistoryOrders(context.Background()).StartTime(startTime).Symbol(symbol).Source(source).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).MinId(minId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedHistoryOrders``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedHistoryOrders`: ApiResponseResultOfMarginOpenOrderInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedHistoryOrders`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedHistoryOrdersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **symbol** | **string** | symbol |
- **source** | **string** | source |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **clientOid** | **string** | clientOid |
- **pageSize** | **string** | pageSize |
- **minId** | **string** | minId |
-
-### Return type
-
-[**ApiResponseResultOfMarginOpenOrderInfoResult**](ApiResponseResultOfMarginOpenOrderInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedOpenOrders
-
-> ApiResponseResultOfMarginOpenOrderInfoResult MarginIsolatedOpenOrders(ctx).Symbol(symbol).StartTime(startTime).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).Execute()
-
-openOrders
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- orderId := "32428347234" // string | orderId (optional)
- clientOid := "123456" // string | clientOid (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedOpenOrders(context.Background()).Symbol(symbol).StartTime(startTime).EndTime(endTime).OrderId(orderId).ClientOid(clientOid).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedOpenOrders``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedOpenOrders`: ApiResponseResultOfMarginOpenOrderInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedOpenOrders`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedOpenOrdersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **orderId** | **string** | orderId |
- **clientOid** | **string** | clientOid |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMarginOpenOrderInfoResult**](ApiResponseResultOfMarginOpenOrderInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedPlaceOrder
-
-> ApiResponseResultOfMarginPlaceOrderResult MarginIsolatedPlaceOrder(ctx).MarginOrderRequest(marginOrderRequest).Execute()
-
-placeOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- marginOrderRequest := *openapiclient.NewMarginOrderRequest("normal/autoLoan/autoRepay", "limit/market", "sell/buy", "BTCUSDT_SPBL") // MarginOrderRequest | marginOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedPlaceOrder(context.Background()).MarginOrderRequest(marginOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedOrderApi.MarginIsolatedPlaceOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedPlaceOrder`: ApiResponseResultOfMarginPlaceOrderResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedOrderApi.MarginIsolatedPlaceOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedPlaceOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **marginOrderRequest** | [**MarginOrderRequest**](MarginOrderRequest.md) | marginOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfMarginPlaceOrderResult**](ApiResponseResultOfMarginPlaceOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedPublicApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedPublicApi.md
deleted file mode 100644
index 12d67b5d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedPublicApi.md
+++ /dev/null
@@ -1,142 +0,0 @@
-# \MarginIsolatedPublicApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginIsolatedPublicInterestRateAndLimit**](MarginIsolatedPublicApi.md#MarginIsolatedPublicInterestRateAndLimit) | **Get** /api/margin/v1/isolated/public/interestRateAndLimit | interestRateAndLimit
-[**MarginIsolatedPublicTierData**](MarginIsolatedPublicApi.md#MarginIsolatedPublicTierData) | **Get** /api/margin/v1/isolated/public/tierData | tierData
-
-
-
-## MarginIsolatedPublicInterestRateAndLimit
-
-> ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult MarginIsolatedPublicInterestRateAndLimit(ctx).Symbol(symbol).Execute()
-
-interestRateAndLimit
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedPublicApi.MarginIsolatedPublicInterestRateAndLimit(context.Background()).Symbol(symbol).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedPublicApi.MarginIsolatedPublicInterestRateAndLimit``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedPublicInterestRateAndLimit`: ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedPublicApi.MarginIsolatedPublicInterestRateAndLimit`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedPublicInterestRateAndLimitRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult**](ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MarginIsolatedPublicTierData
-
-> ApiResponseResultOfListOfMarginIsolatedLevelResult MarginIsolatedPublicTierData(ctx).Symbol(symbol).Execute()
-
-tierData
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedPublicApi.MarginIsolatedPublicTierData(context.Background()).Symbol(symbol).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedPublicApi.MarginIsolatedPublicTierData``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginIsolatedPublicTierData`: ApiResponseResultOfListOfMarginIsolatedLevelResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedPublicApi.MarginIsolatedPublicTierData`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginIsolatedPublicTierDataRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginIsolatedLevelResult**](ApiResponseResultOfListOfMarginIsolatedLevelResult.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRateAndLimitResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRateAndLimitResult.md
deleted file mode 100644
index c0b121e0..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRateAndLimitResult.md
+++ /dev/null
@@ -1,446 +0,0 @@
-# MarginIsolatedRateAndLimitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BaseBorrowAble** | Pointer to **bool** | | [optional]
-**BaseCoin** | Pointer to **string** | | [optional]
-**BaseDailyInterestRate** | Pointer to **string** | | [optional]
-**BaseMaxBorrowableAmount** | Pointer to **string** | | [optional]
-**BaseTransferInAble** | Pointer to **bool** | | [optional]
-**BaseVips** | Pointer to [**[]MarginIsolatedVipResult**](MarginIsolatedVipResult.md) | | [optional]
-**BaseYearlyInterestRate** | Pointer to **string** | | [optional]
-**Leverage** | Pointer to **string** | | [optional]
-**QuoteBorrowAble** | Pointer to **bool** | | [optional]
-**QuoteCoin** | Pointer to **string** | | [optional]
-**QuoteDailyInterestRate** | Pointer to **string** | | [optional]
-**QuoteMaxBorrowableAmount** | Pointer to **string** | | [optional]
-**QuoteTransferInAble** | Pointer to **bool** | | [optional]
-**QuoteVips** | Pointer to [**[]MarginIsolatedVipResult**](MarginIsolatedVipResult.md) | | [optional]
-**QuoteYearlyInterestRate** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedRateAndLimitResult
-
-`func NewMarginIsolatedRateAndLimitResult() *MarginIsolatedRateAndLimitResult`
-
-NewMarginIsolatedRateAndLimitResult instantiates a new MarginIsolatedRateAndLimitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedRateAndLimitResultWithDefaults
-
-`func NewMarginIsolatedRateAndLimitResultWithDefaults() *MarginIsolatedRateAndLimitResult`
-
-NewMarginIsolatedRateAndLimitResultWithDefaults instantiates a new MarginIsolatedRateAndLimitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBaseBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseBorrowAble() bool`
-
-GetBaseBorrowAble returns the BaseBorrowAble field if non-nil, zero value otherwise.
-
-### GetBaseBorrowAbleOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseBorrowAbleOk() (*bool, bool)`
-
-GetBaseBorrowAbleOk returns a tuple with the BaseBorrowAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseBorrowAble(v bool)`
-
-SetBaseBorrowAble sets BaseBorrowAble field to given value.
-
-### HasBaseBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseBorrowAble() bool`
-
-HasBaseBorrowAble returns a boolean if a field has been set.
-
-### GetBaseCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseCoin() string`
-
-GetBaseCoin returns the BaseCoin field if non-nil, zero value otherwise.
-
-### GetBaseCoinOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseCoinOk() (*string, bool)`
-
-GetBaseCoinOk returns a tuple with the BaseCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseCoin(v string)`
-
-SetBaseCoin sets BaseCoin field to given value.
-
-### HasBaseCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseCoin() bool`
-
-HasBaseCoin returns a boolean if a field has been set.
-
-### GetBaseDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseDailyInterestRate() string`
-
-GetBaseDailyInterestRate returns the BaseDailyInterestRate field if non-nil, zero value otherwise.
-
-### GetBaseDailyInterestRateOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseDailyInterestRateOk() (*string, bool)`
-
-GetBaseDailyInterestRateOk returns a tuple with the BaseDailyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseDailyInterestRate(v string)`
-
-SetBaseDailyInterestRate sets BaseDailyInterestRate field to given value.
-
-### HasBaseDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseDailyInterestRate() bool`
-
-HasBaseDailyInterestRate returns a boolean if a field has been set.
-
-### GetBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseMaxBorrowableAmount() string`
-
-GetBaseMaxBorrowableAmount returns the BaseMaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetBaseMaxBorrowableAmountOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseMaxBorrowableAmountOk() (*string, bool)`
-
-GetBaseMaxBorrowableAmountOk returns a tuple with the BaseMaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseMaxBorrowableAmount(v string)`
-
-SetBaseMaxBorrowableAmount sets BaseMaxBorrowableAmount field to given value.
-
-### HasBaseMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseMaxBorrowableAmount() bool`
-
-HasBaseMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetBaseTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseTransferInAble() bool`
-
-GetBaseTransferInAble returns the BaseTransferInAble field if non-nil, zero value otherwise.
-
-### GetBaseTransferInAbleOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseTransferInAbleOk() (*bool, bool)`
-
-GetBaseTransferInAbleOk returns a tuple with the BaseTransferInAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseTransferInAble(v bool)`
-
-SetBaseTransferInAble sets BaseTransferInAble field to given value.
-
-### HasBaseTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseTransferInAble() bool`
-
-HasBaseTransferInAble returns a boolean if a field has been set.
-
-### GetBaseVips
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseVips() []MarginIsolatedVipResult`
-
-GetBaseVips returns the BaseVips field if non-nil, zero value otherwise.
-
-### GetBaseVipsOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseVipsOk() (*[]MarginIsolatedVipResult, bool)`
-
-GetBaseVipsOk returns a tuple with the BaseVips field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseVips
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseVips(v []MarginIsolatedVipResult)`
-
-SetBaseVips sets BaseVips field to given value.
-
-### HasBaseVips
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseVips() bool`
-
-HasBaseVips returns a boolean if a field has been set.
-
-### GetBaseYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseYearlyInterestRate() string`
-
-GetBaseYearlyInterestRate returns the BaseYearlyInterestRate field if non-nil, zero value otherwise.
-
-### GetBaseYearlyInterestRateOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetBaseYearlyInterestRateOk() (*string, bool)`
-
-GetBaseYearlyInterestRateOk returns a tuple with the BaseYearlyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) SetBaseYearlyInterestRate(v string)`
-
-SetBaseYearlyInterestRate sets BaseYearlyInterestRate field to given value.
-
-### HasBaseYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) HasBaseYearlyInterestRate() bool`
-
-HasBaseYearlyInterestRate returns a boolean if a field has been set.
-
-### GetLeverage
-
-`func (o *MarginIsolatedRateAndLimitResult) GetLeverage() string`
-
-GetLeverage returns the Leverage field if non-nil, zero value otherwise.
-
-### GetLeverageOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetLeverageOk() (*string, bool)`
-
-GetLeverageOk returns a tuple with the Leverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLeverage
-
-`func (o *MarginIsolatedRateAndLimitResult) SetLeverage(v string)`
-
-SetLeverage sets Leverage field to given value.
-
-### HasLeverage
-
-`func (o *MarginIsolatedRateAndLimitResult) HasLeverage() bool`
-
-HasLeverage returns a boolean if a field has been set.
-
-### GetQuoteBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteBorrowAble() bool`
-
-GetQuoteBorrowAble returns the QuoteBorrowAble field if non-nil, zero value otherwise.
-
-### GetQuoteBorrowAbleOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteBorrowAbleOk() (*bool, bool)`
-
-GetQuoteBorrowAbleOk returns a tuple with the QuoteBorrowAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteBorrowAble(v bool)`
-
-SetQuoteBorrowAble sets QuoteBorrowAble field to given value.
-
-### HasQuoteBorrowAble
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteBorrowAble() bool`
-
-HasQuoteBorrowAble returns a boolean if a field has been set.
-
-### GetQuoteCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteCoin() string`
-
-GetQuoteCoin returns the QuoteCoin field if non-nil, zero value otherwise.
-
-### GetQuoteCoinOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteCoinOk() (*string, bool)`
-
-GetQuoteCoinOk returns a tuple with the QuoteCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteCoin(v string)`
-
-SetQuoteCoin sets QuoteCoin field to given value.
-
-### HasQuoteCoin
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteCoin() bool`
-
-HasQuoteCoin returns a boolean if a field has been set.
-
-### GetQuoteDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteDailyInterestRate() string`
-
-GetQuoteDailyInterestRate returns the QuoteDailyInterestRate field if non-nil, zero value otherwise.
-
-### GetQuoteDailyInterestRateOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteDailyInterestRateOk() (*string, bool)`
-
-GetQuoteDailyInterestRateOk returns a tuple with the QuoteDailyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteDailyInterestRate(v string)`
-
-SetQuoteDailyInterestRate sets QuoteDailyInterestRate field to given value.
-
-### HasQuoteDailyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteDailyInterestRate() bool`
-
-HasQuoteDailyInterestRate returns a boolean if a field has been set.
-
-### GetQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteMaxBorrowableAmount() string`
-
-GetQuoteMaxBorrowableAmount returns the QuoteMaxBorrowableAmount field if non-nil, zero value otherwise.
-
-### GetQuoteMaxBorrowableAmountOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteMaxBorrowableAmountOk() (*string, bool)`
-
-GetQuoteMaxBorrowableAmountOk returns a tuple with the QuoteMaxBorrowableAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteMaxBorrowableAmount(v string)`
-
-SetQuoteMaxBorrowableAmount sets QuoteMaxBorrowableAmount field to given value.
-
-### HasQuoteMaxBorrowableAmount
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteMaxBorrowableAmount() bool`
-
-HasQuoteMaxBorrowableAmount returns a boolean if a field has been set.
-
-### GetQuoteTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteTransferInAble() bool`
-
-GetQuoteTransferInAble returns the QuoteTransferInAble field if non-nil, zero value otherwise.
-
-### GetQuoteTransferInAbleOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteTransferInAbleOk() (*bool, bool)`
-
-GetQuoteTransferInAbleOk returns a tuple with the QuoteTransferInAble field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteTransferInAble(v bool)`
-
-SetQuoteTransferInAble sets QuoteTransferInAble field to given value.
-
-### HasQuoteTransferInAble
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteTransferInAble() bool`
-
-HasQuoteTransferInAble returns a boolean if a field has been set.
-
-### GetQuoteVips
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteVips() []MarginIsolatedVipResult`
-
-GetQuoteVips returns the QuoteVips field if non-nil, zero value otherwise.
-
-### GetQuoteVipsOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteVipsOk() (*[]MarginIsolatedVipResult, bool)`
-
-GetQuoteVipsOk returns a tuple with the QuoteVips field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteVips
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteVips(v []MarginIsolatedVipResult)`
-
-SetQuoteVips sets QuoteVips field to given value.
-
-### HasQuoteVips
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteVips() bool`
-
-HasQuoteVips returns a boolean if a field has been set.
-
-### GetQuoteYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteYearlyInterestRate() string`
-
-GetQuoteYearlyInterestRate returns the QuoteYearlyInterestRate field if non-nil, zero value otherwise.
-
-### GetQuoteYearlyInterestRateOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetQuoteYearlyInterestRateOk() (*string, bool)`
-
-GetQuoteYearlyInterestRateOk returns a tuple with the QuoteYearlyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) SetQuoteYearlyInterestRate(v string)`
-
-SetQuoteYearlyInterestRate sets QuoteYearlyInterestRate field to given value.
-
-### HasQuoteYearlyInterestRate
-
-`func (o *MarginIsolatedRateAndLimitResult) HasQuoteYearlyInterestRate() bool`
-
-HasQuoteYearlyInterestRate returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedRateAndLimitResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedRateAndLimitResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedRateAndLimitResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedRateAndLimitResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayApi.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayApi.md
deleted file mode 100644
index 579f844a..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayApi.md
+++ /dev/null
@@ -1,87 +0,0 @@
-# \MarginIsolatedRepayApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**IsolateRepayList**](MarginIsolatedRepayApi.md#IsolateRepayList) | **Get** /api/margin/v1/isolated/repay/list | list
-
-
-
-## IsolateRepayList
-
-> ApiResponseResultOfMarginIsolatedRepayInfoResult IsolateRepayList(ctx).Symbol(symbol).StartTime(startTime).Coin(coin).RepayId(repayId).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
-
-list
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- symbol := "BTCUSDT" // string | symbol
- startTime := "1678193338000" // string | startTime
- coin := "USDT" // string | coin (optional)
- repayId := "repayId_example" // string | repayId (optional)
- endTime := "1678193338000" // string | endTime (optional)
- pageSize := "10" // string | pageSize (optional)
- pageId := "pageId_example" // string | pageId (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginIsolatedRepayApi.IsolateRepayList(context.Background()).Symbol(symbol).StartTime(startTime).Coin(coin).RepayId(repayId).EndTime(endTime).PageSize(pageSize).PageId(pageId).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginIsolatedRepayApi.IsolateRepayList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `IsolateRepayList`: ApiResponseResultOfMarginIsolatedRepayInfoResult
- fmt.Fprintf(os.Stdout, "Response from `MarginIsolatedRepayApi.IsolateRepayList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiIsolateRepayListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **symbol** | **string** | symbol |
- **startTime** | **string** | startTime |
- **coin** | **string** | coin |
- **repayId** | **string** | repayId |
- **endTime** | **string** | endTime |
- **pageSize** | **string** | pageSize |
- **pageId** | **string** | pageId |
-
-### Return type
-
-[**ApiResponseResultOfMarginIsolatedRepayInfoResult**](ApiResponseResultOfMarginIsolatedRepayInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfo.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfo.md
deleted file mode 100644
index e8374f4f..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfo.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginIsolatedRepayInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Interest** | Pointer to **string** | | [optional]
-**RepayId** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**TotalAmount** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedRepayInfo
-
-`func NewMarginIsolatedRepayInfo() *MarginIsolatedRepayInfo`
-
-NewMarginIsolatedRepayInfo instantiates a new MarginIsolatedRepayInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedRepayInfoWithDefaults
-
-`func NewMarginIsolatedRepayInfoWithDefaults() *MarginIsolatedRepayInfo`
-
-NewMarginIsolatedRepayInfoWithDefaults instantiates a new MarginIsolatedRepayInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginIsolatedRepayInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginIsolatedRepayInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginIsolatedRepayInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginIsolatedRepayInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedRepayInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedRepayInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedRepayInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedRepayInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginIsolatedRepayInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginIsolatedRepayInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginIsolatedRepayInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginIsolatedRepayInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetInterest
-
-`func (o *MarginIsolatedRepayInfo) GetInterest() string`
-
-GetInterest returns the Interest field if non-nil, zero value otherwise.
-
-### GetInterestOk
-
-`func (o *MarginIsolatedRepayInfo) GetInterestOk() (*string, bool)`
-
-GetInterestOk returns a tuple with the Interest field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterest
-
-`func (o *MarginIsolatedRepayInfo) SetInterest(v string)`
-
-SetInterest sets Interest field to given value.
-
-### HasInterest
-
-`func (o *MarginIsolatedRepayInfo) HasInterest() bool`
-
-HasInterest returns a boolean if a field has been set.
-
-### GetRepayId
-
-`func (o *MarginIsolatedRepayInfo) GetRepayId() string`
-
-GetRepayId returns the RepayId field if non-nil, zero value otherwise.
-
-### GetRepayIdOk
-
-`func (o *MarginIsolatedRepayInfo) GetRepayIdOk() (*string, bool)`
-
-GetRepayIdOk returns a tuple with the RepayId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayId
-
-`func (o *MarginIsolatedRepayInfo) SetRepayId(v string)`
-
-SetRepayId sets RepayId field to given value.
-
-### HasRepayId
-
-`func (o *MarginIsolatedRepayInfo) HasRepayId() bool`
-
-HasRepayId returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedRepayInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedRepayInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedRepayInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedRepayInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetTotalAmount
-
-`func (o *MarginIsolatedRepayInfo) GetTotalAmount() string`
-
-GetTotalAmount returns the TotalAmount field if non-nil, zero value otherwise.
-
-### GetTotalAmountOk
-
-`func (o *MarginIsolatedRepayInfo) GetTotalAmountOk() (*string, bool)`
-
-GetTotalAmountOk returns a tuple with the TotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAmount
-
-`func (o *MarginIsolatedRepayInfo) SetTotalAmount(v string)`
-
-SetTotalAmount sets TotalAmount field to given value.
-
-### HasTotalAmount
-
-`func (o *MarginIsolatedRepayInfo) HasTotalAmount() bool`
-
-HasTotalAmount returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginIsolatedRepayInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginIsolatedRepayInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginIsolatedRepayInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginIsolatedRepayInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfoResult.md
deleted file mode 100644
index 37cdfa70..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginIsolatedRepayInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginIsolatedRepayInfo**](MarginIsolatedRepayInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginIsolatedRepayInfoResult
-
-`func NewMarginIsolatedRepayInfoResult() *MarginIsolatedRepayInfoResult`
-
-NewMarginIsolatedRepayInfoResult instantiates a new MarginIsolatedRepayInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedRepayInfoResultWithDefaults
-
-`func NewMarginIsolatedRepayInfoResultWithDefaults() *MarginIsolatedRepayInfoResult`
-
-NewMarginIsolatedRepayInfoResultWithDefaults instantiates a new MarginIsolatedRepayInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginIsolatedRepayInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginIsolatedRepayInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginIsolatedRepayInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginIsolatedRepayInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginIsolatedRepayInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginIsolatedRepayInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginIsolatedRepayInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginIsolatedRepayInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginIsolatedRepayInfoResult) GetResultList() []MarginIsolatedRepayInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginIsolatedRepayInfoResult) GetResultListOk() (*[]MarginIsolatedRepayInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginIsolatedRepayInfoResult) SetResultList(v []MarginIsolatedRepayInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginIsolatedRepayInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayRequest.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayRequest.md
deleted file mode 100644
index 167c0797..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayRequest.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# MarginIsolatedRepayRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Coin** | **string** | coin |
-**RepayAmount** | **string** | repayAmount |
-**Symbol** | **string** | symbol |
-
-## Methods
-
-### NewMarginIsolatedRepayRequest
-
-`func NewMarginIsolatedRepayRequest(coin string, repayAmount string, symbol string, ) *MarginIsolatedRepayRequest`
-
-NewMarginIsolatedRepayRequest instantiates a new MarginIsolatedRepayRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedRepayRequestWithDefaults
-
-`func NewMarginIsolatedRepayRequestWithDefaults() *MarginIsolatedRepayRequest`
-
-NewMarginIsolatedRepayRequestWithDefaults instantiates a new MarginIsolatedRepayRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoin
-
-`func (o *MarginIsolatedRepayRequest) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedRepayRequest) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedRepayRequest) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-
-### GetRepayAmount
-
-`func (o *MarginIsolatedRepayRequest) GetRepayAmount() string`
-
-GetRepayAmount returns the RepayAmount field if non-nil, zero value otherwise.
-
-### GetRepayAmountOk
-
-`func (o *MarginIsolatedRepayRequest) GetRepayAmountOk() (*string, bool)`
-
-GetRepayAmountOk returns a tuple with the RepayAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayAmount
-
-`func (o *MarginIsolatedRepayRequest) SetRepayAmount(v string)`
-
-SetRepayAmount sets RepayAmount field to given value.
-
-
-### GetSymbol
-
-`func (o *MarginIsolatedRepayRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedRepayRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedRepayRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayResult.md
deleted file mode 100644
index 50593122..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedRepayResult.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# MarginIsolatedRepayResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**RemainDebtAmount** | Pointer to **string** | | [optional]
-**RepayAmount** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedRepayResult
-
-`func NewMarginIsolatedRepayResult() *MarginIsolatedRepayResult`
-
-NewMarginIsolatedRepayResult instantiates a new MarginIsolatedRepayResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedRepayResultWithDefaults
-
-`func NewMarginIsolatedRepayResultWithDefaults() *MarginIsolatedRepayResult`
-
-NewMarginIsolatedRepayResultWithDefaults instantiates a new MarginIsolatedRepayResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginIsolatedRepayResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginIsolatedRepayResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginIsolatedRepayResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginIsolatedRepayResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginIsolatedRepayResult) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginIsolatedRepayResult) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginIsolatedRepayResult) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginIsolatedRepayResult) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetRemainDebtAmount
-
-`func (o *MarginIsolatedRepayResult) GetRemainDebtAmount() string`
-
-GetRemainDebtAmount returns the RemainDebtAmount field if non-nil, zero value otherwise.
-
-### GetRemainDebtAmountOk
-
-`func (o *MarginIsolatedRepayResult) GetRemainDebtAmountOk() (*string, bool)`
-
-GetRemainDebtAmountOk returns a tuple with the RemainDebtAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRemainDebtAmount
-
-`func (o *MarginIsolatedRepayResult) SetRemainDebtAmount(v string)`
-
-SetRemainDebtAmount sets RemainDebtAmount field to given value.
-
-### HasRemainDebtAmount
-
-`func (o *MarginIsolatedRepayResult) HasRemainDebtAmount() bool`
-
-HasRemainDebtAmount returns a boolean if a field has been set.
-
-### GetRepayAmount
-
-`func (o *MarginIsolatedRepayResult) GetRepayAmount() string`
-
-GetRepayAmount returns the RepayAmount field if non-nil, zero value otherwise.
-
-### GetRepayAmountOk
-
-`func (o *MarginIsolatedRepayResult) GetRepayAmountOk() (*string, bool)`
-
-GetRepayAmountOk returns a tuple with the RepayAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayAmount
-
-`func (o *MarginIsolatedRepayResult) SetRepayAmount(v string)`
-
-SetRepayAmount sets RepayAmount field to given value.
-
-### HasRepayAmount
-
-`func (o *MarginIsolatedRepayResult) HasRepayAmount() bool`
-
-HasRepayAmount returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginIsolatedRepayResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginIsolatedRepayResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginIsolatedRepayResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginIsolatedRepayResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginIsolatedVipResult.md b/bitget-goland-sdk-open-api/docs/MarginIsolatedVipResult.md
deleted file mode 100644
index eb9519e3..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginIsolatedVipResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# MarginIsolatedVipResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**DailyInterestRate** | Pointer to **string** | | [optional]
-**DiscountRate** | Pointer to **string** | | [optional]
-**Level** | Pointer to **string** | | [optional]
-**YearlyInterestRate** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginIsolatedVipResult
-
-`func NewMarginIsolatedVipResult() *MarginIsolatedVipResult`
-
-NewMarginIsolatedVipResult instantiates a new MarginIsolatedVipResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginIsolatedVipResultWithDefaults
-
-`func NewMarginIsolatedVipResultWithDefaults() *MarginIsolatedVipResult`
-
-NewMarginIsolatedVipResultWithDefaults instantiates a new MarginIsolatedVipResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetDailyInterestRate
-
-`func (o *MarginIsolatedVipResult) GetDailyInterestRate() string`
-
-GetDailyInterestRate returns the DailyInterestRate field if non-nil, zero value otherwise.
-
-### GetDailyInterestRateOk
-
-`func (o *MarginIsolatedVipResult) GetDailyInterestRateOk() (*string, bool)`
-
-GetDailyInterestRateOk returns a tuple with the DailyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDailyInterestRate
-
-`func (o *MarginIsolatedVipResult) SetDailyInterestRate(v string)`
-
-SetDailyInterestRate sets DailyInterestRate field to given value.
-
-### HasDailyInterestRate
-
-`func (o *MarginIsolatedVipResult) HasDailyInterestRate() bool`
-
-HasDailyInterestRate returns a boolean if a field has been set.
-
-### GetDiscountRate
-
-`func (o *MarginIsolatedVipResult) GetDiscountRate() string`
-
-GetDiscountRate returns the DiscountRate field if non-nil, zero value otherwise.
-
-### GetDiscountRateOk
-
-`func (o *MarginIsolatedVipResult) GetDiscountRateOk() (*string, bool)`
-
-GetDiscountRateOk returns a tuple with the DiscountRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDiscountRate
-
-`func (o *MarginIsolatedVipResult) SetDiscountRate(v string)`
-
-SetDiscountRate sets DiscountRate field to given value.
-
-### HasDiscountRate
-
-`func (o *MarginIsolatedVipResult) HasDiscountRate() bool`
-
-HasDiscountRate returns a boolean if a field has been set.
-
-### GetLevel
-
-`func (o *MarginIsolatedVipResult) GetLevel() string`
-
-GetLevel returns the Level field if non-nil, zero value otherwise.
-
-### GetLevelOk
-
-`func (o *MarginIsolatedVipResult) GetLevelOk() (*string, bool)`
-
-GetLevelOk returns a tuple with the Level field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLevel
-
-`func (o *MarginIsolatedVipResult) SetLevel(v string)`
-
-SetLevel sets Level field to given value.
-
-### HasLevel
-
-`func (o *MarginIsolatedVipResult) HasLevel() bool`
-
-HasLevel returns a boolean if a field has been set.
-
-### GetYearlyInterestRate
-
-`func (o *MarginIsolatedVipResult) GetYearlyInterestRate() string`
-
-GetYearlyInterestRate returns the YearlyInterestRate field if non-nil, zero value otherwise.
-
-### GetYearlyInterestRateOk
-
-`func (o *MarginIsolatedVipResult) GetYearlyInterestRateOk() (*string, bool)`
-
-GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetYearlyInterestRate
-
-`func (o *MarginIsolatedVipResult) SetYearlyInterestRate(v string)`
-
-SetYearlyInterestRate sets YearlyInterestRate field to given value.
-
-### HasYearlyInterestRate
-
-`func (o *MarginIsolatedVipResult) HasYearlyInterestRate() bool`
-
-HasYearlyInterestRate returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginLiquidationInfo.md b/bitget-goland-sdk-open-api/docs/MarginLiquidationInfo.md
deleted file mode 100644
index 69a7d43f..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginLiquidationInfo.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# MarginLiquidationInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Ctime** | Pointer to **string** | | [optional]
-**LiqEndTime** | Pointer to **string** | | [optional]
-**LiqFee** | Pointer to **string** | | [optional]
-**LiqId** | Pointer to **string** | | [optional]
-**LiqRisk** | Pointer to **string** | | [optional]
-**LiqStartTime** | Pointer to **string** | | [optional]
-**TotalAssets** | Pointer to **string** | | [optional]
-**TotalDebt** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginLiquidationInfo
-
-`func NewMarginLiquidationInfo() *MarginLiquidationInfo`
-
-NewMarginLiquidationInfo instantiates a new MarginLiquidationInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginLiquidationInfoWithDefaults
-
-`func NewMarginLiquidationInfoWithDefaults() *MarginLiquidationInfo`
-
-NewMarginLiquidationInfoWithDefaults instantiates a new MarginLiquidationInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCtime
-
-`func (o *MarginLiquidationInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginLiquidationInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginLiquidationInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginLiquidationInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetLiqEndTime
-
-`func (o *MarginLiquidationInfo) GetLiqEndTime() string`
-
-GetLiqEndTime returns the LiqEndTime field if non-nil, zero value otherwise.
-
-### GetLiqEndTimeOk
-
-`func (o *MarginLiquidationInfo) GetLiqEndTimeOk() (*string, bool)`
-
-GetLiqEndTimeOk returns a tuple with the LiqEndTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqEndTime
-
-`func (o *MarginLiquidationInfo) SetLiqEndTime(v string)`
-
-SetLiqEndTime sets LiqEndTime field to given value.
-
-### HasLiqEndTime
-
-`func (o *MarginLiquidationInfo) HasLiqEndTime() bool`
-
-HasLiqEndTime returns a boolean if a field has been set.
-
-### GetLiqFee
-
-`func (o *MarginLiquidationInfo) GetLiqFee() string`
-
-GetLiqFee returns the LiqFee field if non-nil, zero value otherwise.
-
-### GetLiqFeeOk
-
-`func (o *MarginLiquidationInfo) GetLiqFeeOk() (*string, bool)`
-
-GetLiqFeeOk returns a tuple with the LiqFee field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqFee
-
-`func (o *MarginLiquidationInfo) SetLiqFee(v string)`
-
-SetLiqFee sets LiqFee field to given value.
-
-### HasLiqFee
-
-`func (o *MarginLiquidationInfo) HasLiqFee() bool`
-
-HasLiqFee returns a boolean if a field has been set.
-
-### GetLiqId
-
-`func (o *MarginLiquidationInfo) GetLiqId() string`
-
-GetLiqId returns the LiqId field if non-nil, zero value otherwise.
-
-### GetLiqIdOk
-
-`func (o *MarginLiquidationInfo) GetLiqIdOk() (*string, bool)`
-
-GetLiqIdOk returns a tuple with the LiqId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqId
-
-`func (o *MarginLiquidationInfo) SetLiqId(v string)`
-
-SetLiqId sets LiqId field to given value.
-
-### HasLiqId
-
-`func (o *MarginLiquidationInfo) HasLiqId() bool`
-
-HasLiqId returns a boolean if a field has been set.
-
-### GetLiqRisk
-
-`func (o *MarginLiquidationInfo) GetLiqRisk() string`
-
-GetLiqRisk returns the LiqRisk field if non-nil, zero value otherwise.
-
-### GetLiqRiskOk
-
-`func (o *MarginLiquidationInfo) GetLiqRiskOk() (*string, bool)`
-
-GetLiqRiskOk returns a tuple with the LiqRisk field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqRisk
-
-`func (o *MarginLiquidationInfo) SetLiqRisk(v string)`
-
-SetLiqRisk sets LiqRisk field to given value.
-
-### HasLiqRisk
-
-`func (o *MarginLiquidationInfo) HasLiqRisk() bool`
-
-HasLiqRisk returns a boolean if a field has been set.
-
-### GetLiqStartTime
-
-`func (o *MarginLiquidationInfo) GetLiqStartTime() string`
-
-GetLiqStartTime returns the LiqStartTime field if non-nil, zero value otherwise.
-
-### GetLiqStartTimeOk
-
-`func (o *MarginLiquidationInfo) GetLiqStartTimeOk() (*string, bool)`
-
-GetLiqStartTimeOk returns a tuple with the LiqStartTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiqStartTime
-
-`func (o *MarginLiquidationInfo) SetLiqStartTime(v string)`
-
-SetLiqStartTime sets LiqStartTime field to given value.
-
-### HasLiqStartTime
-
-`func (o *MarginLiquidationInfo) HasLiqStartTime() bool`
-
-HasLiqStartTime returns a boolean if a field has been set.
-
-### GetTotalAssets
-
-`func (o *MarginLiquidationInfo) GetTotalAssets() string`
-
-GetTotalAssets returns the TotalAssets field if non-nil, zero value otherwise.
-
-### GetTotalAssetsOk
-
-`func (o *MarginLiquidationInfo) GetTotalAssetsOk() (*string, bool)`
-
-GetTotalAssetsOk returns a tuple with the TotalAssets field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAssets
-
-`func (o *MarginLiquidationInfo) SetTotalAssets(v string)`
-
-SetTotalAssets sets TotalAssets field to given value.
-
-### HasTotalAssets
-
-`func (o *MarginLiquidationInfo) HasTotalAssets() bool`
-
-HasTotalAssets returns a boolean if a field has been set.
-
-### GetTotalDebt
-
-`func (o *MarginLiquidationInfo) GetTotalDebt() string`
-
-GetTotalDebt returns the TotalDebt field if non-nil, zero value otherwise.
-
-### GetTotalDebtOk
-
-`func (o *MarginLiquidationInfo) GetTotalDebtOk() (*string, bool)`
-
-GetTotalDebtOk returns a tuple with the TotalDebt field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalDebt
-
-`func (o *MarginLiquidationInfo) SetTotalDebt(v string)`
-
-SetTotalDebt sets TotalDebt field to given value.
-
-### HasTotalDebt
-
-`func (o *MarginLiquidationInfo) HasTotalDebt() bool`
-
-HasTotalDebt returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginLiquidationInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginLiquidationInfoResult.md
deleted file mode 100644
index 65373112..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginLiquidationInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginLiquidationInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginLiquidationInfo**](MarginLiquidationInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginLiquidationInfoResult
-
-`func NewMarginLiquidationInfoResult() *MarginLiquidationInfoResult`
-
-NewMarginLiquidationInfoResult instantiates a new MarginLiquidationInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginLiquidationInfoResultWithDefaults
-
-`func NewMarginLiquidationInfoResultWithDefaults() *MarginLiquidationInfoResult`
-
-NewMarginLiquidationInfoResultWithDefaults instantiates a new MarginLiquidationInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginLiquidationInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginLiquidationInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginLiquidationInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginLiquidationInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginLiquidationInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginLiquidationInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginLiquidationInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginLiquidationInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginLiquidationInfoResult) GetResultList() []MarginLiquidationInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginLiquidationInfoResult) GetResultListOk() (*[]MarginLiquidationInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginLiquidationInfoResult) SetResultList(v []MarginLiquidationInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginLiquidationInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginLoanInfo.md b/bitget-goland-sdk-open-api/docs/MarginLoanInfo.md
deleted file mode 100644
index 2ec1a74f..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginLoanInfo.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# MarginLoanInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**LoanId** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginLoanInfo
-
-`func NewMarginLoanInfo() *MarginLoanInfo`
-
-NewMarginLoanInfo instantiates a new MarginLoanInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginLoanInfoWithDefaults
-
-`func NewMarginLoanInfoWithDefaults() *MarginLoanInfo`
-
-NewMarginLoanInfoWithDefaults instantiates a new MarginLoanInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginLoanInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginLoanInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginLoanInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginLoanInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginLoanInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginLoanInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginLoanInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginLoanInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginLoanInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginLoanInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginLoanInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginLoanInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetLoanId
-
-`func (o *MarginLoanInfo) GetLoanId() string`
-
-GetLoanId returns the LoanId field if non-nil, zero value otherwise.
-
-### GetLoanIdOk
-
-`func (o *MarginLoanInfo) GetLoanIdOk() (*string, bool)`
-
-GetLoanIdOk returns a tuple with the LoanId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanId
-
-`func (o *MarginLoanInfo) SetLoanId(v string)`
-
-SetLoanId sets LoanId field to given value.
-
-### HasLoanId
-
-`func (o *MarginLoanInfo) HasLoanId() bool`
-
-HasLoanId returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginLoanInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginLoanInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginLoanInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginLoanInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginLoanInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginLoanInfoResult.md
deleted file mode 100644
index 165ed758..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginLoanInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginLoanInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginLoanInfo**](MarginLoanInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginLoanInfoResult
-
-`func NewMarginLoanInfoResult() *MarginLoanInfoResult`
-
-NewMarginLoanInfoResult instantiates a new MarginLoanInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginLoanInfoResultWithDefaults
-
-`func NewMarginLoanInfoResultWithDefaults() *MarginLoanInfoResult`
-
-NewMarginLoanInfoResultWithDefaults instantiates a new MarginLoanInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginLoanInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginLoanInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginLoanInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginLoanInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginLoanInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginLoanInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginLoanInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginLoanInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginLoanInfoResult) GetResultList() []MarginLoanInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginLoanInfoResult) GetResultListOk() (*[]MarginLoanInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginLoanInfoResult) SetResultList(v []MarginLoanInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginLoanInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginOpenOrderInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginOpenOrderInfoResult.md
deleted file mode 100644
index dc5b2fe7..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginOpenOrderInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginOpenOrderInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**OrderList** | Pointer to [**[]MarginOrderInfo**](MarginOrderInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginOpenOrderInfoResult
-
-`func NewMarginOpenOrderInfoResult() *MarginOpenOrderInfoResult`
-
-NewMarginOpenOrderInfoResult instantiates a new MarginOpenOrderInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginOpenOrderInfoResultWithDefaults
-
-`func NewMarginOpenOrderInfoResultWithDefaults() *MarginOpenOrderInfoResult`
-
-NewMarginOpenOrderInfoResultWithDefaults instantiates a new MarginOpenOrderInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginOpenOrderInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginOpenOrderInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginOpenOrderInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginOpenOrderInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginOpenOrderInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginOpenOrderInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginOpenOrderInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginOpenOrderInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetOrderList
-
-`func (o *MarginOpenOrderInfoResult) GetOrderList() []MarginOrderInfo`
-
-GetOrderList returns the OrderList field if non-nil, zero value otherwise.
-
-### GetOrderListOk
-
-`func (o *MarginOpenOrderInfoResult) GetOrderListOk() (*[]MarginOrderInfo, bool)`
-
-GetOrderListOk returns a tuple with the OrderList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderList
-
-`func (o *MarginOpenOrderInfoResult) SetOrderList(v []MarginOrderInfo)`
-
-SetOrderList sets OrderList field to given value.
-
-### HasOrderList
-
-`func (o *MarginOpenOrderInfoResult) HasOrderList() bool`
-
-HasOrderList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginOrderInfo.md b/bitget-goland-sdk-open-api/docs/MarginOrderInfo.md
deleted file mode 100644
index cdd6a928..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginOrderInfo.md
+++ /dev/null
@@ -1,420 +0,0 @@
-# MarginOrderInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BaseQuantity** | Pointer to **string** | | [optional]
-**ClientOid** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**FillPrice** | Pointer to **string** | | [optional]
-**FillQuantity** | Pointer to **string** | | [optional]
-**FillTotalAmount** | Pointer to **string** | | [optional]
-**LoanType** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-**OrderType** | Pointer to **string** | | [optional]
-**Price** | Pointer to **string** | | [optional]
-**QuoteAmount** | Pointer to **string** | | [optional]
-**Side** | Pointer to **string** | | [optional]
-**Source** | Pointer to **string** | | [optional]
-**Status** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginOrderInfo
-
-`func NewMarginOrderInfo() *MarginOrderInfo`
-
-NewMarginOrderInfo instantiates a new MarginOrderInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginOrderInfoWithDefaults
-
-`func NewMarginOrderInfoWithDefaults() *MarginOrderInfo`
-
-NewMarginOrderInfoWithDefaults instantiates a new MarginOrderInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBaseQuantity
-
-`func (o *MarginOrderInfo) GetBaseQuantity() string`
-
-GetBaseQuantity returns the BaseQuantity field if non-nil, zero value otherwise.
-
-### GetBaseQuantityOk
-
-`func (o *MarginOrderInfo) GetBaseQuantityOk() (*string, bool)`
-
-GetBaseQuantityOk returns a tuple with the BaseQuantity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseQuantity
-
-`func (o *MarginOrderInfo) SetBaseQuantity(v string)`
-
-SetBaseQuantity sets BaseQuantity field to given value.
-
-### HasBaseQuantity
-
-`func (o *MarginOrderInfo) HasBaseQuantity() bool`
-
-HasBaseQuantity returns a boolean if a field has been set.
-
-### GetClientOid
-
-`func (o *MarginOrderInfo) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginOrderInfo) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginOrderInfo) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginOrderInfo) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginOrderInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginOrderInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginOrderInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginOrderInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFillPrice
-
-`func (o *MarginOrderInfo) GetFillPrice() string`
-
-GetFillPrice returns the FillPrice field if non-nil, zero value otherwise.
-
-### GetFillPriceOk
-
-`func (o *MarginOrderInfo) GetFillPriceOk() (*string, bool)`
-
-GetFillPriceOk returns a tuple with the FillPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillPrice
-
-`func (o *MarginOrderInfo) SetFillPrice(v string)`
-
-SetFillPrice sets FillPrice field to given value.
-
-### HasFillPrice
-
-`func (o *MarginOrderInfo) HasFillPrice() bool`
-
-HasFillPrice returns a boolean if a field has been set.
-
-### GetFillQuantity
-
-`func (o *MarginOrderInfo) GetFillQuantity() string`
-
-GetFillQuantity returns the FillQuantity field if non-nil, zero value otherwise.
-
-### GetFillQuantityOk
-
-`func (o *MarginOrderInfo) GetFillQuantityOk() (*string, bool)`
-
-GetFillQuantityOk returns a tuple with the FillQuantity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillQuantity
-
-`func (o *MarginOrderInfo) SetFillQuantity(v string)`
-
-SetFillQuantity sets FillQuantity field to given value.
-
-### HasFillQuantity
-
-`func (o *MarginOrderInfo) HasFillQuantity() bool`
-
-HasFillQuantity returns a boolean if a field has been set.
-
-### GetFillTotalAmount
-
-`func (o *MarginOrderInfo) GetFillTotalAmount() string`
-
-GetFillTotalAmount returns the FillTotalAmount field if non-nil, zero value otherwise.
-
-### GetFillTotalAmountOk
-
-`func (o *MarginOrderInfo) GetFillTotalAmountOk() (*string, bool)`
-
-GetFillTotalAmountOk returns a tuple with the FillTotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillTotalAmount
-
-`func (o *MarginOrderInfo) SetFillTotalAmount(v string)`
-
-SetFillTotalAmount sets FillTotalAmount field to given value.
-
-### HasFillTotalAmount
-
-`func (o *MarginOrderInfo) HasFillTotalAmount() bool`
-
-HasFillTotalAmount returns a boolean if a field has been set.
-
-### GetLoanType
-
-`func (o *MarginOrderInfo) GetLoanType() string`
-
-GetLoanType returns the LoanType field if non-nil, zero value otherwise.
-
-### GetLoanTypeOk
-
-`func (o *MarginOrderInfo) GetLoanTypeOk() (*string, bool)`
-
-GetLoanTypeOk returns a tuple with the LoanType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanType
-
-`func (o *MarginOrderInfo) SetLoanType(v string)`
-
-SetLoanType sets LoanType field to given value.
-
-### HasLoanType
-
-`func (o *MarginOrderInfo) HasLoanType() bool`
-
-HasLoanType returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginOrderInfo) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginOrderInfo) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginOrderInfo) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginOrderInfo) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-### GetOrderType
-
-`func (o *MarginOrderInfo) GetOrderType() string`
-
-GetOrderType returns the OrderType field if non-nil, zero value otherwise.
-
-### GetOrderTypeOk
-
-`func (o *MarginOrderInfo) GetOrderTypeOk() (*string, bool)`
-
-GetOrderTypeOk returns a tuple with the OrderType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderType
-
-`func (o *MarginOrderInfo) SetOrderType(v string)`
-
-SetOrderType sets OrderType field to given value.
-
-### HasOrderType
-
-`func (o *MarginOrderInfo) HasOrderType() bool`
-
-HasOrderType returns a boolean if a field has been set.
-
-### GetPrice
-
-`func (o *MarginOrderInfo) GetPrice() string`
-
-GetPrice returns the Price field if non-nil, zero value otherwise.
-
-### GetPriceOk
-
-`func (o *MarginOrderInfo) GetPriceOk() (*string, bool)`
-
-GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPrice
-
-`func (o *MarginOrderInfo) SetPrice(v string)`
-
-SetPrice sets Price field to given value.
-
-### HasPrice
-
-`func (o *MarginOrderInfo) HasPrice() bool`
-
-HasPrice returns a boolean if a field has been set.
-
-### GetQuoteAmount
-
-`func (o *MarginOrderInfo) GetQuoteAmount() string`
-
-GetQuoteAmount returns the QuoteAmount field if non-nil, zero value otherwise.
-
-### GetQuoteAmountOk
-
-`func (o *MarginOrderInfo) GetQuoteAmountOk() (*string, bool)`
-
-GetQuoteAmountOk returns a tuple with the QuoteAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteAmount
-
-`func (o *MarginOrderInfo) SetQuoteAmount(v string)`
-
-SetQuoteAmount sets QuoteAmount field to given value.
-
-### HasQuoteAmount
-
-`func (o *MarginOrderInfo) HasQuoteAmount() bool`
-
-HasQuoteAmount returns a boolean if a field has been set.
-
-### GetSide
-
-`func (o *MarginOrderInfo) GetSide() string`
-
-GetSide returns the Side field if non-nil, zero value otherwise.
-
-### GetSideOk
-
-`func (o *MarginOrderInfo) GetSideOk() (*string, bool)`
-
-GetSideOk returns a tuple with the Side field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSide
-
-`func (o *MarginOrderInfo) SetSide(v string)`
-
-SetSide sets Side field to given value.
-
-### HasSide
-
-`func (o *MarginOrderInfo) HasSide() bool`
-
-HasSide returns a boolean if a field has been set.
-
-### GetSource
-
-`func (o *MarginOrderInfo) GetSource() string`
-
-GetSource returns the Source field if non-nil, zero value otherwise.
-
-### GetSourceOk
-
-`func (o *MarginOrderInfo) GetSourceOk() (*string, bool)`
-
-GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSource
-
-`func (o *MarginOrderInfo) SetSource(v string)`
-
-SetSource sets Source field to given value.
-
-### HasSource
-
-`func (o *MarginOrderInfo) HasSource() bool`
-
-HasSource returns a boolean if a field has been set.
-
-### GetStatus
-
-`func (o *MarginOrderInfo) GetStatus() string`
-
-GetStatus returns the Status field if non-nil, zero value otherwise.
-
-### GetStatusOk
-
-`func (o *MarginOrderInfo) GetStatusOk() (*string, bool)`
-
-GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStatus
-
-`func (o *MarginOrderInfo) SetStatus(v string)`
-
-SetStatus sets Status field to given value.
-
-### HasStatus
-
-`func (o *MarginOrderInfo) HasStatus() bool`
-
-HasStatus returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginOrderInfo) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginOrderInfo) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginOrderInfo) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginOrderInfo) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginOrderRequest.md b/bitget-goland-sdk-open-api/docs/MarginOrderRequest.md
deleted file mode 100644
index abcbc2d1..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginOrderRequest.md
+++ /dev/null
@@ -1,296 +0,0 @@
-# MarginOrderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BaseQuantity** | Pointer to **string** | baseQuantity | [optional]
-**ChannelApiCode** | Pointer to **string** | | [optional]
-**ClientOid** | Pointer to **string** | clientOid | [optional]
-**Ip** | Pointer to **string** | | [optional]
-**LoanType** | **string** | loanType |
-**OrderType** | **string** | orderType |
-**Price** | Pointer to **string** | price | [optional]
-**QuoteAmount** | Pointer to **string** | quoteAmount | [optional]
-**Side** | **string** | side |
-**Symbol** | **string** | symbol |
-**TimeInForce** | Pointer to **string** | timeInForce | [optional]
-
-## Methods
-
-### NewMarginOrderRequest
-
-`func NewMarginOrderRequest(loanType string, orderType string, side string, symbol string, ) *MarginOrderRequest`
-
-NewMarginOrderRequest instantiates a new MarginOrderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginOrderRequestWithDefaults
-
-`func NewMarginOrderRequestWithDefaults() *MarginOrderRequest`
-
-NewMarginOrderRequestWithDefaults instantiates a new MarginOrderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBaseQuantity
-
-`func (o *MarginOrderRequest) GetBaseQuantity() string`
-
-GetBaseQuantity returns the BaseQuantity field if non-nil, zero value otherwise.
-
-### GetBaseQuantityOk
-
-`func (o *MarginOrderRequest) GetBaseQuantityOk() (*string, bool)`
-
-GetBaseQuantityOk returns a tuple with the BaseQuantity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseQuantity
-
-`func (o *MarginOrderRequest) SetBaseQuantity(v string)`
-
-SetBaseQuantity sets BaseQuantity field to given value.
-
-### HasBaseQuantity
-
-`func (o *MarginOrderRequest) HasBaseQuantity() bool`
-
-HasBaseQuantity returns a boolean if a field has been set.
-
-### GetChannelApiCode
-
-`func (o *MarginOrderRequest) GetChannelApiCode() string`
-
-GetChannelApiCode returns the ChannelApiCode field if non-nil, zero value otherwise.
-
-### GetChannelApiCodeOk
-
-`func (o *MarginOrderRequest) GetChannelApiCodeOk() (*string, bool)`
-
-GetChannelApiCodeOk returns a tuple with the ChannelApiCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetChannelApiCode
-
-`func (o *MarginOrderRequest) SetChannelApiCode(v string)`
-
-SetChannelApiCode sets ChannelApiCode field to given value.
-
-### HasChannelApiCode
-
-`func (o *MarginOrderRequest) HasChannelApiCode() bool`
-
-HasChannelApiCode returns a boolean if a field has been set.
-
-### GetClientOid
-
-`func (o *MarginOrderRequest) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginOrderRequest) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginOrderRequest) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginOrderRequest) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetIp
-
-`func (o *MarginOrderRequest) GetIp() string`
-
-GetIp returns the Ip field if non-nil, zero value otherwise.
-
-### GetIpOk
-
-`func (o *MarginOrderRequest) GetIpOk() (*string, bool)`
-
-GetIpOk returns a tuple with the Ip field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIp
-
-`func (o *MarginOrderRequest) SetIp(v string)`
-
-SetIp sets Ip field to given value.
-
-### HasIp
-
-`func (o *MarginOrderRequest) HasIp() bool`
-
-HasIp returns a boolean if a field has been set.
-
-### GetLoanType
-
-`func (o *MarginOrderRequest) GetLoanType() string`
-
-GetLoanType returns the LoanType field if non-nil, zero value otherwise.
-
-### GetLoanTypeOk
-
-`func (o *MarginOrderRequest) GetLoanTypeOk() (*string, bool)`
-
-GetLoanTypeOk returns a tuple with the LoanType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLoanType
-
-`func (o *MarginOrderRequest) SetLoanType(v string)`
-
-SetLoanType sets LoanType field to given value.
-
-
-### GetOrderType
-
-`func (o *MarginOrderRequest) GetOrderType() string`
-
-GetOrderType returns the OrderType field if non-nil, zero value otherwise.
-
-### GetOrderTypeOk
-
-`func (o *MarginOrderRequest) GetOrderTypeOk() (*string, bool)`
-
-GetOrderTypeOk returns a tuple with the OrderType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderType
-
-`func (o *MarginOrderRequest) SetOrderType(v string)`
-
-SetOrderType sets OrderType field to given value.
-
-
-### GetPrice
-
-`func (o *MarginOrderRequest) GetPrice() string`
-
-GetPrice returns the Price field if non-nil, zero value otherwise.
-
-### GetPriceOk
-
-`func (o *MarginOrderRequest) GetPriceOk() (*string, bool)`
-
-GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPrice
-
-`func (o *MarginOrderRequest) SetPrice(v string)`
-
-SetPrice sets Price field to given value.
-
-### HasPrice
-
-`func (o *MarginOrderRequest) HasPrice() bool`
-
-HasPrice returns a boolean if a field has been set.
-
-### GetQuoteAmount
-
-`func (o *MarginOrderRequest) GetQuoteAmount() string`
-
-GetQuoteAmount returns the QuoteAmount field if non-nil, zero value otherwise.
-
-### GetQuoteAmountOk
-
-`func (o *MarginOrderRequest) GetQuoteAmountOk() (*string, bool)`
-
-GetQuoteAmountOk returns a tuple with the QuoteAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteAmount
-
-`func (o *MarginOrderRequest) SetQuoteAmount(v string)`
-
-SetQuoteAmount sets QuoteAmount field to given value.
-
-### HasQuoteAmount
-
-`func (o *MarginOrderRequest) HasQuoteAmount() bool`
-
-HasQuoteAmount returns a boolean if a field has been set.
-
-### GetSide
-
-`func (o *MarginOrderRequest) GetSide() string`
-
-GetSide returns the Side field if non-nil, zero value otherwise.
-
-### GetSideOk
-
-`func (o *MarginOrderRequest) GetSideOk() (*string, bool)`
-
-GetSideOk returns a tuple with the Side field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSide
-
-`func (o *MarginOrderRequest) SetSide(v string)`
-
-SetSide sets Side field to given value.
-
-
-### GetSymbol
-
-`func (o *MarginOrderRequest) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginOrderRequest) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginOrderRequest) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-
-### GetTimeInForce
-
-`func (o *MarginOrderRequest) GetTimeInForce() string`
-
-GetTimeInForce returns the TimeInForce field if non-nil, zero value otherwise.
-
-### GetTimeInForceOk
-
-`func (o *MarginOrderRequest) GetTimeInForceOk() (*string, bool)`
-
-GetTimeInForceOk returns a tuple with the TimeInForce field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTimeInForce
-
-`func (o *MarginOrderRequest) SetTimeInForce(v string)`
-
-SetTimeInForce sets TimeInForce field to given value.
-
-### HasTimeInForce
-
-`func (o *MarginOrderRequest) HasTimeInForce() bool`
-
-HasTimeInForce returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginPlaceOrderResult.md b/bitget-goland-sdk-open-api/docs/MarginPlaceOrderResult.md
deleted file mode 100644
index f015640e..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginPlaceOrderResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MarginPlaceOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ClientOid** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginPlaceOrderResult
-
-`func NewMarginPlaceOrderResult() *MarginPlaceOrderResult`
-
-NewMarginPlaceOrderResult instantiates a new MarginPlaceOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginPlaceOrderResultWithDefaults
-
-`func NewMarginPlaceOrderResultWithDefaults() *MarginPlaceOrderResult`
-
-NewMarginPlaceOrderResultWithDefaults instantiates a new MarginPlaceOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetClientOid
-
-`func (o *MarginPlaceOrderResult) GetClientOid() string`
-
-GetClientOid returns the ClientOid field if non-nil, zero value otherwise.
-
-### GetClientOidOk
-
-`func (o *MarginPlaceOrderResult) GetClientOidOk() (*string, bool)`
-
-GetClientOidOk returns a tuple with the ClientOid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetClientOid
-
-`func (o *MarginPlaceOrderResult) SetClientOid(v string)`
-
-SetClientOid sets ClientOid field to given value.
-
-### HasClientOid
-
-`func (o *MarginPlaceOrderResult) HasClientOid() bool`
-
-HasClientOid returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginPlaceOrderResult) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginPlaceOrderResult) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginPlaceOrderResult) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginPlaceOrderResult) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginPublicApi.md b/bitget-goland-sdk-open-api/docs/MarginPublicApi.md
deleted file mode 100644
index 00ba9957..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginPublicApi.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# \MarginPublicApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MarginPublicCurrencies**](MarginPublicApi.md#MarginPublicCurrencies) | **Get** /api/margin/v1/public/currencies | currencies
-
-
-
-## MarginPublicCurrencies
-
-> ApiResponseResultOfListOfMarginSystemResult MarginPublicCurrencies(ctx).Execute()
-
-currencies
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.MarginPublicApi.MarginPublicCurrencies(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `MarginPublicApi.MarginPublicCurrencies``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MarginPublicCurrencies`: ApiResponseResultOfListOfMarginSystemResult
- fmt.Fprintf(os.Stdout, "Response from `MarginPublicApi.MarginPublicCurrencies`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMarginPublicCurrenciesRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfListOfMarginSystemResult**](ApiResponseResultOfListOfMarginSystemResult.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginRepayInfo.md b/bitget-goland-sdk-open-api/docs/MarginRepayInfo.md
deleted file mode 100644
index c3dd9f7d..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginRepayInfo.md
+++ /dev/null
@@ -1,212 +0,0 @@
-# MarginRepayInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Amount** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Interest** | Pointer to **string** | | [optional]
-**RepayId** | Pointer to **string** | | [optional]
-**TotalAmount** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginRepayInfo
-
-`func NewMarginRepayInfo() *MarginRepayInfo`
-
-NewMarginRepayInfo instantiates a new MarginRepayInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginRepayInfoWithDefaults
-
-`func NewMarginRepayInfoWithDefaults() *MarginRepayInfo`
-
-NewMarginRepayInfoWithDefaults instantiates a new MarginRepayInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAmount
-
-`func (o *MarginRepayInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MarginRepayInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MarginRepayInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MarginRepayInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MarginRepayInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MarginRepayInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MarginRepayInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MarginRepayInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MarginRepayInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginRepayInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginRepayInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginRepayInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetInterest
-
-`func (o *MarginRepayInfo) GetInterest() string`
-
-GetInterest returns the Interest field if non-nil, zero value otherwise.
-
-### GetInterestOk
-
-`func (o *MarginRepayInfo) GetInterestOk() (*string, bool)`
-
-GetInterestOk returns a tuple with the Interest field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetInterest
-
-`func (o *MarginRepayInfo) SetInterest(v string)`
-
-SetInterest sets Interest field to given value.
-
-### HasInterest
-
-`func (o *MarginRepayInfo) HasInterest() bool`
-
-HasInterest returns a boolean if a field has been set.
-
-### GetRepayId
-
-`func (o *MarginRepayInfo) GetRepayId() string`
-
-GetRepayId returns the RepayId field if non-nil, zero value otherwise.
-
-### GetRepayIdOk
-
-`func (o *MarginRepayInfo) GetRepayIdOk() (*string, bool)`
-
-GetRepayIdOk returns a tuple with the RepayId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepayId
-
-`func (o *MarginRepayInfo) SetRepayId(v string)`
-
-SetRepayId sets RepayId field to given value.
-
-### HasRepayId
-
-`func (o *MarginRepayInfo) HasRepayId() bool`
-
-HasRepayId returns a boolean if a field has been set.
-
-### GetTotalAmount
-
-`func (o *MarginRepayInfo) GetTotalAmount() string`
-
-GetTotalAmount returns the TotalAmount field if non-nil, zero value otherwise.
-
-### GetTotalAmountOk
-
-`func (o *MarginRepayInfo) GetTotalAmountOk() (*string, bool)`
-
-GetTotalAmountOk returns a tuple with the TotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalAmount
-
-`func (o *MarginRepayInfo) SetTotalAmount(v string)`
-
-SetTotalAmount sets TotalAmount field to given value.
-
-### HasTotalAmount
-
-`func (o *MarginRepayInfo) HasTotalAmount() bool`
-
-HasTotalAmount returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MarginRepayInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MarginRepayInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MarginRepayInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MarginRepayInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginRepayInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginRepayInfoResult.md
deleted file mode 100644
index 54bb9238..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginRepayInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginRepayInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MarginRepayInfo**](MarginRepayInfo.md) | | [optional]
-
-## Methods
-
-### NewMarginRepayInfoResult
-
-`func NewMarginRepayInfoResult() *MarginRepayInfoResult`
-
-NewMarginRepayInfoResult instantiates a new MarginRepayInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginRepayInfoResultWithDefaults
-
-`func NewMarginRepayInfoResultWithDefaults() *MarginRepayInfoResult`
-
-NewMarginRepayInfoResultWithDefaults instantiates a new MarginRepayInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxId
-
-`func (o *MarginRepayInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginRepayInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginRepayInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginRepayInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginRepayInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginRepayInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginRepayInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginRepayInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MarginRepayInfoResult) GetResultList() []MarginRepayInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MarginRepayInfoResult) GetResultListOk() (*[]MarginRepayInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MarginRepayInfoResult) SetResultList(v []MarginRepayInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MarginRepayInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginSystemResult.md b/bitget-goland-sdk-open-api/docs/MarginSystemResult.md
deleted file mode 100644
index 93bbdbe4..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginSystemResult.md
+++ /dev/null
@@ -1,472 +0,0 @@
-# MarginSystemResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BaseCoin** | Pointer to **string** | | [optional]
-**IsBorrowable** | Pointer to **bool** | | [optional]
-**LiquidationRiskRatio** | Pointer to **string** | | [optional]
-**MakerFeeRate** | Pointer to **string** | | [optional]
-**MaxCrossLeverage** | Pointer to **string** | | [optional]
-**MaxIsolatedLeverage** | Pointer to **string** | | [optional]
-**MaxTradeAmount** | Pointer to **string** | | [optional]
-**MinTradeAmount** | Pointer to **string** | | [optional]
-**MinTradeUSDT** | Pointer to **string** | | [optional]
-**PriceScale** | Pointer to **string** | | [optional]
-**QuantityScale** | Pointer to **string** | | [optional]
-**QuoteCoin** | Pointer to **string** | | [optional]
-**Status** | Pointer to **string** | | [optional]
-**Symbol** | Pointer to **string** | | [optional]
-**TakerFeeRate** | Pointer to **string** | | [optional]
-**UserMinBorrow** | Pointer to **string** | | [optional]
-**WarningRiskRatio** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginSystemResult
-
-`func NewMarginSystemResult() *MarginSystemResult`
-
-NewMarginSystemResult instantiates a new MarginSystemResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginSystemResultWithDefaults
-
-`func NewMarginSystemResultWithDefaults() *MarginSystemResult`
-
-NewMarginSystemResultWithDefaults instantiates a new MarginSystemResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBaseCoin
-
-`func (o *MarginSystemResult) GetBaseCoin() string`
-
-GetBaseCoin returns the BaseCoin field if non-nil, zero value otherwise.
-
-### GetBaseCoinOk
-
-`func (o *MarginSystemResult) GetBaseCoinOk() (*string, bool)`
-
-GetBaseCoinOk returns a tuple with the BaseCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBaseCoin
-
-`func (o *MarginSystemResult) SetBaseCoin(v string)`
-
-SetBaseCoin sets BaseCoin field to given value.
-
-### HasBaseCoin
-
-`func (o *MarginSystemResult) HasBaseCoin() bool`
-
-HasBaseCoin returns a boolean if a field has been set.
-
-### GetIsBorrowable
-
-`func (o *MarginSystemResult) GetIsBorrowable() bool`
-
-GetIsBorrowable returns the IsBorrowable field if non-nil, zero value otherwise.
-
-### GetIsBorrowableOk
-
-`func (o *MarginSystemResult) GetIsBorrowableOk() (*bool, bool)`
-
-GetIsBorrowableOk returns a tuple with the IsBorrowable field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIsBorrowable
-
-`func (o *MarginSystemResult) SetIsBorrowable(v bool)`
-
-SetIsBorrowable sets IsBorrowable field to given value.
-
-### HasIsBorrowable
-
-`func (o *MarginSystemResult) HasIsBorrowable() bool`
-
-HasIsBorrowable returns a boolean if a field has been set.
-
-### GetLiquidationRiskRatio
-
-`func (o *MarginSystemResult) GetLiquidationRiskRatio() string`
-
-GetLiquidationRiskRatio returns the LiquidationRiskRatio field if non-nil, zero value otherwise.
-
-### GetLiquidationRiskRatioOk
-
-`func (o *MarginSystemResult) GetLiquidationRiskRatioOk() (*string, bool)`
-
-GetLiquidationRiskRatioOk returns a tuple with the LiquidationRiskRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLiquidationRiskRatio
-
-`func (o *MarginSystemResult) SetLiquidationRiskRatio(v string)`
-
-SetLiquidationRiskRatio sets LiquidationRiskRatio field to given value.
-
-### HasLiquidationRiskRatio
-
-`func (o *MarginSystemResult) HasLiquidationRiskRatio() bool`
-
-HasLiquidationRiskRatio returns a boolean if a field has been set.
-
-### GetMakerFeeRate
-
-`func (o *MarginSystemResult) GetMakerFeeRate() string`
-
-GetMakerFeeRate returns the MakerFeeRate field if non-nil, zero value otherwise.
-
-### GetMakerFeeRateOk
-
-`func (o *MarginSystemResult) GetMakerFeeRateOk() (*string, bool)`
-
-GetMakerFeeRateOk returns a tuple with the MakerFeeRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMakerFeeRate
-
-`func (o *MarginSystemResult) SetMakerFeeRate(v string)`
-
-SetMakerFeeRate sets MakerFeeRate field to given value.
-
-### HasMakerFeeRate
-
-`func (o *MarginSystemResult) HasMakerFeeRate() bool`
-
-HasMakerFeeRate returns a boolean if a field has been set.
-
-### GetMaxCrossLeverage
-
-`func (o *MarginSystemResult) GetMaxCrossLeverage() string`
-
-GetMaxCrossLeverage returns the MaxCrossLeverage field if non-nil, zero value otherwise.
-
-### GetMaxCrossLeverageOk
-
-`func (o *MarginSystemResult) GetMaxCrossLeverageOk() (*string, bool)`
-
-GetMaxCrossLeverageOk returns a tuple with the MaxCrossLeverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxCrossLeverage
-
-`func (o *MarginSystemResult) SetMaxCrossLeverage(v string)`
-
-SetMaxCrossLeverage sets MaxCrossLeverage field to given value.
-
-### HasMaxCrossLeverage
-
-`func (o *MarginSystemResult) HasMaxCrossLeverage() bool`
-
-HasMaxCrossLeverage returns a boolean if a field has been set.
-
-### GetMaxIsolatedLeverage
-
-`func (o *MarginSystemResult) GetMaxIsolatedLeverage() string`
-
-GetMaxIsolatedLeverage returns the MaxIsolatedLeverage field if non-nil, zero value otherwise.
-
-### GetMaxIsolatedLeverageOk
-
-`func (o *MarginSystemResult) GetMaxIsolatedLeverageOk() (*string, bool)`
-
-GetMaxIsolatedLeverageOk returns a tuple with the MaxIsolatedLeverage field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxIsolatedLeverage
-
-`func (o *MarginSystemResult) SetMaxIsolatedLeverage(v string)`
-
-SetMaxIsolatedLeverage sets MaxIsolatedLeverage field to given value.
-
-### HasMaxIsolatedLeverage
-
-`func (o *MarginSystemResult) HasMaxIsolatedLeverage() bool`
-
-HasMaxIsolatedLeverage returns a boolean if a field has been set.
-
-### GetMaxTradeAmount
-
-`func (o *MarginSystemResult) GetMaxTradeAmount() string`
-
-GetMaxTradeAmount returns the MaxTradeAmount field if non-nil, zero value otherwise.
-
-### GetMaxTradeAmountOk
-
-`func (o *MarginSystemResult) GetMaxTradeAmountOk() (*string, bool)`
-
-GetMaxTradeAmountOk returns a tuple with the MaxTradeAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTradeAmount
-
-`func (o *MarginSystemResult) SetMaxTradeAmount(v string)`
-
-SetMaxTradeAmount sets MaxTradeAmount field to given value.
-
-### HasMaxTradeAmount
-
-`func (o *MarginSystemResult) HasMaxTradeAmount() bool`
-
-HasMaxTradeAmount returns a boolean if a field has been set.
-
-### GetMinTradeAmount
-
-`func (o *MarginSystemResult) GetMinTradeAmount() string`
-
-GetMinTradeAmount returns the MinTradeAmount field if non-nil, zero value otherwise.
-
-### GetMinTradeAmountOk
-
-`func (o *MarginSystemResult) GetMinTradeAmountOk() (*string, bool)`
-
-GetMinTradeAmountOk returns a tuple with the MinTradeAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinTradeAmount
-
-`func (o *MarginSystemResult) SetMinTradeAmount(v string)`
-
-SetMinTradeAmount sets MinTradeAmount field to given value.
-
-### HasMinTradeAmount
-
-`func (o *MarginSystemResult) HasMinTradeAmount() bool`
-
-HasMinTradeAmount returns a boolean if a field has been set.
-
-### GetMinTradeUSDT
-
-`func (o *MarginSystemResult) GetMinTradeUSDT() string`
-
-GetMinTradeUSDT returns the MinTradeUSDT field if non-nil, zero value otherwise.
-
-### GetMinTradeUSDTOk
-
-`func (o *MarginSystemResult) GetMinTradeUSDTOk() (*string, bool)`
-
-GetMinTradeUSDTOk returns a tuple with the MinTradeUSDT field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinTradeUSDT
-
-`func (o *MarginSystemResult) SetMinTradeUSDT(v string)`
-
-SetMinTradeUSDT sets MinTradeUSDT field to given value.
-
-### HasMinTradeUSDT
-
-`func (o *MarginSystemResult) HasMinTradeUSDT() bool`
-
-HasMinTradeUSDT returns a boolean if a field has been set.
-
-### GetPriceScale
-
-`func (o *MarginSystemResult) GetPriceScale() string`
-
-GetPriceScale returns the PriceScale field if non-nil, zero value otherwise.
-
-### GetPriceScaleOk
-
-`func (o *MarginSystemResult) GetPriceScaleOk() (*string, bool)`
-
-GetPriceScaleOk returns a tuple with the PriceScale field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPriceScale
-
-`func (o *MarginSystemResult) SetPriceScale(v string)`
-
-SetPriceScale sets PriceScale field to given value.
-
-### HasPriceScale
-
-`func (o *MarginSystemResult) HasPriceScale() bool`
-
-HasPriceScale returns a boolean if a field has been set.
-
-### GetQuantityScale
-
-`func (o *MarginSystemResult) GetQuantityScale() string`
-
-GetQuantityScale returns the QuantityScale field if non-nil, zero value otherwise.
-
-### GetQuantityScaleOk
-
-`func (o *MarginSystemResult) GetQuantityScaleOk() (*string, bool)`
-
-GetQuantityScaleOk returns a tuple with the QuantityScale field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuantityScale
-
-`func (o *MarginSystemResult) SetQuantityScale(v string)`
-
-SetQuantityScale sets QuantityScale field to given value.
-
-### HasQuantityScale
-
-`func (o *MarginSystemResult) HasQuantityScale() bool`
-
-HasQuantityScale returns a boolean if a field has been set.
-
-### GetQuoteCoin
-
-`func (o *MarginSystemResult) GetQuoteCoin() string`
-
-GetQuoteCoin returns the QuoteCoin field if non-nil, zero value otherwise.
-
-### GetQuoteCoinOk
-
-`func (o *MarginSystemResult) GetQuoteCoinOk() (*string, bool)`
-
-GetQuoteCoinOk returns a tuple with the QuoteCoin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetQuoteCoin
-
-`func (o *MarginSystemResult) SetQuoteCoin(v string)`
-
-SetQuoteCoin sets QuoteCoin field to given value.
-
-### HasQuoteCoin
-
-`func (o *MarginSystemResult) HasQuoteCoin() bool`
-
-HasQuoteCoin returns a boolean if a field has been set.
-
-### GetStatus
-
-`func (o *MarginSystemResult) GetStatus() string`
-
-GetStatus returns the Status field if non-nil, zero value otherwise.
-
-### GetStatusOk
-
-`func (o *MarginSystemResult) GetStatusOk() (*string, bool)`
-
-GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStatus
-
-`func (o *MarginSystemResult) SetStatus(v string)`
-
-SetStatus sets Status field to given value.
-
-### HasStatus
-
-`func (o *MarginSystemResult) HasStatus() bool`
-
-HasStatus returns a boolean if a field has been set.
-
-### GetSymbol
-
-`func (o *MarginSystemResult) GetSymbol() string`
-
-GetSymbol returns the Symbol field if non-nil, zero value otherwise.
-
-### GetSymbolOk
-
-`func (o *MarginSystemResult) GetSymbolOk() (*string, bool)`
-
-GetSymbolOk returns a tuple with the Symbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbol
-
-`func (o *MarginSystemResult) SetSymbol(v string)`
-
-SetSymbol sets Symbol field to given value.
-
-### HasSymbol
-
-`func (o *MarginSystemResult) HasSymbol() bool`
-
-HasSymbol returns a boolean if a field has been set.
-
-### GetTakerFeeRate
-
-`func (o *MarginSystemResult) GetTakerFeeRate() string`
-
-GetTakerFeeRate returns the TakerFeeRate field if non-nil, zero value otherwise.
-
-### GetTakerFeeRateOk
-
-`func (o *MarginSystemResult) GetTakerFeeRateOk() (*string, bool)`
-
-GetTakerFeeRateOk returns a tuple with the TakerFeeRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTakerFeeRate
-
-`func (o *MarginSystemResult) SetTakerFeeRate(v string)`
-
-SetTakerFeeRate sets TakerFeeRate field to given value.
-
-### HasTakerFeeRate
-
-`func (o *MarginSystemResult) HasTakerFeeRate() bool`
-
-HasTakerFeeRate returns a boolean if a field has been set.
-
-### GetUserMinBorrow
-
-`func (o *MarginSystemResult) GetUserMinBorrow() string`
-
-GetUserMinBorrow returns the UserMinBorrow field if non-nil, zero value otherwise.
-
-### GetUserMinBorrowOk
-
-`func (o *MarginSystemResult) GetUserMinBorrowOk() (*string, bool)`
-
-GetUserMinBorrowOk returns a tuple with the UserMinBorrow field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetUserMinBorrow
-
-`func (o *MarginSystemResult) SetUserMinBorrow(v string)`
-
-SetUserMinBorrow sets UserMinBorrow field to given value.
-
-### HasUserMinBorrow
-
-`func (o *MarginSystemResult) HasUserMinBorrow() bool`
-
-HasUserMinBorrow returns a boolean if a field has been set.
-
-### GetWarningRiskRatio
-
-`func (o *MarginSystemResult) GetWarningRiskRatio() string`
-
-GetWarningRiskRatio returns the WarningRiskRatio field if non-nil, zero value otherwise.
-
-### GetWarningRiskRatioOk
-
-`func (o *MarginSystemResult) GetWarningRiskRatioOk() (*string, bool)`
-
-GetWarningRiskRatioOk returns a tuple with the WarningRiskRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetWarningRiskRatio
-
-`func (o *MarginSystemResult) SetWarningRiskRatio(v string)`
-
-SetWarningRiskRatio sets WarningRiskRatio field to given value.
-
-### HasWarningRiskRatio
-
-`func (o *MarginSystemResult) HasWarningRiskRatio() bool`
-
-HasWarningRiskRatio returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfo.md b/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfo.md
deleted file mode 100644
index bab6d716..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfo.md
+++ /dev/null
@@ -1,290 +0,0 @@
-# MarginTradeDetailInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Ctime** | Pointer to **string** | | [optional]
-**FeeCcy** | Pointer to **string** | | [optional]
-**Fees** | Pointer to **string** | | [optional]
-**FillId** | Pointer to **string** | | [optional]
-**FillPrice** | Pointer to **string** | | [optional]
-**FillQuantity** | Pointer to **string** | | [optional]
-**FillTotalAmount** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-**OrderType** | Pointer to **string** | | [optional]
-**Side** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginTradeDetailInfo
-
-`func NewMarginTradeDetailInfo() *MarginTradeDetailInfo`
-
-NewMarginTradeDetailInfo instantiates a new MarginTradeDetailInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginTradeDetailInfoWithDefaults
-
-`func NewMarginTradeDetailInfoWithDefaults() *MarginTradeDetailInfo`
-
-NewMarginTradeDetailInfoWithDefaults instantiates a new MarginTradeDetailInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCtime
-
-`func (o *MarginTradeDetailInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MarginTradeDetailInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MarginTradeDetailInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MarginTradeDetailInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFeeCcy
-
-`func (o *MarginTradeDetailInfo) GetFeeCcy() string`
-
-GetFeeCcy returns the FeeCcy field if non-nil, zero value otherwise.
-
-### GetFeeCcyOk
-
-`func (o *MarginTradeDetailInfo) GetFeeCcyOk() (*string, bool)`
-
-GetFeeCcyOk returns a tuple with the FeeCcy field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFeeCcy
-
-`func (o *MarginTradeDetailInfo) SetFeeCcy(v string)`
-
-SetFeeCcy sets FeeCcy field to given value.
-
-### HasFeeCcy
-
-`func (o *MarginTradeDetailInfo) HasFeeCcy() bool`
-
-HasFeeCcy returns a boolean if a field has been set.
-
-### GetFees
-
-`func (o *MarginTradeDetailInfo) GetFees() string`
-
-GetFees returns the Fees field if non-nil, zero value otherwise.
-
-### GetFeesOk
-
-`func (o *MarginTradeDetailInfo) GetFeesOk() (*string, bool)`
-
-GetFeesOk returns a tuple with the Fees field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFees
-
-`func (o *MarginTradeDetailInfo) SetFees(v string)`
-
-SetFees sets Fees field to given value.
-
-### HasFees
-
-`func (o *MarginTradeDetailInfo) HasFees() bool`
-
-HasFees returns a boolean if a field has been set.
-
-### GetFillId
-
-`func (o *MarginTradeDetailInfo) GetFillId() string`
-
-GetFillId returns the FillId field if non-nil, zero value otherwise.
-
-### GetFillIdOk
-
-`func (o *MarginTradeDetailInfo) GetFillIdOk() (*string, bool)`
-
-GetFillIdOk returns a tuple with the FillId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillId
-
-`func (o *MarginTradeDetailInfo) SetFillId(v string)`
-
-SetFillId sets FillId field to given value.
-
-### HasFillId
-
-`func (o *MarginTradeDetailInfo) HasFillId() bool`
-
-HasFillId returns a boolean if a field has been set.
-
-### GetFillPrice
-
-`func (o *MarginTradeDetailInfo) GetFillPrice() string`
-
-GetFillPrice returns the FillPrice field if non-nil, zero value otherwise.
-
-### GetFillPriceOk
-
-`func (o *MarginTradeDetailInfo) GetFillPriceOk() (*string, bool)`
-
-GetFillPriceOk returns a tuple with the FillPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillPrice
-
-`func (o *MarginTradeDetailInfo) SetFillPrice(v string)`
-
-SetFillPrice sets FillPrice field to given value.
-
-### HasFillPrice
-
-`func (o *MarginTradeDetailInfo) HasFillPrice() bool`
-
-HasFillPrice returns a boolean if a field has been set.
-
-### GetFillQuantity
-
-`func (o *MarginTradeDetailInfo) GetFillQuantity() string`
-
-GetFillQuantity returns the FillQuantity field if non-nil, zero value otherwise.
-
-### GetFillQuantityOk
-
-`func (o *MarginTradeDetailInfo) GetFillQuantityOk() (*string, bool)`
-
-GetFillQuantityOk returns a tuple with the FillQuantity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillQuantity
-
-`func (o *MarginTradeDetailInfo) SetFillQuantity(v string)`
-
-SetFillQuantity sets FillQuantity field to given value.
-
-### HasFillQuantity
-
-`func (o *MarginTradeDetailInfo) HasFillQuantity() bool`
-
-HasFillQuantity returns a boolean if a field has been set.
-
-### GetFillTotalAmount
-
-`func (o *MarginTradeDetailInfo) GetFillTotalAmount() string`
-
-GetFillTotalAmount returns the FillTotalAmount field if non-nil, zero value otherwise.
-
-### GetFillTotalAmountOk
-
-`func (o *MarginTradeDetailInfo) GetFillTotalAmountOk() (*string, bool)`
-
-GetFillTotalAmountOk returns a tuple with the FillTotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFillTotalAmount
-
-`func (o *MarginTradeDetailInfo) SetFillTotalAmount(v string)`
-
-SetFillTotalAmount sets FillTotalAmount field to given value.
-
-### HasFillTotalAmount
-
-`func (o *MarginTradeDetailInfo) HasFillTotalAmount() bool`
-
-HasFillTotalAmount returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MarginTradeDetailInfo) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MarginTradeDetailInfo) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MarginTradeDetailInfo) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MarginTradeDetailInfo) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-### GetOrderType
-
-`func (o *MarginTradeDetailInfo) GetOrderType() string`
-
-GetOrderType returns the OrderType field if non-nil, zero value otherwise.
-
-### GetOrderTypeOk
-
-`func (o *MarginTradeDetailInfo) GetOrderTypeOk() (*string, bool)`
-
-GetOrderTypeOk returns a tuple with the OrderType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderType
-
-`func (o *MarginTradeDetailInfo) SetOrderType(v string)`
-
-SetOrderType sets OrderType field to given value.
-
-### HasOrderType
-
-`func (o *MarginTradeDetailInfo) HasOrderType() bool`
-
-HasOrderType returns a boolean if a field has been set.
-
-### GetSide
-
-`func (o *MarginTradeDetailInfo) GetSide() string`
-
-GetSide returns the Side field if non-nil, zero value otherwise.
-
-### GetSideOk
-
-`func (o *MarginTradeDetailInfo) GetSideOk() (*string, bool)`
-
-GetSideOk returns a tuple with the Side field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSide
-
-`func (o *MarginTradeDetailInfo) SetSide(v string)`
-
-SetSide sets Side field to given value.
-
-### HasSide
-
-`func (o *MarginTradeDetailInfo) HasSide() bool`
-
-HasSide returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfoResult.md b/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfoResult.md
deleted file mode 100644
index 6a5afc70..00000000
--- a/bitget-goland-sdk-open-api/docs/MarginTradeDetailInfoResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MarginTradeDetailInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Fills** | Pointer to [**[]MarginTradeDetailInfo**](MarginTradeDetailInfo.md) | | [optional]
-**MaxId** | Pointer to **string** | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMarginTradeDetailInfoResult
-
-`func NewMarginTradeDetailInfoResult() *MarginTradeDetailInfoResult`
-
-NewMarginTradeDetailInfoResult instantiates a new MarginTradeDetailInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMarginTradeDetailInfoResultWithDefaults
-
-`func NewMarginTradeDetailInfoResultWithDefaults() *MarginTradeDetailInfoResult`
-
-NewMarginTradeDetailInfoResultWithDefaults instantiates a new MarginTradeDetailInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetFills
-
-`func (o *MarginTradeDetailInfoResult) GetFills() []MarginTradeDetailInfo`
-
-GetFills returns the Fills field if non-nil, zero value otherwise.
-
-### GetFillsOk
-
-`func (o *MarginTradeDetailInfoResult) GetFillsOk() (*[]MarginTradeDetailInfo, bool)`
-
-GetFillsOk returns a tuple with the Fills field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFills
-
-`func (o *MarginTradeDetailInfoResult) SetFills(v []MarginTradeDetailInfo)`
-
-SetFills sets Fills field to given value.
-
-### HasFills
-
-`func (o *MarginTradeDetailInfoResult) HasFills() bool`
-
-HasFills returns a boolean if a field has been set.
-
-### GetMaxId
-
-`func (o *MarginTradeDetailInfoResult) GetMaxId() string`
-
-GetMaxId returns the MaxId field if non-nil, zero value otherwise.
-
-### GetMaxIdOk
-
-`func (o *MarginTradeDetailInfoResult) GetMaxIdOk() (*string, bool)`
-
-GetMaxIdOk returns a tuple with the MaxId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxId
-
-`func (o *MarginTradeDetailInfoResult) SetMaxId(v string)`
-
-SetMaxId sets MaxId field to given value.
-
-### HasMaxId
-
-`func (o *MarginTradeDetailInfoResult) HasMaxId() bool`
-
-HasMaxId returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MarginTradeDetailInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MarginTradeDetailInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MarginTradeDetailInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MarginTradeDetailInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantAdvInfo.md b/bitget-goland-sdk-open-api/docs/MerchantAdvInfo.md
deleted file mode 100644
index 295a237f..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantAdvInfo.md
+++ /dev/null
@@ -1,602 +0,0 @@
-# MerchantAdvInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AdvId** | Pointer to **string** | | [optional]
-**AdvNo** | Pointer to **string** | | [optional]
-**Amount** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**CoinPrecision** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**DealAmount** | Pointer to **string** | | [optional]
-**FiatCode** | Pointer to **string** | | [optional]
-**FiatPrecision** | Pointer to **string** | | [optional]
-**FiatSymbol** | Pointer to **string** | | [optional]
-**Hide** | Pointer to **string** | | [optional]
-**MaxAmount** | Pointer to **string** | | [optional]
-**MinAmount** | Pointer to **string** | | [optional]
-**PayDuration** | Pointer to **string** | | [optional]
-**PaymentMethod** | Pointer to [**[]FiatPaymentInfo**](FiatPaymentInfo.md) | | [optional]
-**Price** | Pointer to **string** | | [optional]
-**Remark** | Pointer to **string** | | [optional]
-**Status** | Pointer to **string** | | [optional]
-**TurnoverNum** | Pointer to **string** | | [optional]
-**TurnoverRate** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-**UserLimit** | Pointer to [**MerchantAdvUserLimitInfo**](MerchantAdvUserLimitInfo.md) | | [optional]
-
-## Methods
-
-### NewMerchantAdvInfo
-
-`func NewMerchantAdvInfo() *MerchantAdvInfo`
-
-NewMerchantAdvInfo instantiates a new MerchantAdvInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantAdvInfoWithDefaults
-
-`func NewMerchantAdvInfoWithDefaults() *MerchantAdvInfo`
-
-NewMerchantAdvInfoWithDefaults instantiates a new MerchantAdvInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAdvId
-
-`func (o *MerchantAdvInfo) GetAdvId() string`
-
-GetAdvId returns the AdvId field if non-nil, zero value otherwise.
-
-### GetAdvIdOk
-
-`func (o *MerchantAdvInfo) GetAdvIdOk() (*string, bool)`
-
-GetAdvIdOk returns a tuple with the AdvId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAdvId
-
-`func (o *MerchantAdvInfo) SetAdvId(v string)`
-
-SetAdvId sets AdvId field to given value.
-
-### HasAdvId
-
-`func (o *MerchantAdvInfo) HasAdvId() bool`
-
-HasAdvId returns a boolean if a field has been set.
-
-### GetAdvNo
-
-`func (o *MerchantAdvInfo) GetAdvNo() string`
-
-GetAdvNo returns the AdvNo field if non-nil, zero value otherwise.
-
-### GetAdvNoOk
-
-`func (o *MerchantAdvInfo) GetAdvNoOk() (*string, bool)`
-
-GetAdvNoOk returns a tuple with the AdvNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAdvNo
-
-`func (o *MerchantAdvInfo) SetAdvNo(v string)`
-
-SetAdvNo sets AdvNo field to given value.
-
-### HasAdvNo
-
-`func (o *MerchantAdvInfo) HasAdvNo() bool`
-
-HasAdvNo returns a boolean if a field has been set.
-
-### GetAmount
-
-`func (o *MerchantAdvInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MerchantAdvInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MerchantAdvInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MerchantAdvInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MerchantAdvInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MerchantAdvInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MerchantAdvInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MerchantAdvInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCoinPrecision
-
-`func (o *MerchantAdvInfo) GetCoinPrecision() string`
-
-GetCoinPrecision returns the CoinPrecision field if non-nil, zero value otherwise.
-
-### GetCoinPrecisionOk
-
-`func (o *MerchantAdvInfo) GetCoinPrecisionOk() (*string, bool)`
-
-GetCoinPrecisionOk returns a tuple with the CoinPrecision field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoinPrecision
-
-`func (o *MerchantAdvInfo) SetCoinPrecision(v string)`
-
-SetCoinPrecision sets CoinPrecision field to given value.
-
-### HasCoinPrecision
-
-`func (o *MerchantAdvInfo) HasCoinPrecision() bool`
-
-HasCoinPrecision returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MerchantAdvInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MerchantAdvInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MerchantAdvInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MerchantAdvInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetDealAmount
-
-`func (o *MerchantAdvInfo) GetDealAmount() string`
-
-GetDealAmount returns the DealAmount field if non-nil, zero value otherwise.
-
-### GetDealAmountOk
-
-`func (o *MerchantAdvInfo) GetDealAmountOk() (*string, bool)`
-
-GetDealAmountOk returns a tuple with the DealAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDealAmount
-
-`func (o *MerchantAdvInfo) SetDealAmount(v string)`
-
-SetDealAmount sets DealAmount field to given value.
-
-### HasDealAmount
-
-`func (o *MerchantAdvInfo) HasDealAmount() bool`
-
-HasDealAmount returns a boolean if a field has been set.
-
-### GetFiatCode
-
-`func (o *MerchantAdvInfo) GetFiatCode() string`
-
-GetFiatCode returns the FiatCode field if non-nil, zero value otherwise.
-
-### GetFiatCodeOk
-
-`func (o *MerchantAdvInfo) GetFiatCodeOk() (*string, bool)`
-
-GetFiatCodeOk returns a tuple with the FiatCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFiatCode
-
-`func (o *MerchantAdvInfo) SetFiatCode(v string)`
-
-SetFiatCode sets FiatCode field to given value.
-
-### HasFiatCode
-
-`func (o *MerchantAdvInfo) HasFiatCode() bool`
-
-HasFiatCode returns a boolean if a field has been set.
-
-### GetFiatPrecision
-
-`func (o *MerchantAdvInfo) GetFiatPrecision() string`
-
-GetFiatPrecision returns the FiatPrecision field if non-nil, zero value otherwise.
-
-### GetFiatPrecisionOk
-
-`func (o *MerchantAdvInfo) GetFiatPrecisionOk() (*string, bool)`
-
-GetFiatPrecisionOk returns a tuple with the FiatPrecision field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFiatPrecision
-
-`func (o *MerchantAdvInfo) SetFiatPrecision(v string)`
-
-SetFiatPrecision sets FiatPrecision field to given value.
-
-### HasFiatPrecision
-
-`func (o *MerchantAdvInfo) HasFiatPrecision() bool`
-
-HasFiatPrecision returns a boolean if a field has been set.
-
-### GetFiatSymbol
-
-`func (o *MerchantAdvInfo) GetFiatSymbol() string`
-
-GetFiatSymbol returns the FiatSymbol field if non-nil, zero value otherwise.
-
-### GetFiatSymbolOk
-
-`func (o *MerchantAdvInfo) GetFiatSymbolOk() (*string, bool)`
-
-GetFiatSymbolOk returns a tuple with the FiatSymbol field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFiatSymbol
-
-`func (o *MerchantAdvInfo) SetFiatSymbol(v string)`
-
-SetFiatSymbol sets FiatSymbol field to given value.
-
-### HasFiatSymbol
-
-`func (o *MerchantAdvInfo) HasFiatSymbol() bool`
-
-HasFiatSymbol returns a boolean if a field has been set.
-
-### GetHide
-
-`func (o *MerchantAdvInfo) GetHide() string`
-
-GetHide returns the Hide field if non-nil, zero value otherwise.
-
-### GetHideOk
-
-`func (o *MerchantAdvInfo) GetHideOk() (*string, bool)`
-
-GetHideOk returns a tuple with the Hide field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetHide
-
-`func (o *MerchantAdvInfo) SetHide(v string)`
-
-SetHide sets Hide field to given value.
-
-### HasHide
-
-`func (o *MerchantAdvInfo) HasHide() bool`
-
-HasHide returns a boolean if a field has been set.
-
-### GetMaxAmount
-
-`func (o *MerchantAdvInfo) GetMaxAmount() string`
-
-GetMaxAmount returns the MaxAmount field if non-nil, zero value otherwise.
-
-### GetMaxAmountOk
-
-`func (o *MerchantAdvInfo) GetMaxAmountOk() (*string, bool)`
-
-GetMaxAmountOk returns a tuple with the MaxAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxAmount
-
-`func (o *MerchantAdvInfo) SetMaxAmount(v string)`
-
-SetMaxAmount sets MaxAmount field to given value.
-
-### HasMaxAmount
-
-`func (o *MerchantAdvInfo) HasMaxAmount() bool`
-
-HasMaxAmount returns a boolean if a field has been set.
-
-### GetMinAmount
-
-`func (o *MerchantAdvInfo) GetMinAmount() string`
-
-GetMinAmount returns the MinAmount field if non-nil, zero value otherwise.
-
-### GetMinAmountOk
-
-`func (o *MerchantAdvInfo) GetMinAmountOk() (*string, bool)`
-
-GetMinAmountOk returns a tuple with the MinAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinAmount
-
-`func (o *MerchantAdvInfo) SetMinAmount(v string)`
-
-SetMinAmount sets MinAmount field to given value.
-
-### HasMinAmount
-
-`func (o *MerchantAdvInfo) HasMinAmount() bool`
-
-HasMinAmount returns a boolean if a field has been set.
-
-### GetPayDuration
-
-`func (o *MerchantAdvInfo) GetPayDuration() string`
-
-GetPayDuration returns the PayDuration field if non-nil, zero value otherwise.
-
-### GetPayDurationOk
-
-`func (o *MerchantAdvInfo) GetPayDurationOk() (*string, bool)`
-
-GetPayDurationOk returns a tuple with the PayDuration field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPayDuration
-
-`func (o *MerchantAdvInfo) SetPayDuration(v string)`
-
-SetPayDuration sets PayDuration field to given value.
-
-### HasPayDuration
-
-`func (o *MerchantAdvInfo) HasPayDuration() bool`
-
-HasPayDuration returns a boolean if a field has been set.
-
-### GetPaymentMethod
-
-`func (o *MerchantAdvInfo) GetPaymentMethod() []FiatPaymentInfo`
-
-GetPaymentMethod returns the PaymentMethod field if non-nil, zero value otherwise.
-
-### GetPaymentMethodOk
-
-`func (o *MerchantAdvInfo) GetPaymentMethodOk() (*[]FiatPaymentInfo, bool)`
-
-GetPaymentMethodOk returns a tuple with the PaymentMethod field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentMethod
-
-`func (o *MerchantAdvInfo) SetPaymentMethod(v []FiatPaymentInfo)`
-
-SetPaymentMethod sets PaymentMethod field to given value.
-
-### HasPaymentMethod
-
-`func (o *MerchantAdvInfo) HasPaymentMethod() bool`
-
-HasPaymentMethod returns a boolean if a field has been set.
-
-### GetPrice
-
-`func (o *MerchantAdvInfo) GetPrice() string`
-
-GetPrice returns the Price field if non-nil, zero value otherwise.
-
-### GetPriceOk
-
-`func (o *MerchantAdvInfo) GetPriceOk() (*string, bool)`
-
-GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPrice
-
-`func (o *MerchantAdvInfo) SetPrice(v string)`
-
-SetPrice sets Price field to given value.
-
-### HasPrice
-
-`func (o *MerchantAdvInfo) HasPrice() bool`
-
-HasPrice returns a boolean if a field has been set.
-
-### GetRemark
-
-`func (o *MerchantAdvInfo) GetRemark() string`
-
-GetRemark returns the Remark field if non-nil, zero value otherwise.
-
-### GetRemarkOk
-
-`func (o *MerchantAdvInfo) GetRemarkOk() (*string, bool)`
-
-GetRemarkOk returns a tuple with the Remark field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRemark
-
-`func (o *MerchantAdvInfo) SetRemark(v string)`
-
-SetRemark sets Remark field to given value.
-
-### HasRemark
-
-`func (o *MerchantAdvInfo) HasRemark() bool`
-
-HasRemark returns a boolean if a field has been set.
-
-### GetStatus
-
-`func (o *MerchantAdvInfo) GetStatus() string`
-
-GetStatus returns the Status field if non-nil, zero value otherwise.
-
-### GetStatusOk
-
-`func (o *MerchantAdvInfo) GetStatusOk() (*string, bool)`
-
-GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStatus
-
-`func (o *MerchantAdvInfo) SetStatus(v string)`
-
-SetStatus sets Status field to given value.
-
-### HasStatus
-
-`func (o *MerchantAdvInfo) HasStatus() bool`
-
-HasStatus returns a boolean if a field has been set.
-
-### GetTurnoverNum
-
-`func (o *MerchantAdvInfo) GetTurnoverNum() string`
-
-GetTurnoverNum returns the TurnoverNum field if non-nil, zero value otherwise.
-
-### GetTurnoverNumOk
-
-`func (o *MerchantAdvInfo) GetTurnoverNumOk() (*string, bool)`
-
-GetTurnoverNumOk returns a tuple with the TurnoverNum field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTurnoverNum
-
-`func (o *MerchantAdvInfo) SetTurnoverNum(v string)`
-
-SetTurnoverNum sets TurnoverNum field to given value.
-
-### HasTurnoverNum
-
-`func (o *MerchantAdvInfo) HasTurnoverNum() bool`
-
-HasTurnoverNum returns a boolean if a field has been set.
-
-### GetTurnoverRate
-
-`func (o *MerchantAdvInfo) GetTurnoverRate() string`
-
-GetTurnoverRate returns the TurnoverRate field if non-nil, zero value otherwise.
-
-### GetTurnoverRateOk
-
-`func (o *MerchantAdvInfo) GetTurnoverRateOk() (*string, bool)`
-
-GetTurnoverRateOk returns a tuple with the TurnoverRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTurnoverRate
-
-`func (o *MerchantAdvInfo) SetTurnoverRate(v string)`
-
-SetTurnoverRate sets TurnoverRate field to given value.
-
-### HasTurnoverRate
-
-`func (o *MerchantAdvInfo) HasTurnoverRate() bool`
-
-HasTurnoverRate returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MerchantAdvInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MerchantAdvInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MerchantAdvInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MerchantAdvInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-### GetUserLimit
-
-`func (o *MerchantAdvInfo) GetUserLimit() MerchantAdvUserLimitInfo`
-
-GetUserLimit returns the UserLimit field if non-nil, zero value otherwise.
-
-### GetUserLimitOk
-
-`func (o *MerchantAdvInfo) GetUserLimitOk() (*MerchantAdvUserLimitInfo, bool)`
-
-GetUserLimitOk returns a tuple with the UserLimit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetUserLimit
-
-`func (o *MerchantAdvInfo) SetUserLimit(v MerchantAdvUserLimitInfo)`
-
-SetUserLimit sets UserLimit field to given value.
-
-### HasUserLimit
-
-`func (o *MerchantAdvInfo) HasUserLimit() bool`
-
-HasUserLimit returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantAdvResult.md b/bitget-goland-sdk-open-api/docs/MerchantAdvResult.md
deleted file mode 100644
index 77d69945..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantAdvResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MerchantAdvResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AdvList** | Pointer to [**[]MerchantAdvInfo**](MerchantAdvInfo.md) | | [optional]
-**MinId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantAdvResult
-
-`func NewMerchantAdvResult() *MerchantAdvResult`
-
-NewMerchantAdvResult instantiates a new MerchantAdvResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantAdvResultWithDefaults
-
-`func NewMerchantAdvResultWithDefaults() *MerchantAdvResult`
-
-NewMerchantAdvResultWithDefaults instantiates a new MerchantAdvResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAdvList
-
-`func (o *MerchantAdvResult) GetAdvList() []MerchantAdvInfo`
-
-GetAdvList returns the AdvList field if non-nil, zero value otherwise.
-
-### GetAdvListOk
-
-`func (o *MerchantAdvResult) GetAdvListOk() (*[]MerchantAdvInfo, bool)`
-
-GetAdvListOk returns a tuple with the AdvList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAdvList
-
-`func (o *MerchantAdvResult) SetAdvList(v []MerchantAdvInfo)`
-
-SetAdvList sets AdvList field to given value.
-
-### HasAdvList
-
-`func (o *MerchantAdvResult) HasAdvList() bool`
-
-HasAdvList returns a boolean if a field has been set.
-
-### GetMinId
-
-`func (o *MerchantAdvResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MerchantAdvResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MerchantAdvResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MerchantAdvResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantAdvUserLimitInfo.md b/bitget-goland-sdk-open-api/docs/MerchantAdvUserLimitInfo.md
deleted file mode 100644
index 541eabb0..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantAdvUserLimitInfo.md
+++ /dev/null
@@ -1,186 +0,0 @@
-# MerchantAdvUserLimitInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AllowMerchantPlace** | Pointer to **string** | | [optional]
-**Country** | Pointer to **string** | | [optional]
-**MaxCompleteNum** | Pointer to **string** | | [optional]
-**MinCompleteNum** | Pointer to **string** | | [optional]
-**PlaceOrderNum** | Pointer to **string** | | [optional]
-**ThirtyCompleteRate** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantAdvUserLimitInfo
-
-`func NewMerchantAdvUserLimitInfo() *MerchantAdvUserLimitInfo`
-
-NewMerchantAdvUserLimitInfo instantiates a new MerchantAdvUserLimitInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantAdvUserLimitInfoWithDefaults
-
-`func NewMerchantAdvUserLimitInfoWithDefaults() *MerchantAdvUserLimitInfo`
-
-NewMerchantAdvUserLimitInfoWithDefaults instantiates a new MerchantAdvUserLimitInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAllowMerchantPlace
-
-`func (o *MerchantAdvUserLimitInfo) GetAllowMerchantPlace() string`
-
-GetAllowMerchantPlace returns the AllowMerchantPlace field if non-nil, zero value otherwise.
-
-### GetAllowMerchantPlaceOk
-
-`func (o *MerchantAdvUserLimitInfo) GetAllowMerchantPlaceOk() (*string, bool)`
-
-GetAllowMerchantPlaceOk returns a tuple with the AllowMerchantPlace field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAllowMerchantPlace
-
-`func (o *MerchantAdvUserLimitInfo) SetAllowMerchantPlace(v string)`
-
-SetAllowMerchantPlace sets AllowMerchantPlace field to given value.
-
-### HasAllowMerchantPlace
-
-`func (o *MerchantAdvUserLimitInfo) HasAllowMerchantPlace() bool`
-
-HasAllowMerchantPlace returns a boolean if a field has been set.
-
-### GetCountry
-
-`func (o *MerchantAdvUserLimitInfo) GetCountry() string`
-
-GetCountry returns the Country field if non-nil, zero value otherwise.
-
-### GetCountryOk
-
-`func (o *MerchantAdvUserLimitInfo) GetCountryOk() (*string, bool)`
-
-GetCountryOk returns a tuple with the Country field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCountry
-
-`func (o *MerchantAdvUserLimitInfo) SetCountry(v string)`
-
-SetCountry sets Country field to given value.
-
-### HasCountry
-
-`func (o *MerchantAdvUserLimitInfo) HasCountry() bool`
-
-HasCountry returns a boolean if a field has been set.
-
-### GetMaxCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) GetMaxCompleteNum() string`
-
-GetMaxCompleteNum returns the MaxCompleteNum field if non-nil, zero value otherwise.
-
-### GetMaxCompleteNumOk
-
-`func (o *MerchantAdvUserLimitInfo) GetMaxCompleteNumOk() (*string, bool)`
-
-GetMaxCompleteNumOk returns a tuple with the MaxCompleteNum field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) SetMaxCompleteNum(v string)`
-
-SetMaxCompleteNum sets MaxCompleteNum field to given value.
-
-### HasMaxCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) HasMaxCompleteNum() bool`
-
-HasMaxCompleteNum returns a boolean if a field has been set.
-
-### GetMinCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) GetMinCompleteNum() string`
-
-GetMinCompleteNum returns the MinCompleteNum field if non-nil, zero value otherwise.
-
-### GetMinCompleteNumOk
-
-`func (o *MerchantAdvUserLimitInfo) GetMinCompleteNumOk() (*string, bool)`
-
-GetMinCompleteNumOk returns a tuple with the MinCompleteNum field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) SetMinCompleteNum(v string)`
-
-SetMinCompleteNum sets MinCompleteNum field to given value.
-
-### HasMinCompleteNum
-
-`func (o *MerchantAdvUserLimitInfo) HasMinCompleteNum() bool`
-
-HasMinCompleteNum returns a boolean if a field has been set.
-
-### GetPlaceOrderNum
-
-`func (o *MerchantAdvUserLimitInfo) GetPlaceOrderNum() string`
-
-GetPlaceOrderNum returns the PlaceOrderNum field if non-nil, zero value otherwise.
-
-### GetPlaceOrderNumOk
-
-`func (o *MerchantAdvUserLimitInfo) GetPlaceOrderNumOk() (*string, bool)`
-
-GetPlaceOrderNumOk returns a tuple with the PlaceOrderNum field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPlaceOrderNum
-
-`func (o *MerchantAdvUserLimitInfo) SetPlaceOrderNum(v string)`
-
-SetPlaceOrderNum sets PlaceOrderNum field to given value.
-
-### HasPlaceOrderNum
-
-`func (o *MerchantAdvUserLimitInfo) HasPlaceOrderNum() bool`
-
-HasPlaceOrderNum returns a boolean if a field has been set.
-
-### GetThirtyCompleteRate
-
-`func (o *MerchantAdvUserLimitInfo) GetThirtyCompleteRate() string`
-
-GetThirtyCompleteRate returns the ThirtyCompleteRate field if non-nil, zero value otherwise.
-
-### GetThirtyCompleteRateOk
-
-`func (o *MerchantAdvUserLimitInfo) GetThirtyCompleteRateOk() (*string, bool)`
-
-GetThirtyCompleteRateOk returns a tuple with the ThirtyCompleteRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyCompleteRate
-
-`func (o *MerchantAdvUserLimitInfo) SetThirtyCompleteRate(v string)`
-
-SetThirtyCompleteRate sets ThirtyCompleteRate field to given value.
-
-### HasThirtyCompleteRate
-
-`func (o *MerchantAdvUserLimitInfo) HasThirtyCompleteRate() bool`
-
-HasThirtyCompleteRate returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantInfo.md b/bitget-goland-sdk-open-api/docs/MerchantInfo.md
deleted file mode 100644
index 7e080922..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantInfo.md
+++ /dev/null
@@ -1,394 +0,0 @@
-# MerchantInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AveragePayment** | Pointer to **string** | | [optional]
-**AverageRealese** | Pointer to **string** | | [optional]
-**IsOnline** | Pointer to **string** | | [optional]
-**MerchantId** | Pointer to **string** | | [optional]
-**NickName** | Pointer to **string** | | [optional]
-**RegisterTime** | Pointer to **string** | | [optional]
-**ThirtyBuy** | Pointer to **string** | | [optional]
-**ThirtyCompletionRate** | Pointer to **string** | | [optional]
-**ThirtySell** | Pointer to **string** | | [optional]
-**ThirtyTrades** | Pointer to **string** | | [optional]
-**TotalBuy** | Pointer to **string** | | [optional]
-**TotalCompletionRate** | Pointer to **string** | | [optional]
-**TotalSell** | Pointer to **string** | | [optional]
-**TotalTrades** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantInfo
-
-`func NewMerchantInfo() *MerchantInfo`
-
-NewMerchantInfo instantiates a new MerchantInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantInfoWithDefaults
-
-`func NewMerchantInfoWithDefaults() *MerchantInfo`
-
-NewMerchantInfoWithDefaults instantiates a new MerchantInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAveragePayment
-
-`func (o *MerchantInfo) GetAveragePayment() string`
-
-GetAveragePayment returns the AveragePayment field if non-nil, zero value otherwise.
-
-### GetAveragePaymentOk
-
-`func (o *MerchantInfo) GetAveragePaymentOk() (*string, bool)`
-
-GetAveragePaymentOk returns a tuple with the AveragePayment field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAveragePayment
-
-`func (o *MerchantInfo) SetAveragePayment(v string)`
-
-SetAveragePayment sets AveragePayment field to given value.
-
-### HasAveragePayment
-
-`func (o *MerchantInfo) HasAveragePayment() bool`
-
-HasAveragePayment returns a boolean if a field has been set.
-
-### GetAverageRealese
-
-`func (o *MerchantInfo) GetAverageRealese() string`
-
-GetAverageRealese returns the AverageRealese field if non-nil, zero value otherwise.
-
-### GetAverageRealeseOk
-
-`func (o *MerchantInfo) GetAverageRealeseOk() (*string, bool)`
-
-GetAverageRealeseOk returns a tuple with the AverageRealese field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAverageRealese
-
-`func (o *MerchantInfo) SetAverageRealese(v string)`
-
-SetAverageRealese sets AverageRealese field to given value.
-
-### HasAverageRealese
-
-`func (o *MerchantInfo) HasAverageRealese() bool`
-
-HasAverageRealese returns a boolean if a field has been set.
-
-### GetIsOnline
-
-`func (o *MerchantInfo) GetIsOnline() string`
-
-GetIsOnline returns the IsOnline field if non-nil, zero value otherwise.
-
-### GetIsOnlineOk
-
-`func (o *MerchantInfo) GetIsOnlineOk() (*string, bool)`
-
-GetIsOnlineOk returns a tuple with the IsOnline field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIsOnline
-
-`func (o *MerchantInfo) SetIsOnline(v string)`
-
-SetIsOnline sets IsOnline field to given value.
-
-### HasIsOnline
-
-`func (o *MerchantInfo) HasIsOnline() bool`
-
-HasIsOnline returns a boolean if a field has been set.
-
-### GetMerchantId
-
-`func (o *MerchantInfo) GetMerchantId() string`
-
-GetMerchantId returns the MerchantId field if non-nil, zero value otherwise.
-
-### GetMerchantIdOk
-
-`func (o *MerchantInfo) GetMerchantIdOk() (*string, bool)`
-
-GetMerchantIdOk returns a tuple with the MerchantId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMerchantId
-
-`func (o *MerchantInfo) SetMerchantId(v string)`
-
-SetMerchantId sets MerchantId field to given value.
-
-### HasMerchantId
-
-`func (o *MerchantInfo) HasMerchantId() bool`
-
-HasMerchantId returns a boolean if a field has been set.
-
-### GetNickName
-
-`func (o *MerchantInfo) GetNickName() string`
-
-GetNickName returns the NickName field if non-nil, zero value otherwise.
-
-### GetNickNameOk
-
-`func (o *MerchantInfo) GetNickNameOk() (*string, bool)`
-
-GetNickNameOk returns a tuple with the NickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNickName
-
-`func (o *MerchantInfo) SetNickName(v string)`
-
-SetNickName sets NickName field to given value.
-
-### HasNickName
-
-`func (o *MerchantInfo) HasNickName() bool`
-
-HasNickName returns a boolean if a field has been set.
-
-### GetRegisterTime
-
-`func (o *MerchantInfo) GetRegisterTime() string`
-
-GetRegisterTime returns the RegisterTime field if non-nil, zero value otherwise.
-
-### GetRegisterTimeOk
-
-`func (o *MerchantInfo) GetRegisterTimeOk() (*string, bool)`
-
-GetRegisterTimeOk returns a tuple with the RegisterTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRegisterTime
-
-`func (o *MerchantInfo) SetRegisterTime(v string)`
-
-SetRegisterTime sets RegisterTime field to given value.
-
-### HasRegisterTime
-
-`func (o *MerchantInfo) HasRegisterTime() bool`
-
-HasRegisterTime returns a boolean if a field has been set.
-
-### GetThirtyBuy
-
-`func (o *MerchantInfo) GetThirtyBuy() string`
-
-GetThirtyBuy returns the ThirtyBuy field if non-nil, zero value otherwise.
-
-### GetThirtyBuyOk
-
-`func (o *MerchantInfo) GetThirtyBuyOk() (*string, bool)`
-
-GetThirtyBuyOk returns a tuple with the ThirtyBuy field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyBuy
-
-`func (o *MerchantInfo) SetThirtyBuy(v string)`
-
-SetThirtyBuy sets ThirtyBuy field to given value.
-
-### HasThirtyBuy
-
-`func (o *MerchantInfo) HasThirtyBuy() bool`
-
-HasThirtyBuy returns a boolean if a field has been set.
-
-### GetThirtyCompletionRate
-
-`func (o *MerchantInfo) GetThirtyCompletionRate() string`
-
-GetThirtyCompletionRate returns the ThirtyCompletionRate field if non-nil, zero value otherwise.
-
-### GetThirtyCompletionRateOk
-
-`func (o *MerchantInfo) GetThirtyCompletionRateOk() (*string, bool)`
-
-GetThirtyCompletionRateOk returns a tuple with the ThirtyCompletionRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyCompletionRate
-
-`func (o *MerchantInfo) SetThirtyCompletionRate(v string)`
-
-SetThirtyCompletionRate sets ThirtyCompletionRate field to given value.
-
-### HasThirtyCompletionRate
-
-`func (o *MerchantInfo) HasThirtyCompletionRate() bool`
-
-HasThirtyCompletionRate returns a boolean if a field has been set.
-
-### GetThirtySell
-
-`func (o *MerchantInfo) GetThirtySell() string`
-
-GetThirtySell returns the ThirtySell field if non-nil, zero value otherwise.
-
-### GetThirtySellOk
-
-`func (o *MerchantInfo) GetThirtySellOk() (*string, bool)`
-
-GetThirtySellOk returns a tuple with the ThirtySell field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtySell
-
-`func (o *MerchantInfo) SetThirtySell(v string)`
-
-SetThirtySell sets ThirtySell field to given value.
-
-### HasThirtySell
-
-`func (o *MerchantInfo) HasThirtySell() bool`
-
-HasThirtySell returns a boolean if a field has been set.
-
-### GetThirtyTrades
-
-`func (o *MerchantInfo) GetThirtyTrades() string`
-
-GetThirtyTrades returns the ThirtyTrades field if non-nil, zero value otherwise.
-
-### GetThirtyTradesOk
-
-`func (o *MerchantInfo) GetThirtyTradesOk() (*string, bool)`
-
-GetThirtyTradesOk returns a tuple with the ThirtyTrades field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyTrades
-
-`func (o *MerchantInfo) SetThirtyTrades(v string)`
-
-SetThirtyTrades sets ThirtyTrades field to given value.
-
-### HasThirtyTrades
-
-`func (o *MerchantInfo) HasThirtyTrades() bool`
-
-HasThirtyTrades returns a boolean if a field has been set.
-
-### GetTotalBuy
-
-`func (o *MerchantInfo) GetTotalBuy() string`
-
-GetTotalBuy returns the TotalBuy field if non-nil, zero value otherwise.
-
-### GetTotalBuyOk
-
-`func (o *MerchantInfo) GetTotalBuyOk() (*string, bool)`
-
-GetTotalBuyOk returns a tuple with the TotalBuy field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalBuy
-
-`func (o *MerchantInfo) SetTotalBuy(v string)`
-
-SetTotalBuy sets TotalBuy field to given value.
-
-### HasTotalBuy
-
-`func (o *MerchantInfo) HasTotalBuy() bool`
-
-HasTotalBuy returns a boolean if a field has been set.
-
-### GetTotalCompletionRate
-
-`func (o *MerchantInfo) GetTotalCompletionRate() string`
-
-GetTotalCompletionRate returns the TotalCompletionRate field if non-nil, zero value otherwise.
-
-### GetTotalCompletionRateOk
-
-`func (o *MerchantInfo) GetTotalCompletionRateOk() (*string, bool)`
-
-GetTotalCompletionRateOk returns a tuple with the TotalCompletionRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalCompletionRate
-
-`func (o *MerchantInfo) SetTotalCompletionRate(v string)`
-
-SetTotalCompletionRate sets TotalCompletionRate field to given value.
-
-### HasTotalCompletionRate
-
-`func (o *MerchantInfo) HasTotalCompletionRate() bool`
-
-HasTotalCompletionRate returns a boolean if a field has been set.
-
-### GetTotalSell
-
-`func (o *MerchantInfo) GetTotalSell() string`
-
-GetTotalSell returns the TotalSell field if non-nil, zero value otherwise.
-
-### GetTotalSellOk
-
-`func (o *MerchantInfo) GetTotalSellOk() (*string, bool)`
-
-GetTotalSellOk returns a tuple with the TotalSell field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalSell
-
-`func (o *MerchantInfo) SetTotalSell(v string)`
-
-SetTotalSell sets TotalSell field to given value.
-
-### HasTotalSell
-
-`func (o *MerchantInfo) HasTotalSell() bool`
-
-HasTotalSell returns a boolean if a field has been set.
-
-### GetTotalTrades
-
-`func (o *MerchantInfo) GetTotalTrades() string`
-
-GetTotalTrades returns the TotalTrades field if non-nil, zero value otherwise.
-
-### GetTotalTradesOk
-
-`func (o *MerchantInfo) GetTotalTradesOk() (*string, bool)`
-
-GetTotalTradesOk returns a tuple with the TotalTrades field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalTrades
-
-`func (o *MerchantInfo) SetTotalTrades(v string)`
-
-SetTotalTrades sets TotalTrades field to given value.
-
-### HasTotalTrades
-
-`func (o *MerchantInfo) HasTotalTrades() bool`
-
-HasTotalTrades returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantInfoResult.md b/bitget-goland-sdk-open-api/docs/MerchantInfoResult.md
deleted file mode 100644
index 8d2a56c1..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantInfoResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MerchantInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]MerchantInfo**](MerchantInfo.md) | | [optional]
-
-## Methods
-
-### NewMerchantInfoResult
-
-`func NewMerchantInfoResult() *MerchantInfoResult`
-
-NewMerchantInfoResult instantiates a new MerchantInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantInfoResultWithDefaults
-
-`func NewMerchantInfoResultWithDefaults() *MerchantInfoResult`
-
-NewMerchantInfoResultWithDefaults instantiates a new MerchantInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMinId
-
-`func (o *MerchantInfoResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MerchantInfoResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MerchantInfoResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MerchantInfoResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MerchantInfoResult) GetResultList() []MerchantInfo`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MerchantInfoResult) GetResultListOk() (*[]MerchantInfo, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MerchantInfoResult) SetResultList(v []MerchantInfo)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MerchantInfoResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantOrderInfo.md b/bitget-goland-sdk-open-api/docs/MerchantOrderInfo.md
deleted file mode 100644
index f434d939..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantOrderInfo.md
+++ /dev/null
@@ -1,498 +0,0 @@
-# MerchantOrderInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AdvNo** | Pointer to **string** | | [optional]
-**Amount** | Pointer to **string** | | [optional]
-**BuyerRealName** | Pointer to **string** | | [optional]
-**Coin** | Pointer to **string** | | [optional]
-**Count** | Pointer to **string** | | [optional]
-**Ctime** | Pointer to **string** | | [optional]
-**Fiat** | Pointer to **string** | | [optional]
-**OrderId** | Pointer to **string** | | [optional]
-**OrderNo** | Pointer to **string** | | [optional]
-**PaymentInfo** | Pointer to [**MerchantOrderPaymentInfo**](MerchantOrderPaymentInfo.md) | | [optional]
-**PaymentTime** | Pointer to **string** | | [optional]
-**Price** | Pointer to **string** | | [optional]
-**ReleaseCoinTime** | Pointer to **string** | | [optional]
-**RepresentTime** | Pointer to **string** | | [optional]
-**SellerRealName** | Pointer to **string** | | [optional]
-**Status** | Pointer to **string** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-**WithdrawTime** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantOrderInfo
-
-`func NewMerchantOrderInfo() *MerchantOrderInfo`
-
-NewMerchantOrderInfo instantiates a new MerchantOrderInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantOrderInfoWithDefaults
-
-`func NewMerchantOrderInfoWithDefaults() *MerchantOrderInfo`
-
-NewMerchantOrderInfoWithDefaults instantiates a new MerchantOrderInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAdvNo
-
-`func (o *MerchantOrderInfo) GetAdvNo() string`
-
-GetAdvNo returns the AdvNo field if non-nil, zero value otherwise.
-
-### GetAdvNoOk
-
-`func (o *MerchantOrderInfo) GetAdvNoOk() (*string, bool)`
-
-GetAdvNoOk returns a tuple with the AdvNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAdvNo
-
-`func (o *MerchantOrderInfo) SetAdvNo(v string)`
-
-SetAdvNo sets AdvNo field to given value.
-
-### HasAdvNo
-
-`func (o *MerchantOrderInfo) HasAdvNo() bool`
-
-HasAdvNo returns a boolean if a field has been set.
-
-### GetAmount
-
-`func (o *MerchantOrderInfo) GetAmount() string`
-
-GetAmount returns the Amount field if non-nil, zero value otherwise.
-
-### GetAmountOk
-
-`func (o *MerchantOrderInfo) GetAmountOk() (*string, bool)`
-
-GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAmount
-
-`func (o *MerchantOrderInfo) SetAmount(v string)`
-
-SetAmount sets Amount field to given value.
-
-### HasAmount
-
-`func (o *MerchantOrderInfo) HasAmount() bool`
-
-HasAmount returns a boolean if a field has been set.
-
-### GetBuyerRealName
-
-`func (o *MerchantOrderInfo) GetBuyerRealName() string`
-
-GetBuyerRealName returns the BuyerRealName field if non-nil, zero value otherwise.
-
-### GetBuyerRealNameOk
-
-`func (o *MerchantOrderInfo) GetBuyerRealNameOk() (*string, bool)`
-
-GetBuyerRealNameOk returns a tuple with the BuyerRealName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyerRealName
-
-`func (o *MerchantOrderInfo) SetBuyerRealName(v string)`
-
-SetBuyerRealName sets BuyerRealName field to given value.
-
-### HasBuyerRealName
-
-`func (o *MerchantOrderInfo) HasBuyerRealName() bool`
-
-HasBuyerRealName returns a boolean if a field has been set.
-
-### GetCoin
-
-`func (o *MerchantOrderInfo) GetCoin() string`
-
-GetCoin returns the Coin field if non-nil, zero value otherwise.
-
-### GetCoinOk
-
-`func (o *MerchantOrderInfo) GetCoinOk() (*string, bool)`
-
-GetCoinOk returns a tuple with the Coin field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoin
-
-`func (o *MerchantOrderInfo) SetCoin(v string)`
-
-SetCoin sets Coin field to given value.
-
-### HasCoin
-
-`func (o *MerchantOrderInfo) HasCoin() bool`
-
-HasCoin returns a boolean if a field has been set.
-
-### GetCount
-
-`func (o *MerchantOrderInfo) GetCount() string`
-
-GetCount returns the Count field if non-nil, zero value otherwise.
-
-### GetCountOk
-
-`func (o *MerchantOrderInfo) GetCountOk() (*string, bool)`
-
-GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCount
-
-`func (o *MerchantOrderInfo) SetCount(v string)`
-
-SetCount sets Count field to given value.
-
-### HasCount
-
-`func (o *MerchantOrderInfo) HasCount() bool`
-
-HasCount returns a boolean if a field has been set.
-
-### GetCtime
-
-`func (o *MerchantOrderInfo) GetCtime() string`
-
-GetCtime returns the Ctime field if non-nil, zero value otherwise.
-
-### GetCtimeOk
-
-`func (o *MerchantOrderInfo) GetCtimeOk() (*string, bool)`
-
-GetCtimeOk returns a tuple with the Ctime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCtime
-
-`func (o *MerchantOrderInfo) SetCtime(v string)`
-
-SetCtime sets Ctime field to given value.
-
-### HasCtime
-
-`func (o *MerchantOrderInfo) HasCtime() bool`
-
-HasCtime returns a boolean if a field has been set.
-
-### GetFiat
-
-`func (o *MerchantOrderInfo) GetFiat() string`
-
-GetFiat returns the Fiat field if non-nil, zero value otherwise.
-
-### GetFiatOk
-
-`func (o *MerchantOrderInfo) GetFiatOk() (*string, bool)`
-
-GetFiatOk returns a tuple with the Fiat field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetFiat
-
-`func (o *MerchantOrderInfo) SetFiat(v string)`
-
-SetFiat sets Fiat field to given value.
-
-### HasFiat
-
-`func (o *MerchantOrderInfo) HasFiat() bool`
-
-HasFiat returns a boolean if a field has been set.
-
-### GetOrderId
-
-`func (o *MerchantOrderInfo) GetOrderId() string`
-
-GetOrderId returns the OrderId field if non-nil, zero value otherwise.
-
-### GetOrderIdOk
-
-`func (o *MerchantOrderInfo) GetOrderIdOk() (*string, bool)`
-
-GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderId
-
-`func (o *MerchantOrderInfo) SetOrderId(v string)`
-
-SetOrderId sets OrderId field to given value.
-
-### HasOrderId
-
-`func (o *MerchantOrderInfo) HasOrderId() bool`
-
-HasOrderId returns a boolean if a field has been set.
-
-### GetOrderNo
-
-`func (o *MerchantOrderInfo) GetOrderNo() string`
-
-GetOrderNo returns the OrderNo field if non-nil, zero value otherwise.
-
-### GetOrderNoOk
-
-`func (o *MerchantOrderInfo) GetOrderNoOk() (*string, bool)`
-
-GetOrderNoOk returns a tuple with the OrderNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderNo
-
-`func (o *MerchantOrderInfo) SetOrderNo(v string)`
-
-SetOrderNo sets OrderNo field to given value.
-
-### HasOrderNo
-
-`func (o *MerchantOrderInfo) HasOrderNo() bool`
-
-HasOrderNo returns a boolean if a field has been set.
-
-### GetPaymentInfo
-
-`func (o *MerchantOrderInfo) GetPaymentInfo() MerchantOrderPaymentInfo`
-
-GetPaymentInfo returns the PaymentInfo field if non-nil, zero value otherwise.
-
-### GetPaymentInfoOk
-
-`func (o *MerchantOrderInfo) GetPaymentInfoOk() (*MerchantOrderPaymentInfo, bool)`
-
-GetPaymentInfoOk returns a tuple with the PaymentInfo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentInfo
-
-`func (o *MerchantOrderInfo) SetPaymentInfo(v MerchantOrderPaymentInfo)`
-
-SetPaymentInfo sets PaymentInfo field to given value.
-
-### HasPaymentInfo
-
-`func (o *MerchantOrderInfo) HasPaymentInfo() bool`
-
-HasPaymentInfo returns a boolean if a field has been set.
-
-### GetPaymentTime
-
-`func (o *MerchantOrderInfo) GetPaymentTime() string`
-
-GetPaymentTime returns the PaymentTime field if non-nil, zero value otherwise.
-
-### GetPaymentTimeOk
-
-`func (o *MerchantOrderInfo) GetPaymentTimeOk() (*string, bool)`
-
-GetPaymentTimeOk returns a tuple with the PaymentTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymentTime
-
-`func (o *MerchantOrderInfo) SetPaymentTime(v string)`
-
-SetPaymentTime sets PaymentTime field to given value.
-
-### HasPaymentTime
-
-`func (o *MerchantOrderInfo) HasPaymentTime() bool`
-
-HasPaymentTime returns a boolean if a field has been set.
-
-### GetPrice
-
-`func (o *MerchantOrderInfo) GetPrice() string`
-
-GetPrice returns the Price field if non-nil, zero value otherwise.
-
-### GetPriceOk
-
-`func (o *MerchantOrderInfo) GetPriceOk() (*string, bool)`
-
-GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPrice
-
-`func (o *MerchantOrderInfo) SetPrice(v string)`
-
-SetPrice sets Price field to given value.
-
-### HasPrice
-
-`func (o *MerchantOrderInfo) HasPrice() bool`
-
-HasPrice returns a boolean if a field has been set.
-
-### GetReleaseCoinTime
-
-`func (o *MerchantOrderInfo) GetReleaseCoinTime() string`
-
-GetReleaseCoinTime returns the ReleaseCoinTime field if non-nil, zero value otherwise.
-
-### GetReleaseCoinTimeOk
-
-`func (o *MerchantOrderInfo) GetReleaseCoinTimeOk() (*string, bool)`
-
-GetReleaseCoinTimeOk returns a tuple with the ReleaseCoinTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetReleaseCoinTime
-
-`func (o *MerchantOrderInfo) SetReleaseCoinTime(v string)`
-
-SetReleaseCoinTime sets ReleaseCoinTime field to given value.
-
-### HasReleaseCoinTime
-
-`func (o *MerchantOrderInfo) HasReleaseCoinTime() bool`
-
-HasReleaseCoinTime returns a boolean if a field has been set.
-
-### GetRepresentTime
-
-`func (o *MerchantOrderInfo) GetRepresentTime() string`
-
-GetRepresentTime returns the RepresentTime field if non-nil, zero value otherwise.
-
-### GetRepresentTimeOk
-
-`func (o *MerchantOrderInfo) GetRepresentTimeOk() (*string, bool)`
-
-GetRepresentTimeOk returns a tuple with the RepresentTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRepresentTime
-
-`func (o *MerchantOrderInfo) SetRepresentTime(v string)`
-
-SetRepresentTime sets RepresentTime field to given value.
-
-### HasRepresentTime
-
-`func (o *MerchantOrderInfo) HasRepresentTime() bool`
-
-HasRepresentTime returns a boolean if a field has been set.
-
-### GetSellerRealName
-
-`func (o *MerchantOrderInfo) GetSellerRealName() string`
-
-GetSellerRealName returns the SellerRealName field if non-nil, zero value otherwise.
-
-### GetSellerRealNameOk
-
-`func (o *MerchantOrderInfo) GetSellerRealNameOk() (*string, bool)`
-
-GetSellerRealNameOk returns a tuple with the SellerRealName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSellerRealName
-
-`func (o *MerchantOrderInfo) SetSellerRealName(v string)`
-
-SetSellerRealName sets SellerRealName field to given value.
-
-### HasSellerRealName
-
-`func (o *MerchantOrderInfo) HasSellerRealName() bool`
-
-HasSellerRealName returns a boolean if a field has been set.
-
-### GetStatus
-
-`func (o *MerchantOrderInfo) GetStatus() string`
-
-GetStatus returns the Status field if non-nil, zero value otherwise.
-
-### GetStatusOk
-
-`func (o *MerchantOrderInfo) GetStatusOk() (*string, bool)`
-
-GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStatus
-
-`func (o *MerchantOrderInfo) SetStatus(v string)`
-
-SetStatus sets Status field to given value.
-
-### HasStatus
-
-`func (o *MerchantOrderInfo) HasStatus() bool`
-
-HasStatus returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *MerchantOrderInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *MerchantOrderInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *MerchantOrderInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *MerchantOrderInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-### GetWithdrawTime
-
-`func (o *MerchantOrderInfo) GetWithdrawTime() string`
-
-GetWithdrawTime returns the WithdrawTime field if non-nil, zero value otherwise.
-
-### GetWithdrawTimeOk
-
-`func (o *MerchantOrderInfo) GetWithdrawTimeOk() (*string, bool)`
-
-GetWithdrawTimeOk returns a tuple with the WithdrawTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetWithdrawTime
-
-`func (o *MerchantOrderInfo) SetWithdrawTime(v string)`
-
-SetWithdrawTime sets WithdrawTime field to given value.
-
-### HasWithdrawTime
-
-`func (o *MerchantOrderInfo) HasWithdrawTime() bool`
-
-HasWithdrawTime returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantOrderPaymentInfo.md b/bitget-goland-sdk-open-api/docs/MerchantOrderPaymentInfo.md
deleted file mode 100644
index a1e0834f..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantOrderPaymentInfo.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# MerchantOrderPaymentInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PaymethodId** | Pointer to **string** | | [optional]
-**PaymethodInfo** | Pointer to [**[]OrderPaymentDetailInfo**](OrderPaymentDetailInfo.md) | | [optional]
-**PaymethodName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantOrderPaymentInfo
-
-`func NewMerchantOrderPaymentInfo() *MerchantOrderPaymentInfo`
-
-NewMerchantOrderPaymentInfo instantiates a new MerchantOrderPaymentInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantOrderPaymentInfoWithDefaults
-
-`func NewMerchantOrderPaymentInfoWithDefaults() *MerchantOrderPaymentInfo`
-
-NewMerchantOrderPaymentInfoWithDefaults instantiates a new MerchantOrderPaymentInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPaymethodId
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodId() string`
-
-GetPaymethodId returns the PaymethodId field if non-nil, zero value otherwise.
-
-### GetPaymethodIdOk
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodIdOk() (*string, bool)`
-
-GetPaymethodIdOk returns a tuple with the PaymethodId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymethodId
-
-`func (o *MerchantOrderPaymentInfo) SetPaymethodId(v string)`
-
-SetPaymethodId sets PaymethodId field to given value.
-
-### HasPaymethodId
-
-`func (o *MerchantOrderPaymentInfo) HasPaymethodId() bool`
-
-HasPaymethodId returns a boolean if a field has been set.
-
-### GetPaymethodInfo
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodInfo() []OrderPaymentDetailInfo`
-
-GetPaymethodInfo returns the PaymethodInfo field if non-nil, zero value otherwise.
-
-### GetPaymethodInfoOk
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodInfoOk() (*[]OrderPaymentDetailInfo, bool)`
-
-GetPaymethodInfoOk returns a tuple with the PaymethodInfo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymethodInfo
-
-`func (o *MerchantOrderPaymentInfo) SetPaymethodInfo(v []OrderPaymentDetailInfo)`
-
-SetPaymethodInfo sets PaymethodInfo field to given value.
-
-### HasPaymethodInfo
-
-`func (o *MerchantOrderPaymentInfo) HasPaymethodInfo() bool`
-
-HasPaymethodInfo returns a boolean if a field has been set.
-
-### GetPaymethodName
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodName() string`
-
-GetPaymethodName returns the PaymethodName field if non-nil, zero value otherwise.
-
-### GetPaymethodNameOk
-
-`func (o *MerchantOrderPaymentInfo) GetPaymethodNameOk() (*string, bool)`
-
-GetPaymethodNameOk returns a tuple with the PaymethodName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPaymethodName
-
-`func (o *MerchantOrderPaymentInfo) SetPaymethodName(v string)`
-
-SetPaymethodName sets PaymethodName field to given value.
-
-### HasPaymethodName
-
-`func (o *MerchantOrderPaymentInfo) HasPaymethodName() bool`
-
-HasPaymethodName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantOrderResult.md b/bitget-goland-sdk-open-api/docs/MerchantOrderResult.md
deleted file mode 100644
index 87026278..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantOrderResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MerchantOrderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MinId** | Pointer to **string** | | [optional]
-**OrderList** | Pointer to [**[]MerchantOrderInfo**](MerchantOrderInfo.md) | | [optional]
-
-## Methods
-
-### NewMerchantOrderResult
-
-`func NewMerchantOrderResult() *MerchantOrderResult`
-
-NewMerchantOrderResult instantiates a new MerchantOrderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantOrderResultWithDefaults
-
-`func NewMerchantOrderResultWithDefaults() *MerchantOrderResult`
-
-NewMerchantOrderResultWithDefaults instantiates a new MerchantOrderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMinId
-
-`func (o *MerchantOrderResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *MerchantOrderResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *MerchantOrderResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *MerchantOrderResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetOrderList
-
-`func (o *MerchantOrderResult) GetOrderList() []MerchantOrderInfo`
-
-GetOrderList returns the OrderList field if non-nil, zero value otherwise.
-
-### GetOrderListOk
-
-`func (o *MerchantOrderResult) GetOrderListOk() (*[]MerchantOrderInfo, bool)`
-
-GetOrderListOk returns a tuple with the OrderList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOrderList
-
-`func (o *MerchantOrderResult) SetOrderList(v []MerchantOrderInfo)`
-
-SetOrderList sets OrderList field to given value.
-
-### HasOrderList
-
-`func (o *MerchantOrderResult) HasOrderList() bool`
-
-HasOrderList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MerchantPersonInfo.md b/bitget-goland-sdk-open-api/docs/MerchantPersonInfo.md
deleted file mode 100644
index eddf7f68..00000000
--- a/bitget-goland-sdk-open-api/docs/MerchantPersonInfo.md
+++ /dev/null
@@ -1,524 +0,0 @@
-# MerchantPersonInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AveragePayment** | Pointer to **string** | | [optional]
-**AverageRealese** | Pointer to **string** | | [optional]
-**Email** | Pointer to **string** | | [optional]
-**EmailBindFlag** | Pointer to **bool** | | [optional]
-**KycFlag** | Pointer to **bool** | | [optional]
-**MerchantId** | Pointer to **string** | | [optional]
-**Mobile** | Pointer to **string** | | [optional]
-**MobileBindFlag** | Pointer to **bool** | | [optional]
-**NickName** | Pointer to **string** | | [optional]
-**RealName** | Pointer to **string** | | [optional]
-**RegisterTime** | Pointer to **string** | | [optional]
-**ThirtyBuy** | Pointer to **string** | | [optional]
-**ThirtyCompletionRate** | Pointer to **string** | | [optional]
-**ThirtySell** | Pointer to **string** | | [optional]
-**ThirtyTrades** | Pointer to **string** | | [optional]
-**TotalBuy** | Pointer to **string** | | [optional]
-**TotalCompletionRate** | Pointer to **string** | | [optional]
-**TotalSell** | Pointer to **string** | | [optional]
-**TotalTrades** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMerchantPersonInfo
-
-`func NewMerchantPersonInfo() *MerchantPersonInfo`
-
-NewMerchantPersonInfo instantiates a new MerchantPersonInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMerchantPersonInfoWithDefaults
-
-`func NewMerchantPersonInfoWithDefaults() *MerchantPersonInfo`
-
-NewMerchantPersonInfoWithDefaults instantiates a new MerchantPersonInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAveragePayment
-
-`func (o *MerchantPersonInfo) GetAveragePayment() string`
-
-GetAveragePayment returns the AveragePayment field if non-nil, zero value otherwise.
-
-### GetAveragePaymentOk
-
-`func (o *MerchantPersonInfo) GetAveragePaymentOk() (*string, bool)`
-
-GetAveragePaymentOk returns a tuple with the AveragePayment field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAveragePayment
-
-`func (o *MerchantPersonInfo) SetAveragePayment(v string)`
-
-SetAveragePayment sets AveragePayment field to given value.
-
-### HasAveragePayment
-
-`func (o *MerchantPersonInfo) HasAveragePayment() bool`
-
-HasAveragePayment returns a boolean if a field has been set.
-
-### GetAverageRealese
-
-`func (o *MerchantPersonInfo) GetAverageRealese() string`
-
-GetAverageRealese returns the AverageRealese field if non-nil, zero value otherwise.
-
-### GetAverageRealeseOk
-
-`func (o *MerchantPersonInfo) GetAverageRealeseOk() (*string, bool)`
-
-GetAverageRealeseOk returns a tuple with the AverageRealese field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAverageRealese
-
-`func (o *MerchantPersonInfo) SetAverageRealese(v string)`
-
-SetAverageRealese sets AverageRealese field to given value.
-
-### HasAverageRealese
-
-`func (o *MerchantPersonInfo) HasAverageRealese() bool`
-
-HasAverageRealese returns a boolean if a field has been set.
-
-### GetEmail
-
-`func (o *MerchantPersonInfo) GetEmail() string`
-
-GetEmail returns the Email field if non-nil, zero value otherwise.
-
-### GetEmailOk
-
-`func (o *MerchantPersonInfo) GetEmailOk() (*string, bool)`
-
-GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetEmail
-
-`func (o *MerchantPersonInfo) SetEmail(v string)`
-
-SetEmail sets Email field to given value.
-
-### HasEmail
-
-`func (o *MerchantPersonInfo) HasEmail() bool`
-
-HasEmail returns a boolean if a field has been set.
-
-### GetEmailBindFlag
-
-`func (o *MerchantPersonInfo) GetEmailBindFlag() bool`
-
-GetEmailBindFlag returns the EmailBindFlag field if non-nil, zero value otherwise.
-
-### GetEmailBindFlagOk
-
-`func (o *MerchantPersonInfo) GetEmailBindFlagOk() (*bool, bool)`
-
-GetEmailBindFlagOk returns a tuple with the EmailBindFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetEmailBindFlag
-
-`func (o *MerchantPersonInfo) SetEmailBindFlag(v bool)`
-
-SetEmailBindFlag sets EmailBindFlag field to given value.
-
-### HasEmailBindFlag
-
-`func (o *MerchantPersonInfo) HasEmailBindFlag() bool`
-
-HasEmailBindFlag returns a boolean if a field has been set.
-
-### GetKycFlag
-
-`func (o *MerchantPersonInfo) GetKycFlag() bool`
-
-GetKycFlag returns the KycFlag field if non-nil, zero value otherwise.
-
-### GetKycFlagOk
-
-`func (o *MerchantPersonInfo) GetKycFlagOk() (*bool, bool)`
-
-GetKycFlagOk returns a tuple with the KycFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetKycFlag
-
-`func (o *MerchantPersonInfo) SetKycFlag(v bool)`
-
-SetKycFlag sets KycFlag field to given value.
-
-### HasKycFlag
-
-`func (o *MerchantPersonInfo) HasKycFlag() bool`
-
-HasKycFlag returns a boolean if a field has been set.
-
-### GetMerchantId
-
-`func (o *MerchantPersonInfo) GetMerchantId() string`
-
-GetMerchantId returns the MerchantId field if non-nil, zero value otherwise.
-
-### GetMerchantIdOk
-
-`func (o *MerchantPersonInfo) GetMerchantIdOk() (*string, bool)`
-
-GetMerchantIdOk returns a tuple with the MerchantId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMerchantId
-
-`func (o *MerchantPersonInfo) SetMerchantId(v string)`
-
-SetMerchantId sets MerchantId field to given value.
-
-### HasMerchantId
-
-`func (o *MerchantPersonInfo) HasMerchantId() bool`
-
-HasMerchantId returns a boolean if a field has been set.
-
-### GetMobile
-
-`func (o *MerchantPersonInfo) GetMobile() string`
-
-GetMobile returns the Mobile field if non-nil, zero value otherwise.
-
-### GetMobileOk
-
-`func (o *MerchantPersonInfo) GetMobileOk() (*string, bool)`
-
-GetMobileOk returns a tuple with the Mobile field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMobile
-
-`func (o *MerchantPersonInfo) SetMobile(v string)`
-
-SetMobile sets Mobile field to given value.
-
-### HasMobile
-
-`func (o *MerchantPersonInfo) HasMobile() bool`
-
-HasMobile returns a boolean if a field has been set.
-
-### GetMobileBindFlag
-
-`func (o *MerchantPersonInfo) GetMobileBindFlag() bool`
-
-GetMobileBindFlag returns the MobileBindFlag field if non-nil, zero value otherwise.
-
-### GetMobileBindFlagOk
-
-`func (o *MerchantPersonInfo) GetMobileBindFlagOk() (*bool, bool)`
-
-GetMobileBindFlagOk returns a tuple with the MobileBindFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMobileBindFlag
-
-`func (o *MerchantPersonInfo) SetMobileBindFlag(v bool)`
-
-SetMobileBindFlag sets MobileBindFlag field to given value.
-
-### HasMobileBindFlag
-
-`func (o *MerchantPersonInfo) HasMobileBindFlag() bool`
-
-HasMobileBindFlag returns a boolean if a field has been set.
-
-### GetNickName
-
-`func (o *MerchantPersonInfo) GetNickName() string`
-
-GetNickName returns the NickName field if non-nil, zero value otherwise.
-
-### GetNickNameOk
-
-`func (o *MerchantPersonInfo) GetNickNameOk() (*string, bool)`
-
-GetNickNameOk returns a tuple with the NickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNickName
-
-`func (o *MerchantPersonInfo) SetNickName(v string)`
-
-SetNickName sets NickName field to given value.
-
-### HasNickName
-
-`func (o *MerchantPersonInfo) HasNickName() bool`
-
-HasNickName returns a boolean if a field has been set.
-
-### GetRealName
-
-`func (o *MerchantPersonInfo) GetRealName() string`
-
-GetRealName returns the RealName field if non-nil, zero value otherwise.
-
-### GetRealNameOk
-
-`func (o *MerchantPersonInfo) GetRealNameOk() (*string, bool)`
-
-GetRealNameOk returns a tuple with the RealName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRealName
-
-`func (o *MerchantPersonInfo) SetRealName(v string)`
-
-SetRealName sets RealName field to given value.
-
-### HasRealName
-
-`func (o *MerchantPersonInfo) HasRealName() bool`
-
-HasRealName returns a boolean if a field has been set.
-
-### GetRegisterTime
-
-`func (o *MerchantPersonInfo) GetRegisterTime() string`
-
-GetRegisterTime returns the RegisterTime field if non-nil, zero value otherwise.
-
-### GetRegisterTimeOk
-
-`func (o *MerchantPersonInfo) GetRegisterTimeOk() (*string, bool)`
-
-GetRegisterTimeOk returns a tuple with the RegisterTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRegisterTime
-
-`func (o *MerchantPersonInfo) SetRegisterTime(v string)`
-
-SetRegisterTime sets RegisterTime field to given value.
-
-### HasRegisterTime
-
-`func (o *MerchantPersonInfo) HasRegisterTime() bool`
-
-HasRegisterTime returns a boolean if a field has been set.
-
-### GetThirtyBuy
-
-`func (o *MerchantPersonInfo) GetThirtyBuy() string`
-
-GetThirtyBuy returns the ThirtyBuy field if non-nil, zero value otherwise.
-
-### GetThirtyBuyOk
-
-`func (o *MerchantPersonInfo) GetThirtyBuyOk() (*string, bool)`
-
-GetThirtyBuyOk returns a tuple with the ThirtyBuy field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyBuy
-
-`func (o *MerchantPersonInfo) SetThirtyBuy(v string)`
-
-SetThirtyBuy sets ThirtyBuy field to given value.
-
-### HasThirtyBuy
-
-`func (o *MerchantPersonInfo) HasThirtyBuy() bool`
-
-HasThirtyBuy returns a boolean if a field has been set.
-
-### GetThirtyCompletionRate
-
-`func (o *MerchantPersonInfo) GetThirtyCompletionRate() string`
-
-GetThirtyCompletionRate returns the ThirtyCompletionRate field if non-nil, zero value otherwise.
-
-### GetThirtyCompletionRateOk
-
-`func (o *MerchantPersonInfo) GetThirtyCompletionRateOk() (*string, bool)`
-
-GetThirtyCompletionRateOk returns a tuple with the ThirtyCompletionRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyCompletionRate
-
-`func (o *MerchantPersonInfo) SetThirtyCompletionRate(v string)`
-
-SetThirtyCompletionRate sets ThirtyCompletionRate field to given value.
-
-### HasThirtyCompletionRate
-
-`func (o *MerchantPersonInfo) HasThirtyCompletionRate() bool`
-
-HasThirtyCompletionRate returns a boolean if a field has been set.
-
-### GetThirtySell
-
-`func (o *MerchantPersonInfo) GetThirtySell() string`
-
-GetThirtySell returns the ThirtySell field if non-nil, zero value otherwise.
-
-### GetThirtySellOk
-
-`func (o *MerchantPersonInfo) GetThirtySellOk() (*string, bool)`
-
-GetThirtySellOk returns a tuple with the ThirtySell field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtySell
-
-`func (o *MerchantPersonInfo) SetThirtySell(v string)`
-
-SetThirtySell sets ThirtySell field to given value.
-
-### HasThirtySell
-
-`func (o *MerchantPersonInfo) HasThirtySell() bool`
-
-HasThirtySell returns a boolean if a field has been set.
-
-### GetThirtyTrades
-
-`func (o *MerchantPersonInfo) GetThirtyTrades() string`
-
-GetThirtyTrades returns the ThirtyTrades field if non-nil, zero value otherwise.
-
-### GetThirtyTradesOk
-
-`func (o *MerchantPersonInfo) GetThirtyTradesOk() (*string, bool)`
-
-GetThirtyTradesOk returns a tuple with the ThirtyTrades field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetThirtyTrades
-
-`func (o *MerchantPersonInfo) SetThirtyTrades(v string)`
-
-SetThirtyTrades sets ThirtyTrades field to given value.
-
-### HasThirtyTrades
-
-`func (o *MerchantPersonInfo) HasThirtyTrades() bool`
-
-HasThirtyTrades returns a boolean if a field has been set.
-
-### GetTotalBuy
-
-`func (o *MerchantPersonInfo) GetTotalBuy() string`
-
-GetTotalBuy returns the TotalBuy field if non-nil, zero value otherwise.
-
-### GetTotalBuyOk
-
-`func (o *MerchantPersonInfo) GetTotalBuyOk() (*string, bool)`
-
-GetTotalBuyOk returns a tuple with the TotalBuy field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalBuy
-
-`func (o *MerchantPersonInfo) SetTotalBuy(v string)`
-
-SetTotalBuy sets TotalBuy field to given value.
-
-### HasTotalBuy
-
-`func (o *MerchantPersonInfo) HasTotalBuy() bool`
-
-HasTotalBuy returns a boolean if a field has been set.
-
-### GetTotalCompletionRate
-
-`func (o *MerchantPersonInfo) GetTotalCompletionRate() string`
-
-GetTotalCompletionRate returns the TotalCompletionRate field if non-nil, zero value otherwise.
-
-### GetTotalCompletionRateOk
-
-`func (o *MerchantPersonInfo) GetTotalCompletionRateOk() (*string, bool)`
-
-GetTotalCompletionRateOk returns a tuple with the TotalCompletionRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalCompletionRate
-
-`func (o *MerchantPersonInfo) SetTotalCompletionRate(v string)`
-
-SetTotalCompletionRate sets TotalCompletionRate field to given value.
-
-### HasTotalCompletionRate
-
-`func (o *MerchantPersonInfo) HasTotalCompletionRate() bool`
-
-HasTotalCompletionRate returns a boolean if a field has been set.
-
-### GetTotalSell
-
-`func (o *MerchantPersonInfo) GetTotalSell() string`
-
-GetTotalSell returns the TotalSell field if non-nil, zero value otherwise.
-
-### GetTotalSellOk
-
-`func (o *MerchantPersonInfo) GetTotalSellOk() (*string, bool)`
-
-GetTotalSellOk returns a tuple with the TotalSell field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalSell
-
-`func (o *MerchantPersonInfo) SetTotalSell(v string)`
-
-SetTotalSell sets TotalSell field to given value.
-
-### HasTotalSell
-
-`func (o *MerchantPersonInfo) HasTotalSell() bool`
-
-HasTotalSell returns a boolean if a field has been set.
-
-### GetTotalTrades
-
-`func (o *MerchantPersonInfo) GetTotalTrades() string`
-
-GetTotalTrades returns the TotalTrades field if non-nil, zero value otherwise.
-
-### GetTotalTradesOk
-
-`func (o *MerchantPersonInfo) GetTotalTradesOk() (*string, bool)`
-
-GetTotalTradesOk returns a tuple with the TotalTrades field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTotalTrades
-
-`func (o *MerchantPersonInfo) SetTotalTrades(v string)`
-
-SetTotalTrades sets TotalTrades field to given value.
-
-### HasTotalTrades
-
-`func (o *MerchantPersonInfo) HasTotalTrades() bool`
-
-HasTotalTrades returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTracerResult.md b/bitget-goland-sdk-open-api/docs/MyTracerResult.md
deleted file mode 100644
index 2606a158..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTracerResult.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# MyTracerResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**AccountEquity** | Pointer to **string** | | [optional]
-**CanRemoveTraceUser** | Pointer to **bool** | | [optional]
-**TracerHeadPic** | Pointer to **string** | | [optional]
-**TracerNickName** | Pointer to **string** | | [optional]
-**TracerUserId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMyTracerResult
-
-`func NewMyTracerResult() *MyTracerResult`
-
-NewMyTracerResult instantiates a new MyTracerResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTracerResultWithDefaults
-
-`func NewMyTracerResultWithDefaults() *MyTracerResult`
-
-NewMyTracerResultWithDefaults instantiates a new MyTracerResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetAccountEquity
-
-`func (o *MyTracerResult) GetAccountEquity() string`
-
-GetAccountEquity returns the AccountEquity field if non-nil, zero value otherwise.
-
-### GetAccountEquityOk
-
-`func (o *MyTracerResult) GetAccountEquityOk() (*string, bool)`
-
-GetAccountEquityOk returns a tuple with the AccountEquity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetAccountEquity
-
-`func (o *MyTracerResult) SetAccountEquity(v string)`
-
-SetAccountEquity sets AccountEquity field to given value.
-
-### HasAccountEquity
-
-`func (o *MyTracerResult) HasAccountEquity() bool`
-
-HasAccountEquity returns a boolean if a field has been set.
-
-### GetCanRemoveTraceUser
-
-`func (o *MyTracerResult) GetCanRemoveTraceUser() bool`
-
-GetCanRemoveTraceUser returns the CanRemoveTraceUser field if non-nil, zero value otherwise.
-
-### GetCanRemoveTraceUserOk
-
-`func (o *MyTracerResult) GetCanRemoveTraceUserOk() (*bool, bool)`
-
-GetCanRemoveTraceUserOk returns a tuple with the CanRemoveTraceUser field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCanRemoveTraceUser
-
-`func (o *MyTracerResult) SetCanRemoveTraceUser(v bool)`
-
-SetCanRemoveTraceUser sets CanRemoveTraceUser field to given value.
-
-### HasCanRemoveTraceUser
-
-`func (o *MyTracerResult) HasCanRemoveTraceUser() bool`
-
-HasCanRemoveTraceUser returns a boolean if a field has been set.
-
-### GetTracerHeadPic
-
-`func (o *MyTracerResult) GetTracerHeadPic() string`
-
-GetTracerHeadPic returns the TracerHeadPic field if non-nil, zero value otherwise.
-
-### GetTracerHeadPicOk
-
-`func (o *MyTracerResult) GetTracerHeadPicOk() (*string, bool)`
-
-GetTracerHeadPicOk returns a tuple with the TracerHeadPic field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTracerHeadPic
-
-`func (o *MyTracerResult) SetTracerHeadPic(v string)`
-
-SetTracerHeadPic sets TracerHeadPic field to given value.
-
-### HasTracerHeadPic
-
-`func (o *MyTracerResult) HasTracerHeadPic() bool`
-
-HasTracerHeadPic returns a boolean if a field has been set.
-
-### GetTracerNickName
-
-`func (o *MyTracerResult) GetTracerNickName() string`
-
-GetTracerNickName returns the TracerNickName field if non-nil, zero value otherwise.
-
-### GetTracerNickNameOk
-
-`func (o *MyTracerResult) GetTracerNickNameOk() (*string, bool)`
-
-GetTracerNickNameOk returns a tuple with the TracerNickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTracerNickName
-
-`func (o *MyTracerResult) SetTracerNickName(v string)`
-
-SetTracerNickName sets TracerNickName field to given value.
-
-### HasTracerNickName
-
-`func (o *MyTracerResult) HasTracerNickName() bool`
-
-HasTracerNickName returns a boolean if a field has been set.
-
-### GetTracerUserId
-
-`func (o *MyTracerResult) GetTracerUserId() string`
-
-GetTracerUserId returns the TracerUserId field if non-nil, zero value otherwise.
-
-### GetTracerUserIdOk
-
-`func (o *MyTracerResult) GetTracerUserIdOk() (*string, bool)`
-
-GetTracerUserIdOk returns a tuple with the TracerUserId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTracerUserId
-
-`func (o *MyTracerResult) SetTracerUserId(v string)`
-
-SetTracerUserId sets TracerUserId field to given value.
-
-### HasTracerUserId
-
-`func (o *MyTracerResult) HasTracerUserId() bool`
-
-HasTracerUserId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTracersRequest.md b/bitget-goland-sdk-open-api/docs/MyTracersRequest.md
deleted file mode 100644
index 8ee354d9..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTracersRequest.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MyTracersRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewMyTracersRequest
-
-`func NewMyTracersRequest() *MyTracersRequest`
-
-NewMyTracersRequest instantiates a new MyTracersRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTracersRequestWithDefaults
-
-`func NewMyTracersRequestWithDefaults() *MyTracersRequest`
-
-NewMyTracersRequestWithDefaults instantiates a new MyTracersRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNo
-
-`func (o *MyTracersRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *MyTracersRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *MyTracersRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *MyTracersRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *MyTracersRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *MyTracersRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *MyTracersRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *MyTracersRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTracersResult.md b/bitget-goland-sdk-open-api/docs/MyTracersResult.md
deleted file mode 100644
index 6a070951..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTracersResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MyTracersResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**NextFlag** | Pointer to **bool** | | [optional]
-**ResultList** | Pointer to [**[]MyTracerResult**](MyTracerResult.md) | | [optional]
-
-## Methods
-
-### NewMyTracersResult
-
-`func NewMyTracersResult() *MyTracersResult`
-
-NewMyTracersResult instantiates a new MyTracersResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTracersResultWithDefaults
-
-`func NewMyTracersResultWithDefaults() *MyTracersResult`
-
-NewMyTracersResultWithDefaults instantiates a new MyTracersResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetNextFlag
-
-`func (o *MyTracersResult) GetNextFlag() bool`
-
-GetNextFlag returns the NextFlag field if non-nil, zero value otherwise.
-
-### GetNextFlagOk
-
-`func (o *MyTracersResult) GetNextFlagOk() (*bool, bool)`
-
-GetNextFlagOk returns a tuple with the NextFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNextFlag
-
-`func (o *MyTracersResult) SetNextFlag(v bool)`
-
-SetNextFlag sets NextFlag field to given value.
-
-### HasNextFlag
-
-`func (o *MyTracersResult) HasNextFlag() bool`
-
-HasNextFlag returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MyTracersResult) GetResultList() []MyTracerResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MyTracersResult) GetResultListOk() (*[]MyTracerResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MyTracersResult) SetResultList(v []MyTracerResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MyTracersResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTraderResult.md b/bitget-goland-sdk-open-api/docs/MyTraderResult.md
deleted file mode 100644
index 85e916b5..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTraderResult.md
+++ /dev/null
@@ -1,212 +0,0 @@
-# MyTraderResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CertificationType** | Pointer to **string** | | [optional]
-**HeadPic** | Pointer to **string** | | [optional]
-**TraceTotalAmount** | Pointer to **string** | | [optional]
-**TraceTotalNetProfit** | Pointer to **string** | | [optional]
-**TraceTotalProfit** | Pointer to **string** | | [optional]
-**TradeNickName** | Pointer to **string** | | [optional]
-**TraderUid** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewMyTraderResult
-
-`func NewMyTraderResult() *MyTraderResult`
-
-NewMyTraderResult instantiates a new MyTraderResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTraderResultWithDefaults
-
-`func NewMyTraderResultWithDefaults() *MyTraderResult`
-
-NewMyTraderResultWithDefaults instantiates a new MyTraderResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCertificationType
-
-`func (o *MyTraderResult) GetCertificationType() string`
-
-GetCertificationType returns the CertificationType field if non-nil, zero value otherwise.
-
-### GetCertificationTypeOk
-
-`func (o *MyTraderResult) GetCertificationTypeOk() (*string, bool)`
-
-GetCertificationTypeOk returns a tuple with the CertificationType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCertificationType
-
-`func (o *MyTraderResult) SetCertificationType(v string)`
-
-SetCertificationType sets CertificationType field to given value.
-
-### HasCertificationType
-
-`func (o *MyTraderResult) HasCertificationType() bool`
-
-HasCertificationType returns a boolean if a field has been set.
-
-### GetHeadPic
-
-`func (o *MyTraderResult) GetHeadPic() string`
-
-GetHeadPic returns the HeadPic field if non-nil, zero value otherwise.
-
-### GetHeadPicOk
-
-`func (o *MyTraderResult) GetHeadPicOk() (*string, bool)`
-
-GetHeadPicOk returns a tuple with the HeadPic field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetHeadPic
-
-`func (o *MyTraderResult) SetHeadPic(v string)`
-
-SetHeadPic sets HeadPic field to given value.
-
-### HasHeadPic
-
-`func (o *MyTraderResult) HasHeadPic() bool`
-
-HasHeadPic returns a boolean if a field has been set.
-
-### GetTraceTotalAmount
-
-`func (o *MyTraderResult) GetTraceTotalAmount() string`
-
-GetTraceTotalAmount returns the TraceTotalAmount field if non-nil, zero value otherwise.
-
-### GetTraceTotalAmountOk
-
-`func (o *MyTraderResult) GetTraceTotalAmountOk() (*string, bool)`
-
-GetTraceTotalAmountOk returns a tuple with the TraceTotalAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceTotalAmount
-
-`func (o *MyTraderResult) SetTraceTotalAmount(v string)`
-
-SetTraceTotalAmount sets TraceTotalAmount field to given value.
-
-### HasTraceTotalAmount
-
-`func (o *MyTraderResult) HasTraceTotalAmount() bool`
-
-HasTraceTotalAmount returns a boolean if a field has been set.
-
-### GetTraceTotalNetProfit
-
-`func (o *MyTraderResult) GetTraceTotalNetProfit() string`
-
-GetTraceTotalNetProfit returns the TraceTotalNetProfit field if non-nil, zero value otherwise.
-
-### GetTraceTotalNetProfitOk
-
-`func (o *MyTraderResult) GetTraceTotalNetProfitOk() (*string, bool)`
-
-GetTraceTotalNetProfitOk returns a tuple with the TraceTotalNetProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceTotalNetProfit
-
-`func (o *MyTraderResult) SetTraceTotalNetProfit(v string)`
-
-SetTraceTotalNetProfit sets TraceTotalNetProfit field to given value.
-
-### HasTraceTotalNetProfit
-
-`func (o *MyTraderResult) HasTraceTotalNetProfit() bool`
-
-HasTraceTotalNetProfit returns a boolean if a field has been set.
-
-### GetTraceTotalProfit
-
-`func (o *MyTraderResult) GetTraceTotalProfit() string`
-
-GetTraceTotalProfit returns the TraceTotalProfit field if non-nil, zero value otherwise.
-
-### GetTraceTotalProfitOk
-
-`func (o *MyTraderResult) GetTraceTotalProfitOk() (*string, bool)`
-
-GetTraceTotalProfitOk returns a tuple with the TraceTotalProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceTotalProfit
-
-`func (o *MyTraderResult) SetTraceTotalProfit(v string)`
-
-SetTraceTotalProfit sets TraceTotalProfit field to given value.
-
-### HasTraceTotalProfit
-
-`func (o *MyTraderResult) HasTraceTotalProfit() bool`
-
-HasTraceTotalProfit returns a boolean if a field has been set.
-
-### GetTradeNickName
-
-`func (o *MyTraderResult) GetTradeNickName() string`
-
-GetTradeNickName returns the TradeNickName field if non-nil, zero value otherwise.
-
-### GetTradeNickNameOk
-
-`func (o *MyTraderResult) GetTradeNickNameOk() (*string, bool)`
-
-GetTradeNickNameOk returns a tuple with the TradeNickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTradeNickName
-
-`func (o *MyTraderResult) SetTradeNickName(v string)`
-
-SetTradeNickName sets TradeNickName field to given value.
-
-### HasTradeNickName
-
-`func (o *MyTraderResult) HasTradeNickName() bool`
-
-HasTradeNickName returns a boolean if a field has been set.
-
-### GetTraderUid
-
-`func (o *MyTraderResult) GetTraderUid() string`
-
-GetTraderUid returns the TraderUid field if non-nil, zero value otherwise.
-
-### GetTraderUidOk
-
-`func (o *MyTraderResult) GetTraderUidOk() (*string, bool)`
-
-GetTraderUidOk returns a tuple with the TraderUid field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderUid
-
-`func (o *MyTraderResult) SetTraderUid(v string)`
-
-SetTraderUid sets TraderUid field to given value.
-
-### HasTraderUid
-
-`func (o *MyTraderResult) HasTraderUid() bool`
-
-HasTraderUid returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTradersRequest.md b/bitget-goland-sdk-open-api/docs/MyTradersRequest.md
deleted file mode 100644
index 3edc6977..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTradersRequest.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MyTradersRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewMyTradersRequest
-
-`func NewMyTradersRequest() *MyTradersRequest`
-
-NewMyTradersRequest instantiates a new MyTradersRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTradersRequestWithDefaults
-
-`func NewMyTradersRequestWithDefaults() *MyTradersRequest`
-
-NewMyTradersRequestWithDefaults instantiates a new MyTradersRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNo
-
-`func (o *MyTradersRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *MyTradersRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *MyTradersRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *MyTradersRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *MyTradersRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *MyTradersRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *MyTradersRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *MyTradersRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/MyTradersResult.md b/bitget-goland-sdk-open-api/docs/MyTradersResult.md
deleted file mode 100644
index 223cfad6..00000000
--- a/bitget-goland-sdk-open-api/docs/MyTradersResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# MyTradersResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**NextFlag** | Pointer to **bool** | | [optional]
-**ResultList** | Pointer to [**[]MyTraderResult**](MyTraderResult.md) | | [optional]
-
-## Methods
-
-### NewMyTradersResult
-
-`func NewMyTradersResult() *MyTradersResult`
-
-NewMyTradersResult instantiates a new MyTradersResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewMyTradersResultWithDefaults
-
-`func NewMyTradersResultWithDefaults() *MyTradersResult`
-
-NewMyTradersResultWithDefaults instantiates a new MyTradersResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetNextFlag
-
-`func (o *MyTradersResult) GetNextFlag() bool`
-
-GetNextFlag returns the NextFlag field if non-nil, zero value otherwise.
-
-### GetNextFlagOk
-
-`func (o *MyTradersResult) GetNextFlagOk() (*bool, bool)`
-
-GetNextFlagOk returns a tuple with the NextFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNextFlag
-
-`func (o *MyTradersResult) SetNextFlag(v bool)`
-
-SetNextFlag sets NextFlag field to given value.
-
-### HasNextFlag
-
-`func (o *MyTradersResult) HasNextFlag() bool`
-
-HasNextFlag returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *MyTradersResult) GetResultList() []MyTraderResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *MyTradersResult) GetResultListOk() (*[]MyTraderResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *MyTradersResult) SetResultList(v []MyTraderResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *MyTradersResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/OrderCurrentListResult.md b/bitget-goland-sdk-open-api/docs/OrderCurrentListResult.md
deleted file mode 100644
index 527734c1..00000000
--- a/bitget-goland-sdk-open-api/docs/OrderCurrentListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# OrderCurrentListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]OrderCurrentResult**](OrderCurrentResult.md) | | [optional]
-
-## Methods
-
-### NewOrderCurrentListResult
-
-`func NewOrderCurrentListResult() *OrderCurrentListResult`
-
-NewOrderCurrentListResult instantiates a new OrderCurrentListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewOrderCurrentListResultWithDefaults
-
-`func NewOrderCurrentListResultWithDefaults() *OrderCurrentListResult`
-
-NewOrderCurrentListResultWithDefaults instantiates a new OrderCurrentListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMinId
-
-`func (o *OrderCurrentListResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *OrderCurrentListResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *OrderCurrentListResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *OrderCurrentListResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *OrderCurrentListResult) GetResultList() []OrderCurrentResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *OrderCurrentListResult) GetResultListOk() (*[]OrderCurrentResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *OrderCurrentListResult) SetResultList(v []OrderCurrentResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *OrderCurrentListResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/OrderCurrentResult.md b/bitget-goland-sdk-open-api/docs/OrderCurrentResult.md
deleted file mode 100644
index d5712db4..00000000
--- a/bitget-goland-sdk-open-api/docs/OrderCurrentResult.md
+++ /dev/null
@@ -1,368 +0,0 @@
-# OrderCurrentResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BuyDelegateCount** | Pointer to **string** | | [optional]
-**BuyPrice** | Pointer to **string** | | [optional]
-**BuyTime** | Pointer to **string** | | [optional]
-**DealCount** | Pointer to **string** | | [optional]
-**HoldCount** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-**ProfitRate** | Pointer to **string** | | [optional]
-**StopLossPrice** | Pointer to **string** | | [optional]
-**StopProfitPrice** | Pointer to **string** | | [optional]
-**SymbolDisplayName** | Pointer to **string** | | [optional]
-**SymbolId** | Pointer to **string** | | [optional]
-**TrackingNo** | Pointer to **string** | | [optional]
-**TrackingType** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewOrderCurrentResult
-
-`func NewOrderCurrentResult() *OrderCurrentResult`
-
-NewOrderCurrentResult instantiates a new OrderCurrentResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewOrderCurrentResultWithDefaults
-
-`func NewOrderCurrentResultWithDefaults() *OrderCurrentResult`
-
-NewOrderCurrentResultWithDefaults instantiates a new OrderCurrentResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBuyDelegateCount
-
-`func (o *OrderCurrentResult) GetBuyDelegateCount() string`
-
-GetBuyDelegateCount returns the BuyDelegateCount field if non-nil, zero value otherwise.
-
-### GetBuyDelegateCountOk
-
-`func (o *OrderCurrentResult) GetBuyDelegateCountOk() (*string, bool)`
-
-GetBuyDelegateCountOk returns a tuple with the BuyDelegateCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyDelegateCount
-
-`func (o *OrderCurrentResult) SetBuyDelegateCount(v string)`
-
-SetBuyDelegateCount sets BuyDelegateCount field to given value.
-
-### HasBuyDelegateCount
-
-`func (o *OrderCurrentResult) HasBuyDelegateCount() bool`
-
-HasBuyDelegateCount returns a boolean if a field has been set.
-
-### GetBuyPrice
-
-`func (o *OrderCurrentResult) GetBuyPrice() string`
-
-GetBuyPrice returns the BuyPrice field if non-nil, zero value otherwise.
-
-### GetBuyPriceOk
-
-`func (o *OrderCurrentResult) GetBuyPriceOk() (*string, bool)`
-
-GetBuyPriceOk returns a tuple with the BuyPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyPrice
-
-`func (o *OrderCurrentResult) SetBuyPrice(v string)`
-
-SetBuyPrice sets BuyPrice field to given value.
-
-### HasBuyPrice
-
-`func (o *OrderCurrentResult) HasBuyPrice() bool`
-
-HasBuyPrice returns a boolean if a field has been set.
-
-### GetBuyTime
-
-`func (o *OrderCurrentResult) GetBuyTime() string`
-
-GetBuyTime returns the BuyTime field if non-nil, zero value otherwise.
-
-### GetBuyTimeOk
-
-`func (o *OrderCurrentResult) GetBuyTimeOk() (*string, bool)`
-
-GetBuyTimeOk returns a tuple with the BuyTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyTime
-
-`func (o *OrderCurrentResult) SetBuyTime(v string)`
-
-SetBuyTime sets BuyTime field to given value.
-
-### HasBuyTime
-
-`func (o *OrderCurrentResult) HasBuyTime() bool`
-
-HasBuyTime returns a boolean if a field has been set.
-
-### GetDealCount
-
-`func (o *OrderCurrentResult) GetDealCount() string`
-
-GetDealCount returns the DealCount field if non-nil, zero value otherwise.
-
-### GetDealCountOk
-
-`func (o *OrderCurrentResult) GetDealCountOk() (*string, bool)`
-
-GetDealCountOk returns a tuple with the DealCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDealCount
-
-`func (o *OrderCurrentResult) SetDealCount(v string)`
-
-SetDealCount sets DealCount field to given value.
-
-### HasDealCount
-
-`func (o *OrderCurrentResult) HasDealCount() bool`
-
-HasDealCount returns a boolean if a field has been set.
-
-### GetHoldCount
-
-`func (o *OrderCurrentResult) GetHoldCount() string`
-
-GetHoldCount returns the HoldCount field if non-nil, zero value otherwise.
-
-### GetHoldCountOk
-
-`func (o *OrderCurrentResult) GetHoldCountOk() (*string, bool)`
-
-GetHoldCountOk returns a tuple with the HoldCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetHoldCount
-
-`func (o *OrderCurrentResult) SetHoldCount(v string)`
-
-SetHoldCount sets HoldCount field to given value.
-
-### HasHoldCount
-
-`func (o *OrderCurrentResult) HasHoldCount() bool`
-
-HasHoldCount returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *OrderCurrentResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *OrderCurrentResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *OrderCurrentResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *OrderCurrentResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-### GetProfitRate
-
-`func (o *OrderCurrentResult) GetProfitRate() string`
-
-GetProfitRate returns the ProfitRate field if non-nil, zero value otherwise.
-
-### GetProfitRateOk
-
-`func (o *OrderCurrentResult) GetProfitRateOk() (*string, bool)`
-
-GetProfitRateOk returns a tuple with the ProfitRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfitRate
-
-`func (o *OrderCurrentResult) SetProfitRate(v string)`
-
-SetProfitRate sets ProfitRate field to given value.
-
-### HasProfitRate
-
-`func (o *OrderCurrentResult) HasProfitRate() bool`
-
-HasProfitRate returns a boolean if a field has been set.
-
-### GetStopLossPrice
-
-`func (o *OrderCurrentResult) GetStopLossPrice() string`
-
-GetStopLossPrice returns the StopLossPrice field if non-nil, zero value otherwise.
-
-### GetStopLossPriceOk
-
-`func (o *OrderCurrentResult) GetStopLossPriceOk() (*string, bool)`
-
-GetStopLossPriceOk returns a tuple with the StopLossPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopLossPrice
-
-`func (o *OrderCurrentResult) SetStopLossPrice(v string)`
-
-SetStopLossPrice sets StopLossPrice field to given value.
-
-### HasStopLossPrice
-
-`func (o *OrderCurrentResult) HasStopLossPrice() bool`
-
-HasStopLossPrice returns a boolean if a field has been set.
-
-### GetStopProfitPrice
-
-`func (o *OrderCurrentResult) GetStopProfitPrice() string`
-
-GetStopProfitPrice returns the StopProfitPrice field if non-nil, zero value otherwise.
-
-### GetStopProfitPriceOk
-
-`func (o *OrderCurrentResult) GetStopProfitPriceOk() (*string, bool)`
-
-GetStopProfitPriceOk returns a tuple with the StopProfitPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopProfitPrice
-
-`func (o *OrderCurrentResult) SetStopProfitPrice(v string)`
-
-SetStopProfitPrice sets StopProfitPrice field to given value.
-
-### HasStopProfitPrice
-
-`func (o *OrderCurrentResult) HasStopProfitPrice() bool`
-
-HasStopProfitPrice returns a boolean if a field has been set.
-
-### GetSymbolDisplayName
-
-`func (o *OrderCurrentResult) GetSymbolDisplayName() string`
-
-GetSymbolDisplayName returns the SymbolDisplayName field if non-nil, zero value otherwise.
-
-### GetSymbolDisplayNameOk
-
-`func (o *OrderCurrentResult) GetSymbolDisplayNameOk() (*string, bool)`
-
-GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolDisplayName
-
-`func (o *OrderCurrentResult) SetSymbolDisplayName(v string)`
-
-SetSymbolDisplayName sets SymbolDisplayName field to given value.
-
-### HasSymbolDisplayName
-
-`func (o *OrderCurrentResult) HasSymbolDisplayName() bool`
-
-HasSymbolDisplayName returns a boolean if a field has been set.
-
-### GetSymbolId
-
-`func (o *OrderCurrentResult) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *OrderCurrentResult) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *OrderCurrentResult) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-### HasSymbolId
-
-`func (o *OrderCurrentResult) HasSymbolId() bool`
-
-HasSymbolId returns a boolean if a field has been set.
-
-### GetTrackingNo
-
-`func (o *OrderCurrentResult) GetTrackingNo() string`
-
-GetTrackingNo returns the TrackingNo field if non-nil, zero value otherwise.
-
-### GetTrackingNoOk
-
-`func (o *OrderCurrentResult) GetTrackingNoOk() (*string, bool)`
-
-GetTrackingNoOk returns a tuple with the TrackingNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingNo
-
-`func (o *OrderCurrentResult) SetTrackingNo(v string)`
-
-SetTrackingNo sets TrackingNo field to given value.
-
-### HasTrackingNo
-
-`func (o *OrderCurrentResult) HasTrackingNo() bool`
-
-HasTrackingNo returns a boolean if a field has been set.
-
-### GetTrackingType
-
-`func (o *OrderCurrentResult) GetTrackingType() string`
-
-GetTrackingType returns the TrackingType field if non-nil, zero value otherwise.
-
-### GetTrackingTypeOk
-
-`func (o *OrderCurrentResult) GetTrackingTypeOk() (*string, bool)`
-
-GetTrackingTypeOk returns a tuple with the TrackingType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingType
-
-`func (o *OrderCurrentResult) SetTrackingType(v string)`
-
-SetTrackingType sets TrackingType field to given value.
-
-### HasTrackingType
-
-`func (o *OrderCurrentResult) HasTrackingType() bool`
-
-HasTrackingType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/OrderHistoryListResult.md b/bitget-goland-sdk-open-api/docs/OrderHistoryListResult.md
deleted file mode 100644
index e662021b..00000000
--- a/bitget-goland-sdk-open-api/docs/OrderHistoryListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# OrderHistoryListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MinId** | Pointer to **string** | | [optional]
-**ResultList** | Pointer to [**[]OrderHistoryResult**](OrderHistoryResult.md) | | [optional]
-
-## Methods
-
-### NewOrderHistoryListResult
-
-`func NewOrderHistoryListResult() *OrderHistoryListResult`
-
-NewOrderHistoryListResult instantiates a new OrderHistoryListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewOrderHistoryListResultWithDefaults
-
-`func NewOrderHistoryListResultWithDefaults() *OrderHistoryListResult`
-
-NewOrderHistoryListResultWithDefaults instantiates a new OrderHistoryListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMinId
-
-`func (o *OrderHistoryListResult) GetMinId() string`
-
-GetMinId returns the MinId field if non-nil, zero value otherwise.
-
-### GetMinIdOk
-
-`func (o *OrderHistoryListResult) GetMinIdOk() (*string, bool)`
-
-GetMinIdOk returns a tuple with the MinId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinId
-
-`func (o *OrderHistoryListResult) SetMinId(v string)`
-
-SetMinId sets MinId field to given value.
-
-### HasMinId
-
-`func (o *OrderHistoryListResult) HasMinId() bool`
-
-HasMinId returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *OrderHistoryListResult) GetResultList() []OrderHistoryResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *OrderHistoryListResult) GetResultListOk() (*[]OrderHistoryResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *OrderHistoryListResult) SetResultList(v []OrderHistoryResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *OrderHistoryListResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/OrderHistoryResult.md b/bitget-goland-sdk-open-api/docs/OrderHistoryResult.md
deleted file mode 100644
index 9b00fe28..00000000
--- a/bitget-goland-sdk-open-api/docs/OrderHistoryResult.md
+++ /dev/null
@@ -1,394 +0,0 @@
-# OrderHistoryResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BuyLeftTokenId** | Pointer to **string** | | [optional]
-**BuyPrice** | Pointer to **string** | | [optional]
-**BuyRightTokenId** | Pointer to **string** | | [optional]
-**BuyTime** | Pointer to **string** | | [optional]
-**DealCount** | Pointer to **string** | | [optional]
-**NetProfit** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-**ProfitRate** | Pointer to **string** | | [optional]
-**SellPrice** | Pointer to **string** | | [optional]
-**SellTime** | Pointer to **string** | | [optional]
-**SymbolDisplayName** | Pointer to **string** | | [optional]
-**SymbolId** | Pointer to **string** | | [optional]
-**TrackingNo** | Pointer to **string** | | [optional]
-**TraderUserId** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewOrderHistoryResult
-
-`func NewOrderHistoryResult() *OrderHistoryResult`
-
-NewOrderHistoryResult instantiates a new OrderHistoryResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewOrderHistoryResultWithDefaults
-
-`func NewOrderHistoryResultWithDefaults() *OrderHistoryResult`
-
-NewOrderHistoryResultWithDefaults instantiates a new OrderHistoryResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBuyLeftTokenId
-
-`func (o *OrderHistoryResult) GetBuyLeftTokenId() string`
-
-GetBuyLeftTokenId returns the BuyLeftTokenId field if non-nil, zero value otherwise.
-
-### GetBuyLeftTokenIdOk
-
-`func (o *OrderHistoryResult) GetBuyLeftTokenIdOk() (*string, bool)`
-
-GetBuyLeftTokenIdOk returns a tuple with the BuyLeftTokenId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyLeftTokenId
-
-`func (o *OrderHistoryResult) SetBuyLeftTokenId(v string)`
-
-SetBuyLeftTokenId sets BuyLeftTokenId field to given value.
-
-### HasBuyLeftTokenId
-
-`func (o *OrderHistoryResult) HasBuyLeftTokenId() bool`
-
-HasBuyLeftTokenId returns a boolean if a field has been set.
-
-### GetBuyPrice
-
-`func (o *OrderHistoryResult) GetBuyPrice() string`
-
-GetBuyPrice returns the BuyPrice field if non-nil, zero value otherwise.
-
-### GetBuyPriceOk
-
-`func (o *OrderHistoryResult) GetBuyPriceOk() (*string, bool)`
-
-GetBuyPriceOk returns a tuple with the BuyPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyPrice
-
-`func (o *OrderHistoryResult) SetBuyPrice(v string)`
-
-SetBuyPrice sets BuyPrice field to given value.
-
-### HasBuyPrice
-
-`func (o *OrderHistoryResult) HasBuyPrice() bool`
-
-HasBuyPrice returns a boolean if a field has been set.
-
-### GetBuyRightTokenId
-
-`func (o *OrderHistoryResult) GetBuyRightTokenId() string`
-
-GetBuyRightTokenId returns the BuyRightTokenId field if non-nil, zero value otherwise.
-
-### GetBuyRightTokenIdOk
-
-`func (o *OrderHistoryResult) GetBuyRightTokenIdOk() (*string, bool)`
-
-GetBuyRightTokenIdOk returns a tuple with the BuyRightTokenId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyRightTokenId
-
-`func (o *OrderHistoryResult) SetBuyRightTokenId(v string)`
-
-SetBuyRightTokenId sets BuyRightTokenId field to given value.
-
-### HasBuyRightTokenId
-
-`func (o *OrderHistoryResult) HasBuyRightTokenId() bool`
-
-HasBuyRightTokenId returns a boolean if a field has been set.
-
-### GetBuyTime
-
-`func (o *OrderHistoryResult) GetBuyTime() string`
-
-GetBuyTime returns the BuyTime field if non-nil, zero value otherwise.
-
-### GetBuyTimeOk
-
-`func (o *OrderHistoryResult) GetBuyTimeOk() (*string, bool)`
-
-GetBuyTimeOk returns a tuple with the BuyTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBuyTime
-
-`func (o *OrderHistoryResult) SetBuyTime(v string)`
-
-SetBuyTime sets BuyTime field to given value.
-
-### HasBuyTime
-
-`func (o *OrderHistoryResult) HasBuyTime() bool`
-
-HasBuyTime returns a boolean if a field has been set.
-
-### GetDealCount
-
-`func (o *OrderHistoryResult) GetDealCount() string`
-
-GetDealCount returns the DealCount field if non-nil, zero value otherwise.
-
-### GetDealCountOk
-
-`func (o *OrderHistoryResult) GetDealCountOk() (*string, bool)`
-
-GetDealCountOk returns a tuple with the DealCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDealCount
-
-`func (o *OrderHistoryResult) SetDealCount(v string)`
-
-SetDealCount sets DealCount field to given value.
-
-### HasDealCount
-
-`func (o *OrderHistoryResult) HasDealCount() bool`
-
-HasDealCount returns a boolean if a field has been set.
-
-### GetNetProfit
-
-`func (o *OrderHistoryResult) GetNetProfit() string`
-
-GetNetProfit returns the NetProfit field if non-nil, zero value otherwise.
-
-### GetNetProfitOk
-
-`func (o *OrderHistoryResult) GetNetProfitOk() (*string, bool)`
-
-GetNetProfitOk returns a tuple with the NetProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNetProfit
-
-`func (o *OrderHistoryResult) SetNetProfit(v string)`
-
-SetNetProfit sets NetProfit field to given value.
-
-### HasNetProfit
-
-`func (o *OrderHistoryResult) HasNetProfit() bool`
-
-HasNetProfit returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *OrderHistoryResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *OrderHistoryResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *OrderHistoryResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *OrderHistoryResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-### GetProfitRate
-
-`func (o *OrderHistoryResult) GetProfitRate() string`
-
-GetProfitRate returns the ProfitRate field if non-nil, zero value otherwise.
-
-### GetProfitRateOk
-
-`func (o *OrderHistoryResult) GetProfitRateOk() (*string, bool)`
-
-GetProfitRateOk returns a tuple with the ProfitRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfitRate
-
-`func (o *OrderHistoryResult) SetProfitRate(v string)`
-
-SetProfitRate sets ProfitRate field to given value.
-
-### HasProfitRate
-
-`func (o *OrderHistoryResult) HasProfitRate() bool`
-
-HasProfitRate returns a boolean if a field has been set.
-
-### GetSellPrice
-
-`func (o *OrderHistoryResult) GetSellPrice() string`
-
-GetSellPrice returns the SellPrice field if non-nil, zero value otherwise.
-
-### GetSellPriceOk
-
-`func (o *OrderHistoryResult) GetSellPriceOk() (*string, bool)`
-
-GetSellPriceOk returns a tuple with the SellPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSellPrice
-
-`func (o *OrderHistoryResult) SetSellPrice(v string)`
-
-SetSellPrice sets SellPrice field to given value.
-
-### HasSellPrice
-
-`func (o *OrderHistoryResult) HasSellPrice() bool`
-
-HasSellPrice returns a boolean if a field has been set.
-
-### GetSellTime
-
-`func (o *OrderHistoryResult) GetSellTime() string`
-
-GetSellTime returns the SellTime field if non-nil, zero value otherwise.
-
-### GetSellTimeOk
-
-`func (o *OrderHistoryResult) GetSellTimeOk() (*string, bool)`
-
-GetSellTimeOk returns a tuple with the SellTime field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSellTime
-
-`func (o *OrderHistoryResult) SetSellTime(v string)`
-
-SetSellTime sets SellTime field to given value.
-
-### HasSellTime
-
-`func (o *OrderHistoryResult) HasSellTime() bool`
-
-HasSellTime returns a boolean if a field has been set.
-
-### GetSymbolDisplayName
-
-`func (o *OrderHistoryResult) GetSymbolDisplayName() string`
-
-GetSymbolDisplayName returns the SymbolDisplayName field if non-nil, zero value otherwise.
-
-### GetSymbolDisplayNameOk
-
-`func (o *OrderHistoryResult) GetSymbolDisplayNameOk() (*string, bool)`
-
-GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolDisplayName
-
-`func (o *OrderHistoryResult) SetSymbolDisplayName(v string)`
-
-SetSymbolDisplayName sets SymbolDisplayName field to given value.
-
-### HasSymbolDisplayName
-
-`func (o *OrderHistoryResult) HasSymbolDisplayName() bool`
-
-HasSymbolDisplayName returns a boolean if a field has been set.
-
-### GetSymbolId
-
-`func (o *OrderHistoryResult) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *OrderHistoryResult) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *OrderHistoryResult) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-### HasSymbolId
-
-`func (o *OrderHistoryResult) HasSymbolId() bool`
-
-HasSymbolId returns a boolean if a field has been set.
-
-### GetTrackingNo
-
-`func (o *OrderHistoryResult) GetTrackingNo() string`
-
-GetTrackingNo returns the TrackingNo field if non-nil, zero value otherwise.
-
-### GetTrackingNoOk
-
-`func (o *OrderHistoryResult) GetTrackingNoOk() (*string, bool)`
-
-GetTrackingNoOk returns a tuple with the TrackingNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingNo
-
-`func (o *OrderHistoryResult) SetTrackingNo(v string)`
-
-SetTrackingNo sets TrackingNo field to given value.
-
-### HasTrackingNo
-
-`func (o *OrderHistoryResult) HasTrackingNo() bool`
-
-HasTrackingNo returns a boolean if a field has been set.
-
-### GetTraderUserId
-
-`func (o *OrderHistoryResult) GetTraderUserId() string`
-
-GetTraderUserId returns the TraderUserId field if non-nil, zero value otherwise.
-
-### GetTraderUserIdOk
-
-`func (o *OrderHistoryResult) GetTraderUserIdOk() (*string, bool)`
-
-GetTraderUserIdOk returns a tuple with the TraderUserId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderUserId
-
-`func (o *OrderHistoryResult) SetTraderUserId(v string)`
-
-SetTraderUserId sets TraderUserId field to given value.
-
-### HasTraderUserId
-
-`func (o *OrderHistoryResult) HasTraderUserId() bool`
-
-HasTraderUserId returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/OrderPaymentDetailInfo.md b/bitget-goland-sdk-open-api/docs/OrderPaymentDetailInfo.md
deleted file mode 100644
index 876aea7f..00000000
--- a/bitget-goland-sdk-open-api/docs/OrderPaymentDetailInfo.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# OrderPaymentDetailInfo
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Name** | Pointer to **string** | | [optional]
-**Required** | Pointer to **bool** | | [optional]
-**Type** | Pointer to **string** | | [optional]
-**Value** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewOrderPaymentDetailInfo
-
-`func NewOrderPaymentDetailInfo() *OrderPaymentDetailInfo`
-
-NewOrderPaymentDetailInfo instantiates a new OrderPaymentDetailInfo object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewOrderPaymentDetailInfoWithDefaults
-
-`func NewOrderPaymentDetailInfoWithDefaults() *OrderPaymentDetailInfo`
-
-NewOrderPaymentDetailInfoWithDefaults instantiates a new OrderPaymentDetailInfo object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetName
-
-`func (o *OrderPaymentDetailInfo) GetName() string`
-
-GetName returns the Name field if non-nil, zero value otherwise.
-
-### GetNameOk
-
-`func (o *OrderPaymentDetailInfo) GetNameOk() (*string, bool)`
-
-GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetName
-
-`func (o *OrderPaymentDetailInfo) SetName(v string)`
-
-SetName sets Name field to given value.
-
-### HasName
-
-`func (o *OrderPaymentDetailInfo) HasName() bool`
-
-HasName returns a boolean if a field has been set.
-
-### GetRequired
-
-`func (o *OrderPaymentDetailInfo) GetRequired() bool`
-
-GetRequired returns the Required field if non-nil, zero value otherwise.
-
-### GetRequiredOk
-
-`func (o *OrderPaymentDetailInfo) GetRequiredOk() (*bool, bool)`
-
-GetRequiredOk returns a tuple with the Required field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetRequired
-
-`func (o *OrderPaymentDetailInfo) SetRequired(v bool)`
-
-SetRequired sets Required field to given value.
-
-### HasRequired
-
-`func (o *OrderPaymentDetailInfo) HasRequired() bool`
-
-HasRequired returns a boolean if a field has been set.
-
-### GetType
-
-`func (o *OrderPaymentDetailInfo) GetType() string`
-
-GetType returns the Type field if non-nil, zero value otherwise.
-
-### GetTypeOk
-
-`func (o *OrderPaymentDetailInfo) GetTypeOk() (*string, bool)`
-
-GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetType
-
-`func (o *OrderPaymentDetailInfo) SetType(v string)`
-
-SetType sets Type field to given value.
-
-### HasType
-
-`func (o *OrderPaymentDetailInfo) HasType() bool`
-
-HasType returns a boolean if a field has been set.
-
-### GetValue
-
-`func (o *OrderPaymentDetailInfo) GetValue() string`
-
-GetValue returns the Value field if non-nil, zero value otherwise.
-
-### GetValueOk
-
-`func (o *OrderPaymentDetailInfo) GetValueOk() (*string, bool)`
-
-GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetValue
-
-`func (o *OrderPaymentDetailInfo) SetValue(v string)`
-
-SetValue sets Value field to given value.
-
-### HasValue
-
-`func (o *OrderPaymentDetailInfo) HasValue() bool`
-
-HasValue returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/P2pMerchantApi.md b/bitget-goland-sdk-open-api/docs/P2pMerchantApi.md
deleted file mode 100644
index 1fb955c0..00000000
--- a/bitget-goland-sdk-open-api/docs/P2pMerchantApi.md
+++ /dev/null
@@ -1,317 +0,0 @@
-# \P2pMerchantApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**MerchantAdvList**](P2pMerchantApi.md#MerchantAdvList) | **Get** /api/p2p/v1/merchant/advList | advList
-[**MerchantInfo**](P2pMerchantApi.md#MerchantInfo) | **Get** /api/p2p/v1/merchant/merchantInfo | merchantInfo
-[**MerchantList**](P2pMerchantApi.md#MerchantList) | **Get** /api/p2p/v1/merchant/merchantList | merchantList
-[**MerchantOrderList**](P2pMerchantApi.md#MerchantOrderList) | **Get** /api/p2p/v1/merchant/orderList | orderList
-
-
-
-## MerchantAdvList
-
-> ApiResponseResultOfMerchantAdvResult MerchantAdvList(ctx).StartTime(startTime).EndTime(endTime).Status(status).Type_(type_).AdvNo(advNo).Coin(coin).LanguageType(languageType).Fiat(fiat).LastMinId(lastMinId).PageSize(pageSize).OrderBy(orderBy).Execute()
-
-advList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- status := "upper" // string | status (optional)
- type_ := "sell" // string | type (optional)
- advNo := "1678193338000" // string | advNo (optional)
- coin := "USDT" // string | coin (optional)
- languageType := "en-US" // string | languageType (optional)
- fiat := "USD" // string | fiat (optional)
- lastMinId := "43534" // string | languageType (optional)
- pageSize := "10" // string | pageSize (optional)
- orderBy := "createTime" // string | orderBy (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.P2pMerchantApi.MerchantAdvList(context.Background()).StartTime(startTime).EndTime(endTime).Status(status).Type_(type_).AdvNo(advNo).Coin(coin).LanguageType(languageType).Fiat(fiat).LastMinId(lastMinId).PageSize(pageSize).OrderBy(orderBy).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `P2pMerchantApi.MerchantAdvList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MerchantAdvList`: ApiResponseResultOfMerchantAdvResult
- fmt.Fprintf(os.Stdout, "Response from `P2pMerchantApi.MerchantAdvList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMerchantAdvListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **status** | **string** | status |
- **type_** | **string** | type |
- **advNo** | **string** | advNo |
- **coin** | **string** | coin |
- **languageType** | **string** | languageType |
- **fiat** | **string** | fiat |
- **lastMinId** | **string** | languageType |
- **pageSize** | **string** | pageSize |
- **orderBy** | **string** | orderBy |
-
-### Return type
-
-[**ApiResponseResultOfMerchantAdvResult**](ApiResponseResultOfMerchantAdvResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MerchantInfo
-
-> ApiResponseResultOfMerchantPersonInfo MerchantInfo(ctx).Execute()
-
-merchantInfo
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.P2pMerchantApi.MerchantInfo(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `P2pMerchantApi.MerchantInfo``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MerchantInfo`: ApiResponseResultOfMerchantPersonInfo
- fmt.Fprintf(os.Stdout, "Response from `P2pMerchantApi.MerchantInfo`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMerchantInfoRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfMerchantPersonInfo**](ApiResponseResultOfMerchantPersonInfo.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MerchantList
-
-> ApiResponseResultOfMerchantInfoResult MerchantList(ctx).Online(online).MerchantId(merchantId).LastMinId(lastMinId).PageSize(pageSize).Execute()
-
-merchantList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- online := "yes" // string | online (optional)
- merchantId := "4534534534" // string | merchantId (optional)
- lastMinId := "1678193338000" // string | lastMinId (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.P2pMerchantApi.MerchantList(context.Background()).Online(online).MerchantId(merchantId).LastMinId(lastMinId).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `P2pMerchantApi.MerchantList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MerchantList`: ApiResponseResultOfMerchantInfoResult
- fmt.Fprintf(os.Stdout, "Response from `P2pMerchantApi.MerchantList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMerchantListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **online** | **string** | online |
- **merchantId** | **string** | merchantId |
- **lastMinId** | **string** | lastMinId |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMerchantInfoResult**](ApiResponseResultOfMerchantInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## MerchantOrderList
-
-> ApiResponseResultOfMerchantOrderResult MerchantOrderList(ctx).StartTime(startTime).EndTime(endTime).Status(status).Type_(type_).AdvNo(advNo).OrderNo(orderNo).Coin(coin).LanguageType(languageType).Fiat(fiat).LastMinId(lastMinId).PageSize(pageSize).Execute()
-
-orderList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- startTime := "1678193338000" // string | startTime
- endTime := "1678193338000" // string | endTime (optional)
- status := "wait_pay" // string | status (optional)
- type_ := "sell" // string | type (optional)
- advNo := "1678193338000" // string | advNo (optional)
- orderNo := "23842478324723423" // string | orderNo (optional)
- coin := "USDT" // string | coin (optional)
- languageType := "en-US" // string | languageType (optional)
- fiat := "USD" // string | fiat (optional)
- lastMinId := "43534" // string | languageType (optional)
- pageSize := "10" // string | pageSize (optional)
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.P2pMerchantApi.MerchantOrderList(context.Background()).StartTime(startTime).EndTime(endTime).Status(status).Type_(type_).AdvNo(advNo).OrderNo(orderNo).Coin(coin).LanguageType(languageType).Fiat(fiat).LastMinId(lastMinId).PageSize(pageSize).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `P2pMerchantApi.MerchantOrderList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `MerchantOrderList`: ApiResponseResultOfMerchantOrderResult
- fmt.Fprintf(os.Stdout, "Response from `P2pMerchantApi.MerchantOrderList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiMerchantOrderListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **startTime** | **string** | startTime |
- **endTime** | **string** | endTime |
- **status** | **string** | status |
- **type_** | **string** | type |
- **advNo** | **string** | advNo |
- **orderNo** | **string** | orderNo |
- **coin** | **string** | coin |
- **languageType** | **string** | languageType |
- **fiat** | **string** | fiat |
- **lastMinId** | **string** | languageType |
- **pageSize** | **string** | pageSize |
-
-### Return type
-
-[**ApiResponseResultOfMerchantOrderResult**](ApiResponseResultOfMerchantOrderResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/ProductCodeRequest.md b/bitget-goland-sdk-open-api/docs/ProductCodeRequest.md
deleted file mode 100644
index 4e16fee2..00000000
--- a/bitget-goland-sdk-open-api/docs/ProductCodeRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# ProductCodeRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**SymbolIds** | **[]string** | symbolIds |
-
-## Methods
-
-### NewProductCodeRequest
-
-`func NewProductCodeRequest(symbolIds []string, ) *ProductCodeRequest`
-
-NewProductCodeRequest instantiates a new ProductCodeRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewProductCodeRequestWithDefaults
-
-`func NewProductCodeRequestWithDefaults() *ProductCodeRequest`
-
-NewProductCodeRequestWithDefaults instantiates a new ProductCodeRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetSymbolIds
-
-`func (o *ProductCodeRequest) GetSymbolIds() []string`
-
-GetSymbolIds returns the SymbolIds field if non-nil, zero value otherwise.
-
-### GetSymbolIdsOk
-
-`func (o *ProductCodeRequest) GetSymbolIdsOk() (*[]string, bool)`
-
-GetSymbolIdsOk returns a tuple with the SymbolIds field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolIds
-
-`func (o *ProductCodeRequest) SetSymbolIds(v []string)`
-
-SetSymbolIds sets SymbolIds field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/RemoveTraderRequest.md b/bitget-goland-sdk-open-api/docs/RemoveTraderRequest.md
deleted file mode 100644
index 2c22cd95..00000000
--- a/bitget-goland-sdk-open-api/docs/RemoveTraderRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# RemoveTraderRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**TraderUserId** | **string** | traderUserId |
-
-## Methods
-
-### NewRemoveTraderRequest
-
-`func NewRemoveTraderRequest(traderUserId string, ) *RemoveTraderRequest`
-
-NewRemoveTraderRequest instantiates a new RemoveTraderRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewRemoveTraderRequestWithDefaults
-
-`func NewRemoveTraderRequestWithDefaults() *RemoveTraderRequest`
-
-NewRemoveTraderRequestWithDefaults instantiates a new RemoveTraderRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetTraderUserId
-
-`func (o *RemoveTraderRequest) GetTraderUserId() string`
-
-GetTraderUserId returns the TraderUserId field if non-nil, zero value otherwise.
-
-### GetTraderUserIdOk
-
-`func (o *RemoveTraderRequest) GetTraderUserIdOk() (*string, bool)`
-
-GetTraderUserIdOk returns a tuple with the TraderUserId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderUserId
-
-`func (o *RemoveTraderRequest) SetTraderUserId(v string)`
-
-SetTraderUserId sets TraderUserId field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/SpotInfoResult.md b/bitget-goland-sdk-open-api/docs/SpotInfoResult.md
deleted file mode 100644
index 2c33383e..00000000
--- a/bitget-goland-sdk-open-api/docs/SpotInfoResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# SpotInfoResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxCount** | Pointer to **string** | | [optional]
-**SurplusCount** | Pointer to **string** | | [optional]
-**SymbolId** | Pointer to **string** | | [optional]
-**SymbolName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewSpotInfoResult
-
-`func NewSpotInfoResult() *SpotInfoResult`
-
-NewSpotInfoResult instantiates a new SpotInfoResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewSpotInfoResultWithDefaults
-
-`func NewSpotInfoResultWithDefaults() *SpotInfoResult`
-
-NewSpotInfoResultWithDefaults instantiates a new SpotInfoResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxCount
-
-`func (o *SpotInfoResult) GetMaxCount() string`
-
-GetMaxCount returns the MaxCount field if non-nil, zero value otherwise.
-
-### GetMaxCountOk
-
-`func (o *SpotInfoResult) GetMaxCountOk() (*string, bool)`
-
-GetMaxCountOk returns a tuple with the MaxCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxCount
-
-`func (o *SpotInfoResult) SetMaxCount(v string)`
-
-SetMaxCount sets MaxCount field to given value.
-
-### HasMaxCount
-
-`func (o *SpotInfoResult) HasMaxCount() bool`
-
-HasMaxCount returns a boolean if a field has been set.
-
-### GetSurplusCount
-
-`func (o *SpotInfoResult) GetSurplusCount() string`
-
-GetSurplusCount returns the SurplusCount field if non-nil, zero value otherwise.
-
-### GetSurplusCountOk
-
-`func (o *SpotInfoResult) GetSurplusCountOk() (*string, bool)`
-
-GetSurplusCountOk returns a tuple with the SurplusCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSurplusCount
-
-`func (o *SpotInfoResult) SetSurplusCount(v string)`
-
-SetSurplusCount sets SurplusCount field to given value.
-
-### HasSurplusCount
-
-`func (o *SpotInfoResult) HasSurplusCount() bool`
-
-HasSurplusCount returns a boolean if a field has been set.
-
-### GetSymbolId
-
-`func (o *SpotInfoResult) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *SpotInfoResult) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *SpotInfoResult) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-### HasSymbolId
-
-`func (o *SpotInfoResult) HasSymbolId() bool`
-
-HasSymbolId returns a boolean if a field has been set.
-
-### GetSymbolName
-
-`func (o *SpotInfoResult) GetSymbolName() string`
-
-GetSymbolName returns the SymbolName field if non-nil, zero value otherwise.
-
-### GetSymbolNameOk
-
-`func (o *SpotInfoResult) GetSymbolNameOk() (*string, bool)`
-
-GetSymbolNameOk returns a tuple with the SymbolName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolName
-
-`func (o *SpotInfoResult) SetSymbolName(v string)`
-
-SetSymbolName sets SymbolName field to given value.
-
-### HasSymbolName
-
-`func (o *SpotInfoResult) HasSymbolName() bool`
-
-HasSymbolName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/SpotTraceOrderApi.md b/bitget-goland-sdk-open-api/docs/SpotTraceOrderApi.md
deleted file mode 100644
index 0233f9c5..00000000
--- a/bitget-goland-sdk-open-api/docs/SpotTraceOrderApi.md
+++ /dev/null
@@ -1,869 +0,0 @@
-# \SpotTraceOrderApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**SpotTraceCloseTrackingOrder**](SpotTraceOrderApi.md#SpotTraceCloseTrackingOrder) | **Post** /api/spot/v1/trace/order/closeTrackingOrder | closeTrackingOrder
-[**SpotTraceEndOrder**](SpotTraceOrderApi.md#SpotTraceEndOrder) | **Post** /api/spot/v1/trace/order/endOrder | endOrder
-[**SpotTraceGetTraceSettings**](SpotTraceOrderApi.md#SpotTraceGetTraceSettings) | **Post** /api/spot/v1/trace/order/getTraceSettings | getTraceSettings
-[**SpotTraceGetTraderSettings**](SpotTraceOrderApi.md#SpotTraceGetTraderSettings) | **Post** /api/spot/v1/trace/order/getTraderSettings | getTraderSettings
-[**SpotTraceMyTracers**](SpotTraceOrderApi.md#SpotTraceMyTracers) | **Post** /api/spot/v1/trace/order/myTracers | myTracers
-[**SpotTraceMyTraders**](SpotTraceOrderApi.md#SpotTraceMyTraders) | **Post** /api/spot/v1/trace/order/myTraders | myTraders
-[**SpotTraceOrderCurrentList**](SpotTraceOrderApi.md#SpotTraceOrderCurrentList) | **Post** /api/spot/v1/trace/order/orderCurrentList | orderCurrentList
-[**SpotTraceOrderHistoryList**](SpotTraceOrderApi.md#SpotTraceOrderHistoryList) | **Post** /api/spot/v1/trace/order/orderHistoryList | orderHistoryList
-[**SpotTraceRemoveTrader**](SpotTraceOrderApi.md#SpotTraceRemoveTrader) | **Post** /api/spot/v1/trace/order/removeTrader | removeTrader
-[**SpotTraceSetProductCode**](SpotTraceOrderApi.md#SpotTraceSetProductCode) | **Post** /api/spot/v1/trace/order/setProductCode | setProductCode
-[**SpotTraceSetTraceConfig**](SpotTraceOrderApi.md#SpotTraceSetTraceConfig) | **Post** /api/spot/v1/trace/order/setTraceConfig | setTraceConfig
-[**SpotTraceSpotInfoList**](SpotTraceOrderApi.md#SpotTraceSpotInfoList) | **Post** /api/spot/v1/trace/order/spotInfoList | spotInfoList
-[**SpotTraceUpdateTpsl**](SpotTraceOrderApi.md#SpotTraceUpdateTpsl) | **Post** /api/spot/v1/trace/order/updateTpsl | updateTpsl
-
-
-
-## SpotTraceCloseTrackingOrder
-
-> ApiResponseResultOfboolean SpotTraceCloseTrackingOrder(ctx).CloseTrackingOrderRequest(closeTrackingOrderRequest).Execute()
-
-closeTrackingOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- closeTrackingOrderRequest := *openapiclient.NewCloseTrackingOrderRequest("BTCUSDT_SPBL", []string{"TrackingOrderNos_example"}) // CloseTrackingOrderRequest | closeTrackingOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceCloseTrackingOrder(context.Background()).CloseTrackingOrderRequest(closeTrackingOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceCloseTrackingOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceCloseTrackingOrder`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceCloseTrackingOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceCloseTrackingOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **closeTrackingOrderRequest** | [**CloseTrackingOrderRequest**](CloseTrackingOrderRequest.md) | closeTrackingOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceEndOrder
-
-> ApiResponseResultOfboolean SpotTraceEndOrder(ctx).EndOrderRequest(endOrderRequest).Execute()
-
-endOrder
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- endOrderRequest := *openapiclient.NewEndOrderRequest([]string{"TrackingOrderNos_example"}) // EndOrderRequest | endOrderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceEndOrder(context.Background()).EndOrderRequest(endOrderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceEndOrder``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceEndOrder`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceEndOrder`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceEndOrderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **endOrderRequest** | [**EndOrderRequest**](EndOrderRequest.md) | endOrderRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceGetTraceSettings
-
-> ApiResponseResultOfTraceSettingResult SpotTraceGetTraceSettings(ctx).TraceSettingsRequest(traceSettingsRequest).Execute()
-
-getTraceSettings
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- traceSettingsRequest := *openapiclient.NewTraceSettingsRequest("TraderUserId_example") // TraceSettingsRequest | traceSettingsRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceGetTraceSettings(context.Background()).TraceSettingsRequest(traceSettingsRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceGetTraceSettings``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceGetTraceSettings`: ApiResponseResultOfTraceSettingResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceGetTraceSettings`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceGetTraceSettingsRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **traceSettingsRequest** | [**TraceSettingsRequest**](TraceSettingsRequest.md) | traceSettingsRequest |
-
-### Return type
-
-[**ApiResponseResultOfTraceSettingResult**](ApiResponseResultOfTraceSettingResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceGetTraderSettings
-
-> ApiResponseResultOfTraderSettingResult SpotTraceGetTraderSettings(ctx).Execute()
-
-getTraderSettings
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceGetTraderSettings(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceGetTraderSettings``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceGetTraderSettings`: ApiResponseResultOfTraderSettingResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceGetTraderSettings`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceGetTraderSettingsRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfTraderSettingResult**](ApiResponseResultOfTraderSettingResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceMyTracers
-
-> ApiResponseResultOfMyTracersResult SpotTraceMyTracers(ctx).MyTracersRequest(myTracersRequest).Execute()
-
-myTracers
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- myTracersRequest := *openapiclient.NewMyTracersRequest() // MyTracersRequest | myTracersRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceMyTracers(context.Background()).MyTracersRequest(myTracersRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceMyTracers``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceMyTracers`: ApiResponseResultOfMyTracersResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceMyTracers`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceMyTracersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **myTracersRequest** | [**MyTracersRequest**](MyTracersRequest.md) | myTracersRequest |
-
-### Return type
-
-[**ApiResponseResultOfMyTracersResult**](ApiResponseResultOfMyTracersResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceMyTraders
-
-> ApiResponseResultOfMyTradersResult SpotTraceMyTraders(ctx).MyTradersRequest(myTradersRequest).Execute()
-
-myTraders
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- myTradersRequest := *openapiclient.NewMyTradersRequest() // MyTradersRequest | myTradersRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceMyTraders(context.Background()).MyTradersRequest(myTradersRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceMyTraders``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceMyTraders`: ApiResponseResultOfMyTradersResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceMyTraders`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceMyTradersRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **myTradersRequest** | [**MyTradersRequest**](MyTradersRequest.md) | myTradersRequest |
-
-### Return type
-
-[**ApiResponseResultOfMyTradersResult**](ApiResponseResultOfMyTradersResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceOrderCurrentList
-
-> ApiResponseResultOfOrderCurrentListResult SpotTraceOrderCurrentList(ctx).CurrentOrderListRequest(currentOrderListRequest).Execute()
-
-orderCurrentList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- currentOrderListRequest := *openapiclient.NewCurrentOrderListRequest() // CurrentOrderListRequest | currentOrderListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceOrderCurrentList(context.Background()).CurrentOrderListRequest(currentOrderListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceOrderCurrentList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceOrderCurrentList`: ApiResponseResultOfOrderCurrentListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceOrderCurrentList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceOrderCurrentListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **currentOrderListRequest** | [**CurrentOrderListRequest**](CurrentOrderListRequest.md) | currentOrderListRequest |
-
-### Return type
-
-[**ApiResponseResultOfOrderCurrentListResult**](ApiResponseResultOfOrderCurrentListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceOrderHistoryList
-
-> ApiResponseResultOfOrderHistoryListResult SpotTraceOrderHistoryList(ctx).HistoryOrderListRequest(historyOrderListRequest).Execute()
-
-orderHistoryList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- historyOrderListRequest := *openapiclient.NewHistoryOrderListRequest() // HistoryOrderListRequest | historyOrderListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceOrderHistoryList(context.Background()).HistoryOrderListRequest(historyOrderListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceOrderHistoryList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceOrderHistoryList`: ApiResponseResultOfOrderHistoryListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceOrderHistoryList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceOrderHistoryListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **historyOrderListRequest** | [**HistoryOrderListRequest**](HistoryOrderListRequest.md) | historyOrderListRequest |
-
-### Return type
-
-[**ApiResponseResultOfOrderHistoryListResult**](ApiResponseResultOfOrderHistoryListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceRemoveTrader
-
-> ApiResponseResultOfboolean SpotTraceRemoveTrader(ctx).RemoveTraderRequest(removeTraderRequest).Execute()
-
-removeTrader
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- removeTraderRequest := *openapiclient.NewRemoveTraderRequest("TraderUserId_example") // RemoveTraderRequest | removeTraderRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceRemoveTrader(context.Background()).RemoveTraderRequest(removeTraderRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceRemoveTrader``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceRemoveTrader`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceRemoveTrader`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceRemoveTraderRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **removeTraderRequest** | [**RemoveTraderRequest**](RemoveTraderRequest.md) | removeTraderRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceSetProductCode
-
-> ApiResponseResultOfboolean SpotTraceSetProductCode(ctx).ProductCodeRequest(productCodeRequest).Execute()
-
-setProductCode
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- productCodeRequest := *openapiclient.NewProductCodeRequest([]string{"SymbolIds_example"}) // ProductCodeRequest | productCodeRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceSetProductCode(context.Background()).ProductCodeRequest(productCodeRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceSetProductCode``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceSetProductCode`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceSetProductCode`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceSetProductCodeRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **productCodeRequest** | [**ProductCodeRequest**](ProductCodeRequest.md) | productCodeRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceSetTraceConfig
-
-> ApiResponseResultOfboolean SpotTraceSetTraceConfig(ctx).TraceConfigRequest(traceConfigRequest).Execute()
-
-setTraceConfig
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- traceConfigRequest := *openapiclient.NewTraceConfigRequest("0,1", "TraderUserId_example") // TraceConfigRequest | traceConfigRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceSetTraceConfig(context.Background()).TraceConfigRequest(traceConfigRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceSetTraceConfig``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceSetTraceConfig`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceSetTraceConfig`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceSetTraceConfigRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **traceConfigRequest** | [**TraceConfigRequest**](TraceConfigRequest.md) | traceConfigRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceSpotInfoList
-
-> ApiResponseResultOfListOfSpotInfoResult SpotTraceSpotInfoList(ctx).Execute()
-
-spotInfoList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceSpotInfoList(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceSpotInfoList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceSpotInfoList`: ApiResponseResultOfListOfSpotInfoResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceSpotInfoList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceSpotInfoListRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfListOfSpotInfoResult**](ApiResponseResultOfListOfSpotInfoResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceUpdateTpsl
-
-> ApiResponseResultOfboolean SpotTraceUpdateTpsl(ctx).UpdateTpslRequest(updateTpslRequest).Execute()
-
-updateTpsl
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- updateTpslRequest := *openapiclient.NewUpdateTpslRequest("1", "1", "1032884851114008576") // UpdateTpslRequest | updateTpslRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceOrderApi.SpotTraceUpdateTpsl(context.Background()).UpdateTpslRequest(updateTpslRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceOrderApi.SpotTraceUpdateTpsl``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceUpdateTpsl`: ApiResponseResultOfboolean
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceOrderApi.SpotTraceUpdateTpsl`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceUpdateTpslRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **updateTpslRequest** | [**UpdateTpslRequest**](UpdateTpslRequest.md) | updateTpslRequest |
-
-### Return type
-
-[**ApiResponseResultOfboolean**](ApiResponseResultOfboolean.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/SpotTraceProfitApi.md b/bitget-goland-sdk-open-api/docs/SpotTraceProfitApi.md
deleted file mode 100644
index b6006bbe..00000000
--- a/bitget-goland-sdk-open-api/docs/SpotTraceProfitApi.md
+++ /dev/null
@@ -1,338 +0,0 @@
-# \SpotTraceProfitApi
-
-All URIs are relative to *https://api.bitget.com*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**SpotTraceProfitHisDetailList**](SpotTraceProfitApi.md#SpotTraceProfitHisDetailList) | **Post** /api/spot/v1/trace/profit/profitHisDetailList | profitHisDetailList
-[**SpotTraceProfitHisList**](SpotTraceProfitApi.md#SpotTraceProfitHisList) | **Post** /api/spot/v1/trace/profit/profitHisList | profitHisList
-[**SpotTraceTotalProfitInfo**](SpotTraceProfitApi.md#SpotTraceTotalProfitInfo) | **Post** /api/spot/v1/trace/profit/totalProfitInfo | totalProfitInfo
-[**SpotTraceTotalProfitList**](SpotTraceProfitApi.md#SpotTraceTotalProfitList) | **Post** /api/spot/v1/trace/profit/totalProfitList | totalProfitList
-[**SpotTraceWaitProfitDetailList**](SpotTraceProfitApi.md#SpotTraceWaitProfitDetailList) | **Post** /api/spot/v1/trace/profit/waitProfitDetailList | waitProfitDetailList
-
-
-
-## SpotTraceProfitHisDetailList
-
-> ApiResponseResultOfTraderProfitHisDetailListResult SpotTraceProfitHisDetailList(ctx).TotalProfitHisDetailListRequest(totalProfitHisDetailListRequest).Execute()
-
-profitHisDetailList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- totalProfitHisDetailListRequest := *openapiclient.NewTotalProfitHisDetailListRequest("USDT", "1681985100000") // TotalProfitHisDetailListRequest | totalProfitHisDetailListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceProfitApi.SpotTraceProfitHisDetailList(context.Background()).TotalProfitHisDetailListRequest(totalProfitHisDetailListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceProfitApi.SpotTraceProfitHisDetailList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceProfitHisDetailList`: ApiResponseResultOfTraderProfitHisDetailListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceProfitApi.SpotTraceProfitHisDetailList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceProfitHisDetailListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **totalProfitHisDetailListRequest** | [**TotalProfitHisDetailListRequest**](TotalProfitHisDetailListRequest.md) | totalProfitHisDetailListRequest |
-
-### Return type
-
-[**ApiResponseResultOfTraderProfitHisDetailListResult**](ApiResponseResultOfTraderProfitHisDetailListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceProfitHisList
-
-> ApiResponseResultOfTraderProfitHisListResult SpotTraceProfitHisList(ctx).TotalProfitHisListRequest(totalProfitHisListRequest).Execute()
-
-profitHisList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- totalProfitHisListRequest := *openapiclient.NewTotalProfitHisListRequest() // TotalProfitHisListRequest | totalProfitHisListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceProfitApi.SpotTraceProfitHisList(context.Background()).TotalProfitHisListRequest(totalProfitHisListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceProfitApi.SpotTraceProfitHisList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceProfitHisList`: ApiResponseResultOfTraderProfitHisListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceProfitApi.SpotTraceProfitHisList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceProfitHisListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **totalProfitHisListRequest** | [**TotalProfitHisListRequest**](TotalProfitHisListRequest.md) | totalProfitHisListRequest |
-
-### Return type
-
-[**ApiResponseResultOfTraderProfitHisListResult**](ApiResponseResultOfTraderProfitHisListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceTotalProfitInfo
-
-> ApiResponseResultOfTraderTotalProfitResult SpotTraceTotalProfitInfo(ctx).Execute()
-
-totalProfitInfo
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceProfitApi.SpotTraceTotalProfitInfo(context.Background()).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceProfitApi.SpotTraceTotalProfitInfo``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceTotalProfitInfo`: ApiResponseResultOfTraderTotalProfitResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceProfitApi.SpotTraceTotalProfitInfo`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-This endpoint does not need any parameter.
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceTotalProfitInfoRequest struct via the builder pattern
-
-
-### Return type
-
-[**ApiResponseResultOfTraderTotalProfitResult**](ApiResponseResultOfTraderTotalProfitResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceTotalProfitList
-
-> ApiResponseResultOfListOfTraderTotalProfitListResult SpotTraceTotalProfitList(ctx).TotalProfitListRequest(totalProfitListRequest).Execute()
-
-totalProfitList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- totalProfitListRequest := *openapiclient.NewTotalProfitListRequest() // TotalProfitListRequest | totalProfitListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceProfitApi.SpotTraceTotalProfitList(context.Background()).TotalProfitListRequest(totalProfitListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceProfitApi.SpotTraceTotalProfitList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceTotalProfitList`: ApiResponseResultOfListOfTraderTotalProfitListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceProfitApi.SpotTraceTotalProfitList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceTotalProfitListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **totalProfitListRequest** | [**TotalProfitListRequest**](TotalProfitListRequest.md) | totalProfitListRequest |
-
-### Return type
-
-[**ApiResponseResultOfListOfTraderTotalProfitListResult**](ApiResponseResultOfListOfTraderTotalProfitListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
-
-## SpotTraceWaitProfitDetailList
-
-> ApiResponseResultOfTraderWaitProfitDetailListResult SpotTraceWaitProfitDetailList(ctx).WaitProfitDetailListRequest(waitProfitDetailListRequest).Execute()
-
-waitProfitDetailList
-
-
-
-### Example
-
-```go
-package main
-
-import (
- "context"
- "fmt"
- "os"
- openapiclient "./openapi"
-)
-
-func main() {
- waitProfitDetailListRequest := *openapiclient.NewWaitProfitDetailListRequest() // WaitProfitDetailListRequest | waitProfitDetailListRequest
-
- configuration := openapiclient.NewConfiguration()
- apiClient := openapiclient.NewAPIClient(configuration)
- resp, r, err := apiClient.SpotTraceProfitApi.SpotTraceWaitProfitDetailList(context.Background()).WaitProfitDetailListRequest(waitProfitDetailListRequest).Execute()
- if err != nil {
- fmt.Fprintf(os.Stderr, "Error when calling `SpotTraceProfitApi.SpotTraceWaitProfitDetailList``: %v\n", err)
- fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
- }
- // response from `SpotTraceWaitProfitDetailList`: ApiResponseResultOfTraderWaitProfitDetailListResult
- fmt.Fprintf(os.Stdout, "Response from `SpotTraceProfitApi.SpotTraceWaitProfitDetailList`: %v\n", resp)
-}
-```
-
-### Path Parameters
-
-
-
-### Other Parameters
-
-Other parameters are passed through a pointer to a apiSpotTraceWaitProfitDetailListRequest struct via the builder pattern
-
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **waitProfitDetailListRequest** | [**WaitProfitDetailListRequest**](WaitProfitDetailListRequest.md) | waitProfitDetailListRequest |
-
-### Return type
-
-[**ApiResponseResultOfTraderWaitProfitDetailListResult**](ApiResponseResultOfTraderWaitProfitDetailListResult.md)
-
-### Authorization
-
-[ACCESS_KEY](../README.md#ACCESS_KEY), [ACCESS_PASSPHRASE](../README.md#ACCESS_PASSPHRASE), [ACCESS_SIGN](../README.md#ACCESS_SIGN), [ACCESS_TIMESTAMP](../README.md#ACCESS_TIMESTAMP), [SECRET_KEY](../README.md#SECRET_KEY)
-
-### HTTP request headers
-
-- **Content-Type**: application/json
-- **Accept**: application/json
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
-[[Back to Model list]](../README.md#documentation-for-models)
-[[Back to README]](../README.md)
-
diff --git a/bitget-goland-sdk-open-api/docs/TotalProfitHisDetailListRequest.md b/bitget-goland-sdk-open-api/docs/TotalProfitHisDetailListRequest.md
deleted file mode 100644
index 712b8205..00000000
--- a/bitget-goland-sdk-open-api/docs/TotalProfitHisDetailListRequest.md
+++ /dev/null
@@ -1,124 +0,0 @@
-# TotalProfitHisDetailListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CoinName** | **string** | coinName |
-**Date** | **string** | date |
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewTotalProfitHisDetailListRequest
-
-`func NewTotalProfitHisDetailListRequest(coinName string, date string, ) *TotalProfitHisDetailListRequest`
-
-NewTotalProfitHisDetailListRequest instantiates a new TotalProfitHisDetailListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTotalProfitHisDetailListRequestWithDefaults
-
-`func NewTotalProfitHisDetailListRequestWithDefaults() *TotalProfitHisDetailListRequest`
-
-NewTotalProfitHisDetailListRequestWithDefaults instantiates a new TotalProfitHisDetailListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoinName
-
-`func (o *TotalProfitHisDetailListRequest) GetCoinName() string`
-
-GetCoinName returns the CoinName field if non-nil, zero value otherwise.
-
-### GetCoinNameOk
-
-`func (o *TotalProfitHisDetailListRequest) GetCoinNameOk() (*string, bool)`
-
-GetCoinNameOk returns a tuple with the CoinName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoinName
-
-`func (o *TotalProfitHisDetailListRequest) SetCoinName(v string)`
-
-SetCoinName sets CoinName field to given value.
-
-
-### GetDate
-
-`func (o *TotalProfitHisDetailListRequest) GetDate() string`
-
-GetDate returns the Date field if non-nil, zero value otherwise.
-
-### GetDateOk
-
-`func (o *TotalProfitHisDetailListRequest) GetDateOk() (*string, bool)`
-
-GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDate
-
-`func (o *TotalProfitHisDetailListRequest) SetDate(v string)`
-
-SetDate sets Date field to given value.
-
-
-### GetPageNo
-
-`func (o *TotalProfitHisDetailListRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *TotalProfitHisDetailListRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *TotalProfitHisDetailListRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *TotalProfitHisDetailListRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *TotalProfitHisDetailListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *TotalProfitHisDetailListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *TotalProfitHisDetailListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *TotalProfitHisDetailListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TotalProfitHisListRequest.md b/bitget-goland-sdk-open-api/docs/TotalProfitHisListRequest.md
deleted file mode 100644
index 2366e5a8..00000000
--- a/bitget-goland-sdk-open-api/docs/TotalProfitHisListRequest.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TotalProfitHisListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewTotalProfitHisListRequest
-
-`func NewTotalProfitHisListRequest() *TotalProfitHisListRequest`
-
-NewTotalProfitHisListRequest instantiates a new TotalProfitHisListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTotalProfitHisListRequestWithDefaults
-
-`func NewTotalProfitHisListRequestWithDefaults() *TotalProfitHisListRequest`
-
-NewTotalProfitHisListRequestWithDefaults instantiates a new TotalProfitHisListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNo
-
-`func (o *TotalProfitHisListRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *TotalProfitHisListRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *TotalProfitHisListRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *TotalProfitHisListRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *TotalProfitHisListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *TotalProfitHisListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *TotalProfitHisListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *TotalProfitHisListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TotalProfitListRequest.md b/bitget-goland-sdk-open-api/docs/TotalProfitListRequest.md
deleted file mode 100644
index 24ac63e4..00000000
--- a/bitget-goland-sdk-open-api/docs/TotalProfitListRequest.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TotalProfitListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewTotalProfitListRequest
-
-`func NewTotalProfitListRequest() *TotalProfitListRequest`
-
-NewTotalProfitListRequest instantiates a new TotalProfitListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTotalProfitListRequestWithDefaults
-
-`func NewTotalProfitListRequestWithDefaults() *TotalProfitListRequest`
-
-NewTotalProfitListRequestWithDefaults instantiates a new TotalProfitListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNo
-
-`func (o *TotalProfitListRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *TotalProfitListRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *TotalProfitListRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *TotalProfitListRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *TotalProfitListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *TotalProfitListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *TotalProfitListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *TotalProfitListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceConfigRequest.md b/bitget-goland-sdk-open-api/docs/TraceConfigRequest.md
deleted file mode 100644
index cf6a2411..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceConfigRequest.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# TraceConfigRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Setting** | Pointer to [**[]TraceConfigSettingRequest**](TraceConfigSettingRequest.md) | | [optional]
-**SettingType** | **string** | settingType |
-**TraderUserId** | **string** | traderUserId |
-
-## Methods
-
-### NewTraceConfigRequest
-
-`func NewTraceConfigRequest(settingType string, traderUserId string, ) *TraceConfigRequest`
-
-NewTraceConfigRequest instantiates a new TraceConfigRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceConfigRequestWithDefaults
-
-`func NewTraceConfigRequestWithDefaults() *TraceConfigRequest`
-
-NewTraceConfigRequestWithDefaults instantiates a new TraceConfigRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetSetting
-
-`func (o *TraceConfigRequest) GetSetting() []TraceConfigSettingRequest`
-
-GetSetting returns the Setting field if non-nil, zero value otherwise.
-
-### GetSettingOk
-
-`func (o *TraceConfigRequest) GetSettingOk() (*[]TraceConfigSettingRequest, bool)`
-
-GetSettingOk returns a tuple with the Setting field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSetting
-
-`func (o *TraceConfigRequest) SetSetting(v []TraceConfigSettingRequest)`
-
-SetSetting sets Setting field to given value.
-
-### HasSetting
-
-`func (o *TraceConfigRequest) HasSetting() bool`
-
-HasSetting returns a boolean if a field has been set.
-
-### GetSettingType
-
-`func (o *TraceConfigRequest) GetSettingType() string`
-
-GetSettingType returns the SettingType field if non-nil, zero value otherwise.
-
-### GetSettingTypeOk
-
-`func (o *TraceConfigRequest) GetSettingTypeOk() (*string, bool)`
-
-GetSettingTypeOk returns a tuple with the SettingType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSettingType
-
-`func (o *TraceConfigRequest) SetSettingType(v string)`
-
-SetSettingType sets SettingType field to given value.
-
-
-### GetTraderUserId
-
-`func (o *TraceConfigRequest) GetTraderUserId() string`
-
-GetTraderUserId returns the TraderUserId field if non-nil, zero value otherwise.
-
-### GetTraderUserIdOk
-
-`func (o *TraceConfigRequest) GetTraderUserIdOk() (*string, bool)`
-
-GetTraderUserIdOk returns a tuple with the TraderUserId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderUserId
-
-`func (o *TraceConfigRequest) SetTraderUserId(v string)`
-
-SetTraderUserId sets TraderUserId field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceConfigSettingRequest.md b/bitget-goland-sdk-open-api/docs/TraceConfigSettingRequest.md
deleted file mode 100644
index af0aa037..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceConfigSettingRequest.md
+++ /dev/null
@@ -1,156 +0,0 @@
-# TraceConfigSettingRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**MaxHoldCount** | **string** | maxHoldCount |
-**StopLossRation** | **string** | stopLossRation |
-**StopProfitRation** | **string** | stopProfitRation |
-**SymbolId** | **string** | symbolId |
-**TraceType** | **string** | traceType |
-**TraceValue** | **string** | traceValue |
-
-## Methods
-
-### NewTraceConfigSettingRequest
-
-`func NewTraceConfigSettingRequest(maxHoldCount string, stopLossRation string, stopProfitRation string, symbolId string, traceType string, traceValue string, ) *TraceConfigSettingRequest`
-
-NewTraceConfigSettingRequest instantiates a new TraceConfigSettingRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceConfigSettingRequestWithDefaults
-
-`func NewTraceConfigSettingRequestWithDefaults() *TraceConfigSettingRequest`
-
-NewTraceConfigSettingRequestWithDefaults instantiates a new TraceConfigSettingRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetMaxHoldCount
-
-`func (o *TraceConfigSettingRequest) GetMaxHoldCount() string`
-
-GetMaxHoldCount returns the MaxHoldCount field if non-nil, zero value otherwise.
-
-### GetMaxHoldCountOk
-
-`func (o *TraceConfigSettingRequest) GetMaxHoldCountOk() (*string, bool)`
-
-GetMaxHoldCountOk returns a tuple with the MaxHoldCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxHoldCount
-
-`func (o *TraceConfigSettingRequest) SetMaxHoldCount(v string)`
-
-SetMaxHoldCount sets MaxHoldCount field to given value.
-
-
-### GetStopLossRation
-
-`func (o *TraceConfigSettingRequest) GetStopLossRation() string`
-
-GetStopLossRation returns the StopLossRation field if non-nil, zero value otherwise.
-
-### GetStopLossRationOk
-
-`func (o *TraceConfigSettingRequest) GetStopLossRationOk() (*string, bool)`
-
-GetStopLossRationOk returns a tuple with the StopLossRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopLossRation
-
-`func (o *TraceConfigSettingRequest) SetStopLossRation(v string)`
-
-SetStopLossRation sets StopLossRation field to given value.
-
-
-### GetStopProfitRation
-
-`func (o *TraceConfigSettingRequest) GetStopProfitRation() string`
-
-GetStopProfitRation returns the StopProfitRation field if non-nil, zero value otherwise.
-
-### GetStopProfitRationOk
-
-`func (o *TraceConfigSettingRequest) GetStopProfitRationOk() (*string, bool)`
-
-GetStopProfitRationOk returns a tuple with the StopProfitRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopProfitRation
-
-`func (o *TraceConfigSettingRequest) SetStopProfitRation(v string)`
-
-SetStopProfitRation sets StopProfitRation field to given value.
-
-
-### GetSymbolId
-
-`func (o *TraceConfigSettingRequest) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *TraceConfigSettingRequest) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *TraceConfigSettingRequest) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-
-### GetTraceType
-
-`func (o *TraceConfigSettingRequest) GetTraceType() string`
-
-GetTraceType returns the TraceType field if non-nil, zero value otherwise.
-
-### GetTraceTypeOk
-
-`func (o *TraceConfigSettingRequest) GetTraceTypeOk() (*string, bool)`
-
-GetTraceTypeOk returns a tuple with the TraceType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceType
-
-`func (o *TraceConfigSettingRequest) SetTraceType(v string)`
-
-SetTraceType sets TraceType field to given value.
-
-
-### GetTraceValue
-
-`func (o *TraceConfigSettingRequest) GetTraceValue() string`
-
-GetTraceValue returns the TraceValue field if non-nil, zero value otherwise.
-
-### GetTraceValueOk
-
-`func (o *TraceConfigSettingRequest) GetTraceValueOk() (*string, bool)`
-
-GetTraceValueOk returns a tuple with the TraceValue field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceValue
-
-`func (o *TraceConfigSettingRequest) SetTraceValue(v string)`
-
-SetTraceValue sets TraceValue field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceSettingBatchDetailsResult.md b/bitget-goland-sdk-open-api/docs/TraceSettingBatchDetailsResult.md
deleted file mode 100644
index 874be432..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceSettingBatchDetailsResult.md
+++ /dev/null
@@ -1,212 +0,0 @@
-# TraceSettingBatchDetailsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BusinessLineCode** | Pointer to **string** | | [optional]
-**MaxTraceAmount** | Pointer to **string** | | [optional]
-**StopLossRation** | Pointer to **string** | | [optional]
-**StopProfitRation** | Pointer to **string** | | [optional]
-**SymbolDisplayName** | Pointer to **string** | | [optional]
-**SymbolId** | Pointer to **string** | | [optional]
-**TraceType** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraceSettingBatchDetailsResult
-
-`func NewTraceSettingBatchDetailsResult() *TraceSettingBatchDetailsResult`
-
-NewTraceSettingBatchDetailsResult instantiates a new TraceSettingBatchDetailsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceSettingBatchDetailsResultWithDefaults
-
-`func NewTraceSettingBatchDetailsResultWithDefaults() *TraceSettingBatchDetailsResult`
-
-NewTraceSettingBatchDetailsResultWithDefaults instantiates a new TraceSettingBatchDetailsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBusinessLineCode
-
-`func (o *TraceSettingBatchDetailsResult) GetBusinessLineCode() string`
-
-GetBusinessLineCode returns the BusinessLineCode field if non-nil, zero value otherwise.
-
-### GetBusinessLineCodeOk
-
-`func (o *TraceSettingBatchDetailsResult) GetBusinessLineCodeOk() (*string, bool)`
-
-GetBusinessLineCodeOk returns a tuple with the BusinessLineCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBusinessLineCode
-
-`func (o *TraceSettingBatchDetailsResult) SetBusinessLineCode(v string)`
-
-SetBusinessLineCode sets BusinessLineCode field to given value.
-
-### HasBusinessLineCode
-
-`func (o *TraceSettingBatchDetailsResult) HasBusinessLineCode() bool`
-
-HasBusinessLineCode returns a boolean if a field has been set.
-
-### GetMaxTraceAmount
-
-`func (o *TraceSettingBatchDetailsResult) GetMaxTraceAmount() string`
-
-GetMaxTraceAmount returns the MaxTraceAmount field if non-nil, zero value otherwise.
-
-### GetMaxTraceAmountOk
-
-`func (o *TraceSettingBatchDetailsResult) GetMaxTraceAmountOk() (*string, bool)`
-
-GetMaxTraceAmountOk returns a tuple with the MaxTraceAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTraceAmount
-
-`func (o *TraceSettingBatchDetailsResult) SetMaxTraceAmount(v string)`
-
-SetMaxTraceAmount sets MaxTraceAmount field to given value.
-
-### HasMaxTraceAmount
-
-`func (o *TraceSettingBatchDetailsResult) HasMaxTraceAmount() bool`
-
-HasMaxTraceAmount returns a boolean if a field has been set.
-
-### GetStopLossRation
-
-`func (o *TraceSettingBatchDetailsResult) GetStopLossRation() string`
-
-GetStopLossRation returns the StopLossRation field if non-nil, zero value otherwise.
-
-### GetStopLossRationOk
-
-`func (o *TraceSettingBatchDetailsResult) GetStopLossRationOk() (*string, bool)`
-
-GetStopLossRationOk returns a tuple with the StopLossRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopLossRation
-
-`func (o *TraceSettingBatchDetailsResult) SetStopLossRation(v string)`
-
-SetStopLossRation sets StopLossRation field to given value.
-
-### HasStopLossRation
-
-`func (o *TraceSettingBatchDetailsResult) HasStopLossRation() bool`
-
-HasStopLossRation returns a boolean if a field has been set.
-
-### GetStopProfitRation
-
-`func (o *TraceSettingBatchDetailsResult) GetStopProfitRation() string`
-
-GetStopProfitRation returns the StopProfitRation field if non-nil, zero value otherwise.
-
-### GetStopProfitRationOk
-
-`func (o *TraceSettingBatchDetailsResult) GetStopProfitRationOk() (*string, bool)`
-
-GetStopProfitRationOk returns a tuple with the StopProfitRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopProfitRation
-
-`func (o *TraceSettingBatchDetailsResult) SetStopProfitRation(v string)`
-
-SetStopProfitRation sets StopProfitRation field to given value.
-
-### HasStopProfitRation
-
-`func (o *TraceSettingBatchDetailsResult) HasStopProfitRation() bool`
-
-HasStopProfitRation returns a boolean if a field has been set.
-
-### GetSymbolDisplayName
-
-`func (o *TraceSettingBatchDetailsResult) GetSymbolDisplayName() string`
-
-GetSymbolDisplayName returns the SymbolDisplayName field if non-nil, zero value otherwise.
-
-### GetSymbolDisplayNameOk
-
-`func (o *TraceSettingBatchDetailsResult) GetSymbolDisplayNameOk() (*string, bool)`
-
-GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolDisplayName
-
-`func (o *TraceSettingBatchDetailsResult) SetSymbolDisplayName(v string)`
-
-SetSymbolDisplayName sets SymbolDisplayName field to given value.
-
-### HasSymbolDisplayName
-
-`func (o *TraceSettingBatchDetailsResult) HasSymbolDisplayName() bool`
-
-HasSymbolDisplayName returns a boolean if a field has been set.
-
-### GetSymbolId
-
-`func (o *TraceSettingBatchDetailsResult) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *TraceSettingBatchDetailsResult) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *TraceSettingBatchDetailsResult) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-### HasSymbolId
-
-`func (o *TraceSettingBatchDetailsResult) HasSymbolId() bool`
-
-HasSymbolId returns a boolean if a field has been set.
-
-### GetTraceType
-
-`func (o *TraceSettingBatchDetailsResult) GetTraceType() string`
-
-GetTraceType returns the TraceType field if non-nil, zero value otherwise.
-
-### GetTraceTypeOk
-
-`func (o *TraceSettingBatchDetailsResult) GetTraceTypeOk() (*string, bool)`
-
-GetTraceTypeOk returns a tuple with the TraceType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceType
-
-`func (o *TraceSettingBatchDetailsResult) SetTraceType(v string)`
-
-SetTraceType sets TraceType field to given value.
-
-### HasTraceType
-
-`func (o *TraceSettingBatchDetailsResult) HasTraceType() bool`
-
-HasTraceType returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceSettingProductConfigsResult.md b/bitget-goland-sdk-open-api/docs/TraceSettingProductConfigsResult.md
deleted file mode 100644
index 87f272e8..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceSettingProductConfigsResult.md
+++ /dev/null
@@ -1,446 +0,0 @@
-# TraceSettingProductConfigsResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**BusinessLine** | Pointer to **string** | | [optional]
-**MaxStopLossRation** | Pointer to **string** | | [optional]
-**MaxStopProfitRation** | Pointer to **string** | | [optional]
-**MaxTraceAmount** | Pointer to **string** | | [optional]
-**MaxTraceAmountSystem** | Pointer to **string** | | [optional]
-**MaxTraceCount** | Pointer to **string** | | [optional]
-**MaxTraceRation** | Pointer to **string** | | [optional]
-**MinStopLossRation** | Pointer to **string** | | [optional]
-**MinStopProfitRation** | Pointer to **string** | | [optional]
-**MinTraceAmount** | Pointer to **string** | | [optional]
-**MinTraceCount** | Pointer to **string** | | [optional]
-**MinTraceRation** | Pointer to **string** | | [optional]
-**SliderMaxStopLossRatio** | Pointer to **string** | | [optional]
-**SliderMaxStopProfitRatio** | Pointer to **string** | | [optional]
-**SymbolId** | Pointer to **string** | | [optional]
-**SymbolName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraceSettingProductConfigsResult
-
-`func NewTraceSettingProductConfigsResult() *TraceSettingProductConfigsResult`
-
-NewTraceSettingProductConfigsResult instantiates a new TraceSettingProductConfigsResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceSettingProductConfigsResultWithDefaults
-
-`func NewTraceSettingProductConfigsResultWithDefaults() *TraceSettingProductConfigsResult`
-
-NewTraceSettingProductConfigsResultWithDefaults instantiates a new TraceSettingProductConfigsResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetBusinessLine
-
-`func (o *TraceSettingProductConfigsResult) GetBusinessLine() string`
-
-GetBusinessLine returns the BusinessLine field if non-nil, zero value otherwise.
-
-### GetBusinessLineOk
-
-`func (o *TraceSettingProductConfigsResult) GetBusinessLineOk() (*string, bool)`
-
-GetBusinessLineOk returns a tuple with the BusinessLine field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetBusinessLine
-
-`func (o *TraceSettingProductConfigsResult) SetBusinessLine(v string)`
-
-SetBusinessLine sets BusinessLine field to given value.
-
-### HasBusinessLine
-
-`func (o *TraceSettingProductConfigsResult) HasBusinessLine() bool`
-
-HasBusinessLine returns a boolean if a field has been set.
-
-### GetMaxStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) GetMaxStopLossRation() string`
-
-GetMaxStopLossRation returns the MaxStopLossRation field if non-nil, zero value otherwise.
-
-### GetMaxStopLossRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxStopLossRationOk() (*string, bool)`
-
-GetMaxStopLossRationOk returns a tuple with the MaxStopLossRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) SetMaxStopLossRation(v string)`
-
-SetMaxStopLossRation sets MaxStopLossRation field to given value.
-
-### HasMaxStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) HasMaxStopLossRation() bool`
-
-HasMaxStopLossRation returns a boolean if a field has been set.
-
-### GetMaxStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) GetMaxStopProfitRation() string`
-
-GetMaxStopProfitRation returns the MaxStopProfitRation field if non-nil, zero value otherwise.
-
-### GetMaxStopProfitRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxStopProfitRationOk() (*string, bool)`
-
-GetMaxStopProfitRationOk returns a tuple with the MaxStopProfitRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) SetMaxStopProfitRation(v string)`
-
-SetMaxStopProfitRation sets MaxStopProfitRation field to given value.
-
-### HasMaxStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) HasMaxStopProfitRation() bool`
-
-HasMaxStopProfitRation returns a boolean if a field has been set.
-
-### GetMaxTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceAmount() string`
-
-GetMaxTraceAmount returns the MaxTraceAmount field if non-nil, zero value otherwise.
-
-### GetMaxTraceAmountOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountOk() (*string, bool)`
-
-GetMaxTraceAmountOk returns a tuple with the MaxTraceAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) SetMaxTraceAmount(v string)`
-
-SetMaxTraceAmount sets MaxTraceAmount field to given value.
-
-### HasMaxTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) HasMaxTraceAmount() bool`
-
-HasMaxTraceAmount returns a boolean if a field has been set.
-
-### GetMaxTraceAmountSystem
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountSystem() string`
-
-GetMaxTraceAmountSystem returns the MaxTraceAmountSystem field if non-nil, zero value otherwise.
-
-### GetMaxTraceAmountSystemOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountSystemOk() (*string, bool)`
-
-GetMaxTraceAmountSystemOk returns a tuple with the MaxTraceAmountSystem field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTraceAmountSystem
-
-`func (o *TraceSettingProductConfigsResult) SetMaxTraceAmountSystem(v string)`
-
-SetMaxTraceAmountSystem sets MaxTraceAmountSystem field to given value.
-
-### HasMaxTraceAmountSystem
-
-`func (o *TraceSettingProductConfigsResult) HasMaxTraceAmountSystem() bool`
-
-HasMaxTraceAmountSystem returns a boolean if a field has been set.
-
-### GetMaxTraceCount
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceCount() string`
-
-GetMaxTraceCount returns the MaxTraceCount field if non-nil, zero value otherwise.
-
-### GetMaxTraceCountOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceCountOk() (*string, bool)`
-
-GetMaxTraceCountOk returns a tuple with the MaxTraceCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTraceCount
-
-`func (o *TraceSettingProductConfigsResult) SetMaxTraceCount(v string)`
-
-SetMaxTraceCount sets MaxTraceCount field to given value.
-
-### HasMaxTraceCount
-
-`func (o *TraceSettingProductConfigsResult) HasMaxTraceCount() bool`
-
-HasMaxTraceCount returns a boolean if a field has been set.
-
-### GetMaxTraceRation
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceRation() string`
-
-GetMaxTraceRation returns the MaxTraceRation field if non-nil, zero value otherwise.
-
-### GetMaxTraceRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMaxTraceRationOk() (*string, bool)`
-
-GetMaxTraceRationOk returns a tuple with the MaxTraceRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMaxTraceRation
-
-`func (o *TraceSettingProductConfigsResult) SetMaxTraceRation(v string)`
-
-SetMaxTraceRation sets MaxTraceRation field to given value.
-
-### HasMaxTraceRation
-
-`func (o *TraceSettingProductConfigsResult) HasMaxTraceRation() bool`
-
-HasMaxTraceRation returns a boolean if a field has been set.
-
-### GetMinStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) GetMinStopLossRation() string`
-
-GetMinStopLossRation returns the MinStopLossRation field if non-nil, zero value otherwise.
-
-### GetMinStopLossRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMinStopLossRationOk() (*string, bool)`
-
-GetMinStopLossRationOk returns a tuple with the MinStopLossRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) SetMinStopLossRation(v string)`
-
-SetMinStopLossRation sets MinStopLossRation field to given value.
-
-### HasMinStopLossRation
-
-`func (o *TraceSettingProductConfigsResult) HasMinStopLossRation() bool`
-
-HasMinStopLossRation returns a boolean if a field has been set.
-
-### GetMinStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) GetMinStopProfitRation() string`
-
-GetMinStopProfitRation returns the MinStopProfitRation field if non-nil, zero value otherwise.
-
-### GetMinStopProfitRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMinStopProfitRationOk() (*string, bool)`
-
-GetMinStopProfitRationOk returns a tuple with the MinStopProfitRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) SetMinStopProfitRation(v string)`
-
-SetMinStopProfitRation sets MinStopProfitRation field to given value.
-
-### HasMinStopProfitRation
-
-`func (o *TraceSettingProductConfigsResult) HasMinStopProfitRation() bool`
-
-HasMinStopProfitRation returns a boolean if a field has been set.
-
-### GetMinTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceAmount() string`
-
-GetMinTraceAmount returns the MinTraceAmount field if non-nil, zero value otherwise.
-
-### GetMinTraceAmountOk
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceAmountOk() (*string, bool)`
-
-GetMinTraceAmountOk returns a tuple with the MinTraceAmount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) SetMinTraceAmount(v string)`
-
-SetMinTraceAmount sets MinTraceAmount field to given value.
-
-### HasMinTraceAmount
-
-`func (o *TraceSettingProductConfigsResult) HasMinTraceAmount() bool`
-
-HasMinTraceAmount returns a boolean if a field has been set.
-
-### GetMinTraceCount
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceCount() string`
-
-GetMinTraceCount returns the MinTraceCount field if non-nil, zero value otherwise.
-
-### GetMinTraceCountOk
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceCountOk() (*string, bool)`
-
-GetMinTraceCountOk returns a tuple with the MinTraceCount field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinTraceCount
-
-`func (o *TraceSettingProductConfigsResult) SetMinTraceCount(v string)`
-
-SetMinTraceCount sets MinTraceCount field to given value.
-
-### HasMinTraceCount
-
-`func (o *TraceSettingProductConfigsResult) HasMinTraceCount() bool`
-
-HasMinTraceCount returns a boolean if a field has been set.
-
-### GetMinTraceRation
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceRation() string`
-
-GetMinTraceRation returns the MinTraceRation field if non-nil, zero value otherwise.
-
-### GetMinTraceRationOk
-
-`func (o *TraceSettingProductConfigsResult) GetMinTraceRationOk() (*string, bool)`
-
-GetMinTraceRationOk returns a tuple with the MinTraceRation field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetMinTraceRation
-
-`func (o *TraceSettingProductConfigsResult) SetMinTraceRation(v string)`
-
-SetMinTraceRation sets MinTraceRation field to given value.
-
-### HasMinTraceRation
-
-`func (o *TraceSettingProductConfigsResult) HasMinTraceRation() bool`
-
-HasMinTraceRation returns a boolean if a field has been set.
-
-### GetSliderMaxStopLossRatio
-
-`func (o *TraceSettingProductConfigsResult) GetSliderMaxStopLossRatio() string`
-
-GetSliderMaxStopLossRatio returns the SliderMaxStopLossRatio field if non-nil, zero value otherwise.
-
-### GetSliderMaxStopLossRatioOk
-
-`func (o *TraceSettingProductConfigsResult) GetSliderMaxStopLossRatioOk() (*string, bool)`
-
-GetSliderMaxStopLossRatioOk returns a tuple with the SliderMaxStopLossRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSliderMaxStopLossRatio
-
-`func (o *TraceSettingProductConfigsResult) SetSliderMaxStopLossRatio(v string)`
-
-SetSliderMaxStopLossRatio sets SliderMaxStopLossRatio field to given value.
-
-### HasSliderMaxStopLossRatio
-
-`func (o *TraceSettingProductConfigsResult) HasSliderMaxStopLossRatio() bool`
-
-HasSliderMaxStopLossRatio returns a boolean if a field has been set.
-
-### GetSliderMaxStopProfitRatio
-
-`func (o *TraceSettingProductConfigsResult) GetSliderMaxStopProfitRatio() string`
-
-GetSliderMaxStopProfitRatio returns the SliderMaxStopProfitRatio field if non-nil, zero value otherwise.
-
-### GetSliderMaxStopProfitRatioOk
-
-`func (o *TraceSettingProductConfigsResult) GetSliderMaxStopProfitRatioOk() (*string, bool)`
-
-GetSliderMaxStopProfitRatioOk returns a tuple with the SliderMaxStopProfitRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSliderMaxStopProfitRatio
-
-`func (o *TraceSettingProductConfigsResult) SetSliderMaxStopProfitRatio(v string)`
-
-SetSliderMaxStopProfitRatio sets SliderMaxStopProfitRatio field to given value.
-
-### HasSliderMaxStopProfitRatio
-
-`func (o *TraceSettingProductConfigsResult) HasSliderMaxStopProfitRatio() bool`
-
-HasSliderMaxStopProfitRatio returns a boolean if a field has been set.
-
-### GetSymbolId
-
-`func (o *TraceSettingProductConfigsResult) GetSymbolId() string`
-
-GetSymbolId returns the SymbolId field if non-nil, zero value otherwise.
-
-### GetSymbolIdOk
-
-`func (o *TraceSettingProductConfigsResult) GetSymbolIdOk() (*string, bool)`
-
-GetSymbolIdOk returns a tuple with the SymbolId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolId
-
-`func (o *TraceSettingProductConfigsResult) SetSymbolId(v string)`
-
-SetSymbolId sets SymbolId field to given value.
-
-### HasSymbolId
-
-`func (o *TraceSettingProductConfigsResult) HasSymbolId() bool`
-
-HasSymbolId returns a boolean if a field has been set.
-
-### GetSymbolName
-
-`func (o *TraceSettingProductConfigsResult) GetSymbolName() string`
-
-GetSymbolName returns the SymbolName field if non-nil, zero value otherwise.
-
-### GetSymbolNameOk
-
-`func (o *TraceSettingProductConfigsResult) GetSymbolNameOk() (*string, bool)`
-
-GetSymbolNameOk returns a tuple with the SymbolName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSymbolName
-
-`func (o *TraceSettingProductConfigsResult) SetSymbolName(v string)`
-
-SetSymbolName sets SymbolName field to given value.
-
-### HasSymbolName
-
-`func (o *TraceSettingProductConfigsResult) HasSymbolName() bool`
-
-HasSymbolName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceSettingResult.md b/bitget-goland-sdk-open-api/docs/TraceSettingResult.md
deleted file mode 100644
index 23f220d3..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceSettingResult.md
+++ /dev/null
@@ -1,238 +0,0 @@
-# TraceSettingResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**IsMyTrader** | Pointer to **bool** | | [optional]
-**ProfitRate** | Pointer to **string** | | [optional]
-**SettingType** | Pointer to **string** | | [optional]
-**SettledInDays** | Pointer to **string** | | [optional]
-**TraceBatchDetails** | Pointer to [**[]TraceSettingBatchDetailsResult**](TraceSettingBatchDetailsResult.md) | | [optional]
-**TraceProductConfigs** | Pointer to [**[]TraceSettingProductConfigsResult**](TraceSettingProductConfigsResult.md) | | [optional]
-**TraderHeadPic** | Pointer to **string** | | [optional]
-**TraderNickName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraceSettingResult
-
-`func NewTraceSettingResult() *TraceSettingResult`
-
-NewTraceSettingResult instantiates a new TraceSettingResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceSettingResultWithDefaults
-
-`func NewTraceSettingResultWithDefaults() *TraceSettingResult`
-
-NewTraceSettingResultWithDefaults instantiates a new TraceSettingResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetIsMyTrader
-
-`func (o *TraceSettingResult) GetIsMyTrader() bool`
-
-GetIsMyTrader returns the IsMyTrader field if non-nil, zero value otherwise.
-
-### GetIsMyTraderOk
-
-`func (o *TraceSettingResult) GetIsMyTraderOk() (*bool, bool)`
-
-GetIsMyTraderOk returns a tuple with the IsMyTrader field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIsMyTrader
-
-`func (o *TraceSettingResult) SetIsMyTrader(v bool)`
-
-SetIsMyTrader sets IsMyTrader field to given value.
-
-### HasIsMyTrader
-
-`func (o *TraceSettingResult) HasIsMyTrader() bool`
-
-HasIsMyTrader returns a boolean if a field has been set.
-
-### GetProfitRate
-
-`func (o *TraceSettingResult) GetProfitRate() string`
-
-GetProfitRate returns the ProfitRate field if non-nil, zero value otherwise.
-
-### GetProfitRateOk
-
-`func (o *TraceSettingResult) GetProfitRateOk() (*string, bool)`
-
-GetProfitRateOk returns a tuple with the ProfitRate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfitRate
-
-`func (o *TraceSettingResult) SetProfitRate(v string)`
-
-SetProfitRate sets ProfitRate field to given value.
-
-### HasProfitRate
-
-`func (o *TraceSettingResult) HasProfitRate() bool`
-
-HasProfitRate returns a boolean if a field has been set.
-
-### GetSettingType
-
-`func (o *TraceSettingResult) GetSettingType() string`
-
-GetSettingType returns the SettingType field if non-nil, zero value otherwise.
-
-### GetSettingTypeOk
-
-`func (o *TraceSettingResult) GetSettingTypeOk() (*string, bool)`
-
-GetSettingTypeOk returns a tuple with the SettingType field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSettingType
-
-`func (o *TraceSettingResult) SetSettingType(v string)`
-
-SetSettingType sets SettingType field to given value.
-
-### HasSettingType
-
-`func (o *TraceSettingResult) HasSettingType() bool`
-
-HasSettingType returns a boolean if a field has been set.
-
-### GetSettledInDays
-
-`func (o *TraceSettingResult) GetSettledInDays() string`
-
-GetSettledInDays returns the SettledInDays field if non-nil, zero value otherwise.
-
-### GetSettledInDaysOk
-
-`func (o *TraceSettingResult) GetSettledInDaysOk() (*string, bool)`
-
-GetSettledInDaysOk returns a tuple with the SettledInDays field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSettledInDays
-
-`func (o *TraceSettingResult) SetSettledInDays(v string)`
-
-SetSettledInDays sets SettledInDays field to given value.
-
-### HasSettledInDays
-
-`func (o *TraceSettingResult) HasSettledInDays() bool`
-
-HasSettledInDays returns a boolean if a field has been set.
-
-### GetTraceBatchDetails
-
-`func (o *TraceSettingResult) GetTraceBatchDetails() []TraceSettingBatchDetailsResult`
-
-GetTraceBatchDetails returns the TraceBatchDetails field if non-nil, zero value otherwise.
-
-### GetTraceBatchDetailsOk
-
-`func (o *TraceSettingResult) GetTraceBatchDetailsOk() (*[]TraceSettingBatchDetailsResult, bool)`
-
-GetTraceBatchDetailsOk returns a tuple with the TraceBatchDetails field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceBatchDetails
-
-`func (o *TraceSettingResult) SetTraceBatchDetails(v []TraceSettingBatchDetailsResult)`
-
-SetTraceBatchDetails sets TraceBatchDetails field to given value.
-
-### HasTraceBatchDetails
-
-`func (o *TraceSettingResult) HasTraceBatchDetails() bool`
-
-HasTraceBatchDetails returns a boolean if a field has been set.
-
-### GetTraceProductConfigs
-
-`func (o *TraceSettingResult) GetTraceProductConfigs() []TraceSettingProductConfigsResult`
-
-GetTraceProductConfigs returns the TraceProductConfigs field if non-nil, zero value otherwise.
-
-### GetTraceProductConfigsOk
-
-`func (o *TraceSettingResult) GetTraceProductConfigsOk() (*[]TraceSettingProductConfigsResult, bool)`
-
-GetTraceProductConfigsOk returns a tuple with the TraceProductConfigs field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraceProductConfigs
-
-`func (o *TraceSettingResult) SetTraceProductConfigs(v []TraceSettingProductConfigsResult)`
-
-SetTraceProductConfigs sets TraceProductConfigs field to given value.
-
-### HasTraceProductConfigs
-
-`func (o *TraceSettingResult) HasTraceProductConfigs() bool`
-
-HasTraceProductConfigs returns a boolean if a field has been set.
-
-### GetTraderHeadPic
-
-`func (o *TraceSettingResult) GetTraderHeadPic() string`
-
-GetTraderHeadPic returns the TraderHeadPic field if non-nil, zero value otherwise.
-
-### GetTraderHeadPicOk
-
-`func (o *TraceSettingResult) GetTraderHeadPicOk() (*string, bool)`
-
-GetTraderHeadPicOk returns a tuple with the TraderHeadPic field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderHeadPic
-
-`func (o *TraceSettingResult) SetTraderHeadPic(v string)`
-
-SetTraderHeadPic sets TraderHeadPic field to given value.
-
-### HasTraderHeadPic
-
-`func (o *TraceSettingResult) HasTraderHeadPic() bool`
-
-HasTraderHeadPic returns a boolean if a field has been set.
-
-### GetTraderNickName
-
-`func (o *TraceSettingResult) GetTraderNickName() string`
-
-GetTraderNickName returns the TraderNickName field if non-nil, zero value otherwise.
-
-### GetTraderNickNameOk
-
-`func (o *TraceSettingResult) GetTraderNickNameOk() (*string, bool)`
-
-GetTraderNickNameOk returns a tuple with the TraderNickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderNickName
-
-`func (o *TraceSettingResult) SetTraderNickName(v string)`
-
-SetTraderNickName sets TraderNickName field to given value.
-
-### HasTraderNickName
-
-`func (o *TraceSettingResult) HasTraderNickName() bool`
-
-HasTraderNickName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraceSettingsRequest.md b/bitget-goland-sdk-open-api/docs/TraceSettingsRequest.md
deleted file mode 100644
index ece7ba50..00000000
--- a/bitget-goland-sdk-open-api/docs/TraceSettingsRequest.md
+++ /dev/null
@@ -1,51 +0,0 @@
-# TraceSettingsRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**TraderUserId** | **string** | traderUserId |
-
-## Methods
-
-### NewTraceSettingsRequest
-
-`func NewTraceSettingsRequest(traderUserId string, ) *TraceSettingsRequest`
-
-NewTraceSettingsRequest instantiates a new TraceSettingsRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraceSettingsRequestWithDefaults
-
-`func NewTraceSettingsRequestWithDefaults() *TraceSettingsRequest`
-
-NewTraceSettingsRequestWithDefaults instantiates a new TraceSettingsRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetTraderUserId
-
-`func (o *TraceSettingsRequest) GetTraderUserId() string`
-
-GetTraderUserId returns the TraderUserId field if non-nil, zero value otherwise.
-
-### GetTraderUserIdOk
-
-`func (o *TraceSettingsRequest) GetTraderUserIdOk() (*string, bool)`
-
-GetTraderUserIdOk returns a tuple with the TraderUserId field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTraderUserId
-
-`func (o *TraceSettingsRequest) SetTraderUserId(v string)`
-
-SetTraderUserId sets TraderUserId field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailListResult.md b/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailListResult.md
deleted file mode 100644
index 8fe42287..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TraderProfitHisDetailListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**NextFlag** | Pointer to **bool** | | [optional]
-**ResultList** | Pointer to [**[]TraderProfitHisDetailResult**](TraderProfitHisDetailResult.md) | | [optional]
-
-## Methods
-
-### NewTraderProfitHisDetailListResult
-
-`func NewTraderProfitHisDetailListResult() *TraderProfitHisDetailListResult`
-
-NewTraderProfitHisDetailListResult instantiates a new TraderProfitHisDetailListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderProfitHisDetailListResultWithDefaults
-
-`func NewTraderProfitHisDetailListResultWithDefaults() *TraderProfitHisDetailListResult`
-
-NewTraderProfitHisDetailListResultWithDefaults instantiates a new TraderProfitHisDetailListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetNextFlag
-
-`func (o *TraderProfitHisDetailListResult) GetNextFlag() bool`
-
-GetNextFlag returns the NextFlag field if non-nil, zero value otherwise.
-
-### GetNextFlagOk
-
-`func (o *TraderProfitHisDetailListResult) GetNextFlagOk() (*bool, bool)`
-
-GetNextFlagOk returns a tuple with the NextFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNextFlag
-
-`func (o *TraderProfitHisDetailListResult) SetNextFlag(v bool)`
-
-SetNextFlag sets NextFlag field to given value.
-
-### HasNextFlag
-
-`func (o *TraderProfitHisDetailListResult) HasNextFlag() bool`
-
-HasNextFlag returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *TraderProfitHisDetailListResult) GetResultList() []TraderProfitHisDetailResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *TraderProfitHisDetailListResult) GetResultListOk() (*[]TraderProfitHisDetailResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *TraderProfitHisDetailListResult) SetResultList(v []TraderProfitHisDetailResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *TraderProfitHisDetailListResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailResult.md b/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailResult.md
deleted file mode 100644
index f703a1d4..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderProfitHisDetailResult.md
+++ /dev/null
@@ -1,186 +0,0 @@
-# TraderProfitHisDetailResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CoinName** | Pointer to **string** | | [optional]
-**DistributeRatio** | Pointer to **string** | | [optional]
-**HeadPic** | Pointer to **string** | | [optional]
-**NickName** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-**TracerNickName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderProfitHisDetailResult
-
-`func NewTraderProfitHisDetailResult() *TraderProfitHisDetailResult`
-
-NewTraderProfitHisDetailResult instantiates a new TraderProfitHisDetailResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderProfitHisDetailResultWithDefaults
-
-`func NewTraderProfitHisDetailResultWithDefaults() *TraderProfitHisDetailResult`
-
-NewTraderProfitHisDetailResultWithDefaults instantiates a new TraderProfitHisDetailResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoinName
-
-`func (o *TraderProfitHisDetailResult) GetCoinName() string`
-
-GetCoinName returns the CoinName field if non-nil, zero value otherwise.
-
-### GetCoinNameOk
-
-`func (o *TraderProfitHisDetailResult) GetCoinNameOk() (*string, bool)`
-
-GetCoinNameOk returns a tuple with the CoinName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoinName
-
-`func (o *TraderProfitHisDetailResult) SetCoinName(v string)`
-
-SetCoinName sets CoinName field to given value.
-
-### HasCoinName
-
-`func (o *TraderProfitHisDetailResult) HasCoinName() bool`
-
-HasCoinName returns a boolean if a field has been set.
-
-### GetDistributeRatio
-
-`func (o *TraderProfitHisDetailResult) GetDistributeRatio() string`
-
-GetDistributeRatio returns the DistributeRatio field if non-nil, zero value otherwise.
-
-### GetDistributeRatioOk
-
-`func (o *TraderProfitHisDetailResult) GetDistributeRatioOk() (*string, bool)`
-
-GetDistributeRatioOk returns a tuple with the DistributeRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDistributeRatio
-
-`func (o *TraderProfitHisDetailResult) SetDistributeRatio(v string)`
-
-SetDistributeRatio sets DistributeRatio field to given value.
-
-### HasDistributeRatio
-
-`func (o *TraderProfitHisDetailResult) HasDistributeRatio() bool`
-
-HasDistributeRatio returns a boolean if a field has been set.
-
-### GetHeadPic
-
-`func (o *TraderProfitHisDetailResult) GetHeadPic() string`
-
-GetHeadPic returns the HeadPic field if non-nil, zero value otherwise.
-
-### GetHeadPicOk
-
-`func (o *TraderProfitHisDetailResult) GetHeadPicOk() (*string, bool)`
-
-GetHeadPicOk returns a tuple with the HeadPic field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetHeadPic
-
-`func (o *TraderProfitHisDetailResult) SetHeadPic(v string)`
-
-SetHeadPic sets HeadPic field to given value.
-
-### HasHeadPic
-
-`func (o *TraderProfitHisDetailResult) HasHeadPic() bool`
-
-HasHeadPic returns a boolean if a field has been set.
-
-### GetNickName
-
-`func (o *TraderProfitHisDetailResult) GetNickName() string`
-
-GetNickName returns the NickName field if non-nil, zero value otherwise.
-
-### GetNickNameOk
-
-`func (o *TraderProfitHisDetailResult) GetNickNameOk() (*string, bool)`
-
-GetNickNameOk returns a tuple with the NickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNickName
-
-`func (o *TraderProfitHisDetailResult) SetNickName(v string)`
-
-SetNickName sets NickName field to given value.
-
-### HasNickName
-
-`func (o *TraderProfitHisDetailResult) HasNickName() bool`
-
-HasNickName returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *TraderProfitHisDetailResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *TraderProfitHisDetailResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *TraderProfitHisDetailResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *TraderProfitHisDetailResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-### GetTracerNickName
-
-`func (o *TraderProfitHisDetailResult) GetTracerNickName() string`
-
-GetTracerNickName returns the TracerNickName field if non-nil, zero value otherwise.
-
-### GetTracerNickNameOk
-
-`func (o *TraderProfitHisDetailResult) GetTracerNickNameOk() (*string, bool)`
-
-GetTracerNickNameOk returns a tuple with the TracerNickName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTracerNickName
-
-`func (o *TraderProfitHisDetailResult) SetTracerNickName(v string)`
-
-SetTracerNickName sets TracerNickName field to given value.
-
-### HasTracerNickName
-
-`func (o *TraderProfitHisDetailResult) HasTracerNickName() bool`
-
-HasTracerNickName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderProfitHisListResult.md b/bitget-goland-sdk-open-api/docs/TraderProfitHisListResult.md
deleted file mode 100644
index 87fb1602..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderProfitHisListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TraderProfitHisListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**NextFlag** | Pointer to **bool** | | [optional]
-**ResultList** | Pointer to [**[]TraderProfitHisResult**](TraderProfitHisResult.md) | | [optional]
-
-## Methods
-
-### NewTraderProfitHisListResult
-
-`func NewTraderProfitHisListResult() *TraderProfitHisListResult`
-
-NewTraderProfitHisListResult instantiates a new TraderProfitHisListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderProfitHisListResultWithDefaults
-
-`func NewTraderProfitHisListResultWithDefaults() *TraderProfitHisListResult`
-
-NewTraderProfitHisListResultWithDefaults instantiates a new TraderProfitHisListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetNextFlag
-
-`func (o *TraderProfitHisListResult) GetNextFlag() bool`
-
-GetNextFlag returns the NextFlag field if non-nil, zero value otherwise.
-
-### GetNextFlagOk
-
-`func (o *TraderProfitHisListResult) GetNextFlagOk() (*bool, bool)`
-
-GetNextFlagOk returns a tuple with the NextFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNextFlag
-
-`func (o *TraderProfitHisListResult) SetNextFlag(v bool)`
-
-SetNextFlag sets NextFlag field to given value.
-
-### HasNextFlag
-
-`func (o *TraderProfitHisListResult) HasNextFlag() bool`
-
-HasNextFlag returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *TraderProfitHisListResult) GetResultList() []TraderProfitHisResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *TraderProfitHisListResult) GetResultListOk() (*[]TraderProfitHisResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *TraderProfitHisListResult) SetResultList(v []TraderProfitHisResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *TraderProfitHisListResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderProfitHisResult.md b/bitget-goland-sdk-open-api/docs/TraderProfitHisResult.md
deleted file mode 100644
index 3a25706f..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderProfitHisResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# TraderProfitHisResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CoinName** | Pointer to **string** | | [optional]
-**Date** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderProfitHisResult
-
-`func NewTraderProfitHisResult() *TraderProfitHisResult`
-
-NewTraderProfitHisResult instantiates a new TraderProfitHisResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderProfitHisResultWithDefaults
-
-`func NewTraderProfitHisResultWithDefaults() *TraderProfitHisResult`
-
-NewTraderProfitHisResultWithDefaults instantiates a new TraderProfitHisResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoinName
-
-`func (o *TraderProfitHisResult) GetCoinName() string`
-
-GetCoinName returns the CoinName field if non-nil, zero value otherwise.
-
-### GetCoinNameOk
-
-`func (o *TraderProfitHisResult) GetCoinNameOk() (*string, bool)`
-
-GetCoinNameOk returns a tuple with the CoinName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoinName
-
-`func (o *TraderProfitHisResult) SetCoinName(v string)`
-
-SetCoinName sets CoinName field to given value.
-
-### HasCoinName
-
-`func (o *TraderProfitHisResult) HasCoinName() bool`
-
-HasCoinName returns a boolean if a field has been set.
-
-### GetDate
-
-`func (o *TraderProfitHisResult) GetDate() string`
-
-GetDate returns the Date field if non-nil, zero value otherwise.
-
-### GetDateOk
-
-`func (o *TraderProfitHisResult) GetDateOk() (*string, bool)`
-
-GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDate
-
-`func (o *TraderProfitHisResult) SetDate(v string)`
-
-SetDate sets Date field to given value.
-
-### HasDate
-
-`func (o *TraderProfitHisResult) HasDate() bool`
-
-HasDate returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *TraderProfitHisResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *TraderProfitHisResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *TraderProfitHisResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *TraderProfitHisResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderSettingLablesResult.md b/bitget-goland-sdk-open-api/docs/TraderSettingLablesResult.md
deleted file mode 100644
index 1d1c0662..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderSettingLablesResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TraderSettingLablesResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Id** | Pointer to **string** | | [optional]
-**Name** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderSettingLablesResult
-
-`func NewTraderSettingLablesResult() *TraderSettingLablesResult`
-
-NewTraderSettingLablesResult instantiates a new TraderSettingLablesResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderSettingLablesResultWithDefaults
-
-`func NewTraderSettingLablesResultWithDefaults() *TraderSettingLablesResult`
-
-NewTraderSettingLablesResultWithDefaults instantiates a new TraderSettingLablesResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetId
-
-`func (o *TraderSettingLablesResult) GetId() string`
-
-GetId returns the Id field if non-nil, zero value otherwise.
-
-### GetIdOk
-
-`func (o *TraderSettingLablesResult) GetIdOk() (*string, bool)`
-
-GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetId
-
-`func (o *TraderSettingLablesResult) SetId(v string)`
-
-SetId sets Id field to given value.
-
-### HasId
-
-`func (o *TraderSettingLablesResult) HasId() bool`
-
-HasId returns a boolean if a field has been set.
-
-### GetName
-
-`func (o *TraderSettingLablesResult) GetName() string`
-
-GetName returns the Name field if non-nil, zero value otherwise.
-
-### GetNameOk
-
-`func (o *TraderSettingLablesResult) GetNameOk() (*string, bool)`
-
-GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetName
-
-`func (o *TraderSettingLablesResult) SetName(v string)`
-
-SetName sets Name field to given value.
-
-### HasName
-
-`func (o *TraderSettingLablesResult) HasName() bool`
-
-HasName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderSettingResult.md b/bitget-goland-sdk-open-api/docs/TraderSettingResult.md
deleted file mode 100644
index 12c1e5e2..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderSettingResult.md
+++ /dev/null
@@ -1,160 +0,0 @@
-# TraderSettingResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**Labels** | Pointer to [**[]TraderSettingLablesResult**](TraderSettingLablesResult.md) | | [optional]
-**OpenProduct** | Pointer to **bool** | | [optional]
-**ShowAssetsMap** | Pointer to **bool** | | [optional]
-**ShowEquity** | Pointer to **bool** | | [optional]
-**SupportProductCodes** | Pointer to [**[]TraderSettingSupportProductResult**](TraderSettingSupportProductResult.md) | | [optional]
-
-## Methods
-
-### NewTraderSettingResult
-
-`func NewTraderSettingResult() *TraderSettingResult`
-
-NewTraderSettingResult instantiates a new TraderSettingResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderSettingResultWithDefaults
-
-`func NewTraderSettingResultWithDefaults() *TraderSettingResult`
-
-NewTraderSettingResultWithDefaults instantiates a new TraderSettingResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetLabels
-
-`func (o *TraderSettingResult) GetLabels() []TraderSettingLablesResult`
-
-GetLabels returns the Labels field if non-nil, zero value otherwise.
-
-### GetLabelsOk
-
-`func (o *TraderSettingResult) GetLabelsOk() (*[]TraderSettingLablesResult, bool)`
-
-GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetLabels
-
-`func (o *TraderSettingResult) SetLabels(v []TraderSettingLablesResult)`
-
-SetLabels sets Labels field to given value.
-
-### HasLabels
-
-`func (o *TraderSettingResult) HasLabels() bool`
-
-HasLabels returns a boolean if a field has been set.
-
-### GetOpenProduct
-
-`func (o *TraderSettingResult) GetOpenProduct() bool`
-
-GetOpenProduct returns the OpenProduct field if non-nil, zero value otherwise.
-
-### GetOpenProductOk
-
-`func (o *TraderSettingResult) GetOpenProductOk() (*bool, bool)`
-
-GetOpenProductOk returns a tuple with the OpenProduct field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOpenProduct
-
-`func (o *TraderSettingResult) SetOpenProduct(v bool)`
-
-SetOpenProduct sets OpenProduct field to given value.
-
-### HasOpenProduct
-
-`func (o *TraderSettingResult) HasOpenProduct() bool`
-
-HasOpenProduct returns a boolean if a field has been set.
-
-### GetShowAssetsMap
-
-`func (o *TraderSettingResult) GetShowAssetsMap() bool`
-
-GetShowAssetsMap returns the ShowAssetsMap field if non-nil, zero value otherwise.
-
-### GetShowAssetsMapOk
-
-`func (o *TraderSettingResult) GetShowAssetsMapOk() (*bool, bool)`
-
-GetShowAssetsMapOk returns a tuple with the ShowAssetsMap field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetShowAssetsMap
-
-`func (o *TraderSettingResult) SetShowAssetsMap(v bool)`
-
-SetShowAssetsMap sets ShowAssetsMap field to given value.
-
-### HasShowAssetsMap
-
-`func (o *TraderSettingResult) HasShowAssetsMap() bool`
-
-HasShowAssetsMap returns a boolean if a field has been set.
-
-### GetShowEquity
-
-`func (o *TraderSettingResult) GetShowEquity() bool`
-
-GetShowEquity returns the ShowEquity field if non-nil, zero value otherwise.
-
-### GetShowEquityOk
-
-`func (o *TraderSettingResult) GetShowEquityOk() (*bool, bool)`
-
-GetShowEquityOk returns a tuple with the ShowEquity field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetShowEquity
-
-`func (o *TraderSettingResult) SetShowEquity(v bool)`
-
-SetShowEquity sets ShowEquity field to given value.
-
-### HasShowEquity
-
-`func (o *TraderSettingResult) HasShowEquity() bool`
-
-HasShowEquity returns a boolean if a field has been set.
-
-### GetSupportProductCodes
-
-`func (o *TraderSettingResult) GetSupportProductCodes() []TraderSettingSupportProductResult`
-
-GetSupportProductCodes returns the SupportProductCodes field if non-nil, zero value otherwise.
-
-### GetSupportProductCodesOk
-
-`func (o *TraderSettingResult) GetSupportProductCodesOk() (*[]TraderSettingSupportProductResult, bool)`
-
-GetSupportProductCodesOk returns a tuple with the SupportProductCodes field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSupportProductCodes
-
-`func (o *TraderSettingResult) SetSupportProductCodes(v []TraderSettingSupportProductResult)`
-
-SetSupportProductCodes sets SupportProductCodes field to given value.
-
-### HasSupportProductCodes
-
-`func (o *TraderSettingResult) HasSupportProductCodes() bool`
-
-HasSupportProductCodes returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderSettingSupportProductResult.md b/bitget-goland-sdk-open-api/docs/TraderSettingSupportProductResult.md
deleted file mode 100644
index 2a64bb32..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderSettingSupportProductResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# TraderSettingSupportProductResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**OpenCopyTrace** | Pointer to **bool** | | [optional]
-**ProductCode** | Pointer to **string** | | [optional]
-**ProductName** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderSettingSupportProductResult
-
-`func NewTraderSettingSupportProductResult() *TraderSettingSupportProductResult`
-
-NewTraderSettingSupportProductResult instantiates a new TraderSettingSupportProductResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderSettingSupportProductResultWithDefaults
-
-`func NewTraderSettingSupportProductResultWithDefaults() *TraderSettingSupportProductResult`
-
-NewTraderSettingSupportProductResultWithDefaults instantiates a new TraderSettingSupportProductResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetOpenCopyTrace
-
-`func (o *TraderSettingSupportProductResult) GetOpenCopyTrace() bool`
-
-GetOpenCopyTrace returns the OpenCopyTrace field if non-nil, zero value otherwise.
-
-### GetOpenCopyTraceOk
-
-`func (o *TraderSettingSupportProductResult) GetOpenCopyTraceOk() (*bool, bool)`
-
-GetOpenCopyTraceOk returns a tuple with the OpenCopyTrace field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOpenCopyTrace
-
-`func (o *TraderSettingSupportProductResult) SetOpenCopyTrace(v bool)`
-
-SetOpenCopyTrace sets OpenCopyTrace field to given value.
-
-### HasOpenCopyTrace
-
-`func (o *TraderSettingSupportProductResult) HasOpenCopyTrace() bool`
-
-HasOpenCopyTrace returns a boolean if a field has been set.
-
-### GetProductCode
-
-`func (o *TraderSettingSupportProductResult) GetProductCode() string`
-
-GetProductCode returns the ProductCode field if non-nil, zero value otherwise.
-
-### GetProductCodeOk
-
-`func (o *TraderSettingSupportProductResult) GetProductCodeOk() (*string, bool)`
-
-GetProductCodeOk returns a tuple with the ProductCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProductCode
-
-`func (o *TraderSettingSupportProductResult) SetProductCode(v string)`
-
-SetProductCode sets ProductCode field to given value.
-
-### HasProductCode
-
-`func (o *TraderSettingSupportProductResult) HasProductCode() bool`
-
-HasProductCode returns a boolean if a field has been set.
-
-### GetProductName
-
-`func (o *TraderSettingSupportProductResult) GetProductName() string`
-
-GetProductName returns the ProductName field if non-nil, zero value otherwise.
-
-### GetProductNameOk
-
-`func (o *TraderSettingSupportProductResult) GetProductNameOk() (*string, bool)`
-
-GetProductNameOk returns a tuple with the ProductName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProductName
-
-`func (o *TraderSettingSupportProductResult) SetProductName(v string)`
-
-SetProductName sets ProductName field to given value.
-
-### HasProductName
-
-`func (o *TraderSettingSupportProductResult) HasProductName() bool`
-
-HasProductName returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderTotalProfitListResult.md b/bitget-goland-sdk-open-api/docs/TraderTotalProfitListResult.md
deleted file mode 100644
index 81dfc032..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderTotalProfitListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TraderTotalProfitListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**ProductCode** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderTotalProfitListResult
-
-`func NewTraderTotalProfitListResult() *TraderTotalProfitListResult`
-
-NewTraderTotalProfitListResult instantiates a new TraderTotalProfitListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderTotalProfitListResultWithDefaults
-
-`func NewTraderTotalProfitListResultWithDefaults() *TraderTotalProfitListResult`
-
-NewTraderTotalProfitListResultWithDefaults instantiates a new TraderTotalProfitListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetProductCode
-
-`func (o *TraderTotalProfitListResult) GetProductCode() string`
-
-GetProductCode returns the ProductCode field if non-nil, zero value otherwise.
-
-### GetProductCodeOk
-
-`func (o *TraderTotalProfitListResult) GetProductCodeOk() (*string, bool)`
-
-GetProductCodeOk returns a tuple with the ProductCode field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProductCode
-
-`func (o *TraderTotalProfitListResult) SetProductCode(v string)`
-
-SetProductCode sets ProductCode field to given value.
-
-### HasProductCode
-
-`func (o *TraderTotalProfitListResult) HasProductCode() bool`
-
-HasProductCode returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *TraderTotalProfitListResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *TraderTotalProfitListResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *TraderTotalProfitListResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *TraderTotalProfitListResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderTotalProfitResult.md b/bitget-goland-sdk-open-api/docs/TraderTotalProfitResult.md
deleted file mode 100644
index 9e7b814d..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderTotalProfitResult.md
+++ /dev/null
@@ -1,134 +0,0 @@
-# TraderTotalProfitResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**SumProfit** | Pointer to **string** | | [optional]
-**WaitProfit** | Pointer to **string** | | [optional]
-**YesterdaySplitProfit** | Pointer to **string** | | [optional]
-**YesterdayTimeStamp** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderTotalProfitResult
-
-`func NewTraderTotalProfitResult() *TraderTotalProfitResult`
-
-NewTraderTotalProfitResult instantiates a new TraderTotalProfitResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderTotalProfitResultWithDefaults
-
-`func NewTraderTotalProfitResultWithDefaults() *TraderTotalProfitResult`
-
-NewTraderTotalProfitResultWithDefaults instantiates a new TraderTotalProfitResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetSumProfit
-
-`func (o *TraderTotalProfitResult) GetSumProfit() string`
-
-GetSumProfit returns the SumProfit field if non-nil, zero value otherwise.
-
-### GetSumProfitOk
-
-`func (o *TraderTotalProfitResult) GetSumProfitOk() (*string, bool)`
-
-GetSumProfitOk returns a tuple with the SumProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetSumProfit
-
-`func (o *TraderTotalProfitResult) SetSumProfit(v string)`
-
-SetSumProfit sets SumProfit field to given value.
-
-### HasSumProfit
-
-`func (o *TraderTotalProfitResult) HasSumProfit() bool`
-
-HasSumProfit returns a boolean if a field has been set.
-
-### GetWaitProfit
-
-`func (o *TraderTotalProfitResult) GetWaitProfit() string`
-
-GetWaitProfit returns the WaitProfit field if non-nil, zero value otherwise.
-
-### GetWaitProfitOk
-
-`func (o *TraderTotalProfitResult) GetWaitProfitOk() (*string, bool)`
-
-GetWaitProfitOk returns a tuple with the WaitProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetWaitProfit
-
-`func (o *TraderTotalProfitResult) SetWaitProfit(v string)`
-
-SetWaitProfit sets WaitProfit field to given value.
-
-### HasWaitProfit
-
-`func (o *TraderTotalProfitResult) HasWaitProfit() bool`
-
-HasWaitProfit returns a boolean if a field has been set.
-
-### GetYesterdaySplitProfit
-
-`func (o *TraderTotalProfitResult) GetYesterdaySplitProfit() string`
-
-GetYesterdaySplitProfit returns the YesterdaySplitProfit field if non-nil, zero value otherwise.
-
-### GetYesterdaySplitProfitOk
-
-`func (o *TraderTotalProfitResult) GetYesterdaySplitProfitOk() (*string, bool)`
-
-GetYesterdaySplitProfitOk returns a tuple with the YesterdaySplitProfit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetYesterdaySplitProfit
-
-`func (o *TraderTotalProfitResult) SetYesterdaySplitProfit(v string)`
-
-SetYesterdaySplitProfit sets YesterdaySplitProfit field to given value.
-
-### HasYesterdaySplitProfit
-
-`func (o *TraderTotalProfitResult) HasYesterdaySplitProfit() bool`
-
-HasYesterdaySplitProfit returns a boolean if a field has been set.
-
-### GetYesterdayTimeStamp
-
-`func (o *TraderTotalProfitResult) GetYesterdayTimeStamp() string`
-
-GetYesterdayTimeStamp returns the YesterdayTimeStamp field if non-nil, zero value otherwise.
-
-### GetYesterdayTimeStampOk
-
-`func (o *TraderTotalProfitResult) GetYesterdayTimeStampOk() (*string, bool)`
-
-GetYesterdayTimeStampOk returns a tuple with the YesterdayTimeStamp field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetYesterdayTimeStamp
-
-`func (o *TraderTotalProfitResult) SetYesterdayTimeStamp(v string)`
-
-SetYesterdayTimeStamp sets YesterdayTimeStamp field to given value.
-
-### HasYesterdayTimeStamp
-
-`func (o *TraderTotalProfitResult) HasYesterdayTimeStamp() bool`
-
-HasYesterdayTimeStamp returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailListResult.md b/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailListResult.md
deleted file mode 100644
index ef43a667..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailListResult.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# TraderWaitProfitDetailListResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**NextFlag** | Pointer to **bool** | | [optional]
-**ResultList** | Pointer to [**[]TraderWaitProfitDetailResult**](TraderWaitProfitDetailResult.md) | | [optional]
-
-## Methods
-
-### NewTraderWaitProfitDetailListResult
-
-`func NewTraderWaitProfitDetailListResult() *TraderWaitProfitDetailListResult`
-
-NewTraderWaitProfitDetailListResult instantiates a new TraderWaitProfitDetailListResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderWaitProfitDetailListResultWithDefaults
-
-`func NewTraderWaitProfitDetailListResultWithDefaults() *TraderWaitProfitDetailListResult`
-
-NewTraderWaitProfitDetailListResultWithDefaults instantiates a new TraderWaitProfitDetailListResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetNextFlag
-
-`func (o *TraderWaitProfitDetailListResult) GetNextFlag() bool`
-
-GetNextFlag returns the NextFlag field if non-nil, zero value otherwise.
-
-### GetNextFlagOk
-
-`func (o *TraderWaitProfitDetailListResult) GetNextFlagOk() (*bool, bool)`
-
-GetNextFlagOk returns a tuple with the NextFlag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetNextFlag
-
-`func (o *TraderWaitProfitDetailListResult) SetNextFlag(v bool)`
-
-SetNextFlag sets NextFlag field to given value.
-
-### HasNextFlag
-
-`func (o *TraderWaitProfitDetailListResult) HasNextFlag() bool`
-
-HasNextFlag returns a boolean if a field has been set.
-
-### GetResultList
-
-`func (o *TraderWaitProfitDetailListResult) GetResultList() []TraderWaitProfitDetailResult`
-
-GetResultList returns the ResultList field if non-nil, zero value otherwise.
-
-### GetResultListOk
-
-`func (o *TraderWaitProfitDetailListResult) GetResultListOk() (*[]TraderWaitProfitDetailResult, bool)`
-
-GetResultListOk returns a tuple with the ResultList field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResultList
-
-`func (o *TraderWaitProfitDetailListResult) SetResultList(v []TraderWaitProfitDetailResult)`
-
-SetResultList sets ResultList field to given value.
-
-### HasResultList
-
-`func (o *TraderWaitProfitDetailListResult) HasResultList() bool`
-
-HasResultList returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailResult.md b/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailResult.md
deleted file mode 100644
index 3bc14f8a..00000000
--- a/bitget-goland-sdk-open-api/docs/TraderWaitProfitDetailResult.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# TraderWaitProfitDetailResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**CoinName** | Pointer to **string** | | [optional]
-**DistributeRatio** | Pointer to **string** | | [optional]
-**Profit** | Pointer to **string** | | [optional]
-
-## Methods
-
-### NewTraderWaitProfitDetailResult
-
-`func NewTraderWaitProfitDetailResult() *TraderWaitProfitDetailResult`
-
-NewTraderWaitProfitDetailResult instantiates a new TraderWaitProfitDetailResult object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewTraderWaitProfitDetailResultWithDefaults
-
-`func NewTraderWaitProfitDetailResultWithDefaults() *TraderWaitProfitDetailResult`
-
-NewTraderWaitProfitDetailResultWithDefaults instantiates a new TraderWaitProfitDetailResult object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetCoinName
-
-`func (o *TraderWaitProfitDetailResult) GetCoinName() string`
-
-GetCoinName returns the CoinName field if non-nil, zero value otherwise.
-
-### GetCoinNameOk
-
-`func (o *TraderWaitProfitDetailResult) GetCoinNameOk() (*string, bool)`
-
-GetCoinNameOk returns a tuple with the CoinName field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetCoinName
-
-`func (o *TraderWaitProfitDetailResult) SetCoinName(v string)`
-
-SetCoinName sets CoinName field to given value.
-
-### HasCoinName
-
-`func (o *TraderWaitProfitDetailResult) HasCoinName() bool`
-
-HasCoinName returns a boolean if a field has been set.
-
-### GetDistributeRatio
-
-`func (o *TraderWaitProfitDetailResult) GetDistributeRatio() string`
-
-GetDistributeRatio returns the DistributeRatio field if non-nil, zero value otherwise.
-
-### GetDistributeRatioOk
-
-`func (o *TraderWaitProfitDetailResult) GetDistributeRatioOk() (*string, bool)`
-
-GetDistributeRatioOk returns a tuple with the DistributeRatio field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDistributeRatio
-
-`func (o *TraderWaitProfitDetailResult) SetDistributeRatio(v string)`
-
-SetDistributeRatio sets DistributeRatio field to given value.
-
-### HasDistributeRatio
-
-`func (o *TraderWaitProfitDetailResult) HasDistributeRatio() bool`
-
-HasDistributeRatio returns a boolean if a field has been set.
-
-### GetProfit
-
-`func (o *TraderWaitProfitDetailResult) GetProfit() string`
-
-GetProfit returns the Profit field if non-nil, zero value otherwise.
-
-### GetProfitOk
-
-`func (o *TraderWaitProfitDetailResult) GetProfitOk() (*string, bool)`
-
-GetProfitOk returns a tuple with the Profit field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetProfit
-
-`func (o *TraderWaitProfitDetailResult) SetProfit(v string)`
-
-SetProfit sets Profit field to given value.
-
-### HasProfit
-
-`func (o *TraderWaitProfitDetailResult) HasProfit() bool`
-
-HasProfit returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/UpdateTpslRequest.md b/bitget-goland-sdk-open-api/docs/UpdateTpslRequest.md
deleted file mode 100644
index b2f04b24..00000000
--- a/bitget-goland-sdk-open-api/docs/UpdateTpslRequest.md
+++ /dev/null
@@ -1,93 +0,0 @@
-# UpdateTpslRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**StopLossPrice** | **string** | stopLossPrice |
-**StopProfitPrice** | **string** | stopProfitPrice |
-**TrackingNo** | **string** | trackingNo |
-
-## Methods
-
-### NewUpdateTpslRequest
-
-`func NewUpdateTpslRequest(stopLossPrice string, stopProfitPrice string, trackingNo string, ) *UpdateTpslRequest`
-
-NewUpdateTpslRequest instantiates a new UpdateTpslRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewUpdateTpslRequestWithDefaults
-
-`func NewUpdateTpslRequestWithDefaults() *UpdateTpslRequest`
-
-NewUpdateTpslRequestWithDefaults instantiates a new UpdateTpslRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetStopLossPrice
-
-`func (o *UpdateTpslRequest) GetStopLossPrice() string`
-
-GetStopLossPrice returns the StopLossPrice field if non-nil, zero value otherwise.
-
-### GetStopLossPriceOk
-
-`func (o *UpdateTpslRequest) GetStopLossPriceOk() (*string, bool)`
-
-GetStopLossPriceOk returns a tuple with the StopLossPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopLossPrice
-
-`func (o *UpdateTpslRequest) SetStopLossPrice(v string)`
-
-SetStopLossPrice sets StopLossPrice field to given value.
-
-
-### GetStopProfitPrice
-
-`func (o *UpdateTpslRequest) GetStopProfitPrice() string`
-
-GetStopProfitPrice returns the StopProfitPrice field if non-nil, zero value otherwise.
-
-### GetStopProfitPriceOk
-
-`func (o *UpdateTpslRequest) GetStopProfitPriceOk() (*string, bool)`
-
-GetStopProfitPriceOk returns a tuple with the StopProfitPrice field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStopProfitPrice
-
-`func (o *UpdateTpslRequest) SetStopProfitPrice(v string)`
-
-SetStopProfitPrice sets StopProfitPrice field to given value.
-
-
-### GetTrackingNo
-
-`func (o *UpdateTpslRequest) GetTrackingNo() string`
-
-GetTrackingNo returns the TrackingNo field if non-nil, zero value otherwise.
-
-### GetTrackingNoOk
-
-`func (o *UpdateTpslRequest) GetTrackingNoOk() (*string, bool)`
-
-GetTrackingNoOk returns a tuple with the TrackingNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTrackingNo
-
-`func (o *UpdateTpslRequest) SetTrackingNo(v string)`
-
-SetTrackingNo sets TrackingNo field to given value.
-
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/docs/WaitProfitDetailListRequest.md b/bitget-goland-sdk-open-api/docs/WaitProfitDetailListRequest.md
deleted file mode 100644
index 03a954d5..00000000
--- a/bitget-goland-sdk-open-api/docs/WaitProfitDetailListRequest.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# WaitProfitDetailListRequest
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**PageNo** | Pointer to **string** | pageNo | [optional]
-**PageSize** | Pointer to **string** | pageSize | [optional]
-
-## Methods
-
-### NewWaitProfitDetailListRequest
-
-`func NewWaitProfitDetailListRequest() *WaitProfitDetailListRequest`
-
-NewWaitProfitDetailListRequest instantiates a new WaitProfitDetailListRequest object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewWaitProfitDetailListRequestWithDefaults
-
-`func NewWaitProfitDetailListRequestWithDefaults() *WaitProfitDetailListRequest`
-
-NewWaitProfitDetailListRequestWithDefaults instantiates a new WaitProfitDetailListRequest object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetPageNo
-
-`func (o *WaitProfitDetailListRequest) GetPageNo() string`
-
-GetPageNo returns the PageNo field if non-nil, zero value otherwise.
-
-### GetPageNoOk
-
-`func (o *WaitProfitDetailListRequest) GetPageNoOk() (*string, bool)`
-
-GetPageNoOk returns a tuple with the PageNo field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageNo
-
-`func (o *WaitProfitDetailListRequest) SetPageNo(v string)`
-
-SetPageNo sets PageNo field to given value.
-
-### HasPageNo
-
-`func (o *WaitProfitDetailListRequest) HasPageNo() bool`
-
-HasPageNo returns a boolean if a field has been set.
-
-### GetPageSize
-
-`func (o *WaitProfitDetailListRequest) GetPageSize() string`
-
-GetPageSize returns the PageSize field if non-nil, zero value otherwise.
-
-### GetPageSizeOk
-
-`func (o *WaitProfitDetailListRequest) GetPageSizeOk() (*string, bool)`
-
-GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetPageSize
-
-`func (o *WaitProfitDetailListRequest) SetPageSize(v string)`
-
-SetPageSize sets PageSize field to given value.
-
-### HasPageSize
-
-`func (o *WaitProfitDetailListRequest) HasPageSize() bool`
-
-HasPageSize returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/bitget-goland-sdk-open-api/git_push.sh b/bitget-goland-sdk-open-api/git_push.sh
deleted file mode 100644
index f53a75d4..00000000
--- a/bitget-goland-sdk-open-api/git_push.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-git_host=$4
-
-if [ "$git_host" = "" ]; then
- git_host="github.com"
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
-fi
-
-if [ "$git_user_id" = "" ]; then
- git_user_id="GIT_USER_ID"
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
- git_repo_id="GIT_REPO_ID"
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
- release_note="Minor update"
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=$(git remote)
-if [ "$git_remote" = "" ]; then # git remote not defined
-
- if [ "$GIT_TOKEN" = "" ]; then
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
- else
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
- fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
diff --git a/bitget-goland-sdk-open-api/go.mod b/bitget-goland-sdk-open-api/go.mod
deleted file mode 100644
index 13c89e62..00000000
--- a/bitget-goland-sdk-open-api/go.mod
+++ /dev/null
@@ -1,9 +0,0 @@
-module github.com/bitget/openapi
-
-go 1.13
-
-require (
- github.com/stretchr/testify v1.4.0
- golang.org/x/net v0.6.0 // indirect
- golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558
-)
diff --git a/bitget-goland-sdk-open-api/go.sum b/bitget-goland-sdk-open-api/go.sum
deleted file mode 100644
index 80e28942..00000000
--- a/bitget-goland-sdk-open-api/go.sum
+++ /dev/null
@@ -1,387 +0,0 @@
-cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
-cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
-cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
-cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
-cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
-cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
-cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
-cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
-cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
-cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
-cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
-cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
-cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
-cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
-cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
-cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
-cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
-cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
-cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
-cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
-cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
-cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
-cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
-cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
-cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
-cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
-cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
-cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
-cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
-cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
-dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
-github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
-github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
-github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
-github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
-github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
-github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
-github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
-github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
-github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
-github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
-github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
-github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
-github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
-github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
-github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
-github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
-github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
-github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
-github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
-github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
-github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
-github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
-github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
-github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
-github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0=
-github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
-github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
-github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
-github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k=
-github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
-github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
-github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
-github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
-github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
-github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
-github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
-github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
-github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
-github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
-github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
-github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
-github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
-github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
-github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
-github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
-github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
-github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
-github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
-go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
-go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
-go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
-go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
-go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
-golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
-golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
-golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
-golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
-golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
-golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
-golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
-golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
-golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
-golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
-golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
-golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
-golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
-golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
-golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
-golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
-golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
-golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
-golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
-golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
-golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
-golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
-golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
-golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
-golang.org/x/net v0.6.0 h1:L4ZwwTvKW9gr0ZMS1yrHD9GZhIuVjOBBnaKH+SPQK0Q=
-golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
-golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558 h1:D7nTwh4J0i+5mW4Zjzn5omvlr6YBcWywE6KOcatyNxY=
-golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
-golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
-golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
-golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
-golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
-golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
-golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
-golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
-golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
-golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
-google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
-google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
-google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
-google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
-google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
-google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
-google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
-google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc=
-google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
-google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
-google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
-google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
-google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
-google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
-google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
-google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
-google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
-google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
-google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
-google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
-google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
-google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
-google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
-google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
-google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
-google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
-google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
-google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
-google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c=
-google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
-gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
-gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
-gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
-honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
-rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
-rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_assets_population_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_assets_population_result.go
deleted file mode 100644
index f36d8da7..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_assets_population_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginCrossAssetsPopulationResult struct for ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
-type ApiResponseResultOfListOfMarginCrossAssetsPopulationResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginCrossAssetsPopulationResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginCrossAssetsPopulationResult ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
-
-// NewApiResponseResultOfListOfMarginCrossAssetsPopulationResult instantiates a new ApiResponseResultOfListOfMarginCrossAssetsPopulationResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginCrossAssetsPopulationResult() *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult {
- this := ApiResponseResultOfListOfMarginCrossAssetsPopulationResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginCrossAssetsPopulationResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossAssetsPopulationResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginCrossAssetsPopulationResultWithDefaults() *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult {
- this := ApiResponseResultOfListOfMarginCrossAssetsPopulationResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetData() []MarginCrossAssetsPopulationResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginCrossAssetsPopulationResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetDataOk() ([]MarginCrossAssetsPopulationResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginCrossAssetsPopulationResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetData(v []MarginCrossAssetsPopulationResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginCrossAssetsPopulationResult := _ApiResponseResultOfListOfMarginCrossAssetsPopulationResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginCrossAssetsPopulationResult); err == nil {
- *o = ApiResponseResultOfListOfMarginCrossAssetsPopulationResult(varApiResponseResultOfListOfMarginCrossAssetsPopulationResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult struct {
- value *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) Get() *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) Set(val *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult(val *ApiResponseResultOfListOfMarginCrossAssetsPopulationResult) *NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult {
- return &NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossAssetsPopulationResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_level_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_level_result.go
deleted file mode 100644
index 9537d3a0..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_level_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginCrossLevelResult struct for ApiResponseResultOfListOfMarginCrossLevelResult
-type ApiResponseResultOfListOfMarginCrossLevelResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginCrossLevelResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginCrossLevelResult ApiResponseResultOfListOfMarginCrossLevelResult
-
-// NewApiResponseResultOfListOfMarginCrossLevelResult instantiates a new ApiResponseResultOfListOfMarginCrossLevelResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginCrossLevelResult() *ApiResponseResultOfListOfMarginCrossLevelResult {
- this := ApiResponseResultOfListOfMarginCrossLevelResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginCrossLevelResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossLevelResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginCrossLevelResultWithDefaults() *ApiResponseResultOfListOfMarginCrossLevelResult {
- this := ApiResponseResultOfListOfMarginCrossLevelResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetData() []MarginCrossLevelResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginCrossLevelResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetDataOk() ([]MarginCrossLevelResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginCrossLevelResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetData(v []MarginCrossLevelResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginCrossLevelResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginCrossLevelResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginCrossLevelResult := _ApiResponseResultOfListOfMarginCrossLevelResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginCrossLevelResult); err == nil {
- *o = ApiResponseResultOfListOfMarginCrossLevelResult(varApiResponseResultOfListOfMarginCrossLevelResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginCrossLevelResult struct {
- value *ApiResponseResultOfListOfMarginCrossLevelResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossLevelResult) Get() *ApiResponseResultOfListOfMarginCrossLevelResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossLevelResult) Set(val *ApiResponseResultOfListOfMarginCrossLevelResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossLevelResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossLevelResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginCrossLevelResult(val *ApiResponseResultOfListOfMarginCrossLevelResult) *NullableApiResponseResultOfListOfMarginCrossLevelResult {
- return &NullableApiResponseResultOfListOfMarginCrossLevelResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossLevelResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossLevelResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_rate_and_limit_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_rate_and_limit_result.go
deleted file mode 100644
index b440cc25..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_cross_rate_and_limit_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginCrossRateAndLimitResult struct for ApiResponseResultOfListOfMarginCrossRateAndLimitResult
-type ApiResponseResultOfListOfMarginCrossRateAndLimitResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginCrossRateAndLimitResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginCrossRateAndLimitResult ApiResponseResultOfListOfMarginCrossRateAndLimitResult
-
-// NewApiResponseResultOfListOfMarginCrossRateAndLimitResult instantiates a new ApiResponseResultOfListOfMarginCrossRateAndLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginCrossRateAndLimitResult() *ApiResponseResultOfListOfMarginCrossRateAndLimitResult {
- this := ApiResponseResultOfListOfMarginCrossRateAndLimitResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginCrossRateAndLimitResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginCrossRateAndLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginCrossRateAndLimitResultWithDefaults() *ApiResponseResultOfListOfMarginCrossRateAndLimitResult {
- this := ApiResponseResultOfListOfMarginCrossRateAndLimitResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetData() []MarginCrossRateAndLimitResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginCrossRateAndLimitResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetDataOk() ([]MarginCrossRateAndLimitResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginCrossRateAndLimitResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetData(v []MarginCrossRateAndLimitResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginCrossRateAndLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginCrossRateAndLimitResult := _ApiResponseResultOfListOfMarginCrossRateAndLimitResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginCrossRateAndLimitResult); err == nil {
- *o = ApiResponseResultOfListOfMarginCrossRateAndLimitResult(varApiResponseResultOfListOfMarginCrossRateAndLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult struct {
- value *ApiResponseResultOfListOfMarginCrossRateAndLimitResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) Get() *ApiResponseResultOfListOfMarginCrossRateAndLimitResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) Set(val *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginCrossRateAndLimitResult(val *ApiResponseResultOfListOfMarginCrossRateAndLimitResult) *NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult {
- return &NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginCrossRateAndLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_population_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_population_result.go
deleted file mode 100644
index 402fc408..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_population_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult struct for ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
-type ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginIsolatedAssetsPopulationResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
-
-// NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult() *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult {
- this := ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginIsolatedAssetsPopulationResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult {
- this := ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetData() []MarginIsolatedAssetsPopulationResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginIsolatedAssetsPopulationResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetDataOk() ([]MarginIsolatedAssetsPopulationResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginIsolatedAssetsPopulationResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetData(v []MarginIsolatedAssetsPopulationResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult := _ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult); err == nil {
- *o = ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult(varApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult struct {
- value *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) Get() *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) Set(val *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult(val *ApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) *NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult {
- return &NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsPopulationResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_risk_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_risk_result.go
deleted file mode 100644
index 50990689..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_assets_risk_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult struct for ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
-type ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginIsolatedAssetsRiskResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
-
-// NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResult instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResult() *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult {
- this := ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginIsolatedAssetsRiskResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult {
- this := ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetData() []MarginIsolatedAssetsRiskResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginIsolatedAssetsRiskResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetDataOk() ([]MarginIsolatedAssetsRiskResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginIsolatedAssetsRiskResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetData(v []MarginIsolatedAssetsRiskResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginIsolatedAssetsRiskResult := _ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginIsolatedAssetsRiskResult); err == nil {
- *o = ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult(varApiResponseResultOfListOfMarginIsolatedAssetsRiskResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult struct {
- value *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) Get() *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) Set(val *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult(val *ApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) *NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult {
- return &NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedAssetsRiskResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_level_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_level_result.go
deleted file mode 100644
index 2fdd0f2f..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_level_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginIsolatedLevelResult struct for ApiResponseResultOfListOfMarginIsolatedLevelResult
-type ApiResponseResultOfListOfMarginIsolatedLevelResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginIsolatedLevelResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginIsolatedLevelResult ApiResponseResultOfListOfMarginIsolatedLevelResult
-
-// NewApiResponseResultOfListOfMarginIsolatedLevelResult instantiates a new ApiResponseResultOfListOfMarginIsolatedLevelResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginIsolatedLevelResult() *ApiResponseResultOfListOfMarginIsolatedLevelResult {
- this := ApiResponseResultOfListOfMarginIsolatedLevelResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginIsolatedLevelResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedLevelResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginIsolatedLevelResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedLevelResult {
- this := ApiResponseResultOfListOfMarginIsolatedLevelResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetData() []MarginIsolatedLevelResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginIsolatedLevelResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetDataOk() ([]MarginIsolatedLevelResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginIsolatedLevelResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetData(v []MarginIsolatedLevelResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginIsolatedLevelResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginIsolatedLevelResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginIsolatedLevelResult := _ApiResponseResultOfListOfMarginIsolatedLevelResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginIsolatedLevelResult); err == nil {
- *o = ApiResponseResultOfListOfMarginIsolatedLevelResult(varApiResponseResultOfListOfMarginIsolatedLevelResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginIsolatedLevelResult struct {
- value *ApiResponseResultOfListOfMarginIsolatedLevelResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedLevelResult) Get() *ApiResponseResultOfListOfMarginIsolatedLevelResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedLevelResult) Set(val *ApiResponseResultOfListOfMarginIsolatedLevelResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedLevelResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedLevelResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginIsolatedLevelResult(val *ApiResponseResultOfListOfMarginIsolatedLevelResult) *NullableApiResponseResultOfListOfMarginIsolatedLevelResult {
- return &NullableApiResponseResultOfListOfMarginIsolatedLevelResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedLevelResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedLevelResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_rate_and_limit_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_rate_and_limit_result.go
deleted file mode 100644
index 6af089d4..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_isolated_rate_and_limit_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult struct for ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
-type ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginIsolatedRateAndLimitResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
-
-// NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResult instantiates a new ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResult() *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult {
- this := ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginIsolatedRateAndLimitResultWithDefaults() *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult {
- this := ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetData() []MarginIsolatedRateAndLimitResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginIsolatedRateAndLimitResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetDataOk() ([]MarginIsolatedRateAndLimitResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginIsolatedRateAndLimitResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetData(v []MarginIsolatedRateAndLimitResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginIsolatedRateAndLimitResult := _ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginIsolatedRateAndLimitResult); err == nil {
- *o = ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult(varApiResponseResultOfListOfMarginIsolatedRateAndLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult struct {
- value *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) Get() *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) Set(val *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult(val *ApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) *NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult {
- return &NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginIsolatedRateAndLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_system_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_system_result.go
deleted file mode 100644
index 70fc417f..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_margin_system_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfMarginSystemResult struct for ApiResponseResultOfListOfMarginSystemResult
-type ApiResponseResultOfListOfMarginSystemResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []MarginSystemResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfMarginSystemResult ApiResponseResultOfListOfMarginSystemResult
-
-// NewApiResponseResultOfListOfMarginSystemResult instantiates a new ApiResponseResultOfListOfMarginSystemResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfMarginSystemResult() *ApiResponseResultOfListOfMarginSystemResult {
- this := ApiResponseResultOfListOfMarginSystemResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfMarginSystemResultWithDefaults instantiates a new ApiResponseResultOfListOfMarginSystemResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfMarginSystemResultWithDefaults() *ApiResponseResultOfListOfMarginSystemResult {
- this := ApiResponseResultOfListOfMarginSystemResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfMarginSystemResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetData() []MarginSystemResult {
- if o == nil || isNil(o.Data) {
- var ret []MarginSystemResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetDataOk() ([]MarginSystemResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []MarginSystemResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfMarginSystemResult) SetData(v []MarginSystemResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfMarginSystemResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfMarginSystemResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfMarginSystemResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfMarginSystemResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfMarginSystemResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfMarginSystemResult := _ApiResponseResultOfListOfMarginSystemResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfMarginSystemResult); err == nil {
- *o = ApiResponseResultOfListOfMarginSystemResult(varApiResponseResultOfListOfMarginSystemResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfMarginSystemResult struct {
- value *ApiResponseResultOfListOfMarginSystemResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfMarginSystemResult) Get() *ApiResponseResultOfListOfMarginSystemResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfMarginSystemResult) Set(val *ApiResponseResultOfListOfMarginSystemResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfMarginSystemResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfMarginSystemResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfMarginSystemResult(val *ApiResponseResultOfListOfMarginSystemResult) *NullableApiResponseResultOfListOfMarginSystemResult {
- return &NullableApiResponseResultOfListOfMarginSystemResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfMarginSystemResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfMarginSystemResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_spot_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_spot_info_result.go
deleted file mode 100644
index 9aac59a9..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_spot_info_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfSpotInfoResult struct for ApiResponseResultOfListOfSpotInfoResult
-type ApiResponseResultOfListOfSpotInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []SpotInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfSpotInfoResult ApiResponseResultOfListOfSpotInfoResult
-
-// NewApiResponseResultOfListOfSpotInfoResult instantiates a new ApiResponseResultOfListOfSpotInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfSpotInfoResult() *ApiResponseResultOfListOfSpotInfoResult {
- this := ApiResponseResultOfListOfSpotInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfSpotInfoResultWithDefaults instantiates a new ApiResponseResultOfListOfSpotInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfSpotInfoResultWithDefaults() *ApiResponseResultOfListOfSpotInfoResult {
- this := ApiResponseResultOfListOfSpotInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfSpotInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetData() []SpotInfoResult {
- if o == nil || isNil(o.Data) {
- var ret []SpotInfoResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetDataOk() ([]SpotInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []SpotInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfSpotInfoResult) SetData(v []SpotInfoResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfSpotInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfSpotInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfSpotInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfSpotInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfSpotInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfSpotInfoResult := _ApiResponseResultOfListOfSpotInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfSpotInfoResult); err == nil {
- *o = ApiResponseResultOfListOfSpotInfoResult(varApiResponseResultOfListOfSpotInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfSpotInfoResult struct {
- value *ApiResponseResultOfListOfSpotInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfSpotInfoResult) Get() *ApiResponseResultOfListOfSpotInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfSpotInfoResult) Set(val *ApiResponseResultOfListOfSpotInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfSpotInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfSpotInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfSpotInfoResult(val *ApiResponseResultOfListOfSpotInfoResult) *NullableApiResponseResultOfListOfSpotInfoResult {
- return &NullableApiResponseResultOfListOfSpotInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfSpotInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfSpotInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_trader_total_profit_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_trader_total_profit_list_result.go
deleted file mode 100644
index 01652880..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_list_of_trader_total_profit_list_result.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfListOfTraderTotalProfitListResult struct for ApiResponseResultOfListOfTraderTotalProfitListResult
-type ApiResponseResultOfListOfTraderTotalProfitListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data []TraderTotalProfitListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfListOfTraderTotalProfitListResult ApiResponseResultOfListOfTraderTotalProfitListResult
-
-// NewApiResponseResultOfListOfTraderTotalProfitListResult instantiates a new ApiResponseResultOfListOfTraderTotalProfitListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfListOfTraderTotalProfitListResult() *ApiResponseResultOfListOfTraderTotalProfitListResult {
- this := ApiResponseResultOfListOfTraderTotalProfitListResult{}
- return &this
-}
-
-// NewApiResponseResultOfListOfTraderTotalProfitListResultWithDefaults instantiates a new ApiResponseResultOfListOfTraderTotalProfitListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfListOfTraderTotalProfitListResultWithDefaults() *ApiResponseResultOfListOfTraderTotalProfitListResult {
- this := ApiResponseResultOfListOfTraderTotalProfitListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetData() []TraderTotalProfitListResult {
- if o == nil || isNil(o.Data) {
- var ret []TraderTotalProfitListResult
- return ret
- }
- return o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetDataOk() ([]TraderTotalProfitListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given []TraderTotalProfitListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetData(v []TraderTotalProfitListResult) {
- o.Data = v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfListOfTraderTotalProfitListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfListOfTraderTotalProfitListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfListOfTraderTotalProfitListResult := _ApiResponseResultOfListOfTraderTotalProfitListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfListOfTraderTotalProfitListResult); err == nil {
- *o = ApiResponseResultOfListOfTraderTotalProfitListResult(varApiResponseResultOfListOfTraderTotalProfitListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfListOfTraderTotalProfitListResult struct {
- value *ApiResponseResultOfListOfTraderTotalProfitListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfListOfTraderTotalProfitListResult) Get() *ApiResponseResultOfListOfTraderTotalProfitListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfListOfTraderTotalProfitListResult) Set(val *ApiResponseResultOfListOfTraderTotalProfitListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfListOfTraderTotalProfitListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfListOfTraderTotalProfitListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfListOfTraderTotalProfitListResult(val *ApiResponseResultOfListOfTraderTotalProfitListResult) *NullableApiResponseResultOfListOfTraderTotalProfitListResult {
- return &NullableApiResponseResultOfListOfTraderTotalProfitListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfListOfTraderTotalProfitListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfListOfTraderTotalProfitListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_cancel_order_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_cancel_order_result.go
deleted file mode 100644
index 83c2f76c..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_cancel_order_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginBatchCancelOrderResult struct for ApiResponseResultOfMarginBatchCancelOrderResult
-type ApiResponseResultOfMarginBatchCancelOrderResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginBatchCancelOrderResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginBatchCancelOrderResult ApiResponseResultOfMarginBatchCancelOrderResult
-
-// NewApiResponseResultOfMarginBatchCancelOrderResult instantiates a new ApiResponseResultOfMarginBatchCancelOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginBatchCancelOrderResult() *ApiResponseResultOfMarginBatchCancelOrderResult {
- this := ApiResponseResultOfMarginBatchCancelOrderResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginBatchCancelOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginBatchCancelOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginBatchCancelOrderResultWithDefaults() *ApiResponseResultOfMarginBatchCancelOrderResult {
- this := ApiResponseResultOfMarginBatchCancelOrderResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetData() MarginBatchCancelOrderResult {
- if o == nil || isNil(o.Data) {
- var ret MarginBatchCancelOrderResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetDataOk() (*MarginBatchCancelOrderResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginBatchCancelOrderResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetData(v MarginBatchCancelOrderResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginBatchCancelOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginBatchCancelOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginBatchCancelOrderResult := _ApiResponseResultOfMarginBatchCancelOrderResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginBatchCancelOrderResult); err == nil {
- *o = ApiResponseResultOfMarginBatchCancelOrderResult(varApiResponseResultOfMarginBatchCancelOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginBatchCancelOrderResult struct {
- value *ApiResponseResultOfMarginBatchCancelOrderResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginBatchCancelOrderResult) Get() *ApiResponseResultOfMarginBatchCancelOrderResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginBatchCancelOrderResult) Set(val *ApiResponseResultOfMarginBatchCancelOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginBatchCancelOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginBatchCancelOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginBatchCancelOrderResult(val *ApiResponseResultOfMarginBatchCancelOrderResult) *NullableApiResponseResultOfMarginBatchCancelOrderResult {
- return &NullableApiResponseResultOfMarginBatchCancelOrderResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginBatchCancelOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginBatchCancelOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_place_order_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_place_order_result.go
deleted file mode 100644
index cada8a0e..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_batch_place_order_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginBatchPlaceOrderResult struct for ApiResponseResultOfMarginBatchPlaceOrderResult
-type ApiResponseResultOfMarginBatchPlaceOrderResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginBatchPlaceOrderResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginBatchPlaceOrderResult ApiResponseResultOfMarginBatchPlaceOrderResult
-
-// NewApiResponseResultOfMarginBatchPlaceOrderResult instantiates a new ApiResponseResultOfMarginBatchPlaceOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginBatchPlaceOrderResult() *ApiResponseResultOfMarginBatchPlaceOrderResult {
- this := ApiResponseResultOfMarginBatchPlaceOrderResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginBatchPlaceOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginBatchPlaceOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginBatchPlaceOrderResultWithDefaults() *ApiResponseResultOfMarginBatchPlaceOrderResult {
- this := ApiResponseResultOfMarginBatchPlaceOrderResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetData() MarginBatchPlaceOrderResult {
- if o == nil || isNil(o.Data) {
- var ret MarginBatchPlaceOrderResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetDataOk() (*MarginBatchPlaceOrderResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginBatchPlaceOrderResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetData(v MarginBatchPlaceOrderResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginBatchPlaceOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginBatchPlaceOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginBatchPlaceOrderResult := _ApiResponseResultOfMarginBatchPlaceOrderResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginBatchPlaceOrderResult); err == nil {
- *o = ApiResponseResultOfMarginBatchPlaceOrderResult(varApiResponseResultOfMarginBatchPlaceOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginBatchPlaceOrderResult struct {
- value *ApiResponseResultOfMarginBatchPlaceOrderResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginBatchPlaceOrderResult) Get() *ApiResponseResultOfMarginBatchPlaceOrderResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginBatchPlaceOrderResult) Set(val *ApiResponseResultOfMarginBatchPlaceOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginBatchPlaceOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginBatchPlaceOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginBatchPlaceOrderResult(val *ApiResponseResultOfMarginBatchPlaceOrderResult) *NullableApiResponseResultOfMarginBatchPlaceOrderResult {
- return &NullableApiResponseResultOfMarginBatchPlaceOrderResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginBatchPlaceOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginBatchPlaceOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_result.go
deleted file mode 100644
index 8e66c355..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossAssetsResult struct for ApiResponseResultOfMarginCrossAssetsResult
-type ApiResponseResultOfMarginCrossAssetsResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossAssetsResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossAssetsResult ApiResponseResultOfMarginCrossAssetsResult
-
-// NewApiResponseResultOfMarginCrossAssetsResult instantiates a new ApiResponseResultOfMarginCrossAssetsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossAssetsResult() *ApiResponseResultOfMarginCrossAssetsResult {
- this := ApiResponseResultOfMarginCrossAssetsResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossAssetsResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossAssetsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossAssetsResultWithDefaults() *ApiResponseResultOfMarginCrossAssetsResult {
- this := ApiResponseResultOfMarginCrossAssetsResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetData() MarginCrossAssetsResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossAssetsResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetDataOk() (*MarginCrossAssetsResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossAssetsResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) SetData(v MarginCrossAssetsResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossAssetsResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossAssetsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossAssetsResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossAssetsResult := _ApiResponseResultOfMarginCrossAssetsResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossAssetsResult); err == nil {
- *o = ApiResponseResultOfMarginCrossAssetsResult(varApiResponseResultOfMarginCrossAssetsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossAssetsResult struct {
- value *ApiResponseResultOfMarginCrossAssetsResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsResult) Get() *ApiResponseResultOfMarginCrossAssetsResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsResult) Set(val *ApiResponseResultOfMarginCrossAssetsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossAssetsResult(val *ApiResponseResultOfMarginCrossAssetsResult) *NullableApiResponseResultOfMarginCrossAssetsResult {
- return &NullableApiResponseResultOfMarginCrossAssetsResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_risk_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_risk_result.go
deleted file mode 100644
index c2ee1ac3..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_assets_risk_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossAssetsRiskResult struct for ApiResponseResultOfMarginCrossAssetsRiskResult
-type ApiResponseResultOfMarginCrossAssetsRiskResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossAssetsRiskResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossAssetsRiskResult ApiResponseResultOfMarginCrossAssetsRiskResult
-
-// NewApiResponseResultOfMarginCrossAssetsRiskResult instantiates a new ApiResponseResultOfMarginCrossAssetsRiskResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossAssetsRiskResult() *ApiResponseResultOfMarginCrossAssetsRiskResult {
- this := ApiResponseResultOfMarginCrossAssetsRiskResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossAssetsRiskResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossAssetsRiskResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossAssetsRiskResultWithDefaults() *ApiResponseResultOfMarginCrossAssetsRiskResult {
- this := ApiResponseResultOfMarginCrossAssetsRiskResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetData() MarginCrossAssetsRiskResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossAssetsRiskResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetDataOk() (*MarginCrossAssetsRiskResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossAssetsRiskResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetData(v MarginCrossAssetsRiskResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossAssetsRiskResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossAssetsRiskResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossAssetsRiskResult := _ApiResponseResultOfMarginCrossAssetsRiskResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossAssetsRiskResult); err == nil {
- *o = ApiResponseResultOfMarginCrossAssetsRiskResult(varApiResponseResultOfMarginCrossAssetsRiskResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossAssetsRiskResult struct {
- value *ApiResponseResultOfMarginCrossAssetsRiskResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsRiskResult) Get() *ApiResponseResultOfMarginCrossAssetsRiskResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsRiskResult) Set(val *ApiResponseResultOfMarginCrossAssetsRiskResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsRiskResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsRiskResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossAssetsRiskResult(val *ApiResponseResultOfMarginCrossAssetsRiskResult) *NullableApiResponseResultOfMarginCrossAssetsRiskResult {
- return &NullableApiResponseResultOfMarginCrossAssetsRiskResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossAssetsRiskResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossAssetsRiskResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_borrow_limit_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_borrow_limit_result.go
deleted file mode 100644
index e2180be7..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_borrow_limit_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossBorrowLimitResult struct for ApiResponseResultOfMarginCrossBorrowLimitResult
-type ApiResponseResultOfMarginCrossBorrowLimitResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossBorrowLimitResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossBorrowLimitResult ApiResponseResultOfMarginCrossBorrowLimitResult
-
-// NewApiResponseResultOfMarginCrossBorrowLimitResult instantiates a new ApiResponseResultOfMarginCrossBorrowLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossBorrowLimitResult() *ApiResponseResultOfMarginCrossBorrowLimitResult {
- this := ApiResponseResultOfMarginCrossBorrowLimitResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossBorrowLimitResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossBorrowLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossBorrowLimitResultWithDefaults() *ApiResponseResultOfMarginCrossBorrowLimitResult {
- this := ApiResponseResultOfMarginCrossBorrowLimitResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetData() MarginCrossBorrowLimitResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossBorrowLimitResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetDataOk() (*MarginCrossBorrowLimitResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossBorrowLimitResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetData(v MarginCrossBorrowLimitResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossBorrowLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossBorrowLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossBorrowLimitResult := _ApiResponseResultOfMarginCrossBorrowLimitResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossBorrowLimitResult); err == nil {
- *o = ApiResponseResultOfMarginCrossBorrowLimitResult(varApiResponseResultOfMarginCrossBorrowLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossBorrowLimitResult struct {
- value *ApiResponseResultOfMarginCrossBorrowLimitResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossBorrowLimitResult) Get() *ApiResponseResultOfMarginCrossBorrowLimitResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossBorrowLimitResult) Set(val *ApiResponseResultOfMarginCrossBorrowLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossBorrowLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossBorrowLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossBorrowLimitResult(val *ApiResponseResultOfMarginCrossBorrowLimitResult) *NullableApiResponseResultOfMarginCrossBorrowLimitResult {
- return &NullableApiResponseResultOfMarginCrossBorrowLimitResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossBorrowLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossBorrowLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_fin_flow_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_fin_flow_result.go
deleted file mode 100644
index 692bffd9..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_fin_flow_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossFinFlowResult struct for ApiResponseResultOfMarginCrossFinFlowResult
-type ApiResponseResultOfMarginCrossFinFlowResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossFinFlowResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossFinFlowResult ApiResponseResultOfMarginCrossFinFlowResult
-
-// NewApiResponseResultOfMarginCrossFinFlowResult instantiates a new ApiResponseResultOfMarginCrossFinFlowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossFinFlowResult() *ApiResponseResultOfMarginCrossFinFlowResult {
- this := ApiResponseResultOfMarginCrossFinFlowResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossFinFlowResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossFinFlowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossFinFlowResultWithDefaults() *ApiResponseResultOfMarginCrossFinFlowResult {
- this := ApiResponseResultOfMarginCrossFinFlowResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetData() MarginCrossFinFlowResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossFinFlowResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetDataOk() (*MarginCrossFinFlowResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossFinFlowResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetData(v MarginCrossFinFlowResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossFinFlowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossFinFlowResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossFinFlowResult := _ApiResponseResultOfMarginCrossFinFlowResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossFinFlowResult); err == nil {
- *o = ApiResponseResultOfMarginCrossFinFlowResult(varApiResponseResultOfMarginCrossFinFlowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossFinFlowResult struct {
- value *ApiResponseResultOfMarginCrossFinFlowResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossFinFlowResult) Get() *ApiResponseResultOfMarginCrossFinFlowResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossFinFlowResult) Set(val *ApiResponseResultOfMarginCrossFinFlowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossFinFlowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossFinFlowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossFinFlowResult(val *ApiResponseResultOfMarginCrossFinFlowResult) *NullableApiResponseResultOfMarginCrossFinFlowResult {
- return &NullableApiResponseResultOfMarginCrossFinFlowResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossFinFlowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossFinFlowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_max_borrow_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_max_borrow_result.go
deleted file mode 100644
index 74b35e70..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_max_borrow_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossMaxBorrowResult struct for ApiResponseResultOfMarginCrossMaxBorrowResult
-type ApiResponseResultOfMarginCrossMaxBorrowResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossMaxBorrowResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossMaxBorrowResult ApiResponseResultOfMarginCrossMaxBorrowResult
-
-// NewApiResponseResultOfMarginCrossMaxBorrowResult instantiates a new ApiResponseResultOfMarginCrossMaxBorrowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossMaxBorrowResult() *ApiResponseResultOfMarginCrossMaxBorrowResult {
- this := ApiResponseResultOfMarginCrossMaxBorrowResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossMaxBorrowResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossMaxBorrowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossMaxBorrowResultWithDefaults() *ApiResponseResultOfMarginCrossMaxBorrowResult {
- this := ApiResponseResultOfMarginCrossMaxBorrowResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetData() MarginCrossMaxBorrowResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossMaxBorrowResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetDataOk() (*MarginCrossMaxBorrowResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossMaxBorrowResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetData(v MarginCrossMaxBorrowResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossMaxBorrowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossMaxBorrowResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossMaxBorrowResult := _ApiResponseResultOfMarginCrossMaxBorrowResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossMaxBorrowResult); err == nil {
- *o = ApiResponseResultOfMarginCrossMaxBorrowResult(varApiResponseResultOfMarginCrossMaxBorrowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossMaxBorrowResult struct {
- value *ApiResponseResultOfMarginCrossMaxBorrowResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossMaxBorrowResult) Get() *ApiResponseResultOfMarginCrossMaxBorrowResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossMaxBorrowResult) Set(val *ApiResponseResultOfMarginCrossMaxBorrowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossMaxBorrowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossMaxBorrowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossMaxBorrowResult(val *ApiResponseResultOfMarginCrossMaxBorrowResult) *NullableApiResponseResultOfMarginCrossMaxBorrowResult {
- return &NullableApiResponseResultOfMarginCrossMaxBorrowResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossMaxBorrowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossMaxBorrowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_repay_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_repay_result.go
deleted file mode 100644
index ab83b984..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_cross_repay_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginCrossRepayResult struct for ApiResponseResultOfMarginCrossRepayResult
-type ApiResponseResultOfMarginCrossRepayResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginCrossRepayResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginCrossRepayResult ApiResponseResultOfMarginCrossRepayResult
-
-// NewApiResponseResultOfMarginCrossRepayResult instantiates a new ApiResponseResultOfMarginCrossRepayResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginCrossRepayResult() *ApiResponseResultOfMarginCrossRepayResult {
- this := ApiResponseResultOfMarginCrossRepayResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginCrossRepayResultWithDefaults instantiates a new ApiResponseResultOfMarginCrossRepayResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginCrossRepayResultWithDefaults() *ApiResponseResultOfMarginCrossRepayResult {
- this := ApiResponseResultOfMarginCrossRepayResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginCrossRepayResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetData() MarginCrossRepayResult {
- if o == nil || isNil(o.Data) {
- var ret MarginCrossRepayResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetDataOk() (*MarginCrossRepayResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginCrossRepayResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginCrossRepayResult) SetData(v MarginCrossRepayResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginCrossRepayResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginCrossRepayResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginCrossRepayResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginCrossRepayResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginCrossRepayResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginCrossRepayResult := _ApiResponseResultOfMarginCrossRepayResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginCrossRepayResult); err == nil {
- *o = ApiResponseResultOfMarginCrossRepayResult(varApiResponseResultOfMarginCrossRepayResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginCrossRepayResult struct {
- value *ApiResponseResultOfMarginCrossRepayResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginCrossRepayResult) Get() *ApiResponseResultOfMarginCrossRepayResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginCrossRepayResult) Set(val *ApiResponseResultOfMarginCrossRepayResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginCrossRepayResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginCrossRepayResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginCrossRepayResult(val *ApiResponseResultOfMarginCrossRepayResult) *NullableApiResponseResultOfMarginCrossRepayResult {
- return &NullableApiResponseResultOfMarginCrossRepayResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginCrossRepayResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginCrossRepayResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_interest_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_interest_info_result.go
deleted file mode 100644
index 729bf01d..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_interest_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginInterestInfoResult struct for ApiResponseResultOfMarginInterestInfoResult
-type ApiResponseResultOfMarginInterestInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginInterestInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginInterestInfoResult ApiResponseResultOfMarginInterestInfoResult
-
-// NewApiResponseResultOfMarginInterestInfoResult instantiates a new ApiResponseResultOfMarginInterestInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginInterestInfoResult() *ApiResponseResultOfMarginInterestInfoResult {
- this := ApiResponseResultOfMarginInterestInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginInterestInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginInterestInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginInterestInfoResultWithDefaults() *ApiResponseResultOfMarginInterestInfoResult {
- this := ApiResponseResultOfMarginInterestInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginInterestInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetData() MarginInterestInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginInterestInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetDataOk() (*MarginInterestInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginInterestInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginInterestInfoResult) SetData(v MarginInterestInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginInterestInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginInterestInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginInterestInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginInterestInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginInterestInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginInterestInfoResult := _ApiResponseResultOfMarginInterestInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginInterestInfoResult); err == nil {
- *o = ApiResponseResultOfMarginInterestInfoResult(varApiResponseResultOfMarginInterestInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginInterestInfoResult struct {
- value *ApiResponseResultOfMarginInterestInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginInterestInfoResult) Get() *ApiResponseResultOfMarginInterestInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginInterestInfoResult) Set(val *ApiResponseResultOfMarginInterestInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginInterestInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginInterestInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginInterestInfoResult(val *ApiResponseResultOfMarginInterestInfoResult) *NullableApiResponseResultOfMarginInterestInfoResult {
- return &NullableApiResponseResultOfMarginInterestInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginInterestInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginInterestInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_assets_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_assets_result.go
deleted file mode 100644
index 3a87d06a..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_assets_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedAssetsResult struct for ApiResponseResultOfMarginIsolatedAssetsResult
-type ApiResponseResultOfMarginIsolatedAssetsResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedAssetsResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedAssetsResult ApiResponseResultOfMarginIsolatedAssetsResult
-
-// NewApiResponseResultOfMarginIsolatedAssetsResult instantiates a new ApiResponseResultOfMarginIsolatedAssetsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedAssetsResult() *ApiResponseResultOfMarginIsolatedAssetsResult {
- this := ApiResponseResultOfMarginIsolatedAssetsResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedAssetsResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedAssetsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedAssetsResultWithDefaults() *ApiResponseResultOfMarginIsolatedAssetsResult {
- this := ApiResponseResultOfMarginIsolatedAssetsResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetData() MarginIsolatedAssetsResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedAssetsResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetDataOk() (*MarginIsolatedAssetsResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedAssetsResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetData(v MarginIsolatedAssetsResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedAssetsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedAssetsResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedAssetsResult := _ApiResponseResultOfMarginIsolatedAssetsResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedAssetsResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedAssetsResult(varApiResponseResultOfMarginIsolatedAssetsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedAssetsResult struct {
- value *ApiResponseResultOfMarginIsolatedAssetsResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedAssetsResult) Get() *ApiResponseResultOfMarginIsolatedAssetsResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedAssetsResult) Set(val *ApiResponseResultOfMarginIsolatedAssetsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedAssetsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedAssetsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedAssetsResult(val *ApiResponseResultOfMarginIsolatedAssetsResult) *NullableApiResponseResultOfMarginIsolatedAssetsResult {
- return &NullableApiResponseResultOfMarginIsolatedAssetsResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedAssetsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedAssetsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_borrow_limit_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_borrow_limit_result.go
deleted file mode 100644
index e0616932..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_borrow_limit_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedBorrowLimitResult struct for ApiResponseResultOfMarginIsolatedBorrowLimitResult
-type ApiResponseResultOfMarginIsolatedBorrowLimitResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedBorrowLimitResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedBorrowLimitResult ApiResponseResultOfMarginIsolatedBorrowLimitResult
-
-// NewApiResponseResultOfMarginIsolatedBorrowLimitResult instantiates a new ApiResponseResultOfMarginIsolatedBorrowLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedBorrowLimitResult() *ApiResponseResultOfMarginIsolatedBorrowLimitResult {
- this := ApiResponseResultOfMarginIsolatedBorrowLimitResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedBorrowLimitResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedBorrowLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedBorrowLimitResultWithDefaults() *ApiResponseResultOfMarginIsolatedBorrowLimitResult {
- this := ApiResponseResultOfMarginIsolatedBorrowLimitResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetData() MarginIsolatedBorrowLimitResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedBorrowLimitResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetDataOk() (*MarginIsolatedBorrowLimitResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedBorrowLimitResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetData(v MarginIsolatedBorrowLimitResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedBorrowLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedBorrowLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedBorrowLimitResult := _ApiResponseResultOfMarginIsolatedBorrowLimitResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedBorrowLimitResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedBorrowLimitResult(varApiResponseResultOfMarginIsolatedBorrowLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedBorrowLimitResult struct {
- value *ApiResponseResultOfMarginIsolatedBorrowLimitResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) Get() *ApiResponseResultOfMarginIsolatedBorrowLimitResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) Set(val *ApiResponseResultOfMarginIsolatedBorrowLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedBorrowLimitResult(val *ApiResponseResultOfMarginIsolatedBorrowLimitResult) *NullableApiResponseResultOfMarginIsolatedBorrowLimitResult {
- return &NullableApiResponseResultOfMarginIsolatedBorrowLimitResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedBorrowLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_fin_flow_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_fin_flow_result.go
deleted file mode 100644
index 96120ea4..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_fin_flow_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedFinFlowResult struct for ApiResponseResultOfMarginIsolatedFinFlowResult
-type ApiResponseResultOfMarginIsolatedFinFlowResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedFinFlowResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedFinFlowResult ApiResponseResultOfMarginIsolatedFinFlowResult
-
-// NewApiResponseResultOfMarginIsolatedFinFlowResult instantiates a new ApiResponseResultOfMarginIsolatedFinFlowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedFinFlowResult() *ApiResponseResultOfMarginIsolatedFinFlowResult {
- this := ApiResponseResultOfMarginIsolatedFinFlowResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedFinFlowResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedFinFlowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedFinFlowResultWithDefaults() *ApiResponseResultOfMarginIsolatedFinFlowResult {
- this := ApiResponseResultOfMarginIsolatedFinFlowResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetData() MarginIsolatedFinFlowResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedFinFlowResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetDataOk() (*MarginIsolatedFinFlowResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedFinFlowResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetData(v MarginIsolatedFinFlowResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedFinFlowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedFinFlowResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedFinFlowResult := _ApiResponseResultOfMarginIsolatedFinFlowResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedFinFlowResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedFinFlowResult(varApiResponseResultOfMarginIsolatedFinFlowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedFinFlowResult struct {
- value *ApiResponseResultOfMarginIsolatedFinFlowResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedFinFlowResult) Get() *ApiResponseResultOfMarginIsolatedFinFlowResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedFinFlowResult) Set(val *ApiResponseResultOfMarginIsolatedFinFlowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedFinFlowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedFinFlowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedFinFlowResult(val *ApiResponseResultOfMarginIsolatedFinFlowResult) *NullableApiResponseResultOfMarginIsolatedFinFlowResult {
- return &NullableApiResponseResultOfMarginIsolatedFinFlowResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedFinFlowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedFinFlowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_interest_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_interest_info_result.go
deleted file mode 100644
index e0573863..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_interest_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedInterestInfoResult struct for ApiResponseResultOfMarginIsolatedInterestInfoResult
-type ApiResponseResultOfMarginIsolatedInterestInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedInterestInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedInterestInfoResult ApiResponseResultOfMarginIsolatedInterestInfoResult
-
-// NewApiResponseResultOfMarginIsolatedInterestInfoResult instantiates a new ApiResponseResultOfMarginIsolatedInterestInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedInterestInfoResult() *ApiResponseResultOfMarginIsolatedInterestInfoResult {
- this := ApiResponseResultOfMarginIsolatedInterestInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedInterestInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedInterestInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedInterestInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedInterestInfoResult {
- this := ApiResponseResultOfMarginIsolatedInterestInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetData() MarginIsolatedInterestInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedInterestInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetDataOk() (*MarginIsolatedInterestInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedInterestInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetData(v MarginIsolatedInterestInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedInterestInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedInterestInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedInterestInfoResult := _ApiResponseResultOfMarginIsolatedInterestInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedInterestInfoResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedInterestInfoResult(varApiResponseResultOfMarginIsolatedInterestInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedInterestInfoResult struct {
- value *ApiResponseResultOfMarginIsolatedInterestInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedInterestInfoResult) Get() *ApiResponseResultOfMarginIsolatedInterestInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedInterestInfoResult) Set(val *ApiResponseResultOfMarginIsolatedInterestInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedInterestInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedInterestInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedInterestInfoResult(val *ApiResponseResultOfMarginIsolatedInterestInfoResult) *NullableApiResponseResultOfMarginIsolatedInterestInfoResult {
- return &NullableApiResponseResultOfMarginIsolatedInterestInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedInterestInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedInterestInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_liquidation_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_liquidation_info_result.go
deleted file mode 100644
index c0259e9e..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_liquidation_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedLiquidationInfoResult struct for ApiResponseResultOfMarginIsolatedLiquidationInfoResult
-type ApiResponseResultOfMarginIsolatedLiquidationInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedLiquidationInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedLiquidationInfoResult ApiResponseResultOfMarginIsolatedLiquidationInfoResult
-
-// NewApiResponseResultOfMarginIsolatedLiquidationInfoResult instantiates a new ApiResponseResultOfMarginIsolatedLiquidationInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedLiquidationInfoResult() *ApiResponseResultOfMarginIsolatedLiquidationInfoResult {
- this := ApiResponseResultOfMarginIsolatedLiquidationInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedLiquidationInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedLiquidationInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedLiquidationInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedLiquidationInfoResult {
- this := ApiResponseResultOfMarginIsolatedLiquidationInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetData() MarginIsolatedLiquidationInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedLiquidationInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetDataOk() (*MarginIsolatedLiquidationInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedLiquidationInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetData(v MarginIsolatedLiquidationInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedLiquidationInfoResult := _ApiResponseResultOfMarginIsolatedLiquidationInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedLiquidationInfoResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedLiquidationInfoResult(varApiResponseResultOfMarginIsolatedLiquidationInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult struct {
- value *ApiResponseResultOfMarginIsolatedLiquidationInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) Get() *ApiResponseResultOfMarginIsolatedLiquidationInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) Set(val *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedLiquidationInfoResult(val *ApiResponseResultOfMarginIsolatedLiquidationInfoResult) *NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult {
- return &NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLiquidationInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_loan_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_loan_info_result.go
deleted file mode 100644
index e73cbbd2..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_loan_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedLoanInfoResult struct for ApiResponseResultOfMarginIsolatedLoanInfoResult
-type ApiResponseResultOfMarginIsolatedLoanInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedLoanInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedLoanInfoResult ApiResponseResultOfMarginIsolatedLoanInfoResult
-
-// NewApiResponseResultOfMarginIsolatedLoanInfoResult instantiates a new ApiResponseResultOfMarginIsolatedLoanInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedLoanInfoResult() *ApiResponseResultOfMarginIsolatedLoanInfoResult {
- this := ApiResponseResultOfMarginIsolatedLoanInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedLoanInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedLoanInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedLoanInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedLoanInfoResult {
- this := ApiResponseResultOfMarginIsolatedLoanInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetData() MarginIsolatedLoanInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedLoanInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetDataOk() (*MarginIsolatedLoanInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedLoanInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetData(v MarginIsolatedLoanInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedLoanInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedLoanInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedLoanInfoResult := _ApiResponseResultOfMarginIsolatedLoanInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedLoanInfoResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedLoanInfoResult(varApiResponseResultOfMarginIsolatedLoanInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedLoanInfoResult struct {
- value *ApiResponseResultOfMarginIsolatedLoanInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLoanInfoResult) Get() *ApiResponseResultOfMarginIsolatedLoanInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLoanInfoResult) Set(val *ApiResponseResultOfMarginIsolatedLoanInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLoanInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLoanInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedLoanInfoResult(val *ApiResponseResultOfMarginIsolatedLoanInfoResult) *NullableApiResponseResultOfMarginIsolatedLoanInfoResult {
- return &NullableApiResponseResultOfMarginIsolatedLoanInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedLoanInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedLoanInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_max_borrow_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_max_borrow_result.go
deleted file mode 100644
index 27cabeb4..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_max_borrow_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedMaxBorrowResult struct for ApiResponseResultOfMarginIsolatedMaxBorrowResult
-type ApiResponseResultOfMarginIsolatedMaxBorrowResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedMaxBorrowResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedMaxBorrowResult ApiResponseResultOfMarginIsolatedMaxBorrowResult
-
-// NewApiResponseResultOfMarginIsolatedMaxBorrowResult instantiates a new ApiResponseResultOfMarginIsolatedMaxBorrowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedMaxBorrowResult() *ApiResponseResultOfMarginIsolatedMaxBorrowResult {
- this := ApiResponseResultOfMarginIsolatedMaxBorrowResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedMaxBorrowResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedMaxBorrowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedMaxBorrowResultWithDefaults() *ApiResponseResultOfMarginIsolatedMaxBorrowResult {
- this := ApiResponseResultOfMarginIsolatedMaxBorrowResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetData() MarginIsolatedMaxBorrowResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedMaxBorrowResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetDataOk() (*MarginIsolatedMaxBorrowResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedMaxBorrowResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetData(v MarginIsolatedMaxBorrowResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedMaxBorrowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedMaxBorrowResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedMaxBorrowResult := _ApiResponseResultOfMarginIsolatedMaxBorrowResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedMaxBorrowResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedMaxBorrowResult(varApiResponseResultOfMarginIsolatedMaxBorrowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedMaxBorrowResult struct {
- value *ApiResponseResultOfMarginIsolatedMaxBorrowResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) Get() *ApiResponseResultOfMarginIsolatedMaxBorrowResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) Set(val *ApiResponseResultOfMarginIsolatedMaxBorrowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedMaxBorrowResult(val *ApiResponseResultOfMarginIsolatedMaxBorrowResult) *NullableApiResponseResultOfMarginIsolatedMaxBorrowResult {
- return &NullableApiResponseResultOfMarginIsolatedMaxBorrowResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedMaxBorrowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_info_result.go
deleted file mode 100644
index 95aefd9c..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedRepayInfoResult struct for ApiResponseResultOfMarginIsolatedRepayInfoResult
-type ApiResponseResultOfMarginIsolatedRepayInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedRepayInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedRepayInfoResult ApiResponseResultOfMarginIsolatedRepayInfoResult
-
-// NewApiResponseResultOfMarginIsolatedRepayInfoResult instantiates a new ApiResponseResultOfMarginIsolatedRepayInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedRepayInfoResult() *ApiResponseResultOfMarginIsolatedRepayInfoResult {
- this := ApiResponseResultOfMarginIsolatedRepayInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedRepayInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedRepayInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedRepayInfoResultWithDefaults() *ApiResponseResultOfMarginIsolatedRepayInfoResult {
- this := ApiResponseResultOfMarginIsolatedRepayInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetData() MarginIsolatedRepayInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedRepayInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetDataOk() (*MarginIsolatedRepayInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedRepayInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetData(v MarginIsolatedRepayInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedRepayInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedRepayInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedRepayInfoResult := _ApiResponseResultOfMarginIsolatedRepayInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedRepayInfoResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedRepayInfoResult(varApiResponseResultOfMarginIsolatedRepayInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedRepayInfoResult struct {
- value *ApiResponseResultOfMarginIsolatedRepayInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayInfoResult) Get() *ApiResponseResultOfMarginIsolatedRepayInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayInfoResult) Set(val *ApiResponseResultOfMarginIsolatedRepayInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedRepayInfoResult(val *ApiResponseResultOfMarginIsolatedRepayInfoResult) *NullableApiResponseResultOfMarginIsolatedRepayInfoResult {
- return &NullableApiResponseResultOfMarginIsolatedRepayInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_result.go
deleted file mode 100644
index e1c832e9..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_isolated_repay_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginIsolatedRepayResult struct for ApiResponseResultOfMarginIsolatedRepayResult
-type ApiResponseResultOfMarginIsolatedRepayResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginIsolatedRepayResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginIsolatedRepayResult ApiResponseResultOfMarginIsolatedRepayResult
-
-// NewApiResponseResultOfMarginIsolatedRepayResult instantiates a new ApiResponseResultOfMarginIsolatedRepayResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginIsolatedRepayResult() *ApiResponseResultOfMarginIsolatedRepayResult {
- this := ApiResponseResultOfMarginIsolatedRepayResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginIsolatedRepayResultWithDefaults instantiates a new ApiResponseResultOfMarginIsolatedRepayResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginIsolatedRepayResultWithDefaults() *ApiResponseResultOfMarginIsolatedRepayResult {
- this := ApiResponseResultOfMarginIsolatedRepayResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetData() MarginIsolatedRepayResult {
- if o == nil || isNil(o.Data) {
- var ret MarginIsolatedRepayResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetDataOk() (*MarginIsolatedRepayResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginIsolatedRepayResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetData(v MarginIsolatedRepayResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginIsolatedRepayResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginIsolatedRepayResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginIsolatedRepayResult := _ApiResponseResultOfMarginIsolatedRepayResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginIsolatedRepayResult); err == nil {
- *o = ApiResponseResultOfMarginIsolatedRepayResult(varApiResponseResultOfMarginIsolatedRepayResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginIsolatedRepayResult struct {
- value *ApiResponseResultOfMarginIsolatedRepayResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayResult) Get() *ApiResponseResultOfMarginIsolatedRepayResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayResult) Set(val *ApiResponseResultOfMarginIsolatedRepayResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginIsolatedRepayResult(val *ApiResponseResultOfMarginIsolatedRepayResult) *NullableApiResponseResultOfMarginIsolatedRepayResult {
- return &NullableApiResponseResultOfMarginIsolatedRepayResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginIsolatedRepayResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginIsolatedRepayResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_liquidation_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_liquidation_info_result.go
deleted file mode 100644
index 600e1058..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_liquidation_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginLiquidationInfoResult struct for ApiResponseResultOfMarginLiquidationInfoResult
-type ApiResponseResultOfMarginLiquidationInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginLiquidationInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginLiquidationInfoResult ApiResponseResultOfMarginLiquidationInfoResult
-
-// NewApiResponseResultOfMarginLiquidationInfoResult instantiates a new ApiResponseResultOfMarginLiquidationInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginLiquidationInfoResult() *ApiResponseResultOfMarginLiquidationInfoResult {
- this := ApiResponseResultOfMarginLiquidationInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginLiquidationInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginLiquidationInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginLiquidationInfoResultWithDefaults() *ApiResponseResultOfMarginLiquidationInfoResult {
- this := ApiResponseResultOfMarginLiquidationInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetData() MarginLiquidationInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginLiquidationInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetDataOk() (*MarginLiquidationInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginLiquidationInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetData(v MarginLiquidationInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginLiquidationInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginLiquidationInfoResult := _ApiResponseResultOfMarginLiquidationInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginLiquidationInfoResult); err == nil {
- *o = ApiResponseResultOfMarginLiquidationInfoResult(varApiResponseResultOfMarginLiquidationInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginLiquidationInfoResult struct {
- value *ApiResponseResultOfMarginLiquidationInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginLiquidationInfoResult) Get() *ApiResponseResultOfMarginLiquidationInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginLiquidationInfoResult) Set(val *ApiResponseResultOfMarginLiquidationInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginLiquidationInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginLiquidationInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginLiquidationInfoResult(val *ApiResponseResultOfMarginLiquidationInfoResult) *NullableApiResponseResultOfMarginLiquidationInfoResult {
- return &NullableApiResponseResultOfMarginLiquidationInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginLiquidationInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_loan_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_loan_info_result.go
deleted file mode 100644
index e1201185..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_loan_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginLoanInfoResult struct for ApiResponseResultOfMarginLoanInfoResult
-type ApiResponseResultOfMarginLoanInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginLoanInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginLoanInfoResult ApiResponseResultOfMarginLoanInfoResult
-
-// NewApiResponseResultOfMarginLoanInfoResult instantiates a new ApiResponseResultOfMarginLoanInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginLoanInfoResult() *ApiResponseResultOfMarginLoanInfoResult {
- this := ApiResponseResultOfMarginLoanInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginLoanInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginLoanInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginLoanInfoResultWithDefaults() *ApiResponseResultOfMarginLoanInfoResult {
- this := ApiResponseResultOfMarginLoanInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginLoanInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetData() MarginLoanInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginLoanInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetDataOk() (*MarginLoanInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginLoanInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginLoanInfoResult) SetData(v MarginLoanInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginLoanInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginLoanInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginLoanInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginLoanInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginLoanInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginLoanInfoResult := _ApiResponseResultOfMarginLoanInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginLoanInfoResult); err == nil {
- *o = ApiResponseResultOfMarginLoanInfoResult(varApiResponseResultOfMarginLoanInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginLoanInfoResult struct {
- value *ApiResponseResultOfMarginLoanInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginLoanInfoResult) Get() *ApiResponseResultOfMarginLoanInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginLoanInfoResult) Set(val *ApiResponseResultOfMarginLoanInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginLoanInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginLoanInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginLoanInfoResult(val *ApiResponseResultOfMarginLoanInfoResult) *NullableApiResponseResultOfMarginLoanInfoResult {
- return &NullableApiResponseResultOfMarginLoanInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginLoanInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginLoanInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_open_order_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_open_order_info_result.go
deleted file mode 100644
index 0ddc1c0a..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_open_order_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginOpenOrderInfoResult struct for ApiResponseResultOfMarginOpenOrderInfoResult
-type ApiResponseResultOfMarginOpenOrderInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginOpenOrderInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginOpenOrderInfoResult ApiResponseResultOfMarginOpenOrderInfoResult
-
-// NewApiResponseResultOfMarginOpenOrderInfoResult instantiates a new ApiResponseResultOfMarginOpenOrderInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginOpenOrderInfoResult() *ApiResponseResultOfMarginOpenOrderInfoResult {
- this := ApiResponseResultOfMarginOpenOrderInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginOpenOrderInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginOpenOrderInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginOpenOrderInfoResultWithDefaults() *ApiResponseResultOfMarginOpenOrderInfoResult {
- this := ApiResponseResultOfMarginOpenOrderInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetData() MarginOpenOrderInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginOpenOrderInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetDataOk() (*MarginOpenOrderInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginOpenOrderInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetData(v MarginOpenOrderInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginOpenOrderInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginOpenOrderInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginOpenOrderInfoResult := _ApiResponseResultOfMarginOpenOrderInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginOpenOrderInfoResult); err == nil {
- *o = ApiResponseResultOfMarginOpenOrderInfoResult(varApiResponseResultOfMarginOpenOrderInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginOpenOrderInfoResult struct {
- value *ApiResponseResultOfMarginOpenOrderInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginOpenOrderInfoResult) Get() *ApiResponseResultOfMarginOpenOrderInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginOpenOrderInfoResult) Set(val *ApiResponseResultOfMarginOpenOrderInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginOpenOrderInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginOpenOrderInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginOpenOrderInfoResult(val *ApiResponseResultOfMarginOpenOrderInfoResult) *NullableApiResponseResultOfMarginOpenOrderInfoResult {
- return &NullableApiResponseResultOfMarginOpenOrderInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginOpenOrderInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginOpenOrderInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_place_order_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_place_order_result.go
deleted file mode 100644
index c667e685..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_place_order_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginPlaceOrderResult struct for ApiResponseResultOfMarginPlaceOrderResult
-type ApiResponseResultOfMarginPlaceOrderResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginPlaceOrderResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginPlaceOrderResult ApiResponseResultOfMarginPlaceOrderResult
-
-// NewApiResponseResultOfMarginPlaceOrderResult instantiates a new ApiResponseResultOfMarginPlaceOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginPlaceOrderResult() *ApiResponseResultOfMarginPlaceOrderResult {
- this := ApiResponseResultOfMarginPlaceOrderResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginPlaceOrderResultWithDefaults instantiates a new ApiResponseResultOfMarginPlaceOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginPlaceOrderResultWithDefaults() *ApiResponseResultOfMarginPlaceOrderResult {
- this := ApiResponseResultOfMarginPlaceOrderResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetData() MarginPlaceOrderResult {
- if o == nil || isNil(o.Data) {
- var ret MarginPlaceOrderResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetDataOk() (*MarginPlaceOrderResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginPlaceOrderResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) SetData(v MarginPlaceOrderResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginPlaceOrderResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginPlaceOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginPlaceOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginPlaceOrderResult := _ApiResponseResultOfMarginPlaceOrderResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginPlaceOrderResult); err == nil {
- *o = ApiResponseResultOfMarginPlaceOrderResult(varApiResponseResultOfMarginPlaceOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginPlaceOrderResult struct {
- value *ApiResponseResultOfMarginPlaceOrderResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginPlaceOrderResult) Get() *ApiResponseResultOfMarginPlaceOrderResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginPlaceOrderResult) Set(val *ApiResponseResultOfMarginPlaceOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginPlaceOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginPlaceOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginPlaceOrderResult(val *ApiResponseResultOfMarginPlaceOrderResult) *NullableApiResponseResultOfMarginPlaceOrderResult {
- return &NullableApiResponseResultOfMarginPlaceOrderResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginPlaceOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginPlaceOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_repay_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_repay_info_result.go
deleted file mode 100644
index 5ca6efa1..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_repay_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginRepayInfoResult struct for ApiResponseResultOfMarginRepayInfoResult
-type ApiResponseResultOfMarginRepayInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginRepayInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginRepayInfoResult ApiResponseResultOfMarginRepayInfoResult
-
-// NewApiResponseResultOfMarginRepayInfoResult instantiates a new ApiResponseResultOfMarginRepayInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginRepayInfoResult() *ApiResponseResultOfMarginRepayInfoResult {
- this := ApiResponseResultOfMarginRepayInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginRepayInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginRepayInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginRepayInfoResultWithDefaults() *ApiResponseResultOfMarginRepayInfoResult {
- this := ApiResponseResultOfMarginRepayInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginRepayInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetData() MarginRepayInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginRepayInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetDataOk() (*MarginRepayInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginRepayInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginRepayInfoResult) SetData(v MarginRepayInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginRepayInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginRepayInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginRepayInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginRepayInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginRepayInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginRepayInfoResult := _ApiResponseResultOfMarginRepayInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginRepayInfoResult); err == nil {
- *o = ApiResponseResultOfMarginRepayInfoResult(varApiResponseResultOfMarginRepayInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginRepayInfoResult struct {
- value *ApiResponseResultOfMarginRepayInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginRepayInfoResult) Get() *ApiResponseResultOfMarginRepayInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginRepayInfoResult) Set(val *ApiResponseResultOfMarginRepayInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginRepayInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginRepayInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginRepayInfoResult(val *ApiResponseResultOfMarginRepayInfoResult) *NullableApiResponseResultOfMarginRepayInfoResult {
- return &NullableApiResponseResultOfMarginRepayInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginRepayInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginRepayInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_trade_detail_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_margin_trade_detail_info_result.go
deleted file mode 100644
index b65e538d..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_margin_trade_detail_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMarginTradeDetailInfoResult struct for ApiResponseResultOfMarginTradeDetailInfoResult
-type ApiResponseResultOfMarginTradeDetailInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MarginTradeDetailInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMarginTradeDetailInfoResult ApiResponseResultOfMarginTradeDetailInfoResult
-
-// NewApiResponseResultOfMarginTradeDetailInfoResult instantiates a new ApiResponseResultOfMarginTradeDetailInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMarginTradeDetailInfoResult() *ApiResponseResultOfMarginTradeDetailInfoResult {
- this := ApiResponseResultOfMarginTradeDetailInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMarginTradeDetailInfoResultWithDefaults instantiates a new ApiResponseResultOfMarginTradeDetailInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMarginTradeDetailInfoResultWithDefaults() *ApiResponseResultOfMarginTradeDetailInfoResult {
- this := ApiResponseResultOfMarginTradeDetailInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetData() MarginTradeDetailInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MarginTradeDetailInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetDataOk() (*MarginTradeDetailInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MarginTradeDetailInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetData(v MarginTradeDetailInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMarginTradeDetailInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMarginTradeDetailInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMarginTradeDetailInfoResult := _ApiResponseResultOfMarginTradeDetailInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMarginTradeDetailInfoResult); err == nil {
- *o = ApiResponseResultOfMarginTradeDetailInfoResult(varApiResponseResultOfMarginTradeDetailInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMarginTradeDetailInfoResult struct {
- value *ApiResponseResultOfMarginTradeDetailInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMarginTradeDetailInfoResult) Get() *ApiResponseResultOfMarginTradeDetailInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMarginTradeDetailInfoResult) Set(val *ApiResponseResultOfMarginTradeDetailInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMarginTradeDetailInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMarginTradeDetailInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMarginTradeDetailInfoResult(val *ApiResponseResultOfMarginTradeDetailInfoResult) *NullableApiResponseResultOfMarginTradeDetailInfoResult {
- return &NullableApiResponseResultOfMarginTradeDetailInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMarginTradeDetailInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMarginTradeDetailInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_adv_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_adv_result.go
deleted file mode 100644
index 96dcb063..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_adv_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMerchantAdvResult struct for ApiResponseResultOfMerchantAdvResult
-type ApiResponseResultOfMerchantAdvResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MerchantAdvResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMerchantAdvResult ApiResponseResultOfMerchantAdvResult
-
-// NewApiResponseResultOfMerchantAdvResult instantiates a new ApiResponseResultOfMerchantAdvResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMerchantAdvResult() *ApiResponseResultOfMerchantAdvResult {
- this := ApiResponseResultOfMerchantAdvResult{}
- return &this
-}
-
-// NewApiResponseResultOfMerchantAdvResultWithDefaults instantiates a new ApiResponseResultOfMerchantAdvResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMerchantAdvResultWithDefaults() *ApiResponseResultOfMerchantAdvResult {
- this := ApiResponseResultOfMerchantAdvResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantAdvResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMerchantAdvResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantAdvResult) GetData() MerchantAdvResult {
- if o == nil || isNil(o.Data) {
- var ret MerchantAdvResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) GetDataOk() (*MerchantAdvResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MerchantAdvResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMerchantAdvResult) SetData(v MerchantAdvResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantAdvResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMerchantAdvResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantAdvResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantAdvResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMerchantAdvResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMerchantAdvResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMerchantAdvResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMerchantAdvResult := _ApiResponseResultOfMerchantAdvResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMerchantAdvResult); err == nil {
- *o = ApiResponseResultOfMerchantAdvResult(varApiResponseResultOfMerchantAdvResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMerchantAdvResult struct {
- value *ApiResponseResultOfMerchantAdvResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMerchantAdvResult) Get() *ApiResponseResultOfMerchantAdvResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMerchantAdvResult) Set(val *ApiResponseResultOfMerchantAdvResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMerchantAdvResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMerchantAdvResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMerchantAdvResult(val *ApiResponseResultOfMerchantAdvResult) *NullableApiResponseResultOfMerchantAdvResult {
- return &NullableApiResponseResultOfMerchantAdvResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMerchantAdvResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMerchantAdvResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_info_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_info_result.go
deleted file mode 100644
index 0f038ac6..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_info_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMerchantInfoResult struct for ApiResponseResultOfMerchantInfoResult
-type ApiResponseResultOfMerchantInfoResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MerchantInfoResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMerchantInfoResult ApiResponseResultOfMerchantInfoResult
-
-// NewApiResponseResultOfMerchantInfoResult instantiates a new ApiResponseResultOfMerchantInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMerchantInfoResult() *ApiResponseResultOfMerchantInfoResult {
- this := ApiResponseResultOfMerchantInfoResult{}
- return &this
-}
-
-// NewApiResponseResultOfMerchantInfoResultWithDefaults instantiates a new ApiResponseResultOfMerchantInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMerchantInfoResultWithDefaults() *ApiResponseResultOfMerchantInfoResult {
- this := ApiResponseResultOfMerchantInfoResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantInfoResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMerchantInfoResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantInfoResult) GetData() MerchantInfoResult {
- if o == nil || isNil(o.Data) {
- var ret MerchantInfoResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) GetDataOk() (*MerchantInfoResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MerchantInfoResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMerchantInfoResult) SetData(v MerchantInfoResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantInfoResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMerchantInfoResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantInfoResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantInfoResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMerchantInfoResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMerchantInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMerchantInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMerchantInfoResult := _ApiResponseResultOfMerchantInfoResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMerchantInfoResult); err == nil {
- *o = ApiResponseResultOfMerchantInfoResult(varApiResponseResultOfMerchantInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMerchantInfoResult struct {
- value *ApiResponseResultOfMerchantInfoResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMerchantInfoResult) Get() *ApiResponseResultOfMerchantInfoResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMerchantInfoResult) Set(val *ApiResponseResultOfMerchantInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMerchantInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMerchantInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMerchantInfoResult(val *ApiResponseResultOfMerchantInfoResult) *NullableApiResponseResultOfMerchantInfoResult {
- return &NullableApiResponseResultOfMerchantInfoResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMerchantInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMerchantInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_order_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_order_result.go
deleted file mode 100644
index 0a5abf98..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_order_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMerchantOrderResult struct for ApiResponseResultOfMerchantOrderResult
-type ApiResponseResultOfMerchantOrderResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MerchantOrderResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMerchantOrderResult ApiResponseResultOfMerchantOrderResult
-
-// NewApiResponseResultOfMerchantOrderResult instantiates a new ApiResponseResultOfMerchantOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMerchantOrderResult() *ApiResponseResultOfMerchantOrderResult {
- this := ApiResponseResultOfMerchantOrderResult{}
- return &this
-}
-
-// NewApiResponseResultOfMerchantOrderResultWithDefaults instantiates a new ApiResponseResultOfMerchantOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMerchantOrderResultWithDefaults() *ApiResponseResultOfMerchantOrderResult {
- this := ApiResponseResultOfMerchantOrderResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantOrderResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMerchantOrderResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantOrderResult) GetData() MerchantOrderResult {
- if o == nil || isNil(o.Data) {
- var ret MerchantOrderResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) GetDataOk() (*MerchantOrderResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MerchantOrderResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMerchantOrderResult) SetData(v MerchantOrderResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantOrderResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMerchantOrderResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantOrderResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantOrderResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMerchantOrderResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMerchantOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMerchantOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMerchantOrderResult := _ApiResponseResultOfMerchantOrderResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMerchantOrderResult); err == nil {
- *o = ApiResponseResultOfMerchantOrderResult(varApiResponseResultOfMerchantOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMerchantOrderResult struct {
- value *ApiResponseResultOfMerchantOrderResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMerchantOrderResult) Get() *ApiResponseResultOfMerchantOrderResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMerchantOrderResult) Set(val *ApiResponseResultOfMerchantOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMerchantOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMerchantOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMerchantOrderResult(val *ApiResponseResultOfMerchantOrderResult) *NullableApiResponseResultOfMerchantOrderResult {
- return &NullableApiResponseResultOfMerchantOrderResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMerchantOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMerchantOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_person_info.go b/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_person_info.go
deleted file mode 100644
index c7279f0b..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_merchant_person_info.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMerchantPersonInfo struct for ApiResponseResultOfMerchantPersonInfo
-type ApiResponseResultOfMerchantPersonInfo struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MerchantPersonInfo `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMerchantPersonInfo ApiResponseResultOfMerchantPersonInfo
-
-// NewApiResponseResultOfMerchantPersonInfo instantiates a new ApiResponseResultOfMerchantPersonInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMerchantPersonInfo() *ApiResponseResultOfMerchantPersonInfo {
- this := ApiResponseResultOfMerchantPersonInfo{}
- return &this
-}
-
-// NewApiResponseResultOfMerchantPersonInfoWithDefaults instantiates a new ApiResponseResultOfMerchantPersonInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMerchantPersonInfoWithDefaults() *ApiResponseResultOfMerchantPersonInfo {
- this := ApiResponseResultOfMerchantPersonInfo{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMerchantPersonInfo) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetData() MerchantPersonInfo {
- if o == nil || isNil(o.Data) {
- var ret MerchantPersonInfo
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetDataOk() (*MerchantPersonInfo, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MerchantPersonInfo and assigns it to the Data field.
-func (o *ApiResponseResultOfMerchantPersonInfo) SetData(v MerchantPersonInfo) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMerchantPersonInfo) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMerchantPersonInfo) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMerchantPersonInfo) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMerchantPersonInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMerchantPersonInfo) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMerchantPersonInfo := _ApiResponseResultOfMerchantPersonInfo{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMerchantPersonInfo); err == nil {
- *o = ApiResponseResultOfMerchantPersonInfo(varApiResponseResultOfMerchantPersonInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMerchantPersonInfo struct {
- value *ApiResponseResultOfMerchantPersonInfo
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMerchantPersonInfo) Get() *ApiResponseResultOfMerchantPersonInfo {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMerchantPersonInfo) Set(val *ApiResponseResultOfMerchantPersonInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMerchantPersonInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMerchantPersonInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMerchantPersonInfo(val *ApiResponseResultOfMerchantPersonInfo) *NullableApiResponseResultOfMerchantPersonInfo {
- return &NullableApiResponseResultOfMerchantPersonInfo{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMerchantPersonInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMerchantPersonInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_my_tracers_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_my_tracers_result.go
deleted file mode 100644
index b3ff63db..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_my_tracers_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMyTracersResult struct for ApiResponseResultOfMyTracersResult
-type ApiResponseResultOfMyTracersResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MyTracersResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMyTracersResult ApiResponseResultOfMyTracersResult
-
-// NewApiResponseResultOfMyTracersResult instantiates a new ApiResponseResultOfMyTracersResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMyTracersResult() *ApiResponseResultOfMyTracersResult {
- this := ApiResponseResultOfMyTracersResult{}
- return &this
-}
-
-// NewApiResponseResultOfMyTracersResultWithDefaults instantiates a new ApiResponseResultOfMyTracersResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMyTracersResultWithDefaults() *ApiResponseResultOfMyTracersResult {
- this := ApiResponseResultOfMyTracersResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTracersResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTracersResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTracersResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMyTracersResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTracersResult) GetData() MyTracersResult {
- if o == nil || isNil(o.Data) {
- var ret MyTracersResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTracersResult) GetDataOk() (*MyTracersResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTracersResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MyTracersResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMyTracersResult) SetData(v MyTracersResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTracersResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTracersResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTracersResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMyTracersResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTracersResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTracersResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTracersResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMyTracersResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMyTracersResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMyTracersResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMyTracersResult := _ApiResponseResultOfMyTracersResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMyTracersResult); err == nil {
- *o = ApiResponseResultOfMyTracersResult(varApiResponseResultOfMyTracersResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMyTracersResult struct {
- value *ApiResponseResultOfMyTracersResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMyTracersResult) Get() *ApiResponseResultOfMyTracersResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMyTracersResult) Set(val *ApiResponseResultOfMyTracersResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMyTracersResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMyTracersResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMyTracersResult(val *ApiResponseResultOfMyTracersResult) *NullableApiResponseResultOfMyTracersResult {
- return &NullableApiResponseResultOfMyTracersResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMyTracersResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMyTracersResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_my_traders_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_my_traders_result.go
deleted file mode 100644
index d1734d9d..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_my_traders_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfMyTradersResult struct for ApiResponseResultOfMyTradersResult
-type ApiResponseResultOfMyTradersResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *MyTradersResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfMyTradersResult ApiResponseResultOfMyTradersResult
-
-// NewApiResponseResultOfMyTradersResult instantiates a new ApiResponseResultOfMyTradersResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfMyTradersResult() *ApiResponseResultOfMyTradersResult {
- this := ApiResponseResultOfMyTradersResult{}
- return &this
-}
-
-// NewApiResponseResultOfMyTradersResultWithDefaults instantiates a new ApiResponseResultOfMyTradersResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfMyTradersResultWithDefaults() *ApiResponseResultOfMyTradersResult {
- this := ApiResponseResultOfMyTradersResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTradersResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTradersResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTradersResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfMyTradersResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTradersResult) GetData() MyTradersResult {
- if o == nil || isNil(o.Data) {
- var ret MyTradersResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTradersResult) GetDataOk() (*MyTradersResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTradersResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given MyTradersResult and assigns it to the Data field.
-func (o *ApiResponseResultOfMyTradersResult) SetData(v MyTradersResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTradersResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTradersResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTradersResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfMyTradersResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfMyTradersResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfMyTradersResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfMyTradersResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfMyTradersResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfMyTradersResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfMyTradersResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfMyTradersResult := _ApiResponseResultOfMyTradersResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfMyTradersResult); err == nil {
- *o = ApiResponseResultOfMyTradersResult(varApiResponseResultOfMyTradersResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfMyTradersResult struct {
- value *ApiResponseResultOfMyTradersResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfMyTradersResult) Get() *ApiResponseResultOfMyTradersResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfMyTradersResult) Set(val *ApiResponseResultOfMyTradersResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfMyTradersResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfMyTradersResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfMyTradersResult(val *ApiResponseResultOfMyTradersResult) *NullableApiResponseResultOfMyTradersResult {
- return &NullableApiResponseResultOfMyTradersResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfMyTradersResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfMyTradersResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_order_current_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_order_current_list_result.go
deleted file mode 100644
index da0dd867..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_order_current_list_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfOrderCurrentListResult struct for ApiResponseResultOfOrderCurrentListResult
-type ApiResponseResultOfOrderCurrentListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *OrderCurrentListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfOrderCurrentListResult ApiResponseResultOfOrderCurrentListResult
-
-// NewApiResponseResultOfOrderCurrentListResult instantiates a new ApiResponseResultOfOrderCurrentListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfOrderCurrentListResult() *ApiResponseResultOfOrderCurrentListResult {
- this := ApiResponseResultOfOrderCurrentListResult{}
- return &this
-}
-
-// NewApiResponseResultOfOrderCurrentListResultWithDefaults instantiates a new ApiResponseResultOfOrderCurrentListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfOrderCurrentListResultWithDefaults() *ApiResponseResultOfOrderCurrentListResult {
- this := ApiResponseResultOfOrderCurrentListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfOrderCurrentListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetData() OrderCurrentListResult {
- if o == nil || isNil(o.Data) {
- var ret OrderCurrentListResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetDataOk() (*OrderCurrentListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given OrderCurrentListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfOrderCurrentListResult) SetData(v OrderCurrentListResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfOrderCurrentListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderCurrentListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfOrderCurrentListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfOrderCurrentListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfOrderCurrentListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfOrderCurrentListResult := _ApiResponseResultOfOrderCurrentListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfOrderCurrentListResult); err == nil {
- *o = ApiResponseResultOfOrderCurrentListResult(varApiResponseResultOfOrderCurrentListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfOrderCurrentListResult struct {
- value *ApiResponseResultOfOrderCurrentListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfOrderCurrentListResult) Get() *ApiResponseResultOfOrderCurrentListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfOrderCurrentListResult) Set(val *ApiResponseResultOfOrderCurrentListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfOrderCurrentListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfOrderCurrentListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfOrderCurrentListResult(val *ApiResponseResultOfOrderCurrentListResult) *NullableApiResponseResultOfOrderCurrentListResult {
- return &NullableApiResponseResultOfOrderCurrentListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfOrderCurrentListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfOrderCurrentListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_order_history_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_order_history_list_result.go
deleted file mode 100644
index e03b82ab..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_order_history_list_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfOrderHistoryListResult struct for ApiResponseResultOfOrderHistoryListResult
-type ApiResponseResultOfOrderHistoryListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *OrderHistoryListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfOrderHistoryListResult ApiResponseResultOfOrderHistoryListResult
-
-// NewApiResponseResultOfOrderHistoryListResult instantiates a new ApiResponseResultOfOrderHistoryListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfOrderHistoryListResult() *ApiResponseResultOfOrderHistoryListResult {
- this := ApiResponseResultOfOrderHistoryListResult{}
- return &this
-}
-
-// NewApiResponseResultOfOrderHistoryListResultWithDefaults instantiates a new ApiResponseResultOfOrderHistoryListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfOrderHistoryListResultWithDefaults() *ApiResponseResultOfOrderHistoryListResult {
- this := ApiResponseResultOfOrderHistoryListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfOrderHistoryListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetData() OrderHistoryListResult {
- if o == nil || isNil(o.Data) {
- var ret OrderHistoryListResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetDataOk() (*OrderHistoryListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given OrderHistoryListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfOrderHistoryListResult) SetData(v OrderHistoryListResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfOrderHistoryListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfOrderHistoryListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfOrderHistoryListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfOrderHistoryListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfOrderHistoryListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfOrderHistoryListResult := _ApiResponseResultOfOrderHistoryListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfOrderHistoryListResult); err == nil {
- *o = ApiResponseResultOfOrderHistoryListResult(varApiResponseResultOfOrderHistoryListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfOrderHistoryListResult struct {
- value *ApiResponseResultOfOrderHistoryListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfOrderHistoryListResult) Get() *ApiResponseResultOfOrderHistoryListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfOrderHistoryListResult) Set(val *ApiResponseResultOfOrderHistoryListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfOrderHistoryListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfOrderHistoryListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfOrderHistoryListResult(val *ApiResponseResultOfOrderHistoryListResult) *NullableApiResponseResultOfOrderHistoryListResult {
- return &NullableApiResponseResultOfOrderHistoryListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfOrderHistoryListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfOrderHistoryListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trace_setting_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trace_setting_result.go
deleted file mode 100644
index d0b976f8..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trace_setting_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraceSettingResult struct for ApiResponseResultOfTraceSettingResult
-type ApiResponseResultOfTraceSettingResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraceSettingResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraceSettingResult ApiResponseResultOfTraceSettingResult
-
-// NewApiResponseResultOfTraceSettingResult instantiates a new ApiResponseResultOfTraceSettingResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraceSettingResult() *ApiResponseResultOfTraceSettingResult {
- this := ApiResponseResultOfTraceSettingResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraceSettingResultWithDefaults instantiates a new ApiResponseResultOfTraceSettingResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraceSettingResultWithDefaults() *ApiResponseResultOfTraceSettingResult {
- this := ApiResponseResultOfTraceSettingResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraceSettingResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraceSettingResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraceSettingResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraceSettingResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraceSettingResult) GetData() TraceSettingResult {
- if o == nil || isNil(o.Data) {
- var ret TraceSettingResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraceSettingResult) GetDataOk() (*TraceSettingResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraceSettingResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraceSettingResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraceSettingResult) SetData(v TraceSettingResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraceSettingResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraceSettingResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraceSettingResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraceSettingResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraceSettingResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraceSettingResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraceSettingResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraceSettingResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraceSettingResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraceSettingResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraceSettingResult := _ApiResponseResultOfTraceSettingResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraceSettingResult); err == nil {
- *o = ApiResponseResultOfTraceSettingResult(varApiResponseResultOfTraceSettingResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraceSettingResult struct {
- value *ApiResponseResultOfTraceSettingResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraceSettingResult) Get() *ApiResponseResultOfTraceSettingResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraceSettingResult) Set(val *ApiResponseResultOfTraceSettingResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraceSettingResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraceSettingResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraceSettingResult(val *ApiResponseResultOfTraceSettingResult) *NullableApiResponseResultOfTraceSettingResult {
- return &NullableApiResponseResultOfTraceSettingResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraceSettingResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraceSettingResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_detail_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_detail_list_result.go
deleted file mode 100644
index 825a02e6..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_detail_list_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraderProfitHisDetailListResult struct for ApiResponseResultOfTraderProfitHisDetailListResult
-type ApiResponseResultOfTraderProfitHisDetailListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraderProfitHisDetailListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraderProfitHisDetailListResult ApiResponseResultOfTraderProfitHisDetailListResult
-
-// NewApiResponseResultOfTraderProfitHisDetailListResult instantiates a new ApiResponseResultOfTraderProfitHisDetailListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraderProfitHisDetailListResult() *ApiResponseResultOfTraderProfitHisDetailListResult {
- this := ApiResponseResultOfTraderProfitHisDetailListResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraderProfitHisDetailListResultWithDefaults instantiates a new ApiResponseResultOfTraderProfitHisDetailListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraderProfitHisDetailListResultWithDefaults() *ApiResponseResultOfTraderProfitHisDetailListResult {
- this := ApiResponseResultOfTraderProfitHisDetailListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetData() TraderProfitHisDetailListResult {
- if o == nil || isNil(o.Data) {
- var ret TraderProfitHisDetailListResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetDataOk() (*TraderProfitHisDetailListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraderProfitHisDetailListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetData(v TraderProfitHisDetailListResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraderProfitHisDetailListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraderProfitHisDetailListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraderProfitHisDetailListResult := _ApiResponseResultOfTraderProfitHisDetailListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraderProfitHisDetailListResult); err == nil {
- *o = ApiResponseResultOfTraderProfitHisDetailListResult(varApiResponseResultOfTraderProfitHisDetailListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraderProfitHisDetailListResult struct {
- value *ApiResponseResultOfTraderProfitHisDetailListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisDetailListResult) Get() *ApiResponseResultOfTraderProfitHisDetailListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisDetailListResult) Set(val *ApiResponseResultOfTraderProfitHisDetailListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisDetailListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisDetailListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraderProfitHisDetailListResult(val *ApiResponseResultOfTraderProfitHisDetailListResult) *NullableApiResponseResultOfTraderProfitHisDetailListResult {
- return &NullableApiResponseResultOfTraderProfitHisDetailListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisDetailListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisDetailListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_list_result.go
deleted file mode 100644
index cb4233d5..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_profit_his_list_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraderProfitHisListResult struct for ApiResponseResultOfTraderProfitHisListResult
-type ApiResponseResultOfTraderProfitHisListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraderProfitHisListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraderProfitHisListResult ApiResponseResultOfTraderProfitHisListResult
-
-// NewApiResponseResultOfTraderProfitHisListResult instantiates a new ApiResponseResultOfTraderProfitHisListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraderProfitHisListResult() *ApiResponseResultOfTraderProfitHisListResult {
- this := ApiResponseResultOfTraderProfitHisListResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraderProfitHisListResultWithDefaults instantiates a new ApiResponseResultOfTraderProfitHisListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraderProfitHisListResultWithDefaults() *ApiResponseResultOfTraderProfitHisListResult {
- this := ApiResponseResultOfTraderProfitHisListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraderProfitHisListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetData() TraderProfitHisListResult {
- if o == nil || isNil(o.Data) {
- var ret TraderProfitHisListResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetDataOk() (*TraderProfitHisListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraderProfitHisListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraderProfitHisListResult) SetData(v TraderProfitHisListResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraderProfitHisListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderProfitHisListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraderProfitHisListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraderProfitHisListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraderProfitHisListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraderProfitHisListResult := _ApiResponseResultOfTraderProfitHisListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraderProfitHisListResult); err == nil {
- *o = ApiResponseResultOfTraderProfitHisListResult(varApiResponseResultOfTraderProfitHisListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraderProfitHisListResult struct {
- value *ApiResponseResultOfTraderProfitHisListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisListResult) Get() *ApiResponseResultOfTraderProfitHisListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisListResult) Set(val *ApiResponseResultOfTraderProfitHisListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraderProfitHisListResult(val *ApiResponseResultOfTraderProfitHisListResult) *NullableApiResponseResultOfTraderProfitHisListResult {
- return &NullableApiResponseResultOfTraderProfitHisListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraderProfitHisListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraderProfitHisListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_setting_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trader_setting_result.go
deleted file mode 100644
index 70234189..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_setting_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraderSettingResult struct for ApiResponseResultOfTraderSettingResult
-type ApiResponseResultOfTraderSettingResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraderSettingResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraderSettingResult ApiResponseResultOfTraderSettingResult
-
-// NewApiResponseResultOfTraderSettingResult instantiates a new ApiResponseResultOfTraderSettingResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraderSettingResult() *ApiResponseResultOfTraderSettingResult {
- this := ApiResponseResultOfTraderSettingResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraderSettingResultWithDefaults instantiates a new ApiResponseResultOfTraderSettingResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraderSettingResultWithDefaults() *ApiResponseResultOfTraderSettingResult {
- this := ApiResponseResultOfTraderSettingResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderSettingResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderSettingResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderSettingResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraderSettingResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderSettingResult) GetData() TraderSettingResult {
- if o == nil || isNil(o.Data) {
- var ret TraderSettingResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderSettingResult) GetDataOk() (*TraderSettingResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderSettingResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraderSettingResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraderSettingResult) SetData(v TraderSettingResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderSettingResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderSettingResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderSettingResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraderSettingResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderSettingResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderSettingResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderSettingResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraderSettingResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraderSettingResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraderSettingResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraderSettingResult := _ApiResponseResultOfTraderSettingResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraderSettingResult); err == nil {
- *o = ApiResponseResultOfTraderSettingResult(varApiResponseResultOfTraderSettingResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraderSettingResult struct {
- value *ApiResponseResultOfTraderSettingResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraderSettingResult) Get() *ApiResponseResultOfTraderSettingResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraderSettingResult) Set(val *ApiResponseResultOfTraderSettingResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraderSettingResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraderSettingResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraderSettingResult(val *ApiResponseResultOfTraderSettingResult) *NullableApiResponseResultOfTraderSettingResult {
- return &NullableApiResponseResultOfTraderSettingResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraderSettingResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraderSettingResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_total_profit_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trader_total_profit_result.go
deleted file mode 100644
index 5e1a0409..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_total_profit_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraderTotalProfitResult struct for ApiResponseResultOfTraderTotalProfitResult
-type ApiResponseResultOfTraderTotalProfitResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraderTotalProfitResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraderTotalProfitResult ApiResponseResultOfTraderTotalProfitResult
-
-// NewApiResponseResultOfTraderTotalProfitResult instantiates a new ApiResponseResultOfTraderTotalProfitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraderTotalProfitResult() *ApiResponseResultOfTraderTotalProfitResult {
- this := ApiResponseResultOfTraderTotalProfitResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraderTotalProfitResultWithDefaults instantiates a new ApiResponseResultOfTraderTotalProfitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraderTotalProfitResultWithDefaults() *ApiResponseResultOfTraderTotalProfitResult {
- this := ApiResponseResultOfTraderTotalProfitResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraderTotalProfitResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetData() TraderTotalProfitResult {
- if o == nil || isNil(o.Data) {
- var ret TraderTotalProfitResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetDataOk() (*TraderTotalProfitResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraderTotalProfitResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraderTotalProfitResult) SetData(v TraderTotalProfitResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraderTotalProfitResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderTotalProfitResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraderTotalProfitResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraderTotalProfitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraderTotalProfitResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraderTotalProfitResult := _ApiResponseResultOfTraderTotalProfitResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraderTotalProfitResult); err == nil {
- *o = ApiResponseResultOfTraderTotalProfitResult(varApiResponseResultOfTraderTotalProfitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraderTotalProfitResult struct {
- value *ApiResponseResultOfTraderTotalProfitResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraderTotalProfitResult) Get() *ApiResponseResultOfTraderTotalProfitResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraderTotalProfitResult) Set(val *ApiResponseResultOfTraderTotalProfitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraderTotalProfitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraderTotalProfitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraderTotalProfitResult(val *ApiResponseResultOfTraderTotalProfitResult) *NullableApiResponseResultOfTraderTotalProfitResult {
- return &NullableApiResponseResultOfTraderTotalProfitResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraderTotalProfitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraderTotalProfitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_wait_profit_detail_list_result.go b/bitget-goland-sdk-open-api/model_api_response_result_of_trader_wait_profit_detail_list_result.go
deleted file mode 100644
index 1d5df3cd..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_trader_wait_profit_detail_list_result.go
+++ /dev/null
@@ -1,252 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfTraderWaitProfitDetailListResult struct for ApiResponseResultOfTraderWaitProfitDetailListResult
-type ApiResponseResultOfTraderWaitProfitDetailListResult struct {
- // code
- Code *string `json:"code,omitempty"`
- Data *TraderWaitProfitDetailListResult `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfTraderWaitProfitDetailListResult ApiResponseResultOfTraderWaitProfitDetailListResult
-
-// NewApiResponseResultOfTraderWaitProfitDetailListResult instantiates a new ApiResponseResultOfTraderWaitProfitDetailListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfTraderWaitProfitDetailListResult() *ApiResponseResultOfTraderWaitProfitDetailListResult {
- this := ApiResponseResultOfTraderWaitProfitDetailListResult{}
- return &this
-}
-
-// NewApiResponseResultOfTraderWaitProfitDetailListResultWithDefaults instantiates a new ApiResponseResultOfTraderWaitProfitDetailListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfTraderWaitProfitDetailListResultWithDefaults() *ApiResponseResultOfTraderWaitProfitDetailListResult {
- this := ApiResponseResultOfTraderWaitProfitDetailListResult{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetData() TraderWaitProfitDetailListResult {
- if o == nil || isNil(o.Data) {
- var ret TraderWaitProfitDetailListResult
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetDataOk() (*TraderWaitProfitDetailListResult, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given TraderWaitProfitDetailListResult and assigns it to the Data field.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetData(v TraderWaitProfitDetailListResult) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfTraderWaitProfitDetailListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfTraderWaitProfitDetailListResult) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfTraderWaitProfitDetailListResult := _ApiResponseResultOfTraderWaitProfitDetailListResult{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfTraderWaitProfitDetailListResult); err == nil {
- *o = ApiResponseResultOfTraderWaitProfitDetailListResult(varApiResponseResultOfTraderWaitProfitDetailListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfTraderWaitProfitDetailListResult struct {
- value *ApiResponseResultOfTraderWaitProfitDetailListResult
- isSet bool
-}
-
-func (v NullableApiResponseResultOfTraderWaitProfitDetailListResult) Get() *ApiResponseResultOfTraderWaitProfitDetailListResult {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfTraderWaitProfitDetailListResult) Set(val *ApiResponseResultOfTraderWaitProfitDetailListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfTraderWaitProfitDetailListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfTraderWaitProfitDetailListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfTraderWaitProfitDetailListResult(val *ApiResponseResultOfTraderWaitProfitDetailListResult) *NullableApiResponseResultOfTraderWaitProfitDetailListResult {
- return &NullableApiResponseResultOfTraderWaitProfitDetailListResult{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfTraderWaitProfitDetailListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfTraderWaitProfitDetailListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_of_void.go b/bitget-goland-sdk-open-api/model_api_response_result_of_void.go
deleted file mode 100644
index 655abf66..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_of_void.go
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfVoid struct for ApiResponseResultOfVoid
-type ApiResponseResultOfVoid struct {
- // code
- Code *string `json:"code,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfVoid ApiResponseResultOfVoid
-
-// NewApiResponseResultOfVoid instantiates a new ApiResponseResultOfVoid object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfVoid() *ApiResponseResultOfVoid {
- this := ApiResponseResultOfVoid{}
- return &this
-}
-
-// NewApiResponseResultOfVoidWithDefaults instantiates a new ApiResponseResultOfVoid object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfVoidWithDefaults() *ApiResponseResultOfVoid {
- this := ApiResponseResultOfVoid{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfVoid) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfVoid) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfVoid) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfVoid) SetCode(v string) {
- o.Code = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfVoid) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfVoid) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfVoid) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfVoid) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfVoid) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfVoid) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfVoid) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfVoid) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfVoid) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfVoid) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfVoid := _ApiResponseResultOfVoid{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfVoid); err == nil {
- *o = ApiResponseResultOfVoid(varApiResponseResultOfVoid)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfVoid struct {
- value *ApiResponseResultOfVoid
- isSet bool
-}
-
-func (v NullableApiResponseResultOfVoid) Get() *ApiResponseResultOfVoid {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfVoid) Set(val *ApiResponseResultOfVoid) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfVoid) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfVoid) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfVoid(val *ApiResponseResultOfVoid) *NullableApiResponseResultOfVoid {
- return &NullableApiResponseResultOfVoid{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfVoid) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfVoid) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_api_response_result_ofboolean.go b/bitget-goland-sdk-open-api/model_api_response_result_ofboolean.go
deleted file mode 100644
index eb2bd152..00000000
--- a/bitget-goland-sdk-open-api/model_api_response_result_ofboolean.go
+++ /dev/null
@@ -1,253 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ApiResponseResultOfboolean struct for ApiResponseResultOfboolean
-type ApiResponseResultOfboolean struct {
- // code
- Code *string `json:"code,omitempty"`
- // data
- Data *bool `json:"data,omitempty"`
- // msg
- Msg *string `json:"msg,omitempty"`
- // requestTime
- RequestTime *int64 `json:"requestTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ApiResponseResultOfboolean ApiResponseResultOfboolean
-
-// NewApiResponseResultOfboolean instantiates a new ApiResponseResultOfboolean object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewApiResponseResultOfboolean() *ApiResponseResultOfboolean {
- this := ApiResponseResultOfboolean{}
- return &this
-}
-
-// NewApiResponseResultOfbooleanWithDefaults instantiates a new ApiResponseResultOfboolean object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewApiResponseResultOfbooleanWithDefaults() *ApiResponseResultOfboolean {
- this := ApiResponseResultOfboolean{}
- return &this
-}
-
-// GetCode returns the Code field value if set, zero value otherwise.
-func (o *ApiResponseResultOfboolean) GetCode() string {
- if o == nil || isNil(o.Code) {
- var ret string
- return ret
- }
- return *o.Code
-}
-
-// GetCodeOk returns a tuple with the Code field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfboolean) GetCodeOk() (*string, bool) {
- if o == nil || isNil(o.Code) {
- return nil, false
- }
- return o.Code, true
-}
-
-// HasCode returns a boolean if a field has been set.
-func (o *ApiResponseResultOfboolean) HasCode() bool {
- if o != nil && !isNil(o.Code) {
- return true
- }
-
- return false
-}
-
-// SetCode gets a reference to the given string and assigns it to the Code field.
-func (o *ApiResponseResultOfboolean) SetCode(v string) {
- o.Code = &v
-}
-
-// GetData returns the Data field value if set, zero value otherwise.
-func (o *ApiResponseResultOfboolean) GetData() bool {
- if o == nil || isNil(o.Data) {
- var ret bool
- return ret
- }
- return *o.Data
-}
-
-// GetDataOk returns a tuple with the Data field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfboolean) GetDataOk() (*bool, bool) {
- if o == nil || isNil(o.Data) {
- return nil, false
- }
- return o.Data, true
-}
-
-// HasData returns a boolean if a field has been set.
-func (o *ApiResponseResultOfboolean) HasData() bool {
- if o != nil && !isNil(o.Data) {
- return true
- }
-
- return false
-}
-
-// SetData gets a reference to the given bool and assigns it to the Data field.
-func (o *ApiResponseResultOfboolean) SetData(v bool) {
- o.Data = &v
-}
-
-// GetMsg returns the Msg field value if set, zero value otherwise.
-func (o *ApiResponseResultOfboolean) GetMsg() string {
- if o == nil || isNil(o.Msg) {
- var ret string
- return ret
- }
- return *o.Msg
-}
-
-// GetMsgOk returns a tuple with the Msg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfboolean) GetMsgOk() (*string, bool) {
- if o == nil || isNil(o.Msg) {
- return nil, false
- }
- return o.Msg, true
-}
-
-// HasMsg returns a boolean if a field has been set.
-func (o *ApiResponseResultOfboolean) HasMsg() bool {
- if o != nil && !isNil(o.Msg) {
- return true
- }
-
- return false
-}
-
-// SetMsg gets a reference to the given string and assigns it to the Msg field.
-func (o *ApiResponseResultOfboolean) SetMsg(v string) {
- o.Msg = &v
-}
-
-// GetRequestTime returns the RequestTime field value if set, zero value otherwise.
-func (o *ApiResponseResultOfboolean) GetRequestTime() int64 {
- if o == nil || isNil(o.RequestTime) {
- var ret int64
- return ret
- }
- return *o.RequestTime
-}
-
-// GetRequestTimeOk returns a tuple with the RequestTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *ApiResponseResultOfboolean) GetRequestTimeOk() (*int64, bool) {
- if o == nil || isNil(o.RequestTime) {
- return nil, false
- }
- return o.RequestTime, true
-}
-
-// HasRequestTime returns a boolean if a field has been set.
-func (o *ApiResponseResultOfboolean) HasRequestTime() bool {
- if o != nil && !isNil(o.RequestTime) {
- return true
- }
-
- return false
-}
-
-// SetRequestTime gets a reference to the given int64 and assigns it to the RequestTime field.
-func (o *ApiResponseResultOfboolean) SetRequestTime(v int64) {
- o.RequestTime = &v
-}
-
-func (o ApiResponseResultOfboolean) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Code) {
- toSerialize["code"] = o.Code
- }
- if !isNil(o.Data) {
- toSerialize["data"] = o.Data
- }
- if !isNil(o.Msg) {
- toSerialize["msg"] = o.Msg
- }
- if !isNil(o.RequestTime) {
- toSerialize["requestTime"] = o.RequestTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ApiResponseResultOfboolean) UnmarshalJSON(bytes []byte) (err error) {
- varApiResponseResultOfboolean := _ApiResponseResultOfboolean{}
-
- if err = json.Unmarshal(bytes, &varApiResponseResultOfboolean); err == nil {
- *o = ApiResponseResultOfboolean(varApiResponseResultOfboolean)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "code")
- delete(additionalProperties, "data")
- delete(additionalProperties, "msg")
- delete(additionalProperties, "requestTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableApiResponseResultOfboolean struct {
- value *ApiResponseResultOfboolean
- isSet bool
-}
-
-func (v NullableApiResponseResultOfboolean) Get() *ApiResponseResultOfboolean {
- return v.value
-}
-
-func (v *NullableApiResponseResultOfboolean) Set(val *ApiResponseResultOfboolean) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableApiResponseResultOfboolean) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableApiResponseResultOfboolean) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableApiResponseResultOfboolean(val *ApiResponseResultOfboolean) *NullableApiResponseResultOfboolean {
- return &NullableApiResponseResultOfboolean{value: val, isSet: true}
-}
-
-func (v NullableApiResponseResultOfboolean) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableApiResponseResultOfboolean) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_close_tracking_order_request.go b/bitget-goland-sdk-open-api/model_close_tracking_order_request.go
deleted file mode 100644
index cccc06da..00000000
--- a/bitget-goland-sdk-open-api/model_close_tracking_order_request.go
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// CloseTrackingOrderRequest struct for CloseTrackingOrderRequest
-type CloseTrackingOrderRequest struct {
- // symbolId
- SymbolId string `json:"symbolId"`
- // trackingOrderNos
- TrackingOrderNos []string `json:"trackingOrderNos"`
- AdditionalProperties map[string]interface{}
-}
-
-type _CloseTrackingOrderRequest CloseTrackingOrderRequest
-
-// NewCloseTrackingOrderRequest instantiates a new CloseTrackingOrderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewCloseTrackingOrderRequest(symbolId string, trackingOrderNos []string) *CloseTrackingOrderRequest {
- this := CloseTrackingOrderRequest{}
- this.SymbolId = symbolId
- this.TrackingOrderNos = trackingOrderNos
- return &this
-}
-
-// NewCloseTrackingOrderRequestWithDefaults instantiates a new CloseTrackingOrderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewCloseTrackingOrderRequestWithDefaults() *CloseTrackingOrderRequest {
- this := CloseTrackingOrderRequest{}
- return &this
-}
-
-// GetSymbolId returns the SymbolId field value
-func (o *CloseTrackingOrderRequest) GetSymbolId() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value
-// and a boolean to check if the value has been set.
-func (o *CloseTrackingOrderRequest) GetSymbolIdOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.SymbolId, true
-}
-
-// SetSymbolId sets field value
-func (o *CloseTrackingOrderRequest) SetSymbolId(v string) {
- o.SymbolId = v
-}
-
-// GetTrackingOrderNos returns the TrackingOrderNos field value
-func (o *CloseTrackingOrderRequest) GetTrackingOrderNos() []string {
- if o == nil {
- var ret []string
- return ret
- }
-
- return o.TrackingOrderNos
-}
-
-// GetTrackingOrderNosOk returns a tuple with the TrackingOrderNos field value
-// and a boolean to check if the value has been set.
-func (o *CloseTrackingOrderRequest) GetTrackingOrderNosOk() ([]string, bool) {
- if o == nil {
- return nil, false
- }
- return o.TrackingOrderNos, true
-}
-
-// SetTrackingOrderNos sets field value
-func (o *CloseTrackingOrderRequest) SetTrackingOrderNos(v []string) {
- o.TrackingOrderNos = v
-}
-
-func (o CloseTrackingOrderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["symbolId"] = o.SymbolId
- }
- if true {
- toSerialize["trackingOrderNos"] = o.TrackingOrderNos
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *CloseTrackingOrderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varCloseTrackingOrderRequest := _CloseTrackingOrderRequest{}
-
- if err = json.Unmarshal(bytes, &varCloseTrackingOrderRequest); err == nil {
- *o = CloseTrackingOrderRequest(varCloseTrackingOrderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "trackingOrderNos")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableCloseTrackingOrderRequest struct {
- value *CloseTrackingOrderRequest
- isSet bool
-}
-
-func (v NullableCloseTrackingOrderRequest) Get() *CloseTrackingOrderRequest {
- return v.value
-}
-
-func (v *NullableCloseTrackingOrderRequest) Set(val *CloseTrackingOrderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableCloseTrackingOrderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableCloseTrackingOrderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableCloseTrackingOrderRequest(val *CloseTrackingOrderRequest) *NullableCloseTrackingOrderRequest {
- return &NullableCloseTrackingOrderRequest{value: val, isSet: true}
-}
-
-func (v NullableCloseTrackingOrderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableCloseTrackingOrderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_current_order_list_request.go b/bitget-goland-sdk-open-api/model_current_order_list_request.go
deleted file mode 100644
index c3e3eede..00000000
--- a/bitget-goland-sdk-open-api/model_current_order_list_request.go
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// CurrentOrderListRequest struct for CurrentOrderListRequest
-type CurrentOrderListRequest struct {
- // mixId
- MixId *string `json:"mixId,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- // trackingNo
- TrackingNo *string `json:"trackingNo,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _CurrentOrderListRequest CurrentOrderListRequest
-
-// NewCurrentOrderListRequest instantiates a new CurrentOrderListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewCurrentOrderListRequest() *CurrentOrderListRequest {
- this := CurrentOrderListRequest{}
- return &this
-}
-
-// NewCurrentOrderListRequestWithDefaults instantiates a new CurrentOrderListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewCurrentOrderListRequestWithDefaults() *CurrentOrderListRequest {
- this := CurrentOrderListRequest{}
- return &this
-}
-
-// GetMixId returns the MixId field value if set, zero value otherwise.
-func (o *CurrentOrderListRequest) GetMixId() string {
- if o == nil || isNil(o.MixId) {
- var ret string
- return ret
- }
- return *o.MixId
-}
-
-// GetMixIdOk returns a tuple with the MixId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *CurrentOrderListRequest) GetMixIdOk() (*string, bool) {
- if o == nil || isNil(o.MixId) {
- return nil, false
- }
- return o.MixId, true
-}
-
-// HasMixId returns a boolean if a field has been set.
-func (o *CurrentOrderListRequest) HasMixId() bool {
- if o != nil && !isNil(o.MixId) {
- return true
- }
-
- return false
-}
-
-// SetMixId gets a reference to the given string and assigns it to the MixId field.
-func (o *CurrentOrderListRequest) SetMixId(v string) {
- o.MixId = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *CurrentOrderListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *CurrentOrderListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *CurrentOrderListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *CurrentOrderListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-// GetTrackingNo returns the TrackingNo field value if set, zero value otherwise.
-func (o *CurrentOrderListRequest) GetTrackingNo() string {
- if o == nil || isNil(o.TrackingNo) {
- var ret string
- return ret
- }
- return *o.TrackingNo
-}
-
-// GetTrackingNoOk returns a tuple with the TrackingNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *CurrentOrderListRequest) GetTrackingNoOk() (*string, bool) {
- if o == nil || isNil(o.TrackingNo) {
- return nil, false
- }
- return o.TrackingNo, true
-}
-
-// HasTrackingNo returns a boolean if a field has been set.
-func (o *CurrentOrderListRequest) HasTrackingNo() bool {
- if o != nil && !isNil(o.TrackingNo) {
- return true
- }
-
- return false
-}
-
-// SetTrackingNo gets a reference to the given string and assigns it to the TrackingNo field.
-func (o *CurrentOrderListRequest) SetTrackingNo(v string) {
- o.TrackingNo = &v
-}
-
-func (o CurrentOrderListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MixId) {
- toSerialize["mixId"] = o.MixId
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
- if !isNil(o.TrackingNo) {
- toSerialize["trackingNo"] = o.TrackingNo
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *CurrentOrderListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varCurrentOrderListRequest := _CurrentOrderListRequest{}
-
- if err = json.Unmarshal(bytes, &varCurrentOrderListRequest); err == nil {
- *o = CurrentOrderListRequest(varCurrentOrderListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "mixId")
- delete(additionalProperties, "pageSize")
- delete(additionalProperties, "trackingNo")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableCurrentOrderListRequest struct {
- value *CurrentOrderListRequest
- isSet bool
-}
-
-func (v NullableCurrentOrderListRequest) Get() *CurrentOrderListRequest {
- return v.value
-}
-
-func (v *NullableCurrentOrderListRequest) Set(val *CurrentOrderListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableCurrentOrderListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableCurrentOrderListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableCurrentOrderListRequest(val *CurrentOrderListRequest) *NullableCurrentOrderListRequest {
- return &NullableCurrentOrderListRequest{value: val, isSet: true}
-}
-
-func (v NullableCurrentOrderListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableCurrentOrderListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_end_order_request.go b/bitget-goland-sdk-open-api/model_end_order_request.go
deleted file mode 100644
index 118ced4d..00000000
--- a/bitget-goland-sdk-open-api/model_end_order_request.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// EndOrderRequest struct for EndOrderRequest
-type EndOrderRequest struct {
- // trackingOrderNos
- TrackingOrderNos []string `json:"trackingOrderNos"`
- AdditionalProperties map[string]interface{}
-}
-
-type _EndOrderRequest EndOrderRequest
-
-// NewEndOrderRequest instantiates a new EndOrderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewEndOrderRequest(trackingOrderNos []string) *EndOrderRequest {
- this := EndOrderRequest{}
- this.TrackingOrderNos = trackingOrderNos
- return &this
-}
-
-// NewEndOrderRequestWithDefaults instantiates a new EndOrderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewEndOrderRequestWithDefaults() *EndOrderRequest {
- this := EndOrderRequest{}
- return &this
-}
-
-// GetTrackingOrderNos returns the TrackingOrderNos field value
-func (o *EndOrderRequest) GetTrackingOrderNos() []string {
- if o == nil {
- var ret []string
- return ret
- }
-
- return o.TrackingOrderNos
-}
-
-// GetTrackingOrderNosOk returns a tuple with the TrackingOrderNos field value
-// and a boolean to check if the value has been set.
-func (o *EndOrderRequest) GetTrackingOrderNosOk() ([]string, bool) {
- if o == nil {
- return nil, false
- }
- return o.TrackingOrderNos, true
-}
-
-// SetTrackingOrderNos sets field value
-func (o *EndOrderRequest) SetTrackingOrderNos(v []string) {
- o.TrackingOrderNos = v
-}
-
-func (o EndOrderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["trackingOrderNos"] = o.TrackingOrderNos
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *EndOrderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varEndOrderRequest := _EndOrderRequest{}
-
- if err = json.Unmarshal(bytes, &varEndOrderRequest); err == nil {
- *o = EndOrderRequest(varEndOrderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "trackingOrderNos")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableEndOrderRequest struct {
- value *EndOrderRequest
- isSet bool
-}
-
-func (v NullableEndOrderRequest) Get() *EndOrderRequest {
- return v.value
-}
-
-func (v *NullableEndOrderRequest) Set(val *EndOrderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableEndOrderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableEndOrderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableEndOrderRequest(val *EndOrderRequest) *NullableEndOrderRequest {
- return &NullableEndOrderRequest{value: val, isSet: true}
-}
-
-func (v NullableEndOrderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableEndOrderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_fiat_payment_detail_info.go b/bitget-goland-sdk-open-api/model_fiat_payment_detail_info.go
deleted file mode 100644
index bd3b992c..00000000
--- a/bitget-goland-sdk-open-api/model_fiat_payment_detail_info.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// FiatPaymentDetailInfo struct for FiatPaymentDetailInfo
-type FiatPaymentDetailInfo struct {
- Name *string `json:"name,omitempty"`
- Required *bool `json:"required,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _FiatPaymentDetailInfo FiatPaymentDetailInfo
-
-// NewFiatPaymentDetailInfo instantiates a new FiatPaymentDetailInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewFiatPaymentDetailInfo() *FiatPaymentDetailInfo {
- this := FiatPaymentDetailInfo{}
- return &this
-}
-
-// NewFiatPaymentDetailInfoWithDefaults instantiates a new FiatPaymentDetailInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewFiatPaymentDetailInfoWithDefaults() *FiatPaymentDetailInfo {
- this := FiatPaymentDetailInfo{}
- return &this
-}
-
-// GetName returns the Name field value if set, zero value otherwise.
-func (o *FiatPaymentDetailInfo) GetName() string {
- if o == nil || isNil(o.Name) {
- var ret string
- return ret
- }
- return *o.Name
-}
-
-// GetNameOk returns a tuple with the Name field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentDetailInfo) GetNameOk() (*string, bool) {
- if o == nil || isNil(o.Name) {
- return nil, false
- }
- return o.Name, true
-}
-
-// HasName returns a boolean if a field has been set.
-func (o *FiatPaymentDetailInfo) HasName() bool {
- if o != nil && !isNil(o.Name) {
- return true
- }
-
- return false
-}
-
-// SetName gets a reference to the given string and assigns it to the Name field.
-func (o *FiatPaymentDetailInfo) SetName(v string) {
- o.Name = &v
-}
-
-// GetRequired returns the Required field value if set, zero value otherwise.
-func (o *FiatPaymentDetailInfo) GetRequired() bool {
- if o == nil || isNil(o.Required) {
- var ret bool
- return ret
- }
- return *o.Required
-}
-
-// GetRequiredOk returns a tuple with the Required field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentDetailInfo) GetRequiredOk() (*bool, bool) {
- if o == nil || isNil(o.Required) {
- return nil, false
- }
- return o.Required, true
-}
-
-// HasRequired returns a boolean if a field has been set.
-func (o *FiatPaymentDetailInfo) HasRequired() bool {
- if o != nil && !isNil(o.Required) {
- return true
- }
-
- return false
-}
-
-// SetRequired gets a reference to the given bool and assigns it to the Required field.
-func (o *FiatPaymentDetailInfo) SetRequired(v bool) {
- o.Required = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *FiatPaymentDetailInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentDetailInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *FiatPaymentDetailInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *FiatPaymentDetailInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o FiatPaymentDetailInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Name) {
- toSerialize["name"] = o.Name
- }
- if !isNil(o.Required) {
- toSerialize["required"] = o.Required
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *FiatPaymentDetailInfo) UnmarshalJSON(bytes []byte) (err error) {
- varFiatPaymentDetailInfo := _FiatPaymentDetailInfo{}
-
- if err = json.Unmarshal(bytes, &varFiatPaymentDetailInfo); err == nil {
- *o = FiatPaymentDetailInfo(varFiatPaymentDetailInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "name")
- delete(additionalProperties, "required")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableFiatPaymentDetailInfo struct {
- value *FiatPaymentDetailInfo
- isSet bool
-}
-
-func (v NullableFiatPaymentDetailInfo) Get() *FiatPaymentDetailInfo {
- return v.value
-}
-
-func (v *NullableFiatPaymentDetailInfo) Set(val *FiatPaymentDetailInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableFiatPaymentDetailInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableFiatPaymentDetailInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableFiatPaymentDetailInfo(val *FiatPaymentDetailInfo) *NullableFiatPaymentDetailInfo {
- return &NullableFiatPaymentDetailInfo{value: val, isSet: true}
-}
-
-func (v NullableFiatPaymentDetailInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableFiatPaymentDetailInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_fiat_payment_info.go b/bitget-goland-sdk-open-api/model_fiat_payment_info.go
deleted file mode 100644
index 381b26af..00000000
--- a/bitget-goland-sdk-open-api/model_fiat_payment_info.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// FiatPaymentInfo struct for FiatPaymentInfo
-type FiatPaymentInfo struct {
- PaymentId *string `json:"paymentId,omitempty"`
- PaymentInfo []FiatPaymentDetailInfo `json:"paymentInfo,omitempty"`
- PaymentMethod *string `json:"paymentMethod,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _FiatPaymentInfo FiatPaymentInfo
-
-// NewFiatPaymentInfo instantiates a new FiatPaymentInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewFiatPaymentInfo() *FiatPaymentInfo {
- this := FiatPaymentInfo{}
- return &this
-}
-
-// NewFiatPaymentInfoWithDefaults instantiates a new FiatPaymentInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewFiatPaymentInfoWithDefaults() *FiatPaymentInfo {
- this := FiatPaymentInfo{}
- return &this
-}
-
-// GetPaymentId returns the PaymentId field value if set, zero value otherwise.
-func (o *FiatPaymentInfo) GetPaymentId() string {
- if o == nil || isNil(o.PaymentId) {
- var ret string
- return ret
- }
- return *o.PaymentId
-}
-
-// GetPaymentIdOk returns a tuple with the PaymentId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentInfo) GetPaymentIdOk() (*string, bool) {
- if o == nil || isNil(o.PaymentId) {
- return nil, false
- }
- return o.PaymentId, true
-}
-
-// HasPaymentId returns a boolean if a field has been set.
-func (o *FiatPaymentInfo) HasPaymentId() bool {
- if o != nil && !isNil(o.PaymentId) {
- return true
- }
-
- return false
-}
-
-// SetPaymentId gets a reference to the given string and assigns it to the PaymentId field.
-func (o *FiatPaymentInfo) SetPaymentId(v string) {
- o.PaymentId = &v
-}
-
-// GetPaymentInfo returns the PaymentInfo field value if set, zero value otherwise.
-func (o *FiatPaymentInfo) GetPaymentInfo() []FiatPaymentDetailInfo {
- if o == nil || isNil(o.PaymentInfo) {
- var ret []FiatPaymentDetailInfo
- return ret
- }
- return o.PaymentInfo
-}
-
-// GetPaymentInfoOk returns a tuple with the PaymentInfo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentInfo) GetPaymentInfoOk() ([]FiatPaymentDetailInfo, bool) {
- if o == nil || isNil(o.PaymentInfo) {
- return nil, false
- }
- return o.PaymentInfo, true
-}
-
-// HasPaymentInfo returns a boolean if a field has been set.
-func (o *FiatPaymentInfo) HasPaymentInfo() bool {
- if o != nil && !isNil(o.PaymentInfo) {
- return true
- }
-
- return false
-}
-
-// SetPaymentInfo gets a reference to the given []FiatPaymentDetailInfo and assigns it to the PaymentInfo field.
-func (o *FiatPaymentInfo) SetPaymentInfo(v []FiatPaymentDetailInfo) {
- o.PaymentInfo = v
-}
-
-// GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
-func (o *FiatPaymentInfo) GetPaymentMethod() string {
- if o == nil || isNil(o.PaymentMethod) {
- var ret string
- return ret
- }
- return *o.PaymentMethod
-}
-
-// GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *FiatPaymentInfo) GetPaymentMethodOk() (*string, bool) {
- if o == nil || isNil(o.PaymentMethod) {
- return nil, false
- }
- return o.PaymentMethod, true
-}
-
-// HasPaymentMethod returns a boolean if a field has been set.
-func (o *FiatPaymentInfo) HasPaymentMethod() bool {
- if o != nil && !isNil(o.PaymentMethod) {
- return true
- }
-
- return false
-}
-
-// SetPaymentMethod gets a reference to the given string and assigns it to the PaymentMethod field.
-func (o *FiatPaymentInfo) SetPaymentMethod(v string) {
- o.PaymentMethod = &v
-}
-
-func (o FiatPaymentInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PaymentId) {
- toSerialize["paymentId"] = o.PaymentId
- }
- if !isNil(o.PaymentInfo) {
- toSerialize["paymentInfo"] = o.PaymentInfo
- }
- if !isNil(o.PaymentMethod) {
- toSerialize["paymentMethod"] = o.PaymentMethod
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *FiatPaymentInfo) UnmarshalJSON(bytes []byte) (err error) {
- varFiatPaymentInfo := _FiatPaymentInfo{}
-
- if err = json.Unmarshal(bytes, &varFiatPaymentInfo); err == nil {
- *o = FiatPaymentInfo(varFiatPaymentInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "paymentId")
- delete(additionalProperties, "paymentInfo")
- delete(additionalProperties, "paymentMethod")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableFiatPaymentInfo struct {
- value *FiatPaymentInfo
- isSet bool
-}
-
-func (v NullableFiatPaymentInfo) Get() *FiatPaymentInfo {
- return v.value
-}
-
-func (v *NullableFiatPaymentInfo) Set(val *FiatPaymentInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableFiatPaymentInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableFiatPaymentInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableFiatPaymentInfo(val *FiatPaymentInfo) *NullableFiatPaymentInfo {
- return &NullableFiatPaymentInfo{value: val, isSet: true}
-}
-
-func (v NullableFiatPaymentInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableFiatPaymentInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_history_order_list_request.go b/bitget-goland-sdk-open-api/model_history_order_list_request.go
deleted file mode 100644
index f7b81e98..00000000
--- a/bitget-goland-sdk-open-api/model_history_order_list_request.go
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// HistoryOrderListRequest struct for HistoryOrderListRequest
-type HistoryOrderListRequest struct {
- // mixId
- MixId *string `json:"mixId,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- // trackingNo
- TrackingNo *string `json:"trackingNo,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _HistoryOrderListRequest HistoryOrderListRequest
-
-// NewHistoryOrderListRequest instantiates a new HistoryOrderListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewHistoryOrderListRequest() *HistoryOrderListRequest {
- this := HistoryOrderListRequest{}
- return &this
-}
-
-// NewHistoryOrderListRequestWithDefaults instantiates a new HistoryOrderListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewHistoryOrderListRequestWithDefaults() *HistoryOrderListRequest {
- this := HistoryOrderListRequest{}
- return &this
-}
-
-// GetMixId returns the MixId field value if set, zero value otherwise.
-func (o *HistoryOrderListRequest) GetMixId() string {
- if o == nil || isNil(o.MixId) {
- var ret string
- return ret
- }
- return *o.MixId
-}
-
-// GetMixIdOk returns a tuple with the MixId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *HistoryOrderListRequest) GetMixIdOk() (*string, bool) {
- if o == nil || isNil(o.MixId) {
- return nil, false
- }
- return o.MixId, true
-}
-
-// HasMixId returns a boolean if a field has been set.
-func (o *HistoryOrderListRequest) HasMixId() bool {
- if o != nil && !isNil(o.MixId) {
- return true
- }
-
- return false
-}
-
-// SetMixId gets a reference to the given string and assigns it to the MixId field.
-func (o *HistoryOrderListRequest) SetMixId(v string) {
- o.MixId = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *HistoryOrderListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *HistoryOrderListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *HistoryOrderListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *HistoryOrderListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-// GetTrackingNo returns the TrackingNo field value if set, zero value otherwise.
-func (o *HistoryOrderListRequest) GetTrackingNo() string {
- if o == nil || isNil(o.TrackingNo) {
- var ret string
- return ret
- }
- return *o.TrackingNo
-}
-
-// GetTrackingNoOk returns a tuple with the TrackingNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *HistoryOrderListRequest) GetTrackingNoOk() (*string, bool) {
- if o == nil || isNil(o.TrackingNo) {
- return nil, false
- }
- return o.TrackingNo, true
-}
-
-// HasTrackingNo returns a boolean if a field has been set.
-func (o *HistoryOrderListRequest) HasTrackingNo() bool {
- if o != nil && !isNil(o.TrackingNo) {
- return true
- }
-
- return false
-}
-
-// SetTrackingNo gets a reference to the given string and assigns it to the TrackingNo field.
-func (o *HistoryOrderListRequest) SetTrackingNo(v string) {
- o.TrackingNo = &v
-}
-
-func (o HistoryOrderListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MixId) {
- toSerialize["mixId"] = o.MixId
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
- if !isNil(o.TrackingNo) {
- toSerialize["trackingNo"] = o.TrackingNo
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *HistoryOrderListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varHistoryOrderListRequest := _HistoryOrderListRequest{}
-
- if err = json.Unmarshal(bytes, &varHistoryOrderListRequest); err == nil {
- *o = HistoryOrderListRequest(varHistoryOrderListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "mixId")
- delete(additionalProperties, "pageSize")
- delete(additionalProperties, "trackingNo")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableHistoryOrderListRequest struct {
- value *HistoryOrderListRequest
- isSet bool
-}
-
-func (v NullableHistoryOrderListRequest) Get() *HistoryOrderListRequest {
- return v.value
-}
-
-func (v *NullableHistoryOrderListRequest) Set(val *HistoryOrderListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableHistoryOrderListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableHistoryOrderListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableHistoryOrderListRequest(val *HistoryOrderListRequest) *NullableHistoryOrderListRequest {
- return &NullableHistoryOrderListRequest{value: val, isSet: true}
-}
-
-func (v NullableHistoryOrderListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableHistoryOrderListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_request.go b/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_request.go
deleted file mode 100644
index 234e5d5c..00000000
--- a/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_request.go
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginBatchCancelOrderRequest struct for MarginBatchCancelOrderRequest
-type MarginBatchCancelOrderRequest struct {
- // clientOids
- ClientOids []string `json:"clientOids,omitempty"`
- // orderIds
- OrderIds []string `json:"orderIds,omitempty"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginBatchCancelOrderRequest MarginBatchCancelOrderRequest
-
-// NewMarginBatchCancelOrderRequest instantiates a new MarginBatchCancelOrderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginBatchCancelOrderRequest(symbol string) *MarginBatchCancelOrderRequest {
- this := MarginBatchCancelOrderRequest{}
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginBatchCancelOrderRequestWithDefaults instantiates a new MarginBatchCancelOrderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginBatchCancelOrderRequestWithDefaults() *MarginBatchCancelOrderRequest {
- this := MarginBatchCancelOrderRequest{}
- return &this
-}
-
-// GetClientOids returns the ClientOids field value if set, zero value otherwise.
-func (o *MarginBatchCancelOrderRequest) GetClientOids() []string {
- if o == nil || isNil(o.ClientOids) {
- var ret []string
- return ret
- }
- return o.ClientOids
-}
-
-// GetClientOidsOk returns a tuple with the ClientOids field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchCancelOrderRequest) GetClientOidsOk() ([]string, bool) {
- if o == nil || isNil(o.ClientOids) {
- return nil, false
- }
- return o.ClientOids, true
-}
-
-// HasClientOids returns a boolean if a field has been set.
-func (o *MarginBatchCancelOrderRequest) HasClientOids() bool {
- if o != nil && !isNil(o.ClientOids) {
- return true
- }
-
- return false
-}
-
-// SetClientOids gets a reference to the given []string and assigns it to the ClientOids field.
-func (o *MarginBatchCancelOrderRequest) SetClientOids(v []string) {
- o.ClientOids = v
-}
-
-// GetOrderIds returns the OrderIds field value if set, zero value otherwise.
-func (o *MarginBatchCancelOrderRequest) GetOrderIds() []string {
- if o == nil || isNil(o.OrderIds) {
- var ret []string
- return ret
- }
- return o.OrderIds
-}
-
-// GetOrderIdsOk returns a tuple with the OrderIds field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchCancelOrderRequest) GetOrderIdsOk() ([]string, bool) {
- if o == nil || isNil(o.OrderIds) {
- return nil, false
- }
- return o.OrderIds, true
-}
-
-// HasOrderIds returns a boolean if a field has been set.
-func (o *MarginBatchCancelOrderRequest) HasOrderIds() bool {
- if o != nil && !isNil(o.OrderIds) {
- return true
- }
-
- return false
-}
-
-// SetOrderIds gets a reference to the given []string and assigns it to the OrderIds field.
-func (o *MarginBatchCancelOrderRequest) SetOrderIds(v []string) {
- o.OrderIds = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginBatchCancelOrderRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginBatchCancelOrderRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginBatchCancelOrderRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginBatchCancelOrderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOids) {
- toSerialize["clientOids"] = o.ClientOids
- }
- if !isNil(o.OrderIds) {
- toSerialize["orderIds"] = o.OrderIds
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginBatchCancelOrderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginBatchCancelOrderRequest := _MarginBatchCancelOrderRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginBatchCancelOrderRequest); err == nil {
- *o = MarginBatchCancelOrderRequest(varMarginBatchCancelOrderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOids")
- delete(additionalProperties, "orderIds")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginBatchCancelOrderRequest struct {
- value *MarginBatchCancelOrderRequest
- isSet bool
-}
-
-func (v NullableMarginBatchCancelOrderRequest) Get() *MarginBatchCancelOrderRequest {
- return v.value
-}
-
-func (v *NullableMarginBatchCancelOrderRequest) Set(val *MarginBatchCancelOrderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginBatchCancelOrderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginBatchCancelOrderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginBatchCancelOrderRequest(val *MarginBatchCancelOrderRequest) *NullableMarginBatchCancelOrderRequest {
- return &NullableMarginBatchCancelOrderRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginBatchCancelOrderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginBatchCancelOrderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_result.go b/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_result.go
deleted file mode 100644
index 5e931181..00000000
--- a/bitget-goland-sdk-open-api/model_margin_batch_cancel_order_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginBatchCancelOrderResult struct for MarginBatchCancelOrderResult
-type MarginBatchCancelOrderResult struct {
- Failure []MarginCancelOrderFailureResult `json:"failure,omitempty"`
- ResultList []MarginCancelOrderResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginBatchCancelOrderResult MarginBatchCancelOrderResult
-
-// NewMarginBatchCancelOrderResult instantiates a new MarginBatchCancelOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginBatchCancelOrderResult() *MarginBatchCancelOrderResult {
- this := MarginBatchCancelOrderResult{}
- return &this
-}
-
-// NewMarginBatchCancelOrderResultWithDefaults instantiates a new MarginBatchCancelOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginBatchCancelOrderResultWithDefaults() *MarginBatchCancelOrderResult {
- this := MarginBatchCancelOrderResult{}
- return &this
-}
-
-// GetFailure returns the Failure field value if set, zero value otherwise.
-func (o *MarginBatchCancelOrderResult) GetFailure() []MarginCancelOrderFailureResult {
- if o == nil || isNil(o.Failure) {
- var ret []MarginCancelOrderFailureResult
- return ret
- }
- return o.Failure
-}
-
-// GetFailureOk returns a tuple with the Failure field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchCancelOrderResult) GetFailureOk() ([]MarginCancelOrderFailureResult, bool) {
- if o == nil || isNil(o.Failure) {
- return nil, false
- }
- return o.Failure, true
-}
-
-// HasFailure returns a boolean if a field has been set.
-func (o *MarginBatchCancelOrderResult) HasFailure() bool {
- if o != nil && !isNil(o.Failure) {
- return true
- }
-
- return false
-}
-
-// SetFailure gets a reference to the given []MarginCancelOrderFailureResult and assigns it to the Failure field.
-func (o *MarginBatchCancelOrderResult) SetFailure(v []MarginCancelOrderFailureResult) {
- o.Failure = v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginBatchCancelOrderResult) GetResultList() []MarginCancelOrderResult {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginCancelOrderResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchCancelOrderResult) GetResultListOk() ([]MarginCancelOrderResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginBatchCancelOrderResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginCancelOrderResult and assigns it to the ResultList field.
-func (o *MarginBatchCancelOrderResult) SetResultList(v []MarginCancelOrderResult) {
- o.ResultList = v
-}
-
-func (o MarginBatchCancelOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Failure) {
- toSerialize["failure"] = o.Failure
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginBatchCancelOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginBatchCancelOrderResult := _MarginBatchCancelOrderResult{}
-
- if err = json.Unmarshal(bytes, &varMarginBatchCancelOrderResult); err == nil {
- *o = MarginBatchCancelOrderResult(varMarginBatchCancelOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "failure")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginBatchCancelOrderResult struct {
- value *MarginBatchCancelOrderResult
- isSet bool
-}
-
-func (v NullableMarginBatchCancelOrderResult) Get() *MarginBatchCancelOrderResult {
- return v.value
-}
-
-func (v *NullableMarginBatchCancelOrderResult) Set(val *MarginBatchCancelOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginBatchCancelOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginBatchCancelOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginBatchCancelOrderResult(val *MarginBatchCancelOrderResult) *NullableMarginBatchCancelOrderResult {
- return &NullableMarginBatchCancelOrderResult{value: val, isSet: true}
-}
-
-func (v NullableMarginBatchCancelOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginBatchCancelOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_batch_orders_request.go b/bitget-goland-sdk-open-api/model_margin_batch_orders_request.go
deleted file mode 100644
index 5733ee6f..00000000
--- a/bitget-goland-sdk-open-api/model_margin_batch_orders_request.go
+++ /dev/null
@@ -1,243 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginBatchOrdersRequest struct for MarginBatchOrdersRequest
-type MarginBatchOrdersRequest struct {
- ChannelApiCode *string `json:"channelApiCode,omitempty"`
- Ip *string `json:"ip,omitempty"`
- OrderList []MarginOrderRequest `json:"orderList,omitempty"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginBatchOrdersRequest MarginBatchOrdersRequest
-
-// NewMarginBatchOrdersRequest instantiates a new MarginBatchOrdersRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginBatchOrdersRequest(symbol string) *MarginBatchOrdersRequest {
- this := MarginBatchOrdersRequest{}
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginBatchOrdersRequestWithDefaults instantiates a new MarginBatchOrdersRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginBatchOrdersRequestWithDefaults() *MarginBatchOrdersRequest {
- this := MarginBatchOrdersRequest{}
- return &this
-}
-
-// GetChannelApiCode returns the ChannelApiCode field value if set, zero value otherwise.
-func (o *MarginBatchOrdersRequest) GetChannelApiCode() string {
- if o == nil || isNil(o.ChannelApiCode) {
- var ret string
- return ret
- }
- return *o.ChannelApiCode
-}
-
-// GetChannelApiCodeOk returns a tuple with the ChannelApiCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchOrdersRequest) GetChannelApiCodeOk() (*string, bool) {
- if o == nil || isNil(o.ChannelApiCode) {
- return nil, false
- }
- return o.ChannelApiCode, true
-}
-
-// HasChannelApiCode returns a boolean if a field has been set.
-func (o *MarginBatchOrdersRequest) HasChannelApiCode() bool {
- if o != nil && !isNil(o.ChannelApiCode) {
- return true
- }
-
- return false
-}
-
-// SetChannelApiCode gets a reference to the given string and assigns it to the ChannelApiCode field.
-func (o *MarginBatchOrdersRequest) SetChannelApiCode(v string) {
- o.ChannelApiCode = &v
-}
-
-// GetIp returns the Ip field value if set, zero value otherwise.
-func (o *MarginBatchOrdersRequest) GetIp() string {
- if o == nil || isNil(o.Ip) {
- var ret string
- return ret
- }
- return *o.Ip
-}
-
-// GetIpOk returns a tuple with the Ip field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchOrdersRequest) GetIpOk() (*string, bool) {
- if o == nil || isNil(o.Ip) {
- return nil, false
- }
- return o.Ip, true
-}
-
-// HasIp returns a boolean if a field has been set.
-func (o *MarginBatchOrdersRequest) HasIp() bool {
- if o != nil && !isNil(o.Ip) {
- return true
- }
-
- return false
-}
-
-// SetIp gets a reference to the given string and assigns it to the Ip field.
-func (o *MarginBatchOrdersRequest) SetIp(v string) {
- o.Ip = &v
-}
-
-// GetOrderList returns the OrderList field value if set, zero value otherwise.
-func (o *MarginBatchOrdersRequest) GetOrderList() []MarginOrderRequest {
- if o == nil || isNil(o.OrderList) {
- var ret []MarginOrderRequest
- return ret
- }
- return o.OrderList
-}
-
-// GetOrderListOk returns a tuple with the OrderList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchOrdersRequest) GetOrderListOk() ([]MarginOrderRequest, bool) {
- if o == nil || isNil(o.OrderList) {
- return nil, false
- }
- return o.OrderList, true
-}
-
-// HasOrderList returns a boolean if a field has been set.
-func (o *MarginBatchOrdersRequest) HasOrderList() bool {
- if o != nil && !isNil(o.OrderList) {
- return true
- }
-
- return false
-}
-
-// SetOrderList gets a reference to the given []MarginOrderRequest and assigns it to the OrderList field.
-func (o *MarginBatchOrdersRequest) SetOrderList(v []MarginOrderRequest) {
- o.OrderList = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginBatchOrdersRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginBatchOrdersRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginBatchOrdersRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginBatchOrdersRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ChannelApiCode) {
- toSerialize["channelApiCode"] = o.ChannelApiCode
- }
- if !isNil(o.Ip) {
- toSerialize["ip"] = o.Ip
- }
- if !isNil(o.OrderList) {
- toSerialize["orderList"] = o.OrderList
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginBatchOrdersRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginBatchOrdersRequest := _MarginBatchOrdersRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginBatchOrdersRequest); err == nil {
- *o = MarginBatchOrdersRequest(varMarginBatchOrdersRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "channelApiCode")
- delete(additionalProperties, "ip")
- delete(additionalProperties, "orderList")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginBatchOrdersRequest struct {
- value *MarginBatchOrdersRequest
- isSet bool
-}
-
-func (v NullableMarginBatchOrdersRequest) Get() *MarginBatchOrdersRequest {
- return v.value
-}
-
-func (v *NullableMarginBatchOrdersRequest) Set(val *MarginBatchOrdersRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginBatchOrdersRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginBatchOrdersRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginBatchOrdersRequest(val *MarginBatchOrdersRequest) *NullableMarginBatchOrdersRequest {
- return &NullableMarginBatchOrdersRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginBatchOrdersRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginBatchOrdersRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_batch_place_order_failure_result.go b/bitget-goland-sdk-open-api/model_margin_batch_place_order_failure_result.go
deleted file mode 100644
index 6ccb9067..00000000
--- a/bitget-goland-sdk-open-api/model_margin_batch_place_order_failure_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginBatchPlaceOrderFailureResult struct for MarginBatchPlaceOrderFailureResult
-type MarginBatchPlaceOrderFailureResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- ErrorMsg *string `json:"errorMsg,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginBatchPlaceOrderFailureResult MarginBatchPlaceOrderFailureResult
-
-// NewMarginBatchPlaceOrderFailureResult instantiates a new MarginBatchPlaceOrderFailureResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginBatchPlaceOrderFailureResult() *MarginBatchPlaceOrderFailureResult {
- this := MarginBatchPlaceOrderFailureResult{}
- return &this
-}
-
-// NewMarginBatchPlaceOrderFailureResultWithDefaults instantiates a new MarginBatchPlaceOrderFailureResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginBatchPlaceOrderFailureResultWithDefaults() *MarginBatchPlaceOrderFailureResult {
- this := MarginBatchPlaceOrderFailureResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginBatchPlaceOrderFailureResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchPlaceOrderFailureResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginBatchPlaceOrderFailureResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginBatchPlaceOrderFailureResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetErrorMsg returns the ErrorMsg field value if set, zero value otherwise.
-func (o *MarginBatchPlaceOrderFailureResult) GetErrorMsg() string {
- if o == nil || isNil(o.ErrorMsg) {
- var ret string
- return ret
- }
- return *o.ErrorMsg
-}
-
-// GetErrorMsgOk returns a tuple with the ErrorMsg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchPlaceOrderFailureResult) GetErrorMsgOk() (*string, bool) {
- if o == nil || isNil(o.ErrorMsg) {
- return nil, false
- }
- return o.ErrorMsg, true
-}
-
-// HasErrorMsg returns a boolean if a field has been set.
-func (o *MarginBatchPlaceOrderFailureResult) HasErrorMsg() bool {
- if o != nil && !isNil(o.ErrorMsg) {
- return true
- }
-
- return false
-}
-
-// SetErrorMsg gets a reference to the given string and assigns it to the ErrorMsg field.
-func (o *MarginBatchPlaceOrderFailureResult) SetErrorMsg(v string) {
- o.ErrorMsg = &v
-}
-
-func (o MarginBatchPlaceOrderFailureResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.ErrorMsg) {
- toSerialize["errorMsg"] = o.ErrorMsg
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginBatchPlaceOrderFailureResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginBatchPlaceOrderFailureResult := _MarginBatchPlaceOrderFailureResult{}
-
- if err = json.Unmarshal(bytes, &varMarginBatchPlaceOrderFailureResult); err == nil {
- *o = MarginBatchPlaceOrderFailureResult(varMarginBatchPlaceOrderFailureResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "errorMsg")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginBatchPlaceOrderFailureResult struct {
- value *MarginBatchPlaceOrderFailureResult
- isSet bool
-}
-
-func (v NullableMarginBatchPlaceOrderFailureResult) Get() *MarginBatchPlaceOrderFailureResult {
- return v.value
-}
-
-func (v *NullableMarginBatchPlaceOrderFailureResult) Set(val *MarginBatchPlaceOrderFailureResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginBatchPlaceOrderFailureResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginBatchPlaceOrderFailureResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginBatchPlaceOrderFailureResult(val *MarginBatchPlaceOrderFailureResult) *NullableMarginBatchPlaceOrderFailureResult {
- return &NullableMarginBatchPlaceOrderFailureResult{value: val, isSet: true}
-}
-
-func (v NullableMarginBatchPlaceOrderFailureResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginBatchPlaceOrderFailureResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_batch_place_order_result.go b/bitget-goland-sdk-open-api/model_margin_batch_place_order_result.go
deleted file mode 100644
index aa4b56ba..00000000
--- a/bitget-goland-sdk-open-api/model_margin_batch_place_order_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginBatchPlaceOrderResult struct for MarginBatchPlaceOrderResult
-type MarginBatchPlaceOrderResult struct {
- Failure []MarginBatchPlaceOrderFailureResult `json:"failure,omitempty"`
- ResultList []MarginCancelOrderResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginBatchPlaceOrderResult MarginBatchPlaceOrderResult
-
-// NewMarginBatchPlaceOrderResult instantiates a new MarginBatchPlaceOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginBatchPlaceOrderResult() *MarginBatchPlaceOrderResult {
- this := MarginBatchPlaceOrderResult{}
- return &this
-}
-
-// NewMarginBatchPlaceOrderResultWithDefaults instantiates a new MarginBatchPlaceOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginBatchPlaceOrderResultWithDefaults() *MarginBatchPlaceOrderResult {
- this := MarginBatchPlaceOrderResult{}
- return &this
-}
-
-// GetFailure returns the Failure field value if set, zero value otherwise.
-func (o *MarginBatchPlaceOrderResult) GetFailure() []MarginBatchPlaceOrderFailureResult {
- if o == nil || isNil(o.Failure) {
- var ret []MarginBatchPlaceOrderFailureResult
- return ret
- }
- return o.Failure
-}
-
-// GetFailureOk returns a tuple with the Failure field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchPlaceOrderResult) GetFailureOk() ([]MarginBatchPlaceOrderFailureResult, bool) {
- if o == nil || isNil(o.Failure) {
- return nil, false
- }
- return o.Failure, true
-}
-
-// HasFailure returns a boolean if a field has been set.
-func (o *MarginBatchPlaceOrderResult) HasFailure() bool {
- if o != nil && !isNil(o.Failure) {
- return true
- }
-
- return false
-}
-
-// SetFailure gets a reference to the given []MarginBatchPlaceOrderFailureResult and assigns it to the Failure field.
-func (o *MarginBatchPlaceOrderResult) SetFailure(v []MarginBatchPlaceOrderFailureResult) {
- o.Failure = v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginBatchPlaceOrderResult) GetResultList() []MarginCancelOrderResult {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginCancelOrderResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginBatchPlaceOrderResult) GetResultListOk() ([]MarginCancelOrderResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginBatchPlaceOrderResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginCancelOrderResult and assigns it to the ResultList field.
-func (o *MarginBatchPlaceOrderResult) SetResultList(v []MarginCancelOrderResult) {
- o.ResultList = v
-}
-
-func (o MarginBatchPlaceOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Failure) {
- toSerialize["failure"] = o.Failure
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginBatchPlaceOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginBatchPlaceOrderResult := _MarginBatchPlaceOrderResult{}
-
- if err = json.Unmarshal(bytes, &varMarginBatchPlaceOrderResult); err == nil {
- *o = MarginBatchPlaceOrderResult(varMarginBatchPlaceOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "failure")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginBatchPlaceOrderResult struct {
- value *MarginBatchPlaceOrderResult
- isSet bool
-}
-
-func (v NullableMarginBatchPlaceOrderResult) Get() *MarginBatchPlaceOrderResult {
- return v.value
-}
-
-func (v *NullableMarginBatchPlaceOrderResult) Set(val *MarginBatchPlaceOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginBatchPlaceOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginBatchPlaceOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginBatchPlaceOrderResult(val *MarginBatchPlaceOrderResult) *NullableMarginBatchPlaceOrderResult {
- return &NullableMarginBatchPlaceOrderResult{value: val, isSet: true}
-}
-
-func (v NullableMarginBatchPlaceOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginBatchPlaceOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cancel_order_failure_result.go b/bitget-goland-sdk-open-api/model_margin_cancel_order_failure_result.go
deleted file mode 100644
index 5ed2518d..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cancel_order_failure_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCancelOrderFailureResult struct for MarginCancelOrderFailureResult
-type MarginCancelOrderFailureResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- ErrorMsg *string `json:"errorMsg,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCancelOrderFailureResult MarginCancelOrderFailureResult
-
-// NewMarginCancelOrderFailureResult instantiates a new MarginCancelOrderFailureResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCancelOrderFailureResult() *MarginCancelOrderFailureResult {
- this := MarginCancelOrderFailureResult{}
- return &this
-}
-
-// NewMarginCancelOrderFailureResultWithDefaults instantiates a new MarginCancelOrderFailureResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCancelOrderFailureResultWithDefaults() *MarginCancelOrderFailureResult {
- this := MarginCancelOrderFailureResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginCancelOrderFailureResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderFailureResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginCancelOrderFailureResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginCancelOrderFailureResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetErrorMsg returns the ErrorMsg field value if set, zero value otherwise.
-func (o *MarginCancelOrderFailureResult) GetErrorMsg() string {
- if o == nil || isNil(o.ErrorMsg) {
- var ret string
- return ret
- }
- return *o.ErrorMsg
-}
-
-// GetErrorMsgOk returns a tuple with the ErrorMsg field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderFailureResult) GetErrorMsgOk() (*string, bool) {
- if o == nil || isNil(o.ErrorMsg) {
- return nil, false
- }
- return o.ErrorMsg, true
-}
-
-// HasErrorMsg returns a boolean if a field has been set.
-func (o *MarginCancelOrderFailureResult) HasErrorMsg() bool {
- if o != nil && !isNil(o.ErrorMsg) {
- return true
- }
-
- return false
-}
-
-// SetErrorMsg gets a reference to the given string and assigns it to the ErrorMsg field.
-func (o *MarginCancelOrderFailureResult) SetErrorMsg(v string) {
- o.ErrorMsg = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginCancelOrderFailureResult) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderFailureResult) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginCancelOrderFailureResult) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginCancelOrderFailureResult) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-func (o MarginCancelOrderFailureResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.ErrorMsg) {
- toSerialize["errorMsg"] = o.ErrorMsg
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCancelOrderFailureResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCancelOrderFailureResult := _MarginCancelOrderFailureResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCancelOrderFailureResult); err == nil {
- *o = MarginCancelOrderFailureResult(varMarginCancelOrderFailureResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "errorMsg")
- delete(additionalProperties, "orderId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCancelOrderFailureResult struct {
- value *MarginCancelOrderFailureResult
- isSet bool
-}
-
-func (v NullableMarginCancelOrderFailureResult) Get() *MarginCancelOrderFailureResult {
- return v.value
-}
-
-func (v *NullableMarginCancelOrderFailureResult) Set(val *MarginCancelOrderFailureResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCancelOrderFailureResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCancelOrderFailureResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCancelOrderFailureResult(val *MarginCancelOrderFailureResult) *NullableMarginCancelOrderFailureResult {
- return &NullableMarginCancelOrderFailureResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCancelOrderFailureResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCancelOrderFailureResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cancel_order_request.go b/bitget-goland-sdk-open-api/model_margin_cancel_order_request.go
deleted file mode 100644
index 5271240d..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cancel_order_request.go
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCancelOrderRequest struct for MarginCancelOrderRequest
-type MarginCancelOrderRequest struct {
- // clientOid
- ClientOid *string `json:"clientOid,omitempty"`
- // orderId
- OrderId *string `json:"orderId,omitempty"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCancelOrderRequest MarginCancelOrderRequest
-
-// NewMarginCancelOrderRequest instantiates a new MarginCancelOrderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCancelOrderRequest(symbol string) *MarginCancelOrderRequest {
- this := MarginCancelOrderRequest{}
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginCancelOrderRequestWithDefaults instantiates a new MarginCancelOrderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCancelOrderRequestWithDefaults() *MarginCancelOrderRequest {
- this := MarginCancelOrderRequest{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginCancelOrderRequest) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderRequest) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginCancelOrderRequest) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginCancelOrderRequest) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginCancelOrderRequest) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderRequest) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginCancelOrderRequest) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginCancelOrderRequest) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginCancelOrderRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginCancelOrderRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginCancelOrderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCancelOrderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCancelOrderRequest := _MarginCancelOrderRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginCancelOrderRequest); err == nil {
- *o = MarginCancelOrderRequest(varMarginCancelOrderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "orderId")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCancelOrderRequest struct {
- value *MarginCancelOrderRequest
- isSet bool
-}
-
-func (v NullableMarginCancelOrderRequest) Get() *MarginCancelOrderRequest {
- return v.value
-}
-
-func (v *NullableMarginCancelOrderRequest) Set(val *MarginCancelOrderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCancelOrderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCancelOrderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCancelOrderRequest(val *MarginCancelOrderRequest) *NullableMarginCancelOrderRequest {
- return &NullableMarginCancelOrderRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginCancelOrderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCancelOrderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cancel_order_result.go b/bitget-goland-sdk-open-api/model_margin_cancel_order_result.go
deleted file mode 100644
index c6bf0372..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cancel_order_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCancelOrderResult struct for MarginCancelOrderResult
-type MarginCancelOrderResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCancelOrderResult MarginCancelOrderResult
-
-// NewMarginCancelOrderResult instantiates a new MarginCancelOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCancelOrderResult() *MarginCancelOrderResult {
- this := MarginCancelOrderResult{}
- return &this
-}
-
-// NewMarginCancelOrderResultWithDefaults instantiates a new MarginCancelOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCancelOrderResultWithDefaults() *MarginCancelOrderResult {
- this := MarginCancelOrderResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginCancelOrderResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginCancelOrderResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginCancelOrderResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginCancelOrderResult) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCancelOrderResult) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginCancelOrderResult) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginCancelOrderResult) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-func (o MarginCancelOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCancelOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCancelOrderResult := _MarginCancelOrderResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCancelOrderResult); err == nil {
- *o = MarginCancelOrderResult(varMarginCancelOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "orderId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCancelOrderResult struct {
- value *MarginCancelOrderResult
- isSet bool
-}
-
-func (v NullableMarginCancelOrderResult) Get() *MarginCancelOrderResult {
- return v.value
-}
-
-func (v *NullableMarginCancelOrderResult) Set(val *MarginCancelOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCancelOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCancelOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCancelOrderResult(val *MarginCancelOrderResult) *NullableMarginCancelOrderResult {
- return &NullableMarginCancelOrderResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCancelOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCancelOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_assets_population_result.go b/bitget-goland-sdk-open-api/model_margin_cross_assets_population_result.go
deleted file mode 100644
index 123974a0..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_assets_population_result.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossAssetsPopulationResult struct for MarginCrossAssetsPopulationResult
-type MarginCrossAssetsPopulationResult struct {
- Available *string `json:"available,omitempty"`
- Borrow *string `json:"borrow,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Frozen *string `json:"frozen,omitempty"`
- Interest *string `json:"interest,omitempty"`
- Net *string `json:"net,omitempty"`
- TotalAmount *string `json:"totalAmount,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossAssetsPopulationResult MarginCrossAssetsPopulationResult
-
-// NewMarginCrossAssetsPopulationResult instantiates a new MarginCrossAssetsPopulationResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossAssetsPopulationResult() *MarginCrossAssetsPopulationResult {
- this := MarginCrossAssetsPopulationResult{}
- return &this
-}
-
-// NewMarginCrossAssetsPopulationResultWithDefaults instantiates a new MarginCrossAssetsPopulationResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossAssetsPopulationResultWithDefaults() *MarginCrossAssetsPopulationResult {
- this := MarginCrossAssetsPopulationResult{}
- return &this
-}
-
-// GetAvailable returns the Available field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetAvailable() string {
- if o == nil || isNil(o.Available) {
- var ret string
- return ret
- }
- return *o.Available
-}
-
-// GetAvailableOk returns a tuple with the Available field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetAvailableOk() (*string, bool) {
- if o == nil || isNil(o.Available) {
- return nil, false
- }
- return o.Available, true
-}
-
-// HasAvailable returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasAvailable() bool {
- if o != nil && !isNil(o.Available) {
- return true
- }
-
- return false
-}
-
-// SetAvailable gets a reference to the given string and assigns it to the Available field.
-func (o *MarginCrossAssetsPopulationResult) SetAvailable(v string) {
- o.Available = &v
-}
-
-// GetBorrow returns the Borrow field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetBorrow() string {
- if o == nil || isNil(o.Borrow) {
- var ret string
- return ret
- }
- return *o.Borrow
-}
-
-// GetBorrowOk returns a tuple with the Borrow field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetBorrowOk() (*string, bool) {
- if o == nil || isNil(o.Borrow) {
- return nil, false
- }
- return o.Borrow, true
-}
-
-// HasBorrow returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasBorrow() bool {
- if o != nil && !isNil(o.Borrow) {
- return true
- }
-
- return false
-}
-
-// SetBorrow gets a reference to the given string and assigns it to the Borrow field.
-func (o *MarginCrossAssetsPopulationResult) SetBorrow(v string) {
- o.Borrow = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossAssetsPopulationResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginCrossAssetsPopulationResult) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFrozen returns the Frozen field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetFrozen() string {
- if o == nil || isNil(o.Frozen) {
- var ret string
- return ret
- }
- return *o.Frozen
-}
-
-// GetFrozenOk returns a tuple with the Frozen field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetFrozenOk() (*string, bool) {
- if o == nil || isNil(o.Frozen) {
- return nil, false
- }
- return o.Frozen, true
-}
-
-// HasFrozen returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasFrozen() bool {
- if o != nil && !isNil(o.Frozen) {
- return true
- }
-
- return false
-}
-
-// SetFrozen gets a reference to the given string and assigns it to the Frozen field.
-func (o *MarginCrossAssetsPopulationResult) SetFrozen(v string) {
- o.Frozen = &v
-}
-
-// GetInterest returns the Interest field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetInterest() string {
- if o == nil || isNil(o.Interest) {
- var ret string
- return ret
- }
- return *o.Interest
-}
-
-// GetInterestOk returns a tuple with the Interest field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetInterestOk() (*string, bool) {
- if o == nil || isNil(o.Interest) {
- return nil, false
- }
- return o.Interest, true
-}
-
-// HasInterest returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasInterest() bool {
- if o != nil && !isNil(o.Interest) {
- return true
- }
-
- return false
-}
-
-// SetInterest gets a reference to the given string and assigns it to the Interest field.
-func (o *MarginCrossAssetsPopulationResult) SetInterest(v string) {
- o.Interest = &v
-}
-
-// GetNet returns the Net field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetNet() string {
- if o == nil || isNil(o.Net) {
- var ret string
- return ret
- }
- return *o.Net
-}
-
-// GetNetOk returns a tuple with the Net field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetNetOk() (*string, bool) {
- if o == nil || isNil(o.Net) {
- return nil, false
- }
- return o.Net, true
-}
-
-// HasNet returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasNet() bool {
- if o != nil && !isNil(o.Net) {
- return true
- }
-
- return false
-}
-
-// SetNet gets a reference to the given string and assigns it to the Net field.
-func (o *MarginCrossAssetsPopulationResult) SetNet(v string) {
- o.Net = &v
-}
-
-// GetTotalAmount returns the TotalAmount field value if set, zero value otherwise.
-func (o *MarginCrossAssetsPopulationResult) GetTotalAmount() string {
- if o == nil || isNil(o.TotalAmount) {
- var ret string
- return ret
- }
- return *o.TotalAmount
-}
-
-// GetTotalAmountOk returns a tuple with the TotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsPopulationResult) GetTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.TotalAmount) {
- return nil, false
- }
- return o.TotalAmount, true
-}
-
-// HasTotalAmount returns a boolean if a field has been set.
-func (o *MarginCrossAssetsPopulationResult) HasTotalAmount() bool {
- if o != nil && !isNil(o.TotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetTotalAmount gets a reference to the given string and assigns it to the TotalAmount field.
-func (o *MarginCrossAssetsPopulationResult) SetTotalAmount(v string) {
- o.TotalAmount = &v
-}
-
-func (o MarginCrossAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Available) {
- toSerialize["available"] = o.Available
- }
- if !isNil(o.Borrow) {
- toSerialize["borrow"] = o.Borrow
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Frozen) {
- toSerialize["frozen"] = o.Frozen
- }
- if !isNil(o.Interest) {
- toSerialize["interest"] = o.Interest
- }
- if !isNil(o.Net) {
- toSerialize["net"] = o.Net
- }
- if !isNil(o.TotalAmount) {
- toSerialize["totalAmount"] = o.TotalAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossAssetsPopulationResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossAssetsPopulationResult := _MarginCrossAssetsPopulationResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossAssetsPopulationResult); err == nil {
- *o = MarginCrossAssetsPopulationResult(varMarginCrossAssetsPopulationResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "available")
- delete(additionalProperties, "borrow")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "frozen")
- delete(additionalProperties, "interest")
- delete(additionalProperties, "net")
- delete(additionalProperties, "totalAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossAssetsPopulationResult struct {
- value *MarginCrossAssetsPopulationResult
- isSet bool
-}
-
-func (v NullableMarginCrossAssetsPopulationResult) Get() *MarginCrossAssetsPopulationResult {
- return v.value
-}
-
-func (v *NullableMarginCrossAssetsPopulationResult) Set(val *MarginCrossAssetsPopulationResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossAssetsPopulationResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossAssetsPopulationResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossAssetsPopulationResult(val *MarginCrossAssetsPopulationResult) *NullableMarginCrossAssetsPopulationResult {
- return &NullableMarginCrossAssetsPopulationResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossAssetsPopulationResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_assets_result.go b/bitget-goland-sdk-open-api/model_margin_cross_assets_result.go
deleted file mode 100644
index 2d3dbbc2..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_assets_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossAssetsResult struct for MarginCrossAssetsResult
-type MarginCrossAssetsResult struct {
- Coin *string `json:"coin,omitempty"`
- MaxTransferOutAmount *string `json:"maxTransferOutAmount,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossAssetsResult MarginCrossAssetsResult
-
-// NewMarginCrossAssetsResult instantiates a new MarginCrossAssetsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossAssetsResult() *MarginCrossAssetsResult {
- this := MarginCrossAssetsResult{}
- return &this
-}
-
-// NewMarginCrossAssetsResultWithDefaults instantiates a new MarginCrossAssetsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossAssetsResultWithDefaults() *MarginCrossAssetsResult {
- this := MarginCrossAssetsResult{}
- return &this
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossAssetsResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossAssetsResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossAssetsResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetMaxTransferOutAmount returns the MaxTransferOutAmount field value if set, zero value otherwise.
-func (o *MarginCrossAssetsResult) GetMaxTransferOutAmount() string {
- if o == nil || isNil(o.MaxTransferOutAmount) {
- var ret string
- return ret
- }
- return *o.MaxTransferOutAmount
-}
-
-// GetMaxTransferOutAmountOk returns a tuple with the MaxTransferOutAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsResult) GetMaxTransferOutAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTransferOutAmount) {
- return nil, false
- }
- return o.MaxTransferOutAmount, true
-}
-
-// HasMaxTransferOutAmount returns a boolean if a field has been set.
-func (o *MarginCrossAssetsResult) HasMaxTransferOutAmount() bool {
- if o != nil && !isNil(o.MaxTransferOutAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTransferOutAmount gets a reference to the given string and assigns it to the MaxTransferOutAmount field.
-func (o *MarginCrossAssetsResult) SetMaxTransferOutAmount(v string) {
- o.MaxTransferOutAmount = &v
-}
-
-func (o MarginCrossAssetsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.MaxTransferOutAmount) {
- toSerialize["maxTransferOutAmount"] = o.MaxTransferOutAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossAssetsResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossAssetsResult := _MarginCrossAssetsResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossAssetsResult); err == nil {
- *o = MarginCrossAssetsResult(varMarginCrossAssetsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "maxTransferOutAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossAssetsResult struct {
- value *MarginCrossAssetsResult
- isSet bool
-}
-
-func (v NullableMarginCrossAssetsResult) Get() *MarginCrossAssetsResult {
- return v.value
-}
-
-func (v *NullableMarginCrossAssetsResult) Set(val *MarginCrossAssetsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossAssetsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossAssetsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossAssetsResult(val *MarginCrossAssetsResult) *NullableMarginCrossAssetsResult {
- return &NullableMarginCrossAssetsResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossAssetsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossAssetsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_assets_risk_result.go b/bitget-goland-sdk-open-api/model_margin_cross_assets_risk_result.go
deleted file mode 100644
index 6058641c..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_assets_risk_result.go
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossAssetsRiskResult struct for MarginCrossAssetsRiskResult
-type MarginCrossAssetsRiskResult struct {
- RiskRate *string `json:"riskRate,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossAssetsRiskResult MarginCrossAssetsRiskResult
-
-// NewMarginCrossAssetsRiskResult instantiates a new MarginCrossAssetsRiskResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossAssetsRiskResult() *MarginCrossAssetsRiskResult {
- this := MarginCrossAssetsRiskResult{}
- return &this
-}
-
-// NewMarginCrossAssetsRiskResultWithDefaults instantiates a new MarginCrossAssetsRiskResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossAssetsRiskResultWithDefaults() *MarginCrossAssetsRiskResult {
- this := MarginCrossAssetsRiskResult{}
- return &this
-}
-
-// GetRiskRate returns the RiskRate field value if set, zero value otherwise.
-func (o *MarginCrossAssetsRiskResult) GetRiskRate() string {
- if o == nil || isNil(o.RiskRate) {
- var ret string
- return ret
- }
- return *o.RiskRate
-}
-
-// GetRiskRateOk returns a tuple with the RiskRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossAssetsRiskResult) GetRiskRateOk() (*string, bool) {
- if o == nil || isNil(o.RiskRate) {
- return nil, false
- }
- return o.RiskRate, true
-}
-
-// HasRiskRate returns a boolean if a field has been set.
-func (o *MarginCrossAssetsRiskResult) HasRiskRate() bool {
- if o != nil && !isNil(o.RiskRate) {
- return true
- }
-
- return false
-}
-
-// SetRiskRate gets a reference to the given string and assigns it to the RiskRate field.
-func (o *MarginCrossAssetsRiskResult) SetRiskRate(v string) {
- o.RiskRate = &v
-}
-
-func (o MarginCrossAssetsRiskResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.RiskRate) {
- toSerialize["riskRate"] = o.RiskRate
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossAssetsRiskResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossAssetsRiskResult := _MarginCrossAssetsRiskResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossAssetsRiskResult); err == nil {
- *o = MarginCrossAssetsRiskResult(varMarginCrossAssetsRiskResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "riskRate")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossAssetsRiskResult struct {
- value *MarginCrossAssetsRiskResult
- isSet bool
-}
-
-func (v NullableMarginCrossAssetsRiskResult) Get() *MarginCrossAssetsRiskResult {
- return v.value
-}
-
-func (v *NullableMarginCrossAssetsRiskResult) Set(val *MarginCrossAssetsRiskResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossAssetsRiskResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossAssetsRiskResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossAssetsRiskResult(val *MarginCrossAssetsRiskResult) *NullableMarginCrossAssetsRiskResult {
- return &NullableMarginCrossAssetsRiskResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossAssetsRiskResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossAssetsRiskResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_borrow_limit_result.go b/bitget-goland-sdk-open-api/model_margin_cross_borrow_limit_result.go
deleted file mode 100644
index 35eff90b..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_borrow_limit_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossBorrowLimitResult struct for MarginCrossBorrowLimitResult
-type MarginCrossBorrowLimitResult struct {
- BorrowAmount *string `json:"borrowAmount,omitempty"`
- ClientOid *string `json:"clientOid,omitempty"`
- Coin *string `json:"coin,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossBorrowLimitResult MarginCrossBorrowLimitResult
-
-// NewMarginCrossBorrowLimitResult instantiates a new MarginCrossBorrowLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossBorrowLimitResult() *MarginCrossBorrowLimitResult {
- this := MarginCrossBorrowLimitResult{}
- return &this
-}
-
-// NewMarginCrossBorrowLimitResultWithDefaults instantiates a new MarginCrossBorrowLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossBorrowLimitResultWithDefaults() *MarginCrossBorrowLimitResult {
- this := MarginCrossBorrowLimitResult{}
- return &this
-}
-
-// GetBorrowAmount returns the BorrowAmount field value if set, zero value otherwise.
-func (o *MarginCrossBorrowLimitResult) GetBorrowAmount() string {
- if o == nil || isNil(o.BorrowAmount) {
- var ret string
- return ret
- }
- return *o.BorrowAmount
-}
-
-// GetBorrowAmountOk returns a tuple with the BorrowAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossBorrowLimitResult) GetBorrowAmountOk() (*string, bool) {
- if o == nil || isNil(o.BorrowAmount) {
- return nil, false
- }
- return o.BorrowAmount, true
-}
-
-// HasBorrowAmount returns a boolean if a field has been set.
-func (o *MarginCrossBorrowLimitResult) HasBorrowAmount() bool {
- if o != nil && !isNil(o.BorrowAmount) {
- return true
- }
-
- return false
-}
-
-// SetBorrowAmount gets a reference to the given string and assigns it to the BorrowAmount field.
-func (o *MarginCrossBorrowLimitResult) SetBorrowAmount(v string) {
- o.BorrowAmount = &v
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginCrossBorrowLimitResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossBorrowLimitResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginCrossBorrowLimitResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginCrossBorrowLimitResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossBorrowLimitResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossBorrowLimitResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossBorrowLimitResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossBorrowLimitResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-func (o MarginCrossBorrowLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BorrowAmount) {
- toSerialize["borrowAmount"] = o.BorrowAmount
- }
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossBorrowLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossBorrowLimitResult := _MarginCrossBorrowLimitResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossBorrowLimitResult); err == nil {
- *o = MarginCrossBorrowLimitResult(varMarginCrossBorrowLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "borrowAmount")
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "coin")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossBorrowLimitResult struct {
- value *MarginCrossBorrowLimitResult
- isSet bool
-}
-
-func (v NullableMarginCrossBorrowLimitResult) Get() *MarginCrossBorrowLimitResult {
- return v.value
-}
-
-func (v *NullableMarginCrossBorrowLimitResult) Set(val *MarginCrossBorrowLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossBorrowLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossBorrowLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossBorrowLimitResult(val *MarginCrossBorrowLimitResult) *NullableMarginCrossBorrowLimitResult {
- return &NullableMarginCrossBorrowLimitResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossBorrowLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossBorrowLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_info.go b/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_info.go
deleted file mode 100644
index c28e0832..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_info.go
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossFinFlowInfo struct for MarginCrossFinFlowInfo
-type MarginCrossFinFlowInfo struct {
- Amount *string `json:"amount,omitempty"`
- Balance *string `json:"balance,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Fee *string `json:"fee,omitempty"`
- MarginId *string `json:"marginId,omitempty"`
- MarginType *string `json:"marginType,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossFinFlowInfo MarginCrossFinFlowInfo
-
-// NewMarginCrossFinFlowInfo instantiates a new MarginCrossFinFlowInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossFinFlowInfo() *MarginCrossFinFlowInfo {
- this := MarginCrossFinFlowInfo{}
- return &this
-}
-
-// NewMarginCrossFinFlowInfoWithDefaults instantiates a new MarginCrossFinFlowInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossFinFlowInfoWithDefaults() *MarginCrossFinFlowInfo {
- this := MarginCrossFinFlowInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginCrossFinFlowInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetBalance returns the Balance field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetBalance() string {
- if o == nil || isNil(o.Balance) {
- var ret string
- return ret
- }
- return *o.Balance
-}
-
-// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetBalanceOk() (*string, bool) {
- if o == nil || isNil(o.Balance) {
- return nil, false
- }
- return o.Balance, true
-}
-
-// HasBalance returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasBalance() bool {
- if o != nil && !isNil(o.Balance) {
- return true
- }
-
- return false
-}
-
-// SetBalance gets a reference to the given string and assigns it to the Balance field.
-func (o *MarginCrossFinFlowInfo) SetBalance(v string) {
- o.Balance = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossFinFlowInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginCrossFinFlowInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFee returns the Fee field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetFee() string {
- if o == nil || isNil(o.Fee) {
- var ret string
- return ret
- }
- return *o.Fee
-}
-
-// GetFeeOk returns a tuple with the Fee field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetFeeOk() (*string, bool) {
- if o == nil || isNil(o.Fee) {
- return nil, false
- }
- return o.Fee, true
-}
-
-// HasFee returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasFee() bool {
- if o != nil && !isNil(o.Fee) {
- return true
- }
-
- return false
-}
-
-// SetFee gets a reference to the given string and assigns it to the Fee field.
-func (o *MarginCrossFinFlowInfo) SetFee(v string) {
- o.Fee = &v
-}
-
-// GetMarginId returns the MarginId field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetMarginId() string {
- if o == nil || isNil(o.MarginId) {
- var ret string
- return ret
- }
- return *o.MarginId
-}
-
-// GetMarginIdOk returns a tuple with the MarginId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetMarginIdOk() (*string, bool) {
- if o == nil || isNil(o.MarginId) {
- return nil, false
- }
- return o.MarginId, true
-}
-
-// HasMarginId returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasMarginId() bool {
- if o != nil && !isNil(o.MarginId) {
- return true
- }
-
- return false
-}
-
-// SetMarginId gets a reference to the given string and assigns it to the MarginId field.
-func (o *MarginCrossFinFlowInfo) SetMarginId(v string) {
- o.MarginId = &v
-}
-
-// GetMarginType returns the MarginType field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowInfo) GetMarginType() string {
- if o == nil || isNil(o.MarginType) {
- var ret string
- return ret
- }
- return *o.MarginType
-}
-
-// GetMarginTypeOk returns a tuple with the MarginType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowInfo) GetMarginTypeOk() (*string, bool) {
- if o == nil || isNil(o.MarginType) {
- return nil, false
- }
- return o.MarginType, true
-}
-
-// HasMarginType returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowInfo) HasMarginType() bool {
- if o != nil && !isNil(o.MarginType) {
- return true
- }
-
- return false
-}
-
-// SetMarginType gets a reference to the given string and assigns it to the MarginType field.
-func (o *MarginCrossFinFlowInfo) SetMarginType(v string) {
- o.MarginType = &v
-}
-
-func (o MarginCrossFinFlowInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Balance) {
- toSerialize["balance"] = o.Balance
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Fee) {
- toSerialize["fee"] = o.Fee
- }
- if !isNil(o.MarginId) {
- toSerialize["marginId"] = o.MarginId
- }
- if !isNil(o.MarginType) {
- toSerialize["marginType"] = o.MarginType
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossFinFlowInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossFinFlowInfo := _MarginCrossFinFlowInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossFinFlowInfo); err == nil {
- *o = MarginCrossFinFlowInfo(varMarginCrossFinFlowInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "balance")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "fee")
- delete(additionalProperties, "marginId")
- delete(additionalProperties, "marginType")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossFinFlowInfo struct {
- value *MarginCrossFinFlowInfo
- isSet bool
-}
-
-func (v NullableMarginCrossFinFlowInfo) Get() *MarginCrossFinFlowInfo {
- return v.value
-}
-
-func (v *NullableMarginCrossFinFlowInfo) Set(val *MarginCrossFinFlowInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossFinFlowInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossFinFlowInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossFinFlowInfo(val *MarginCrossFinFlowInfo) *NullableMarginCrossFinFlowInfo {
- return &NullableMarginCrossFinFlowInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossFinFlowInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossFinFlowInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_result.go b/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_result.go
deleted file mode 100644
index 689f03e3..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_fin_flow_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossFinFlowResult struct for MarginCrossFinFlowResult
-type MarginCrossFinFlowResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginCrossFinFlowInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossFinFlowResult MarginCrossFinFlowResult
-
-// NewMarginCrossFinFlowResult instantiates a new MarginCrossFinFlowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossFinFlowResult() *MarginCrossFinFlowResult {
- this := MarginCrossFinFlowResult{}
- return &this
-}
-
-// NewMarginCrossFinFlowResultWithDefaults instantiates a new MarginCrossFinFlowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossFinFlowResultWithDefaults() *MarginCrossFinFlowResult {
- this := MarginCrossFinFlowResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginCrossFinFlowResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginCrossFinFlowResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginCrossFinFlowResult) GetResultList() []MarginCrossFinFlowInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginCrossFinFlowInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossFinFlowResult) GetResultListOk() ([]MarginCrossFinFlowInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginCrossFinFlowResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginCrossFinFlowInfo and assigns it to the ResultList field.
-func (o *MarginCrossFinFlowResult) SetResultList(v []MarginCrossFinFlowInfo) {
- o.ResultList = v
-}
-
-func (o MarginCrossFinFlowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossFinFlowResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossFinFlowResult := _MarginCrossFinFlowResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossFinFlowResult); err == nil {
- *o = MarginCrossFinFlowResult(varMarginCrossFinFlowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossFinFlowResult struct {
- value *MarginCrossFinFlowResult
- isSet bool
-}
-
-func (v NullableMarginCrossFinFlowResult) Get() *MarginCrossFinFlowResult {
- return v.value
-}
-
-func (v *NullableMarginCrossFinFlowResult) Set(val *MarginCrossFinFlowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossFinFlowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossFinFlowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossFinFlowResult(val *MarginCrossFinFlowResult) *NullableMarginCrossFinFlowResult {
- return &NullableMarginCrossFinFlowResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossFinFlowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossFinFlowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_level_result.go b/bitget-goland-sdk-open-api/model_margin_cross_level_result.go
deleted file mode 100644
index ff79b690..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_level_result.go
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossLevelResult struct for MarginCrossLevelResult
-type MarginCrossLevelResult struct {
- Coin *string `json:"coin,omitempty"`
- Leverage *string `json:"leverage,omitempty"`
- MaintainMarginRate *string `json:"maintainMarginRate,omitempty"`
- MaxBorrowableAmount *string `json:"maxBorrowableAmount,omitempty"`
- Tier *string `json:"tier,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossLevelResult MarginCrossLevelResult
-
-// NewMarginCrossLevelResult instantiates a new MarginCrossLevelResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossLevelResult() *MarginCrossLevelResult {
- this := MarginCrossLevelResult{}
- return &this
-}
-
-// NewMarginCrossLevelResultWithDefaults instantiates a new MarginCrossLevelResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossLevelResultWithDefaults() *MarginCrossLevelResult {
- this := MarginCrossLevelResult{}
- return &this
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossLevelResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLevelResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossLevelResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossLevelResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetLeverage returns the Leverage field value if set, zero value otherwise.
-func (o *MarginCrossLevelResult) GetLeverage() string {
- if o == nil || isNil(o.Leverage) {
- var ret string
- return ret
- }
- return *o.Leverage
-}
-
-// GetLeverageOk returns a tuple with the Leverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLevelResult) GetLeverageOk() (*string, bool) {
- if o == nil || isNil(o.Leverage) {
- return nil, false
- }
- return o.Leverage, true
-}
-
-// HasLeverage returns a boolean if a field has been set.
-func (o *MarginCrossLevelResult) HasLeverage() bool {
- if o != nil && !isNil(o.Leverage) {
- return true
- }
-
- return false
-}
-
-// SetLeverage gets a reference to the given string and assigns it to the Leverage field.
-func (o *MarginCrossLevelResult) SetLeverage(v string) {
- o.Leverage = &v
-}
-
-// GetMaintainMarginRate returns the MaintainMarginRate field value if set, zero value otherwise.
-func (o *MarginCrossLevelResult) GetMaintainMarginRate() string {
- if o == nil || isNil(o.MaintainMarginRate) {
- var ret string
- return ret
- }
- return *o.MaintainMarginRate
-}
-
-// GetMaintainMarginRateOk returns a tuple with the MaintainMarginRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLevelResult) GetMaintainMarginRateOk() (*string, bool) {
- if o == nil || isNil(o.MaintainMarginRate) {
- return nil, false
- }
- return o.MaintainMarginRate, true
-}
-
-// HasMaintainMarginRate returns a boolean if a field has been set.
-func (o *MarginCrossLevelResult) HasMaintainMarginRate() bool {
- if o != nil && !isNil(o.MaintainMarginRate) {
- return true
- }
-
- return false
-}
-
-// SetMaintainMarginRate gets a reference to the given string and assigns it to the MaintainMarginRate field.
-func (o *MarginCrossLevelResult) SetMaintainMarginRate(v string) {
- o.MaintainMarginRate = &v
-}
-
-// GetMaxBorrowableAmount returns the MaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginCrossLevelResult) GetMaxBorrowableAmount() string {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.MaxBorrowableAmount
-}
-
-// GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLevelResult) GetMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- return nil, false
- }
- return o.MaxBorrowableAmount, true
-}
-
-// HasMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginCrossLevelResult) HasMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.MaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxBorrowableAmount gets a reference to the given string and assigns it to the MaxBorrowableAmount field.
-func (o *MarginCrossLevelResult) SetMaxBorrowableAmount(v string) {
- o.MaxBorrowableAmount = &v
-}
-
-// GetTier returns the Tier field value if set, zero value otherwise.
-func (o *MarginCrossLevelResult) GetTier() string {
- if o == nil || isNil(o.Tier) {
- var ret string
- return ret
- }
- return *o.Tier
-}
-
-// GetTierOk returns a tuple with the Tier field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLevelResult) GetTierOk() (*string, bool) {
- if o == nil || isNil(o.Tier) {
- return nil, false
- }
- return o.Tier, true
-}
-
-// HasTier returns a boolean if a field has been set.
-func (o *MarginCrossLevelResult) HasTier() bool {
- if o != nil && !isNil(o.Tier) {
- return true
- }
-
- return false
-}
-
-// SetTier gets a reference to the given string and assigns it to the Tier field.
-func (o *MarginCrossLevelResult) SetTier(v string) {
- o.Tier = &v
-}
-
-func (o MarginCrossLevelResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Leverage) {
- toSerialize["leverage"] = o.Leverage
- }
- if !isNil(o.MaintainMarginRate) {
- toSerialize["maintainMarginRate"] = o.MaintainMarginRate
- }
- if !isNil(o.MaxBorrowableAmount) {
- toSerialize["maxBorrowableAmount"] = o.MaxBorrowableAmount
- }
- if !isNil(o.Tier) {
- toSerialize["tier"] = o.Tier
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossLevelResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossLevelResult := _MarginCrossLevelResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossLevelResult); err == nil {
- *o = MarginCrossLevelResult(varMarginCrossLevelResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "leverage")
- delete(additionalProperties, "maintainMarginRate")
- delete(additionalProperties, "maxBorrowableAmount")
- delete(additionalProperties, "tier")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossLevelResult struct {
- value *MarginCrossLevelResult
- isSet bool
-}
-
-func (v NullableMarginCrossLevelResult) Get() *MarginCrossLevelResult {
- return v.value
-}
-
-func (v *NullableMarginCrossLevelResult) Set(val *MarginCrossLevelResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossLevelResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossLevelResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossLevelResult(val *MarginCrossLevelResult) *NullableMarginCrossLevelResult {
- return &NullableMarginCrossLevelResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossLevelResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossLevelResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_limit_request.go b/bitget-goland-sdk-open-api/model_margin_cross_limit_request.go
deleted file mode 100644
index 81180c45..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_limit_request.go
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossLimitRequest struct for MarginCrossLimitRequest
-type MarginCrossLimitRequest struct {
- // borrowAmount
- BorrowAmount string `json:"borrowAmount"`
- // coin
- Coin string `json:"coin"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossLimitRequest MarginCrossLimitRequest
-
-// NewMarginCrossLimitRequest instantiates a new MarginCrossLimitRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossLimitRequest(borrowAmount string, coin string) *MarginCrossLimitRequest {
- this := MarginCrossLimitRequest{}
- this.BorrowAmount = borrowAmount
- this.Coin = coin
- return &this
-}
-
-// NewMarginCrossLimitRequestWithDefaults instantiates a new MarginCrossLimitRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossLimitRequestWithDefaults() *MarginCrossLimitRequest {
- this := MarginCrossLimitRequest{}
- return &this
-}
-
-// GetBorrowAmount returns the BorrowAmount field value
-func (o *MarginCrossLimitRequest) GetBorrowAmount() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.BorrowAmount
-}
-
-// GetBorrowAmountOk returns a tuple with the BorrowAmount field value
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLimitRequest) GetBorrowAmountOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.BorrowAmount, true
-}
-
-// SetBorrowAmount sets field value
-func (o *MarginCrossLimitRequest) SetBorrowAmount(v string) {
- o.BorrowAmount = v
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginCrossLimitRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginCrossLimitRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginCrossLimitRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-func (o MarginCrossLimitRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["borrowAmount"] = o.BorrowAmount
- }
- if true {
- toSerialize["coin"] = o.Coin
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossLimitRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossLimitRequest := _MarginCrossLimitRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossLimitRequest); err == nil {
- *o = MarginCrossLimitRequest(varMarginCrossLimitRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "borrowAmount")
- delete(additionalProperties, "coin")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossLimitRequest struct {
- value *MarginCrossLimitRequest
- isSet bool
-}
-
-func (v NullableMarginCrossLimitRequest) Get() *MarginCrossLimitRequest {
- return v.value
-}
-
-func (v *NullableMarginCrossLimitRequest) Set(val *MarginCrossLimitRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossLimitRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossLimitRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossLimitRequest(val *MarginCrossLimitRequest) *NullableMarginCrossLimitRequest {
- return &NullableMarginCrossLimitRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossLimitRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossLimitRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_request.go b/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_request.go
deleted file mode 100644
index 42987d30..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_request.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossMaxBorrowRequest struct for MarginCrossMaxBorrowRequest
-type MarginCrossMaxBorrowRequest struct {
- // coin
- Coin string `json:"coin"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossMaxBorrowRequest MarginCrossMaxBorrowRequest
-
-// NewMarginCrossMaxBorrowRequest instantiates a new MarginCrossMaxBorrowRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossMaxBorrowRequest(coin string) *MarginCrossMaxBorrowRequest {
- this := MarginCrossMaxBorrowRequest{}
- this.Coin = coin
- return &this
-}
-
-// NewMarginCrossMaxBorrowRequestWithDefaults instantiates a new MarginCrossMaxBorrowRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossMaxBorrowRequestWithDefaults() *MarginCrossMaxBorrowRequest {
- this := MarginCrossMaxBorrowRequest{}
- return &this
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginCrossMaxBorrowRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginCrossMaxBorrowRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginCrossMaxBorrowRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-func (o MarginCrossMaxBorrowRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["coin"] = o.Coin
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossMaxBorrowRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossMaxBorrowRequest := _MarginCrossMaxBorrowRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossMaxBorrowRequest); err == nil {
- *o = MarginCrossMaxBorrowRequest(varMarginCrossMaxBorrowRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossMaxBorrowRequest struct {
- value *MarginCrossMaxBorrowRequest
- isSet bool
-}
-
-func (v NullableMarginCrossMaxBorrowRequest) Get() *MarginCrossMaxBorrowRequest {
- return v.value
-}
-
-func (v *NullableMarginCrossMaxBorrowRequest) Set(val *MarginCrossMaxBorrowRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossMaxBorrowRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossMaxBorrowRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossMaxBorrowRequest(val *MarginCrossMaxBorrowRequest) *NullableMarginCrossMaxBorrowRequest {
- return &NullableMarginCrossMaxBorrowRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossMaxBorrowRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossMaxBorrowRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_result.go b/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_result.go
deleted file mode 100644
index 24407eeb..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_max_borrow_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossMaxBorrowResult struct for MarginCrossMaxBorrowResult
-type MarginCrossMaxBorrowResult struct {
- Coin *string `json:"coin,omitempty"`
- MaxBorrowableAmount *string `json:"maxBorrowableAmount,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossMaxBorrowResult MarginCrossMaxBorrowResult
-
-// NewMarginCrossMaxBorrowResult instantiates a new MarginCrossMaxBorrowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossMaxBorrowResult() *MarginCrossMaxBorrowResult {
- this := MarginCrossMaxBorrowResult{}
- return &this
-}
-
-// NewMarginCrossMaxBorrowResultWithDefaults instantiates a new MarginCrossMaxBorrowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossMaxBorrowResultWithDefaults() *MarginCrossMaxBorrowResult {
- this := MarginCrossMaxBorrowResult{}
- return &this
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossMaxBorrowResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossMaxBorrowResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossMaxBorrowResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossMaxBorrowResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetMaxBorrowableAmount returns the MaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginCrossMaxBorrowResult) GetMaxBorrowableAmount() string {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.MaxBorrowableAmount
-}
-
-// GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossMaxBorrowResult) GetMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- return nil, false
- }
- return o.MaxBorrowableAmount, true
-}
-
-// HasMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginCrossMaxBorrowResult) HasMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.MaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxBorrowableAmount gets a reference to the given string and assigns it to the MaxBorrowableAmount field.
-func (o *MarginCrossMaxBorrowResult) SetMaxBorrowableAmount(v string) {
- o.MaxBorrowableAmount = &v
-}
-
-func (o MarginCrossMaxBorrowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.MaxBorrowableAmount) {
- toSerialize["maxBorrowableAmount"] = o.MaxBorrowableAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossMaxBorrowResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossMaxBorrowResult := _MarginCrossMaxBorrowResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossMaxBorrowResult); err == nil {
- *o = MarginCrossMaxBorrowResult(varMarginCrossMaxBorrowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "maxBorrowableAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossMaxBorrowResult struct {
- value *MarginCrossMaxBorrowResult
- isSet bool
-}
-
-func (v NullableMarginCrossMaxBorrowResult) Get() *MarginCrossMaxBorrowResult {
- return v.value
-}
-
-func (v *NullableMarginCrossMaxBorrowResult) Set(val *MarginCrossMaxBorrowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossMaxBorrowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossMaxBorrowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossMaxBorrowResult(val *MarginCrossMaxBorrowResult) *NullableMarginCrossMaxBorrowResult {
- return &NullableMarginCrossMaxBorrowResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossMaxBorrowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossMaxBorrowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_rate_and_limit_result.go b/bitget-goland-sdk-open-api/model_margin_cross_rate_and_limit_result.go
deleted file mode 100644
index 9f36bb5f..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_rate_and_limit_result.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossRateAndLimitResult struct for MarginCrossRateAndLimitResult
-type MarginCrossRateAndLimitResult struct {
- BorrowAble *bool `json:"borrowAble,omitempty"`
- Coin *string `json:"coin,omitempty"`
- DailyInterestRate *string `json:"dailyInterestRate,omitempty"`
- Leverage *string `json:"leverage,omitempty"`
- MaxBorrowableAmount *string `json:"maxBorrowableAmount,omitempty"`
- TransferInAble *bool `json:"transferInAble,omitempty"`
- Vips []MarginCrossVipResult `json:"vips,omitempty"`
- YearlyInterestRate *string `json:"yearlyInterestRate,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossRateAndLimitResult MarginCrossRateAndLimitResult
-
-// NewMarginCrossRateAndLimitResult instantiates a new MarginCrossRateAndLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossRateAndLimitResult() *MarginCrossRateAndLimitResult {
- this := MarginCrossRateAndLimitResult{}
- return &this
-}
-
-// NewMarginCrossRateAndLimitResultWithDefaults instantiates a new MarginCrossRateAndLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossRateAndLimitResultWithDefaults() *MarginCrossRateAndLimitResult {
- this := MarginCrossRateAndLimitResult{}
- return &this
-}
-
-// GetBorrowAble returns the BorrowAble field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetBorrowAble() bool {
- if o == nil || isNil(o.BorrowAble) {
- var ret bool
- return ret
- }
- return *o.BorrowAble
-}
-
-// GetBorrowAbleOk returns a tuple with the BorrowAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetBorrowAbleOk() (*bool, bool) {
- if o == nil || isNil(o.BorrowAble) {
- return nil, false
- }
- return o.BorrowAble, true
-}
-
-// HasBorrowAble returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasBorrowAble() bool {
- if o != nil && !isNil(o.BorrowAble) {
- return true
- }
-
- return false
-}
-
-// SetBorrowAble gets a reference to the given bool and assigns it to the BorrowAble field.
-func (o *MarginCrossRateAndLimitResult) SetBorrowAble(v bool) {
- o.BorrowAble = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossRateAndLimitResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetDailyInterestRate returns the DailyInterestRate field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetDailyInterestRate() string {
- if o == nil || isNil(o.DailyInterestRate) {
- var ret string
- return ret
- }
- return *o.DailyInterestRate
-}
-
-// GetDailyInterestRateOk returns a tuple with the DailyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetDailyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.DailyInterestRate) {
- return nil, false
- }
- return o.DailyInterestRate, true
-}
-
-// HasDailyInterestRate returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasDailyInterestRate() bool {
- if o != nil && !isNil(o.DailyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetDailyInterestRate gets a reference to the given string and assigns it to the DailyInterestRate field.
-func (o *MarginCrossRateAndLimitResult) SetDailyInterestRate(v string) {
- o.DailyInterestRate = &v
-}
-
-// GetLeverage returns the Leverage field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetLeverage() string {
- if o == nil || isNil(o.Leverage) {
- var ret string
- return ret
- }
- return *o.Leverage
-}
-
-// GetLeverageOk returns a tuple with the Leverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetLeverageOk() (*string, bool) {
- if o == nil || isNil(o.Leverage) {
- return nil, false
- }
- return o.Leverage, true
-}
-
-// HasLeverage returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasLeverage() bool {
- if o != nil && !isNil(o.Leverage) {
- return true
- }
-
- return false
-}
-
-// SetLeverage gets a reference to the given string and assigns it to the Leverage field.
-func (o *MarginCrossRateAndLimitResult) SetLeverage(v string) {
- o.Leverage = &v
-}
-
-// GetMaxBorrowableAmount returns the MaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetMaxBorrowableAmount() string {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.MaxBorrowableAmount
-}
-
-// GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- return nil, false
- }
- return o.MaxBorrowableAmount, true
-}
-
-// HasMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.MaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxBorrowableAmount gets a reference to the given string and assigns it to the MaxBorrowableAmount field.
-func (o *MarginCrossRateAndLimitResult) SetMaxBorrowableAmount(v string) {
- o.MaxBorrowableAmount = &v
-}
-
-// GetTransferInAble returns the TransferInAble field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetTransferInAble() bool {
- if o == nil || isNil(o.TransferInAble) {
- var ret bool
- return ret
- }
- return *o.TransferInAble
-}
-
-// GetTransferInAbleOk returns a tuple with the TransferInAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetTransferInAbleOk() (*bool, bool) {
- if o == nil || isNil(o.TransferInAble) {
- return nil, false
- }
- return o.TransferInAble, true
-}
-
-// HasTransferInAble returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasTransferInAble() bool {
- if o != nil && !isNil(o.TransferInAble) {
- return true
- }
-
- return false
-}
-
-// SetTransferInAble gets a reference to the given bool and assigns it to the TransferInAble field.
-func (o *MarginCrossRateAndLimitResult) SetTransferInAble(v bool) {
- o.TransferInAble = &v
-}
-
-// GetVips returns the Vips field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetVips() []MarginCrossVipResult {
- if o == nil || isNil(o.Vips) {
- var ret []MarginCrossVipResult
- return ret
- }
- return o.Vips
-}
-
-// GetVipsOk returns a tuple with the Vips field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetVipsOk() ([]MarginCrossVipResult, bool) {
- if o == nil || isNil(o.Vips) {
- return nil, false
- }
- return o.Vips, true
-}
-
-// HasVips returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasVips() bool {
- if o != nil && !isNil(o.Vips) {
- return true
- }
-
- return false
-}
-
-// SetVips gets a reference to the given []MarginCrossVipResult and assigns it to the Vips field.
-func (o *MarginCrossRateAndLimitResult) SetVips(v []MarginCrossVipResult) {
- o.Vips = v
-}
-
-// GetYearlyInterestRate returns the YearlyInterestRate field value if set, zero value otherwise.
-func (o *MarginCrossRateAndLimitResult) GetYearlyInterestRate() string {
- if o == nil || isNil(o.YearlyInterestRate) {
- var ret string
- return ret
- }
- return *o.YearlyInterestRate
-}
-
-// GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRateAndLimitResult) GetYearlyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.YearlyInterestRate) {
- return nil, false
- }
- return o.YearlyInterestRate, true
-}
-
-// HasYearlyInterestRate returns a boolean if a field has been set.
-func (o *MarginCrossRateAndLimitResult) HasYearlyInterestRate() bool {
- if o != nil && !isNil(o.YearlyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetYearlyInterestRate gets a reference to the given string and assigns it to the YearlyInterestRate field.
-func (o *MarginCrossRateAndLimitResult) SetYearlyInterestRate(v string) {
- o.YearlyInterestRate = &v
-}
-
-func (o MarginCrossRateAndLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BorrowAble) {
- toSerialize["borrowAble"] = o.BorrowAble
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.DailyInterestRate) {
- toSerialize["dailyInterestRate"] = o.DailyInterestRate
- }
- if !isNil(o.Leverage) {
- toSerialize["leverage"] = o.Leverage
- }
- if !isNil(o.MaxBorrowableAmount) {
- toSerialize["maxBorrowableAmount"] = o.MaxBorrowableAmount
- }
- if !isNil(o.TransferInAble) {
- toSerialize["transferInAble"] = o.TransferInAble
- }
- if !isNil(o.Vips) {
- toSerialize["vips"] = o.Vips
- }
- if !isNil(o.YearlyInterestRate) {
- toSerialize["yearlyInterestRate"] = o.YearlyInterestRate
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossRateAndLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossRateAndLimitResult := _MarginCrossRateAndLimitResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossRateAndLimitResult); err == nil {
- *o = MarginCrossRateAndLimitResult(varMarginCrossRateAndLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "borrowAble")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "dailyInterestRate")
- delete(additionalProperties, "leverage")
- delete(additionalProperties, "maxBorrowableAmount")
- delete(additionalProperties, "transferInAble")
- delete(additionalProperties, "vips")
- delete(additionalProperties, "yearlyInterestRate")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossRateAndLimitResult struct {
- value *MarginCrossRateAndLimitResult
- isSet bool
-}
-
-func (v NullableMarginCrossRateAndLimitResult) Get() *MarginCrossRateAndLimitResult {
- return v.value
-}
-
-func (v *NullableMarginCrossRateAndLimitResult) Set(val *MarginCrossRateAndLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossRateAndLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossRateAndLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossRateAndLimitResult(val *MarginCrossRateAndLimitResult) *NullableMarginCrossRateAndLimitResult {
- return &NullableMarginCrossRateAndLimitResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossRateAndLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossRateAndLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_repay_request.go b/bitget-goland-sdk-open-api/model_margin_cross_repay_request.go
deleted file mode 100644
index a6d3ed04..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_repay_request.go
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossRepayRequest struct for MarginCrossRepayRequest
-type MarginCrossRepayRequest struct {
- // coin
- Coin string `json:"coin"`
- // repayAmount
- RepayAmount string `json:"repayAmount"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossRepayRequest MarginCrossRepayRequest
-
-// NewMarginCrossRepayRequest instantiates a new MarginCrossRepayRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossRepayRequest(coin string, repayAmount string) *MarginCrossRepayRequest {
- this := MarginCrossRepayRequest{}
- this.Coin = coin
- this.RepayAmount = repayAmount
- return &this
-}
-
-// NewMarginCrossRepayRequestWithDefaults instantiates a new MarginCrossRepayRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossRepayRequestWithDefaults() *MarginCrossRepayRequest {
- this := MarginCrossRepayRequest{}
- return &this
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginCrossRepayRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginCrossRepayRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-// GetRepayAmount returns the RepayAmount field value
-func (o *MarginCrossRepayRequest) GetRepayAmount() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.RepayAmount
-}
-
-// GetRepayAmountOk returns a tuple with the RepayAmount field value
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayRequest) GetRepayAmountOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.RepayAmount, true
-}
-
-// SetRepayAmount sets field value
-func (o *MarginCrossRepayRequest) SetRepayAmount(v string) {
- o.RepayAmount = v
-}
-
-func (o MarginCrossRepayRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["coin"] = o.Coin
- }
- if true {
- toSerialize["repayAmount"] = o.RepayAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossRepayRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossRepayRequest := _MarginCrossRepayRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossRepayRequest); err == nil {
- *o = MarginCrossRepayRequest(varMarginCrossRepayRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "repayAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossRepayRequest struct {
- value *MarginCrossRepayRequest
- isSet bool
-}
-
-func (v NullableMarginCrossRepayRequest) Get() *MarginCrossRepayRequest {
- return v.value
-}
-
-func (v *NullableMarginCrossRepayRequest) Set(val *MarginCrossRepayRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossRepayRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossRepayRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossRepayRequest(val *MarginCrossRepayRequest) *NullableMarginCrossRepayRequest {
- return &NullableMarginCrossRepayRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossRepayRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossRepayRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_repay_result.go b/bitget-goland-sdk-open-api/model_margin_cross_repay_result.go
deleted file mode 100644
index 38d701bf..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_repay_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossRepayResult struct for MarginCrossRepayResult
-type MarginCrossRepayResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- Coin *string `json:"coin,omitempty"`
- RemainDebtAmount *string `json:"remainDebtAmount,omitempty"`
- RepayAmount *string `json:"repayAmount,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossRepayResult MarginCrossRepayResult
-
-// NewMarginCrossRepayResult instantiates a new MarginCrossRepayResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossRepayResult() *MarginCrossRepayResult {
- this := MarginCrossRepayResult{}
- return &this
-}
-
-// NewMarginCrossRepayResultWithDefaults instantiates a new MarginCrossRepayResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossRepayResultWithDefaults() *MarginCrossRepayResult {
- this := MarginCrossRepayResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginCrossRepayResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginCrossRepayResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginCrossRepayResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginCrossRepayResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginCrossRepayResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginCrossRepayResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetRemainDebtAmount returns the RemainDebtAmount field value if set, zero value otherwise.
-func (o *MarginCrossRepayResult) GetRemainDebtAmount() string {
- if o == nil || isNil(o.RemainDebtAmount) {
- var ret string
- return ret
- }
- return *o.RemainDebtAmount
-}
-
-// GetRemainDebtAmountOk returns a tuple with the RemainDebtAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayResult) GetRemainDebtAmountOk() (*string, bool) {
- if o == nil || isNil(o.RemainDebtAmount) {
- return nil, false
- }
- return o.RemainDebtAmount, true
-}
-
-// HasRemainDebtAmount returns a boolean if a field has been set.
-func (o *MarginCrossRepayResult) HasRemainDebtAmount() bool {
- if o != nil && !isNil(o.RemainDebtAmount) {
- return true
- }
-
- return false
-}
-
-// SetRemainDebtAmount gets a reference to the given string and assigns it to the RemainDebtAmount field.
-func (o *MarginCrossRepayResult) SetRemainDebtAmount(v string) {
- o.RemainDebtAmount = &v
-}
-
-// GetRepayAmount returns the RepayAmount field value if set, zero value otherwise.
-func (o *MarginCrossRepayResult) GetRepayAmount() string {
- if o == nil || isNil(o.RepayAmount) {
- var ret string
- return ret
- }
- return *o.RepayAmount
-}
-
-// GetRepayAmountOk returns a tuple with the RepayAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossRepayResult) GetRepayAmountOk() (*string, bool) {
- if o == nil || isNil(o.RepayAmount) {
- return nil, false
- }
- return o.RepayAmount, true
-}
-
-// HasRepayAmount returns a boolean if a field has been set.
-func (o *MarginCrossRepayResult) HasRepayAmount() bool {
- if o != nil && !isNil(o.RepayAmount) {
- return true
- }
-
- return false
-}
-
-// SetRepayAmount gets a reference to the given string and assigns it to the RepayAmount field.
-func (o *MarginCrossRepayResult) SetRepayAmount(v string) {
- o.RepayAmount = &v
-}
-
-func (o MarginCrossRepayResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.RemainDebtAmount) {
- toSerialize["remainDebtAmount"] = o.RemainDebtAmount
- }
- if !isNil(o.RepayAmount) {
- toSerialize["repayAmount"] = o.RepayAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossRepayResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossRepayResult := _MarginCrossRepayResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossRepayResult); err == nil {
- *o = MarginCrossRepayResult(varMarginCrossRepayResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "remainDebtAmount")
- delete(additionalProperties, "repayAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossRepayResult struct {
- value *MarginCrossRepayResult
- isSet bool
-}
-
-func (v NullableMarginCrossRepayResult) Get() *MarginCrossRepayResult {
- return v.value
-}
-
-func (v *NullableMarginCrossRepayResult) Set(val *MarginCrossRepayResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossRepayResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossRepayResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossRepayResult(val *MarginCrossRepayResult) *NullableMarginCrossRepayResult {
- return &NullableMarginCrossRepayResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossRepayResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossRepayResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_cross_vip_result.go b/bitget-goland-sdk-open-api/model_margin_cross_vip_result.go
deleted file mode 100644
index 5ede75aa..00000000
--- a/bitget-goland-sdk-open-api/model_margin_cross_vip_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginCrossVipResult struct for MarginCrossVipResult
-type MarginCrossVipResult struct {
- DailyInterestRate *string `json:"dailyInterestRate,omitempty"`
- DiscountRate *string `json:"discountRate,omitempty"`
- Level *string `json:"level,omitempty"`
- YearlyInterestRate *string `json:"yearlyInterestRate,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginCrossVipResult MarginCrossVipResult
-
-// NewMarginCrossVipResult instantiates a new MarginCrossVipResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginCrossVipResult() *MarginCrossVipResult {
- this := MarginCrossVipResult{}
- return &this
-}
-
-// NewMarginCrossVipResultWithDefaults instantiates a new MarginCrossVipResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginCrossVipResultWithDefaults() *MarginCrossVipResult {
- this := MarginCrossVipResult{}
- return &this
-}
-
-// GetDailyInterestRate returns the DailyInterestRate field value if set, zero value otherwise.
-func (o *MarginCrossVipResult) GetDailyInterestRate() string {
- if o == nil || isNil(o.DailyInterestRate) {
- var ret string
- return ret
- }
- return *o.DailyInterestRate
-}
-
-// GetDailyInterestRateOk returns a tuple with the DailyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossVipResult) GetDailyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.DailyInterestRate) {
- return nil, false
- }
- return o.DailyInterestRate, true
-}
-
-// HasDailyInterestRate returns a boolean if a field has been set.
-func (o *MarginCrossVipResult) HasDailyInterestRate() bool {
- if o != nil && !isNil(o.DailyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetDailyInterestRate gets a reference to the given string and assigns it to the DailyInterestRate field.
-func (o *MarginCrossVipResult) SetDailyInterestRate(v string) {
- o.DailyInterestRate = &v
-}
-
-// GetDiscountRate returns the DiscountRate field value if set, zero value otherwise.
-func (o *MarginCrossVipResult) GetDiscountRate() string {
- if o == nil || isNil(o.DiscountRate) {
- var ret string
- return ret
- }
- return *o.DiscountRate
-}
-
-// GetDiscountRateOk returns a tuple with the DiscountRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossVipResult) GetDiscountRateOk() (*string, bool) {
- if o == nil || isNil(o.DiscountRate) {
- return nil, false
- }
- return o.DiscountRate, true
-}
-
-// HasDiscountRate returns a boolean if a field has been set.
-func (o *MarginCrossVipResult) HasDiscountRate() bool {
- if o != nil && !isNil(o.DiscountRate) {
- return true
- }
-
- return false
-}
-
-// SetDiscountRate gets a reference to the given string and assigns it to the DiscountRate field.
-func (o *MarginCrossVipResult) SetDiscountRate(v string) {
- o.DiscountRate = &v
-}
-
-// GetLevel returns the Level field value if set, zero value otherwise.
-func (o *MarginCrossVipResult) GetLevel() string {
- if o == nil || isNil(o.Level) {
- var ret string
- return ret
- }
- return *o.Level
-}
-
-// GetLevelOk returns a tuple with the Level field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossVipResult) GetLevelOk() (*string, bool) {
- if o == nil || isNil(o.Level) {
- return nil, false
- }
- return o.Level, true
-}
-
-// HasLevel returns a boolean if a field has been set.
-func (o *MarginCrossVipResult) HasLevel() bool {
- if o != nil && !isNil(o.Level) {
- return true
- }
-
- return false
-}
-
-// SetLevel gets a reference to the given string and assigns it to the Level field.
-func (o *MarginCrossVipResult) SetLevel(v string) {
- o.Level = &v
-}
-
-// GetYearlyInterestRate returns the YearlyInterestRate field value if set, zero value otherwise.
-func (o *MarginCrossVipResult) GetYearlyInterestRate() string {
- if o == nil || isNil(o.YearlyInterestRate) {
- var ret string
- return ret
- }
- return *o.YearlyInterestRate
-}
-
-// GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginCrossVipResult) GetYearlyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.YearlyInterestRate) {
- return nil, false
- }
- return o.YearlyInterestRate, true
-}
-
-// HasYearlyInterestRate returns a boolean if a field has been set.
-func (o *MarginCrossVipResult) HasYearlyInterestRate() bool {
- if o != nil && !isNil(o.YearlyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetYearlyInterestRate gets a reference to the given string and assigns it to the YearlyInterestRate field.
-func (o *MarginCrossVipResult) SetYearlyInterestRate(v string) {
- o.YearlyInterestRate = &v
-}
-
-func (o MarginCrossVipResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.DailyInterestRate) {
- toSerialize["dailyInterestRate"] = o.DailyInterestRate
- }
- if !isNil(o.DiscountRate) {
- toSerialize["discountRate"] = o.DiscountRate
- }
- if !isNil(o.Level) {
- toSerialize["level"] = o.Level
- }
- if !isNil(o.YearlyInterestRate) {
- toSerialize["yearlyInterestRate"] = o.YearlyInterestRate
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginCrossVipResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginCrossVipResult := _MarginCrossVipResult{}
-
- if err = json.Unmarshal(bytes, &varMarginCrossVipResult); err == nil {
- *o = MarginCrossVipResult(varMarginCrossVipResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "dailyInterestRate")
- delete(additionalProperties, "discountRate")
- delete(additionalProperties, "level")
- delete(additionalProperties, "yearlyInterestRate")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginCrossVipResult struct {
- value *MarginCrossVipResult
- isSet bool
-}
-
-func (v NullableMarginCrossVipResult) Get() *MarginCrossVipResult {
- return v.value
-}
-
-func (v *NullableMarginCrossVipResult) Set(val *MarginCrossVipResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginCrossVipResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginCrossVipResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginCrossVipResult(val *MarginCrossVipResult) *NullableMarginCrossVipResult {
- return &NullableMarginCrossVipResult{value: val, isSet: true}
-}
-
-func (v NullableMarginCrossVipResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginCrossVipResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_interest_info.go b/bitget-goland-sdk-open-api/model_margin_interest_info.go
deleted file mode 100644
index 13132ab5..00000000
--- a/bitget-goland-sdk-open-api/model_margin_interest_info.go
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginInterestInfo struct for MarginInterestInfo
-type MarginInterestInfo struct {
- Amount *string `json:"amount,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- InterestCoin *string `json:"interestCoin,omitempty"`
- InterestId *string `json:"interestId,omitempty"`
- InterestRate *string `json:"interestRate,omitempty"`
- LoanCoin *string `json:"loanCoin,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginInterestInfo MarginInterestInfo
-
-// NewMarginInterestInfo instantiates a new MarginInterestInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginInterestInfo() *MarginInterestInfo {
- this := MarginInterestInfo{}
- return &this
-}
-
-// NewMarginInterestInfoWithDefaults instantiates a new MarginInterestInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginInterestInfoWithDefaults() *MarginInterestInfo {
- this := MarginInterestInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginInterestInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginInterestInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetInterestCoin returns the InterestCoin field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetInterestCoin() string {
- if o == nil || isNil(o.InterestCoin) {
- var ret string
- return ret
- }
- return *o.InterestCoin
-}
-
-// GetInterestCoinOk returns a tuple with the InterestCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetInterestCoinOk() (*string, bool) {
- if o == nil || isNil(o.InterestCoin) {
- return nil, false
- }
- return o.InterestCoin, true
-}
-
-// HasInterestCoin returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasInterestCoin() bool {
- if o != nil && !isNil(o.InterestCoin) {
- return true
- }
-
- return false
-}
-
-// SetInterestCoin gets a reference to the given string and assigns it to the InterestCoin field.
-func (o *MarginInterestInfo) SetInterestCoin(v string) {
- o.InterestCoin = &v
-}
-
-// GetInterestId returns the InterestId field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetInterestId() string {
- if o == nil || isNil(o.InterestId) {
- var ret string
- return ret
- }
- return *o.InterestId
-}
-
-// GetInterestIdOk returns a tuple with the InterestId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetInterestIdOk() (*string, bool) {
- if o == nil || isNil(o.InterestId) {
- return nil, false
- }
- return o.InterestId, true
-}
-
-// HasInterestId returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasInterestId() bool {
- if o != nil && !isNil(o.InterestId) {
- return true
- }
-
- return false
-}
-
-// SetInterestId gets a reference to the given string and assigns it to the InterestId field.
-func (o *MarginInterestInfo) SetInterestId(v string) {
- o.InterestId = &v
-}
-
-// GetInterestRate returns the InterestRate field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetInterestRate() string {
- if o == nil || isNil(o.InterestRate) {
- var ret string
- return ret
- }
- return *o.InterestRate
-}
-
-// GetInterestRateOk returns a tuple with the InterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.InterestRate) {
- return nil, false
- }
- return o.InterestRate, true
-}
-
-// HasInterestRate returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasInterestRate() bool {
- if o != nil && !isNil(o.InterestRate) {
- return true
- }
-
- return false
-}
-
-// SetInterestRate gets a reference to the given string and assigns it to the InterestRate field.
-func (o *MarginInterestInfo) SetInterestRate(v string) {
- o.InterestRate = &v
-}
-
-// GetLoanCoin returns the LoanCoin field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetLoanCoin() string {
- if o == nil || isNil(o.LoanCoin) {
- var ret string
- return ret
- }
- return *o.LoanCoin
-}
-
-// GetLoanCoinOk returns a tuple with the LoanCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetLoanCoinOk() (*string, bool) {
- if o == nil || isNil(o.LoanCoin) {
- return nil, false
- }
- return o.LoanCoin, true
-}
-
-// HasLoanCoin returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasLoanCoin() bool {
- if o != nil && !isNil(o.LoanCoin) {
- return true
- }
-
- return false
-}
-
-// SetLoanCoin gets a reference to the given string and assigns it to the LoanCoin field.
-func (o *MarginInterestInfo) SetLoanCoin(v string) {
- o.LoanCoin = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginInterestInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginInterestInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginInterestInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginInterestInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.InterestCoin) {
- toSerialize["interestCoin"] = o.InterestCoin
- }
- if !isNil(o.InterestId) {
- toSerialize["interestId"] = o.InterestId
- }
- if !isNil(o.InterestRate) {
- toSerialize["interestRate"] = o.InterestRate
- }
- if !isNil(o.LoanCoin) {
- toSerialize["loanCoin"] = o.LoanCoin
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginInterestInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginInterestInfo := _MarginInterestInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginInterestInfo); err == nil {
- *o = MarginInterestInfo(varMarginInterestInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "interestCoin")
- delete(additionalProperties, "interestId")
- delete(additionalProperties, "interestRate")
- delete(additionalProperties, "loanCoin")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginInterestInfo struct {
- value *MarginInterestInfo
- isSet bool
-}
-
-func (v NullableMarginInterestInfo) Get() *MarginInterestInfo {
- return v.value
-}
-
-func (v *NullableMarginInterestInfo) Set(val *MarginInterestInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginInterestInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginInterestInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginInterestInfo(val *MarginInterestInfo) *NullableMarginInterestInfo {
- return &NullableMarginInterestInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginInterestInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginInterestInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_interest_info_result.go b/bitget-goland-sdk-open-api/model_margin_interest_info_result.go
deleted file mode 100644
index d9dfcf99..00000000
--- a/bitget-goland-sdk-open-api/model_margin_interest_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginInterestInfoResult struct for MarginInterestInfoResult
-type MarginInterestInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginInterestInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginInterestInfoResult MarginInterestInfoResult
-
-// NewMarginInterestInfoResult instantiates a new MarginInterestInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginInterestInfoResult() *MarginInterestInfoResult {
- this := MarginInterestInfoResult{}
- return &this
-}
-
-// NewMarginInterestInfoResultWithDefaults instantiates a new MarginInterestInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginInterestInfoResultWithDefaults() *MarginInterestInfoResult {
- this := MarginInterestInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginInterestInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginInterestInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginInterestInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginInterestInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginInterestInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginInterestInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginInterestInfoResult) GetResultList() []MarginInterestInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginInterestInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginInterestInfoResult) GetResultListOk() ([]MarginInterestInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginInterestInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginInterestInfo and assigns it to the ResultList field.
-func (o *MarginInterestInfoResult) SetResultList(v []MarginInterestInfo) {
- o.ResultList = v
-}
-
-func (o MarginInterestInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginInterestInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginInterestInfoResult := _MarginInterestInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginInterestInfoResult); err == nil {
- *o = MarginInterestInfoResult(varMarginInterestInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginInterestInfoResult struct {
- value *MarginInterestInfoResult
- isSet bool
-}
-
-func (v NullableMarginInterestInfoResult) Get() *MarginInterestInfoResult {
- return v.value
-}
-
-func (v *NullableMarginInterestInfoResult) Set(val *MarginInterestInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginInterestInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginInterestInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginInterestInfoResult(val *MarginInterestInfoResult) *NullableMarginInterestInfoResult {
- return &NullableMarginInterestInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginInterestInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginInterestInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_assets_population_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_assets_population_result.go
deleted file mode 100644
index da9b77f4..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_assets_population_result.go
+++ /dev/null
@@ -1,434 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedAssetsPopulationResult struct for MarginIsolatedAssetsPopulationResult
-type MarginIsolatedAssetsPopulationResult struct {
- Available *string `json:"available,omitempty"`
- Borrow *string `json:"borrow,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Frozen *string `json:"frozen,omitempty"`
- Interest *string `json:"interest,omitempty"`
- Net *string `json:"net,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- TotalAmount *string `json:"totalAmount,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedAssetsPopulationResult MarginIsolatedAssetsPopulationResult
-
-// NewMarginIsolatedAssetsPopulationResult instantiates a new MarginIsolatedAssetsPopulationResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedAssetsPopulationResult() *MarginIsolatedAssetsPopulationResult {
- this := MarginIsolatedAssetsPopulationResult{}
- return &this
-}
-
-// NewMarginIsolatedAssetsPopulationResultWithDefaults instantiates a new MarginIsolatedAssetsPopulationResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedAssetsPopulationResultWithDefaults() *MarginIsolatedAssetsPopulationResult {
- this := MarginIsolatedAssetsPopulationResult{}
- return &this
-}
-
-// GetAvailable returns the Available field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetAvailable() string {
- if o == nil || isNil(o.Available) {
- var ret string
- return ret
- }
- return *o.Available
-}
-
-// GetAvailableOk returns a tuple with the Available field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetAvailableOk() (*string, bool) {
- if o == nil || isNil(o.Available) {
- return nil, false
- }
- return o.Available, true
-}
-
-// HasAvailable returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasAvailable() bool {
- if o != nil && !isNil(o.Available) {
- return true
- }
-
- return false
-}
-
-// SetAvailable gets a reference to the given string and assigns it to the Available field.
-func (o *MarginIsolatedAssetsPopulationResult) SetAvailable(v string) {
- o.Available = &v
-}
-
-// GetBorrow returns the Borrow field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetBorrow() string {
- if o == nil || isNil(o.Borrow) {
- var ret string
- return ret
- }
- return *o.Borrow
-}
-
-// GetBorrowOk returns a tuple with the Borrow field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetBorrowOk() (*string, bool) {
- if o == nil || isNil(o.Borrow) {
- return nil, false
- }
- return o.Borrow, true
-}
-
-// HasBorrow returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasBorrow() bool {
- if o != nil && !isNil(o.Borrow) {
- return true
- }
-
- return false
-}
-
-// SetBorrow gets a reference to the given string and assigns it to the Borrow field.
-func (o *MarginIsolatedAssetsPopulationResult) SetBorrow(v string) {
- o.Borrow = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedAssetsPopulationResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedAssetsPopulationResult) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFrozen returns the Frozen field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetFrozen() string {
- if o == nil || isNil(o.Frozen) {
- var ret string
- return ret
- }
- return *o.Frozen
-}
-
-// GetFrozenOk returns a tuple with the Frozen field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetFrozenOk() (*string, bool) {
- if o == nil || isNil(o.Frozen) {
- return nil, false
- }
- return o.Frozen, true
-}
-
-// HasFrozen returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasFrozen() bool {
- if o != nil && !isNil(o.Frozen) {
- return true
- }
-
- return false
-}
-
-// SetFrozen gets a reference to the given string and assigns it to the Frozen field.
-func (o *MarginIsolatedAssetsPopulationResult) SetFrozen(v string) {
- o.Frozen = &v
-}
-
-// GetInterest returns the Interest field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetInterest() string {
- if o == nil || isNil(o.Interest) {
- var ret string
- return ret
- }
- return *o.Interest
-}
-
-// GetInterestOk returns a tuple with the Interest field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetInterestOk() (*string, bool) {
- if o == nil || isNil(o.Interest) {
- return nil, false
- }
- return o.Interest, true
-}
-
-// HasInterest returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasInterest() bool {
- if o != nil && !isNil(o.Interest) {
- return true
- }
-
- return false
-}
-
-// SetInterest gets a reference to the given string and assigns it to the Interest field.
-func (o *MarginIsolatedAssetsPopulationResult) SetInterest(v string) {
- o.Interest = &v
-}
-
-// GetNet returns the Net field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetNet() string {
- if o == nil || isNil(o.Net) {
- var ret string
- return ret
- }
- return *o.Net
-}
-
-// GetNetOk returns a tuple with the Net field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetNetOk() (*string, bool) {
- if o == nil || isNil(o.Net) {
- return nil, false
- }
- return o.Net, true
-}
-
-// HasNet returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasNet() bool {
- if o != nil && !isNil(o.Net) {
- return true
- }
-
- return false
-}
-
-// SetNet gets a reference to the given string and assigns it to the Net field.
-func (o *MarginIsolatedAssetsPopulationResult) SetNet(v string) {
- o.Net = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedAssetsPopulationResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetTotalAmount returns the TotalAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsPopulationResult) GetTotalAmount() string {
- if o == nil || isNil(o.TotalAmount) {
- var ret string
- return ret
- }
- return *o.TotalAmount
-}
-
-// GetTotalAmountOk returns a tuple with the TotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsPopulationResult) GetTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.TotalAmount) {
- return nil, false
- }
- return o.TotalAmount, true
-}
-
-// HasTotalAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsPopulationResult) HasTotalAmount() bool {
- if o != nil && !isNil(o.TotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetTotalAmount gets a reference to the given string and assigns it to the TotalAmount field.
-func (o *MarginIsolatedAssetsPopulationResult) SetTotalAmount(v string) {
- o.TotalAmount = &v
-}
-
-func (o MarginIsolatedAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Available) {
- toSerialize["available"] = o.Available
- }
- if !isNil(o.Borrow) {
- toSerialize["borrow"] = o.Borrow
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Frozen) {
- toSerialize["frozen"] = o.Frozen
- }
- if !isNil(o.Interest) {
- toSerialize["interest"] = o.Interest
- }
- if !isNil(o.Net) {
- toSerialize["net"] = o.Net
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.TotalAmount) {
- toSerialize["totalAmount"] = o.TotalAmount
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedAssetsPopulationResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedAssetsPopulationResult := _MarginIsolatedAssetsPopulationResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedAssetsPopulationResult); err == nil {
- *o = MarginIsolatedAssetsPopulationResult(varMarginIsolatedAssetsPopulationResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "available")
- delete(additionalProperties, "borrow")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "frozen")
- delete(additionalProperties, "interest")
- delete(additionalProperties, "net")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "totalAmount")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedAssetsPopulationResult struct {
- value *MarginIsolatedAssetsPopulationResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedAssetsPopulationResult) Get() *MarginIsolatedAssetsPopulationResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedAssetsPopulationResult) Set(val *MarginIsolatedAssetsPopulationResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedAssetsPopulationResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedAssetsPopulationResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedAssetsPopulationResult(val *MarginIsolatedAssetsPopulationResult) *NullableMarginIsolatedAssetsPopulationResult {
- return &NullableMarginIsolatedAssetsPopulationResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedAssetsPopulationResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedAssetsPopulationResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_assets_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_assets_result.go
deleted file mode 100644
index 98e54b58..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_assets_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedAssetsResult struct for MarginIsolatedAssetsResult
-type MarginIsolatedAssetsResult struct {
- Coin *string `json:"coin,omitempty"`
- MaxTransferOutAmount *string `json:"maxTransferOutAmount,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedAssetsResult MarginIsolatedAssetsResult
-
-// NewMarginIsolatedAssetsResult instantiates a new MarginIsolatedAssetsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedAssetsResult() *MarginIsolatedAssetsResult {
- this := MarginIsolatedAssetsResult{}
- return &this
-}
-
-// NewMarginIsolatedAssetsResultWithDefaults instantiates a new MarginIsolatedAssetsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedAssetsResultWithDefaults() *MarginIsolatedAssetsResult {
- this := MarginIsolatedAssetsResult{}
- return &this
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedAssetsResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetMaxTransferOutAmount returns the MaxTransferOutAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsResult) GetMaxTransferOutAmount() string {
- if o == nil || isNil(o.MaxTransferOutAmount) {
- var ret string
- return ret
- }
- return *o.MaxTransferOutAmount
-}
-
-// GetMaxTransferOutAmountOk returns a tuple with the MaxTransferOutAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsResult) GetMaxTransferOutAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTransferOutAmount) {
- return nil, false
- }
- return o.MaxTransferOutAmount, true
-}
-
-// HasMaxTransferOutAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsResult) HasMaxTransferOutAmount() bool {
- if o != nil && !isNil(o.MaxTransferOutAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTransferOutAmount gets a reference to the given string and assigns it to the MaxTransferOutAmount field.
-func (o *MarginIsolatedAssetsResult) SetMaxTransferOutAmount(v string) {
- o.MaxTransferOutAmount = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedAssetsResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedAssetsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.MaxTransferOutAmount) {
- toSerialize["maxTransferOutAmount"] = o.MaxTransferOutAmount
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedAssetsResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedAssetsResult := _MarginIsolatedAssetsResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedAssetsResult); err == nil {
- *o = MarginIsolatedAssetsResult(varMarginIsolatedAssetsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "maxTransferOutAmount")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedAssetsResult struct {
- value *MarginIsolatedAssetsResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedAssetsResult) Get() *MarginIsolatedAssetsResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedAssetsResult) Set(val *MarginIsolatedAssetsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedAssetsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedAssetsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedAssetsResult(val *MarginIsolatedAssetsResult) *NullableMarginIsolatedAssetsResult {
- return &NullableMarginIsolatedAssetsResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedAssetsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedAssetsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_request.go b/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_request.go
deleted file mode 100644
index c0cd7435..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_request.go
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedAssetsRiskRequest struct for MarginIsolatedAssetsRiskRequest
-type MarginIsolatedAssetsRiskRequest struct {
- // pageNum
- PageNum *string `json:"pageNum,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedAssetsRiskRequest MarginIsolatedAssetsRiskRequest
-
-// NewMarginIsolatedAssetsRiskRequest instantiates a new MarginIsolatedAssetsRiskRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedAssetsRiskRequest(symbol string) *MarginIsolatedAssetsRiskRequest {
- this := MarginIsolatedAssetsRiskRequest{}
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginIsolatedAssetsRiskRequestWithDefaults instantiates a new MarginIsolatedAssetsRiskRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedAssetsRiskRequestWithDefaults() *MarginIsolatedAssetsRiskRequest {
- this := MarginIsolatedAssetsRiskRequest{}
- return &this
-}
-
-// GetPageNum returns the PageNum field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsRiskRequest) GetPageNum() string {
- if o == nil || isNil(o.PageNum) {
- var ret string
- return ret
- }
- return *o.PageNum
-}
-
-// GetPageNumOk returns a tuple with the PageNum field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsRiskRequest) GetPageNumOk() (*string, bool) {
- if o == nil || isNil(o.PageNum) {
- return nil, false
- }
- return o.PageNum, true
-}
-
-// HasPageNum returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsRiskRequest) HasPageNum() bool {
- if o != nil && !isNil(o.PageNum) {
- return true
- }
-
- return false
-}
-
-// SetPageNum gets a reference to the given string and assigns it to the PageNum field.
-func (o *MarginIsolatedAssetsRiskRequest) SetPageNum(v string) {
- o.PageNum = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsRiskRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsRiskRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsRiskRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *MarginIsolatedAssetsRiskRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginIsolatedAssetsRiskRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsRiskRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginIsolatedAssetsRiskRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginIsolatedAssetsRiskRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNum) {
- toSerialize["pageNum"] = o.PageNum
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedAssetsRiskRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedAssetsRiskRequest := _MarginIsolatedAssetsRiskRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedAssetsRiskRequest); err == nil {
- *o = MarginIsolatedAssetsRiskRequest(varMarginIsolatedAssetsRiskRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNum")
- delete(additionalProperties, "pageSize")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedAssetsRiskRequest struct {
- value *MarginIsolatedAssetsRiskRequest
- isSet bool
-}
-
-func (v NullableMarginIsolatedAssetsRiskRequest) Get() *MarginIsolatedAssetsRiskRequest {
- return v.value
-}
-
-func (v *NullableMarginIsolatedAssetsRiskRequest) Set(val *MarginIsolatedAssetsRiskRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedAssetsRiskRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedAssetsRiskRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedAssetsRiskRequest(val *MarginIsolatedAssetsRiskRequest) *NullableMarginIsolatedAssetsRiskRequest {
- return &NullableMarginIsolatedAssetsRiskRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedAssetsRiskRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedAssetsRiskRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_result.go
deleted file mode 100644
index 98b46cf0..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_assets_risk_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedAssetsRiskResult struct for MarginIsolatedAssetsRiskResult
-type MarginIsolatedAssetsRiskResult struct {
- RiskRate *string `json:"riskRate,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedAssetsRiskResult MarginIsolatedAssetsRiskResult
-
-// NewMarginIsolatedAssetsRiskResult instantiates a new MarginIsolatedAssetsRiskResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedAssetsRiskResult() *MarginIsolatedAssetsRiskResult {
- this := MarginIsolatedAssetsRiskResult{}
- return &this
-}
-
-// NewMarginIsolatedAssetsRiskResultWithDefaults instantiates a new MarginIsolatedAssetsRiskResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedAssetsRiskResultWithDefaults() *MarginIsolatedAssetsRiskResult {
- this := MarginIsolatedAssetsRiskResult{}
- return &this
-}
-
-// GetRiskRate returns the RiskRate field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsRiskResult) GetRiskRate() string {
- if o == nil || isNil(o.RiskRate) {
- var ret string
- return ret
- }
- return *o.RiskRate
-}
-
-// GetRiskRateOk returns a tuple with the RiskRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsRiskResult) GetRiskRateOk() (*string, bool) {
- if o == nil || isNil(o.RiskRate) {
- return nil, false
- }
- return o.RiskRate, true
-}
-
-// HasRiskRate returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsRiskResult) HasRiskRate() bool {
- if o != nil && !isNil(o.RiskRate) {
- return true
- }
-
- return false
-}
-
-// SetRiskRate gets a reference to the given string and assigns it to the RiskRate field.
-func (o *MarginIsolatedAssetsRiskResult) SetRiskRate(v string) {
- o.RiskRate = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedAssetsRiskResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedAssetsRiskResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedAssetsRiskResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedAssetsRiskResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedAssetsRiskResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.RiskRate) {
- toSerialize["riskRate"] = o.RiskRate
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedAssetsRiskResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedAssetsRiskResult := _MarginIsolatedAssetsRiskResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedAssetsRiskResult); err == nil {
- *o = MarginIsolatedAssetsRiskResult(varMarginIsolatedAssetsRiskResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "riskRate")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedAssetsRiskResult struct {
- value *MarginIsolatedAssetsRiskResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedAssetsRiskResult) Get() *MarginIsolatedAssetsRiskResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedAssetsRiskResult) Set(val *MarginIsolatedAssetsRiskResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedAssetsRiskResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedAssetsRiskResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedAssetsRiskResult(val *MarginIsolatedAssetsRiskResult) *NullableMarginIsolatedAssetsRiskResult {
- return &NullableMarginIsolatedAssetsRiskResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedAssetsRiskResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedAssetsRiskResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_borrow_limit_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_borrow_limit_result.go
deleted file mode 100644
index 554fe542..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_borrow_limit_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedBorrowLimitResult struct for MarginIsolatedBorrowLimitResult
-type MarginIsolatedBorrowLimitResult struct {
- BorrowAmount *string `json:"borrowAmount,omitempty"`
- ClientOid *string `json:"clientOid,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedBorrowLimitResult MarginIsolatedBorrowLimitResult
-
-// NewMarginIsolatedBorrowLimitResult instantiates a new MarginIsolatedBorrowLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedBorrowLimitResult() *MarginIsolatedBorrowLimitResult {
- this := MarginIsolatedBorrowLimitResult{}
- return &this
-}
-
-// NewMarginIsolatedBorrowLimitResultWithDefaults instantiates a new MarginIsolatedBorrowLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedBorrowLimitResultWithDefaults() *MarginIsolatedBorrowLimitResult {
- this := MarginIsolatedBorrowLimitResult{}
- return &this
-}
-
-// GetBorrowAmount returns the BorrowAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedBorrowLimitResult) GetBorrowAmount() string {
- if o == nil || isNil(o.BorrowAmount) {
- var ret string
- return ret
- }
- return *o.BorrowAmount
-}
-
-// GetBorrowAmountOk returns a tuple with the BorrowAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedBorrowLimitResult) GetBorrowAmountOk() (*string, bool) {
- if o == nil || isNil(o.BorrowAmount) {
- return nil, false
- }
- return o.BorrowAmount, true
-}
-
-// HasBorrowAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedBorrowLimitResult) HasBorrowAmount() bool {
- if o != nil && !isNil(o.BorrowAmount) {
- return true
- }
-
- return false
-}
-
-// SetBorrowAmount gets a reference to the given string and assigns it to the BorrowAmount field.
-func (o *MarginIsolatedBorrowLimitResult) SetBorrowAmount(v string) {
- o.BorrowAmount = &v
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginIsolatedBorrowLimitResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedBorrowLimitResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginIsolatedBorrowLimitResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginIsolatedBorrowLimitResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedBorrowLimitResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedBorrowLimitResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedBorrowLimitResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedBorrowLimitResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedBorrowLimitResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedBorrowLimitResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedBorrowLimitResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedBorrowLimitResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedBorrowLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BorrowAmount) {
- toSerialize["borrowAmount"] = o.BorrowAmount
- }
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedBorrowLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedBorrowLimitResult := _MarginIsolatedBorrowLimitResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedBorrowLimitResult); err == nil {
- *o = MarginIsolatedBorrowLimitResult(varMarginIsolatedBorrowLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "borrowAmount")
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedBorrowLimitResult struct {
- value *MarginIsolatedBorrowLimitResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedBorrowLimitResult) Get() *MarginIsolatedBorrowLimitResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedBorrowLimitResult) Set(val *MarginIsolatedBorrowLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedBorrowLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedBorrowLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedBorrowLimitResult(val *MarginIsolatedBorrowLimitResult) *NullableMarginIsolatedBorrowLimitResult {
- return &NullableMarginIsolatedBorrowLimitResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedBorrowLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedBorrowLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_info.go b/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_info.go
deleted file mode 100644
index 72ca40a7..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_info.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedFinFlowInfo struct for MarginIsolatedFinFlowInfo
-type MarginIsolatedFinFlowInfo struct {
- Amount *string `json:"amount,omitempty"`
- Balance *string `json:"balance,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Fee *string `json:"fee,omitempty"`
- MarginId *string `json:"marginId,omitempty"`
- MarginType *string `json:"marginType,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedFinFlowInfo MarginIsolatedFinFlowInfo
-
-// NewMarginIsolatedFinFlowInfo instantiates a new MarginIsolatedFinFlowInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedFinFlowInfo() *MarginIsolatedFinFlowInfo {
- this := MarginIsolatedFinFlowInfo{}
- return &this
-}
-
-// NewMarginIsolatedFinFlowInfoWithDefaults instantiates a new MarginIsolatedFinFlowInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedFinFlowInfoWithDefaults() *MarginIsolatedFinFlowInfo {
- this := MarginIsolatedFinFlowInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginIsolatedFinFlowInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetBalance returns the Balance field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetBalance() string {
- if o == nil || isNil(o.Balance) {
- var ret string
- return ret
- }
- return *o.Balance
-}
-
-// GetBalanceOk returns a tuple with the Balance field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetBalanceOk() (*string, bool) {
- if o == nil || isNil(o.Balance) {
- return nil, false
- }
- return o.Balance, true
-}
-
-// HasBalance returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasBalance() bool {
- if o != nil && !isNil(o.Balance) {
- return true
- }
-
- return false
-}
-
-// SetBalance gets a reference to the given string and assigns it to the Balance field.
-func (o *MarginIsolatedFinFlowInfo) SetBalance(v string) {
- o.Balance = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedFinFlowInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedFinFlowInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFee returns the Fee field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetFee() string {
- if o == nil || isNil(o.Fee) {
- var ret string
- return ret
- }
- return *o.Fee
-}
-
-// GetFeeOk returns a tuple with the Fee field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetFeeOk() (*string, bool) {
- if o == nil || isNil(o.Fee) {
- return nil, false
- }
- return o.Fee, true
-}
-
-// HasFee returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasFee() bool {
- if o != nil && !isNil(o.Fee) {
- return true
- }
-
- return false
-}
-
-// SetFee gets a reference to the given string and assigns it to the Fee field.
-func (o *MarginIsolatedFinFlowInfo) SetFee(v string) {
- o.Fee = &v
-}
-
-// GetMarginId returns the MarginId field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetMarginId() string {
- if o == nil || isNil(o.MarginId) {
- var ret string
- return ret
- }
- return *o.MarginId
-}
-
-// GetMarginIdOk returns a tuple with the MarginId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetMarginIdOk() (*string, bool) {
- if o == nil || isNil(o.MarginId) {
- return nil, false
- }
- return o.MarginId, true
-}
-
-// HasMarginId returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasMarginId() bool {
- if o != nil && !isNil(o.MarginId) {
- return true
- }
-
- return false
-}
-
-// SetMarginId gets a reference to the given string and assigns it to the MarginId field.
-func (o *MarginIsolatedFinFlowInfo) SetMarginId(v string) {
- o.MarginId = &v
-}
-
-// GetMarginType returns the MarginType field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetMarginType() string {
- if o == nil || isNil(o.MarginType) {
- var ret string
- return ret
- }
- return *o.MarginType
-}
-
-// GetMarginTypeOk returns a tuple with the MarginType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetMarginTypeOk() (*string, bool) {
- if o == nil || isNil(o.MarginType) {
- return nil, false
- }
- return o.MarginType, true
-}
-
-// HasMarginType returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasMarginType() bool {
- if o != nil && !isNil(o.MarginType) {
- return true
- }
-
- return false
-}
-
-// SetMarginType gets a reference to the given string and assigns it to the MarginType field.
-func (o *MarginIsolatedFinFlowInfo) SetMarginType(v string) {
- o.MarginType = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedFinFlowInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedFinFlowInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Balance) {
- toSerialize["balance"] = o.Balance
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Fee) {
- toSerialize["fee"] = o.Fee
- }
- if !isNil(o.MarginId) {
- toSerialize["marginId"] = o.MarginId
- }
- if !isNil(o.MarginType) {
- toSerialize["marginType"] = o.MarginType
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedFinFlowInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedFinFlowInfo := _MarginIsolatedFinFlowInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedFinFlowInfo); err == nil {
- *o = MarginIsolatedFinFlowInfo(varMarginIsolatedFinFlowInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "balance")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "fee")
- delete(additionalProperties, "marginId")
- delete(additionalProperties, "marginType")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedFinFlowInfo struct {
- value *MarginIsolatedFinFlowInfo
- isSet bool
-}
-
-func (v NullableMarginIsolatedFinFlowInfo) Get() *MarginIsolatedFinFlowInfo {
- return v.value
-}
-
-func (v *NullableMarginIsolatedFinFlowInfo) Set(val *MarginIsolatedFinFlowInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedFinFlowInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedFinFlowInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedFinFlowInfo(val *MarginIsolatedFinFlowInfo) *NullableMarginIsolatedFinFlowInfo {
- return &NullableMarginIsolatedFinFlowInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedFinFlowInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedFinFlowInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_result.go
deleted file mode 100644
index 202b05ae..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_fin_flow_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedFinFlowResult struct for MarginIsolatedFinFlowResult
-type MarginIsolatedFinFlowResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginIsolatedFinFlowInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedFinFlowResult MarginIsolatedFinFlowResult
-
-// NewMarginIsolatedFinFlowResult instantiates a new MarginIsolatedFinFlowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedFinFlowResult() *MarginIsolatedFinFlowResult {
- this := MarginIsolatedFinFlowResult{}
- return &this
-}
-
-// NewMarginIsolatedFinFlowResultWithDefaults instantiates a new MarginIsolatedFinFlowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedFinFlowResultWithDefaults() *MarginIsolatedFinFlowResult {
- this := MarginIsolatedFinFlowResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginIsolatedFinFlowResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginIsolatedFinFlowResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginIsolatedFinFlowResult) GetResultList() []MarginIsolatedFinFlowInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginIsolatedFinFlowInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedFinFlowResult) GetResultListOk() ([]MarginIsolatedFinFlowInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginIsolatedFinFlowResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginIsolatedFinFlowInfo and assigns it to the ResultList field.
-func (o *MarginIsolatedFinFlowResult) SetResultList(v []MarginIsolatedFinFlowInfo) {
- o.ResultList = v
-}
-
-func (o MarginIsolatedFinFlowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedFinFlowResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedFinFlowResult := _MarginIsolatedFinFlowResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedFinFlowResult); err == nil {
- *o = MarginIsolatedFinFlowResult(varMarginIsolatedFinFlowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedFinFlowResult struct {
- value *MarginIsolatedFinFlowResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedFinFlowResult) Get() *MarginIsolatedFinFlowResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedFinFlowResult) Set(val *MarginIsolatedFinFlowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedFinFlowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedFinFlowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedFinFlowResult(val *MarginIsolatedFinFlowResult) *NullableMarginIsolatedFinFlowResult {
- return &NullableMarginIsolatedFinFlowResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedFinFlowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedFinFlowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_interest_info.go b/bitget-goland-sdk-open-api/model_margin_isolated_interest_info.go
deleted file mode 100644
index a0acac50..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_interest_info.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedInterestInfo struct for MarginIsolatedInterestInfo
-type MarginIsolatedInterestInfo struct {
- Amount *string `json:"amount,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- InterestCoin *string `json:"interestCoin,omitempty"`
- InterestId *string `json:"interestId,omitempty"`
- InterestRate *string `json:"interestRate,omitempty"`
- LoanCoin *string `json:"loanCoin,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedInterestInfo MarginIsolatedInterestInfo
-
-// NewMarginIsolatedInterestInfo instantiates a new MarginIsolatedInterestInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedInterestInfo() *MarginIsolatedInterestInfo {
- this := MarginIsolatedInterestInfo{}
- return &this
-}
-
-// NewMarginIsolatedInterestInfoWithDefaults instantiates a new MarginIsolatedInterestInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedInterestInfoWithDefaults() *MarginIsolatedInterestInfo {
- this := MarginIsolatedInterestInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginIsolatedInterestInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedInterestInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetInterestCoin returns the InterestCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetInterestCoin() string {
- if o == nil || isNil(o.InterestCoin) {
- var ret string
- return ret
- }
- return *o.InterestCoin
-}
-
-// GetInterestCoinOk returns a tuple with the InterestCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetInterestCoinOk() (*string, bool) {
- if o == nil || isNil(o.InterestCoin) {
- return nil, false
- }
- return o.InterestCoin, true
-}
-
-// HasInterestCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasInterestCoin() bool {
- if o != nil && !isNil(o.InterestCoin) {
- return true
- }
-
- return false
-}
-
-// SetInterestCoin gets a reference to the given string and assigns it to the InterestCoin field.
-func (o *MarginIsolatedInterestInfo) SetInterestCoin(v string) {
- o.InterestCoin = &v
-}
-
-// GetInterestId returns the InterestId field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetInterestId() string {
- if o == nil || isNil(o.InterestId) {
- var ret string
- return ret
- }
- return *o.InterestId
-}
-
-// GetInterestIdOk returns a tuple with the InterestId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetInterestIdOk() (*string, bool) {
- if o == nil || isNil(o.InterestId) {
- return nil, false
- }
- return o.InterestId, true
-}
-
-// HasInterestId returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasInterestId() bool {
- if o != nil && !isNil(o.InterestId) {
- return true
- }
-
- return false
-}
-
-// SetInterestId gets a reference to the given string and assigns it to the InterestId field.
-func (o *MarginIsolatedInterestInfo) SetInterestId(v string) {
- o.InterestId = &v
-}
-
-// GetInterestRate returns the InterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetInterestRate() string {
- if o == nil || isNil(o.InterestRate) {
- var ret string
- return ret
- }
- return *o.InterestRate
-}
-
-// GetInterestRateOk returns a tuple with the InterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.InterestRate) {
- return nil, false
- }
- return o.InterestRate, true
-}
-
-// HasInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasInterestRate() bool {
- if o != nil && !isNil(o.InterestRate) {
- return true
- }
-
- return false
-}
-
-// SetInterestRate gets a reference to the given string and assigns it to the InterestRate field.
-func (o *MarginIsolatedInterestInfo) SetInterestRate(v string) {
- o.InterestRate = &v
-}
-
-// GetLoanCoin returns the LoanCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetLoanCoin() string {
- if o == nil || isNil(o.LoanCoin) {
- var ret string
- return ret
- }
- return *o.LoanCoin
-}
-
-// GetLoanCoinOk returns a tuple with the LoanCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetLoanCoinOk() (*string, bool) {
- if o == nil || isNil(o.LoanCoin) {
- return nil, false
- }
- return o.LoanCoin, true
-}
-
-// HasLoanCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasLoanCoin() bool {
- if o != nil && !isNil(o.LoanCoin) {
- return true
- }
-
- return false
-}
-
-// SetLoanCoin gets a reference to the given string and assigns it to the LoanCoin field.
-func (o *MarginIsolatedInterestInfo) SetLoanCoin(v string) {
- o.LoanCoin = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedInterestInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginIsolatedInterestInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginIsolatedInterestInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.InterestCoin) {
- toSerialize["interestCoin"] = o.InterestCoin
- }
- if !isNil(o.InterestId) {
- toSerialize["interestId"] = o.InterestId
- }
- if !isNil(o.InterestRate) {
- toSerialize["interestRate"] = o.InterestRate
- }
- if !isNil(o.LoanCoin) {
- toSerialize["loanCoin"] = o.LoanCoin
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedInterestInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedInterestInfo := _MarginIsolatedInterestInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedInterestInfo); err == nil {
- *o = MarginIsolatedInterestInfo(varMarginIsolatedInterestInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "interestCoin")
- delete(additionalProperties, "interestId")
- delete(additionalProperties, "interestRate")
- delete(additionalProperties, "loanCoin")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedInterestInfo struct {
- value *MarginIsolatedInterestInfo
- isSet bool
-}
-
-func (v NullableMarginIsolatedInterestInfo) Get() *MarginIsolatedInterestInfo {
- return v.value
-}
-
-func (v *NullableMarginIsolatedInterestInfo) Set(val *MarginIsolatedInterestInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedInterestInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedInterestInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedInterestInfo(val *MarginIsolatedInterestInfo) *NullableMarginIsolatedInterestInfo {
- return &NullableMarginIsolatedInterestInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedInterestInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedInterestInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_interest_info_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_interest_info_result.go
deleted file mode 100644
index 1861d0b9..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_interest_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedInterestInfoResult struct for MarginIsolatedInterestInfoResult
-type MarginIsolatedInterestInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginIsolatedInterestInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedInterestInfoResult MarginIsolatedInterestInfoResult
-
-// NewMarginIsolatedInterestInfoResult instantiates a new MarginIsolatedInterestInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedInterestInfoResult() *MarginIsolatedInterestInfoResult {
- this := MarginIsolatedInterestInfoResult{}
- return &this
-}
-
-// NewMarginIsolatedInterestInfoResultWithDefaults instantiates a new MarginIsolatedInterestInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedInterestInfoResultWithDefaults() *MarginIsolatedInterestInfoResult {
- this := MarginIsolatedInterestInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginIsolatedInterestInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginIsolatedInterestInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginIsolatedInterestInfoResult) GetResultList() []MarginIsolatedInterestInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginIsolatedInterestInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedInterestInfoResult) GetResultListOk() ([]MarginIsolatedInterestInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginIsolatedInterestInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginIsolatedInterestInfo and assigns it to the ResultList field.
-func (o *MarginIsolatedInterestInfoResult) SetResultList(v []MarginIsolatedInterestInfo) {
- o.ResultList = v
-}
-
-func (o MarginIsolatedInterestInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedInterestInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedInterestInfoResult := _MarginIsolatedInterestInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedInterestInfoResult); err == nil {
- *o = MarginIsolatedInterestInfoResult(varMarginIsolatedInterestInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedInterestInfoResult struct {
- value *MarginIsolatedInterestInfoResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedInterestInfoResult) Get() *MarginIsolatedInterestInfoResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedInterestInfoResult) Set(val *MarginIsolatedInterestInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedInterestInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedInterestInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedInterestInfoResult(val *MarginIsolatedInterestInfoResult) *NullableMarginIsolatedInterestInfoResult {
- return &NullableMarginIsolatedInterestInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedInterestInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedInterestInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_level_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_level_result.go
deleted file mode 100644
index 1c64a136..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_level_result.go
+++ /dev/null
@@ -1,434 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLevelResult struct for MarginIsolatedLevelResult
-type MarginIsolatedLevelResult struct {
- BaseCoin *string `json:"baseCoin,omitempty"`
- BaseMaxBorrowableAmount *string `json:"baseMaxBorrowableAmount,omitempty"`
- InitRate *string `json:"initRate,omitempty"`
- Leverage *string `json:"leverage,omitempty"`
- MaintainMarginRate *string `json:"maintainMarginRate,omitempty"`
- QuoteCoin *string `json:"quoteCoin,omitempty"`
- QuoteMaxBorrowableAmount *string `json:"quoteMaxBorrowableAmount,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- Tier *string `json:"tier,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLevelResult MarginIsolatedLevelResult
-
-// NewMarginIsolatedLevelResult instantiates a new MarginIsolatedLevelResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLevelResult() *MarginIsolatedLevelResult {
- this := MarginIsolatedLevelResult{}
- return &this
-}
-
-// NewMarginIsolatedLevelResultWithDefaults instantiates a new MarginIsolatedLevelResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLevelResultWithDefaults() *MarginIsolatedLevelResult {
- this := MarginIsolatedLevelResult{}
- return &this
-}
-
-// GetBaseCoin returns the BaseCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetBaseCoin() string {
- if o == nil || isNil(o.BaseCoin) {
- var ret string
- return ret
- }
- return *o.BaseCoin
-}
-
-// GetBaseCoinOk returns a tuple with the BaseCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetBaseCoinOk() (*string, bool) {
- if o == nil || isNil(o.BaseCoin) {
- return nil, false
- }
- return o.BaseCoin, true
-}
-
-// HasBaseCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasBaseCoin() bool {
- if o != nil && !isNil(o.BaseCoin) {
- return true
- }
-
- return false
-}
-
-// SetBaseCoin gets a reference to the given string and assigns it to the BaseCoin field.
-func (o *MarginIsolatedLevelResult) SetBaseCoin(v string) {
- o.BaseCoin = &v
-}
-
-// GetBaseMaxBorrowableAmount returns the BaseMaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetBaseMaxBorrowableAmount() string {
- if o == nil || isNil(o.BaseMaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.BaseMaxBorrowableAmount
-}
-
-// GetBaseMaxBorrowableAmountOk returns a tuple with the BaseMaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetBaseMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.BaseMaxBorrowableAmount) {
- return nil, false
- }
- return o.BaseMaxBorrowableAmount, true
-}
-
-// HasBaseMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasBaseMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.BaseMaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetBaseMaxBorrowableAmount gets a reference to the given string and assigns it to the BaseMaxBorrowableAmount field.
-func (o *MarginIsolatedLevelResult) SetBaseMaxBorrowableAmount(v string) {
- o.BaseMaxBorrowableAmount = &v
-}
-
-// GetInitRate returns the InitRate field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetInitRate() string {
- if o == nil || isNil(o.InitRate) {
- var ret string
- return ret
- }
- return *o.InitRate
-}
-
-// GetInitRateOk returns a tuple with the InitRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetInitRateOk() (*string, bool) {
- if o == nil || isNil(o.InitRate) {
- return nil, false
- }
- return o.InitRate, true
-}
-
-// HasInitRate returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasInitRate() bool {
- if o != nil && !isNil(o.InitRate) {
- return true
- }
-
- return false
-}
-
-// SetInitRate gets a reference to the given string and assigns it to the InitRate field.
-func (o *MarginIsolatedLevelResult) SetInitRate(v string) {
- o.InitRate = &v
-}
-
-// GetLeverage returns the Leverage field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetLeverage() string {
- if o == nil || isNil(o.Leverage) {
- var ret string
- return ret
- }
- return *o.Leverage
-}
-
-// GetLeverageOk returns a tuple with the Leverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetLeverageOk() (*string, bool) {
- if o == nil || isNil(o.Leverage) {
- return nil, false
- }
- return o.Leverage, true
-}
-
-// HasLeverage returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasLeverage() bool {
- if o != nil && !isNil(o.Leverage) {
- return true
- }
-
- return false
-}
-
-// SetLeverage gets a reference to the given string and assigns it to the Leverage field.
-func (o *MarginIsolatedLevelResult) SetLeverage(v string) {
- o.Leverage = &v
-}
-
-// GetMaintainMarginRate returns the MaintainMarginRate field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetMaintainMarginRate() string {
- if o == nil || isNil(o.MaintainMarginRate) {
- var ret string
- return ret
- }
- return *o.MaintainMarginRate
-}
-
-// GetMaintainMarginRateOk returns a tuple with the MaintainMarginRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetMaintainMarginRateOk() (*string, bool) {
- if o == nil || isNil(o.MaintainMarginRate) {
- return nil, false
- }
- return o.MaintainMarginRate, true
-}
-
-// HasMaintainMarginRate returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasMaintainMarginRate() bool {
- if o != nil && !isNil(o.MaintainMarginRate) {
- return true
- }
-
- return false
-}
-
-// SetMaintainMarginRate gets a reference to the given string and assigns it to the MaintainMarginRate field.
-func (o *MarginIsolatedLevelResult) SetMaintainMarginRate(v string) {
- o.MaintainMarginRate = &v
-}
-
-// GetQuoteCoin returns the QuoteCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetQuoteCoin() string {
- if o == nil || isNil(o.QuoteCoin) {
- var ret string
- return ret
- }
- return *o.QuoteCoin
-}
-
-// GetQuoteCoinOk returns a tuple with the QuoteCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetQuoteCoinOk() (*string, bool) {
- if o == nil || isNil(o.QuoteCoin) {
- return nil, false
- }
- return o.QuoteCoin, true
-}
-
-// HasQuoteCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasQuoteCoin() bool {
- if o != nil && !isNil(o.QuoteCoin) {
- return true
- }
-
- return false
-}
-
-// SetQuoteCoin gets a reference to the given string and assigns it to the QuoteCoin field.
-func (o *MarginIsolatedLevelResult) SetQuoteCoin(v string) {
- o.QuoteCoin = &v
-}
-
-// GetQuoteMaxBorrowableAmount returns the QuoteMaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetQuoteMaxBorrowableAmount() string {
- if o == nil || isNil(o.QuoteMaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.QuoteMaxBorrowableAmount
-}
-
-// GetQuoteMaxBorrowableAmountOk returns a tuple with the QuoteMaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetQuoteMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.QuoteMaxBorrowableAmount) {
- return nil, false
- }
- return o.QuoteMaxBorrowableAmount, true
-}
-
-// HasQuoteMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasQuoteMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.QuoteMaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetQuoteMaxBorrowableAmount gets a reference to the given string and assigns it to the QuoteMaxBorrowableAmount field.
-func (o *MarginIsolatedLevelResult) SetQuoteMaxBorrowableAmount(v string) {
- o.QuoteMaxBorrowableAmount = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedLevelResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetTier returns the Tier field value if set, zero value otherwise.
-func (o *MarginIsolatedLevelResult) GetTier() string {
- if o == nil || isNil(o.Tier) {
- var ret string
- return ret
- }
- return *o.Tier
-}
-
-// GetTierOk returns a tuple with the Tier field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLevelResult) GetTierOk() (*string, bool) {
- if o == nil || isNil(o.Tier) {
- return nil, false
- }
- return o.Tier, true
-}
-
-// HasTier returns a boolean if a field has been set.
-func (o *MarginIsolatedLevelResult) HasTier() bool {
- if o != nil && !isNil(o.Tier) {
- return true
- }
-
- return false
-}
-
-// SetTier gets a reference to the given string and assigns it to the Tier field.
-func (o *MarginIsolatedLevelResult) SetTier(v string) {
- o.Tier = &v
-}
-
-func (o MarginIsolatedLevelResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BaseCoin) {
- toSerialize["baseCoin"] = o.BaseCoin
- }
- if !isNil(o.BaseMaxBorrowableAmount) {
- toSerialize["baseMaxBorrowableAmount"] = o.BaseMaxBorrowableAmount
- }
- if !isNil(o.InitRate) {
- toSerialize["initRate"] = o.InitRate
- }
- if !isNil(o.Leverage) {
- toSerialize["leverage"] = o.Leverage
- }
- if !isNil(o.MaintainMarginRate) {
- toSerialize["maintainMarginRate"] = o.MaintainMarginRate
- }
- if !isNil(o.QuoteCoin) {
- toSerialize["quoteCoin"] = o.QuoteCoin
- }
- if !isNil(o.QuoteMaxBorrowableAmount) {
- toSerialize["quoteMaxBorrowableAmount"] = o.QuoteMaxBorrowableAmount
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.Tier) {
- toSerialize["tier"] = o.Tier
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLevelResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLevelResult := _MarginIsolatedLevelResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLevelResult); err == nil {
- *o = MarginIsolatedLevelResult(varMarginIsolatedLevelResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "baseCoin")
- delete(additionalProperties, "baseMaxBorrowableAmount")
- delete(additionalProperties, "initRate")
- delete(additionalProperties, "leverage")
- delete(additionalProperties, "maintainMarginRate")
- delete(additionalProperties, "quoteCoin")
- delete(additionalProperties, "quoteMaxBorrowableAmount")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "tier")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLevelResult struct {
- value *MarginIsolatedLevelResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedLevelResult) Get() *MarginIsolatedLevelResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLevelResult) Set(val *MarginIsolatedLevelResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLevelResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLevelResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLevelResult(val *MarginIsolatedLevelResult) *NullableMarginIsolatedLevelResult {
- return &NullableMarginIsolatedLevelResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLevelResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLevelResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_limit_request.go b/bitget-goland-sdk-open-api/model_margin_isolated_limit_request.go
deleted file mode 100644
index 4f3f4293..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_limit_request.go
+++ /dev/null
@@ -1,194 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLimitRequest struct for MarginIsolatedLimitRequest
-type MarginIsolatedLimitRequest struct {
- // borrowAmount
- BorrowAmount string `json:"borrowAmount"`
- // coin
- Coin string `json:"coin"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLimitRequest MarginIsolatedLimitRequest
-
-// NewMarginIsolatedLimitRequest instantiates a new MarginIsolatedLimitRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLimitRequest(borrowAmount string, coin string, symbol string) *MarginIsolatedLimitRequest {
- this := MarginIsolatedLimitRequest{}
- this.BorrowAmount = borrowAmount
- this.Coin = coin
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginIsolatedLimitRequestWithDefaults instantiates a new MarginIsolatedLimitRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLimitRequestWithDefaults() *MarginIsolatedLimitRequest {
- this := MarginIsolatedLimitRequest{}
- return &this
-}
-
-// GetBorrowAmount returns the BorrowAmount field value
-func (o *MarginIsolatedLimitRequest) GetBorrowAmount() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.BorrowAmount
-}
-
-// GetBorrowAmountOk returns a tuple with the BorrowAmount field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLimitRequest) GetBorrowAmountOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.BorrowAmount, true
-}
-
-// SetBorrowAmount sets field value
-func (o *MarginIsolatedLimitRequest) SetBorrowAmount(v string) {
- o.BorrowAmount = v
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginIsolatedLimitRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLimitRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginIsolatedLimitRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginIsolatedLimitRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLimitRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginIsolatedLimitRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginIsolatedLimitRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["borrowAmount"] = o.BorrowAmount
- }
- if true {
- toSerialize["coin"] = o.Coin
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLimitRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLimitRequest := _MarginIsolatedLimitRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLimitRequest); err == nil {
- *o = MarginIsolatedLimitRequest(varMarginIsolatedLimitRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "borrowAmount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLimitRequest struct {
- value *MarginIsolatedLimitRequest
- isSet bool
-}
-
-func (v NullableMarginIsolatedLimitRequest) Get() *MarginIsolatedLimitRequest {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLimitRequest) Set(val *MarginIsolatedLimitRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLimitRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLimitRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLimitRequest(val *MarginIsolatedLimitRequest) *NullableMarginIsolatedLimitRequest {
- return &NullableMarginIsolatedLimitRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLimitRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLimitRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info.go b/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info.go
deleted file mode 100644
index 6121c642..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info.go
+++ /dev/null
@@ -1,434 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLiquidationInfo struct for MarginIsolatedLiquidationInfo
-type MarginIsolatedLiquidationInfo struct {
- Ctime *string `json:"ctime,omitempty"`
- LiqEndTime *string `json:"liqEndTime,omitempty"`
- LiqFee *string `json:"liqFee,omitempty"`
- LiqId *string `json:"liqId,omitempty"`
- LiqRisk *string `json:"liqRisk,omitempty"`
- LiqStartTime *string `json:"liqStartTime,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- TotalAssets *string `json:"totalAssets,omitempty"`
- TotalDebt *string `json:"totalDebt,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLiquidationInfo MarginIsolatedLiquidationInfo
-
-// NewMarginIsolatedLiquidationInfo instantiates a new MarginIsolatedLiquidationInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLiquidationInfo() *MarginIsolatedLiquidationInfo {
- this := MarginIsolatedLiquidationInfo{}
- return &this
-}
-
-// NewMarginIsolatedLiquidationInfoWithDefaults instantiates a new MarginIsolatedLiquidationInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLiquidationInfoWithDefaults() *MarginIsolatedLiquidationInfo {
- this := MarginIsolatedLiquidationInfo{}
- return &this
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedLiquidationInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetLiqEndTime returns the LiqEndTime field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetLiqEndTime() string {
- if o == nil || isNil(o.LiqEndTime) {
- var ret string
- return ret
- }
- return *o.LiqEndTime
-}
-
-// GetLiqEndTimeOk returns a tuple with the LiqEndTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetLiqEndTimeOk() (*string, bool) {
- if o == nil || isNil(o.LiqEndTime) {
- return nil, false
- }
- return o.LiqEndTime, true
-}
-
-// HasLiqEndTime returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasLiqEndTime() bool {
- if o != nil && !isNil(o.LiqEndTime) {
- return true
- }
-
- return false
-}
-
-// SetLiqEndTime gets a reference to the given string and assigns it to the LiqEndTime field.
-func (o *MarginIsolatedLiquidationInfo) SetLiqEndTime(v string) {
- o.LiqEndTime = &v
-}
-
-// GetLiqFee returns the LiqFee field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetLiqFee() string {
- if o == nil || isNil(o.LiqFee) {
- var ret string
- return ret
- }
- return *o.LiqFee
-}
-
-// GetLiqFeeOk returns a tuple with the LiqFee field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetLiqFeeOk() (*string, bool) {
- if o == nil || isNil(o.LiqFee) {
- return nil, false
- }
- return o.LiqFee, true
-}
-
-// HasLiqFee returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasLiqFee() bool {
- if o != nil && !isNil(o.LiqFee) {
- return true
- }
-
- return false
-}
-
-// SetLiqFee gets a reference to the given string and assigns it to the LiqFee field.
-func (o *MarginIsolatedLiquidationInfo) SetLiqFee(v string) {
- o.LiqFee = &v
-}
-
-// GetLiqId returns the LiqId field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetLiqId() string {
- if o == nil || isNil(o.LiqId) {
- var ret string
- return ret
- }
- return *o.LiqId
-}
-
-// GetLiqIdOk returns a tuple with the LiqId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetLiqIdOk() (*string, bool) {
- if o == nil || isNil(o.LiqId) {
- return nil, false
- }
- return o.LiqId, true
-}
-
-// HasLiqId returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasLiqId() bool {
- if o != nil && !isNil(o.LiqId) {
- return true
- }
-
- return false
-}
-
-// SetLiqId gets a reference to the given string and assigns it to the LiqId field.
-func (o *MarginIsolatedLiquidationInfo) SetLiqId(v string) {
- o.LiqId = &v
-}
-
-// GetLiqRisk returns the LiqRisk field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetLiqRisk() string {
- if o == nil || isNil(o.LiqRisk) {
- var ret string
- return ret
- }
- return *o.LiqRisk
-}
-
-// GetLiqRiskOk returns a tuple with the LiqRisk field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetLiqRiskOk() (*string, bool) {
- if o == nil || isNil(o.LiqRisk) {
- return nil, false
- }
- return o.LiqRisk, true
-}
-
-// HasLiqRisk returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasLiqRisk() bool {
- if o != nil && !isNil(o.LiqRisk) {
- return true
- }
-
- return false
-}
-
-// SetLiqRisk gets a reference to the given string and assigns it to the LiqRisk field.
-func (o *MarginIsolatedLiquidationInfo) SetLiqRisk(v string) {
- o.LiqRisk = &v
-}
-
-// GetLiqStartTime returns the LiqStartTime field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetLiqStartTime() string {
- if o == nil || isNil(o.LiqStartTime) {
- var ret string
- return ret
- }
- return *o.LiqStartTime
-}
-
-// GetLiqStartTimeOk returns a tuple with the LiqStartTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetLiqStartTimeOk() (*string, bool) {
- if o == nil || isNil(o.LiqStartTime) {
- return nil, false
- }
- return o.LiqStartTime, true
-}
-
-// HasLiqStartTime returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasLiqStartTime() bool {
- if o != nil && !isNil(o.LiqStartTime) {
- return true
- }
-
- return false
-}
-
-// SetLiqStartTime gets a reference to the given string and assigns it to the LiqStartTime field.
-func (o *MarginIsolatedLiquidationInfo) SetLiqStartTime(v string) {
- o.LiqStartTime = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedLiquidationInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetTotalAssets returns the TotalAssets field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetTotalAssets() string {
- if o == nil || isNil(o.TotalAssets) {
- var ret string
- return ret
- }
- return *o.TotalAssets
-}
-
-// GetTotalAssetsOk returns a tuple with the TotalAssets field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetTotalAssetsOk() (*string, bool) {
- if o == nil || isNil(o.TotalAssets) {
- return nil, false
- }
- return o.TotalAssets, true
-}
-
-// HasTotalAssets returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasTotalAssets() bool {
- if o != nil && !isNil(o.TotalAssets) {
- return true
- }
-
- return false
-}
-
-// SetTotalAssets gets a reference to the given string and assigns it to the TotalAssets field.
-func (o *MarginIsolatedLiquidationInfo) SetTotalAssets(v string) {
- o.TotalAssets = &v
-}
-
-// GetTotalDebt returns the TotalDebt field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfo) GetTotalDebt() string {
- if o == nil || isNil(o.TotalDebt) {
- var ret string
- return ret
- }
- return *o.TotalDebt
-}
-
-// GetTotalDebtOk returns a tuple with the TotalDebt field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfo) GetTotalDebtOk() (*string, bool) {
- if o == nil || isNil(o.TotalDebt) {
- return nil, false
- }
- return o.TotalDebt, true
-}
-
-// HasTotalDebt returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfo) HasTotalDebt() bool {
- if o != nil && !isNil(o.TotalDebt) {
- return true
- }
-
- return false
-}
-
-// SetTotalDebt gets a reference to the given string and assigns it to the TotalDebt field.
-func (o *MarginIsolatedLiquidationInfo) SetTotalDebt(v string) {
- o.TotalDebt = &v
-}
-
-func (o MarginIsolatedLiquidationInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.LiqEndTime) {
- toSerialize["liqEndTime"] = o.LiqEndTime
- }
- if !isNil(o.LiqFee) {
- toSerialize["liqFee"] = o.LiqFee
- }
- if !isNil(o.LiqId) {
- toSerialize["liqId"] = o.LiqId
- }
- if !isNil(o.LiqRisk) {
- toSerialize["liqRisk"] = o.LiqRisk
- }
- if !isNil(o.LiqStartTime) {
- toSerialize["liqStartTime"] = o.LiqStartTime
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.TotalAssets) {
- toSerialize["totalAssets"] = o.TotalAssets
- }
- if !isNil(o.TotalDebt) {
- toSerialize["totalDebt"] = o.TotalDebt
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLiquidationInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLiquidationInfo := _MarginIsolatedLiquidationInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLiquidationInfo); err == nil {
- *o = MarginIsolatedLiquidationInfo(varMarginIsolatedLiquidationInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "liqEndTime")
- delete(additionalProperties, "liqFee")
- delete(additionalProperties, "liqId")
- delete(additionalProperties, "liqRisk")
- delete(additionalProperties, "liqStartTime")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "totalAssets")
- delete(additionalProperties, "totalDebt")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLiquidationInfo struct {
- value *MarginIsolatedLiquidationInfo
- isSet bool
-}
-
-func (v NullableMarginIsolatedLiquidationInfo) Get() *MarginIsolatedLiquidationInfo {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLiquidationInfo) Set(val *MarginIsolatedLiquidationInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLiquidationInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLiquidationInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLiquidationInfo(val *MarginIsolatedLiquidationInfo) *NullableMarginIsolatedLiquidationInfo {
- return &NullableMarginIsolatedLiquidationInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLiquidationInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLiquidationInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info_result.go
deleted file mode 100644
index 71356107..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_liquidation_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLiquidationInfoResult struct for MarginIsolatedLiquidationInfoResult
-type MarginIsolatedLiquidationInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginIsolatedLiquidationInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLiquidationInfoResult MarginIsolatedLiquidationInfoResult
-
-// NewMarginIsolatedLiquidationInfoResult instantiates a new MarginIsolatedLiquidationInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLiquidationInfoResult() *MarginIsolatedLiquidationInfoResult {
- this := MarginIsolatedLiquidationInfoResult{}
- return &this
-}
-
-// NewMarginIsolatedLiquidationInfoResultWithDefaults instantiates a new MarginIsolatedLiquidationInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLiquidationInfoResultWithDefaults() *MarginIsolatedLiquidationInfoResult {
- this := MarginIsolatedLiquidationInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginIsolatedLiquidationInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginIsolatedLiquidationInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginIsolatedLiquidationInfoResult) GetResultList() []MarginIsolatedLiquidationInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginIsolatedLiquidationInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLiquidationInfoResult) GetResultListOk() ([]MarginIsolatedLiquidationInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginIsolatedLiquidationInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginIsolatedLiquidationInfo and assigns it to the ResultList field.
-func (o *MarginIsolatedLiquidationInfoResult) SetResultList(v []MarginIsolatedLiquidationInfo) {
- o.ResultList = v
-}
-
-func (o MarginIsolatedLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLiquidationInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLiquidationInfoResult := _MarginIsolatedLiquidationInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLiquidationInfoResult); err == nil {
- *o = MarginIsolatedLiquidationInfoResult(varMarginIsolatedLiquidationInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLiquidationInfoResult struct {
- value *MarginIsolatedLiquidationInfoResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedLiquidationInfoResult) Get() *MarginIsolatedLiquidationInfoResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLiquidationInfoResult) Set(val *MarginIsolatedLiquidationInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLiquidationInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLiquidationInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLiquidationInfoResult(val *MarginIsolatedLiquidationInfoResult) *NullableMarginIsolatedLiquidationInfoResult {
- return &NullableMarginIsolatedLiquidationInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLiquidationInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_loan_info.go b/bitget-goland-sdk-open-api/model_margin_isolated_loan_info.go
deleted file mode 100644
index 2d3ffa05..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_loan_info.go
+++ /dev/null
@@ -1,323 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLoanInfo struct for MarginIsolatedLoanInfo
-type MarginIsolatedLoanInfo struct {
- Amount *string `json:"amount,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- LoanId *string `json:"loanId,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLoanInfo MarginIsolatedLoanInfo
-
-// NewMarginIsolatedLoanInfo instantiates a new MarginIsolatedLoanInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLoanInfo() *MarginIsolatedLoanInfo {
- this := MarginIsolatedLoanInfo{}
- return &this
-}
-
-// NewMarginIsolatedLoanInfoWithDefaults instantiates a new MarginIsolatedLoanInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLoanInfoWithDefaults() *MarginIsolatedLoanInfo {
- this := MarginIsolatedLoanInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginIsolatedLoanInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedLoanInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedLoanInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetLoanId returns the LoanId field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetLoanId() string {
- if o == nil || isNil(o.LoanId) {
- var ret string
- return ret
- }
- return *o.LoanId
-}
-
-// GetLoanIdOk returns a tuple with the LoanId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetLoanIdOk() (*string, bool) {
- if o == nil || isNil(o.LoanId) {
- return nil, false
- }
- return o.LoanId, true
-}
-
-// HasLoanId returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasLoanId() bool {
- if o != nil && !isNil(o.LoanId) {
- return true
- }
-
- return false
-}
-
-// SetLoanId gets a reference to the given string and assigns it to the LoanId field.
-func (o *MarginIsolatedLoanInfo) SetLoanId(v string) {
- o.LoanId = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedLoanInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginIsolatedLoanInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginIsolatedLoanInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.LoanId) {
- toSerialize["loanId"] = o.LoanId
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLoanInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLoanInfo := _MarginIsolatedLoanInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLoanInfo); err == nil {
- *o = MarginIsolatedLoanInfo(varMarginIsolatedLoanInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "loanId")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLoanInfo struct {
- value *MarginIsolatedLoanInfo
- isSet bool
-}
-
-func (v NullableMarginIsolatedLoanInfo) Get() *MarginIsolatedLoanInfo {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLoanInfo) Set(val *MarginIsolatedLoanInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLoanInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLoanInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLoanInfo(val *MarginIsolatedLoanInfo) *NullableMarginIsolatedLoanInfo {
- return &NullableMarginIsolatedLoanInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLoanInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLoanInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_loan_info_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_loan_info_result.go
deleted file mode 100644
index 496079b8..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_loan_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedLoanInfoResult struct for MarginIsolatedLoanInfoResult
-type MarginIsolatedLoanInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginIsolatedLoanInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedLoanInfoResult MarginIsolatedLoanInfoResult
-
-// NewMarginIsolatedLoanInfoResult instantiates a new MarginIsolatedLoanInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedLoanInfoResult() *MarginIsolatedLoanInfoResult {
- this := MarginIsolatedLoanInfoResult{}
- return &this
-}
-
-// NewMarginIsolatedLoanInfoResultWithDefaults instantiates a new MarginIsolatedLoanInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedLoanInfoResultWithDefaults() *MarginIsolatedLoanInfoResult {
- this := MarginIsolatedLoanInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginIsolatedLoanInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginIsolatedLoanInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginIsolatedLoanInfoResult) GetResultList() []MarginIsolatedLoanInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginIsolatedLoanInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedLoanInfoResult) GetResultListOk() ([]MarginIsolatedLoanInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginIsolatedLoanInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginIsolatedLoanInfo and assigns it to the ResultList field.
-func (o *MarginIsolatedLoanInfoResult) SetResultList(v []MarginIsolatedLoanInfo) {
- o.ResultList = v
-}
-
-func (o MarginIsolatedLoanInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedLoanInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedLoanInfoResult := _MarginIsolatedLoanInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedLoanInfoResult); err == nil {
- *o = MarginIsolatedLoanInfoResult(varMarginIsolatedLoanInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedLoanInfoResult struct {
- value *MarginIsolatedLoanInfoResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedLoanInfoResult) Get() *MarginIsolatedLoanInfoResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedLoanInfoResult) Set(val *MarginIsolatedLoanInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedLoanInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedLoanInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedLoanInfoResult(val *MarginIsolatedLoanInfoResult) *NullableMarginIsolatedLoanInfoResult {
- return &NullableMarginIsolatedLoanInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedLoanInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedLoanInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_request.go b/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_request.go
deleted file mode 100644
index ef646aee..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_request.go
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedMaxBorrowRequest struct for MarginIsolatedMaxBorrowRequest
-type MarginIsolatedMaxBorrowRequest struct {
- // coin
- Coin string `json:"coin"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedMaxBorrowRequest MarginIsolatedMaxBorrowRequest
-
-// NewMarginIsolatedMaxBorrowRequest instantiates a new MarginIsolatedMaxBorrowRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedMaxBorrowRequest(coin string, symbol string) *MarginIsolatedMaxBorrowRequest {
- this := MarginIsolatedMaxBorrowRequest{}
- this.Coin = coin
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginIsolatedMaxBorrowRequestWithDefaults instantiates a new MarginIsolatedMaxBorrowRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedMaxBorrowRequestWithDefaults() *MarginIsolatedMaxBorrowRequest {
- this := MarginIsolatedMaxBorrowRequest{}
- return &this
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginIsolatedMaxBorrowRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedMaxBorrowRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginIsolatedMaxBorrowRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginIsolatedMaxBorrowRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedMaxBorrowRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginIsolatedMaxBorrowRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginIsolatedMaxBorrowRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["coin"] = o.Coin
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedMaxBorrowRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedMaxBorrowRequest := _MarginIsolatedMaxBorrowRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedMaxBorrowRequest); err == nil {
- *o = MarginIsolatedMaxBorrowRequest(varMarginIsolatedMaxBorrowRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedMaxBorrowRequest struct {
- value *MarginIsolatedMaxBorrowRequest
- isSet bool
-}
-
-func (v NullableMarginIsolatedMaxBorrowRequest) Get() *MarginIsolatedMaxBorrowRequest {
- return v.value
-}
-
-func (v *NullableMarginIsolatedMaxBorrowRequest) Set(val *MarginIsolatedMaxBorrowRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedMaxBorrowRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedMaxBorrowRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedMaxBorrowRequest(val *MarginIsolatedMaxBorrowRequest) *NullableMarginIsolatedMaxBorrowRequest {
- return &NullableMarginIsolatedMaxBorrowRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedMaxBorrowRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedMaxBorrowRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_result.go
deleted file mode 100644
index f03602c1..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_max_borrow_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedMaxBorrowResult struct for MarginIsolatedMaxBorrowResult
-type MarginIsolatedMaxBorrowResult struct {
- Coin *string `json:"coin,omitempty"`
- MaxBorrowableAmount *string `json:"maxBorrowableAmount,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedMaxBorrowResult MarginIsolatedMaxBorrowResult
-
-// NewMarginIsolatedMaxBorrowResult instantiates a new MarginIsolatedMaxBorrowResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedMaxBorrowResult() *MarginIsolatedMaxBorrowResult {
- this := MarginIsolatedMaxBorrowResult{}
- return &this
-}
-
-// NewMarginIsolatedMaxBorrowResultWithDefaults instantiates a new MarginIsolatedMaxBorrowResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedMaxBorrowResultWithDefaults() *MarginIsolatedMaxBorrowResult {
- this := MarginIsolatedMaxBorrowResult{}
- return &this
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedMaxBorrowResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedMaxBorrowResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedMaxBorrowResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedMaxBorrowResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetMaxBorrowableAmount returns the MaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedMaxBorrowResult) GetMaxBorrowableAmount() string {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.MaxBorrowableAmount
-}
-
-// GetMaxBorrowableAmountOk returns a tuple with the MaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedMaxBorrowResult) GetMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxBorrowableAmount) {
- return nil, false
- }
- return o.MaxBorrowableAmount, true
-}
-
-// HasMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedMaxBorrowResult) HasMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.MaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxBorrowableAmount gets a reference to the given string and assigns it to the MaxBorrowableAmount field.
-func (o *MarginIsolatedMaxBorrowResult) SetMaxBorrowableAmount(v string) {
- o.MaxBorrowableAmount = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedMaxBorrowResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedMaxBorrowResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedMaxBorrowResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedMaxBorrowResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedMaxBorrowResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.MaxBorrowableAmount) {
- toSerialize["maxBorrowableAmount"] = o.MaxBorrowableAmount
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedMaxBorrowResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedMaxBorrowResult := _MarginIsolatedMaxBorrowResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedMaxBorrowResult); err == nil {
- *o = MarginIsolatedMaxBorrowResult(varMarginIsolatedMaxBorrowResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "maxBorrowableAmount")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedMaxBorrowResult struct {
- value *MarginIsolatedMaxBorrowResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedMaxBorrowResult) Get() *MarginIsolatedMaxBorrowResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedMaxBorrowResult) Set(val *MarginIsolatedMaxBorrowResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedMaxBorrowResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedMaxBorrowResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedMaxBorrowResult(val *MarginIsolatedMaxBorrowResult) *NullableMarginIsolatedMaxBorrowResult {
- return &NullableMarginIsolatedMaxBorrowResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedMaxBorrowResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedMaxBorrowResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_rate_and_limit_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_rate_and_limit_result.go
deleted file mode 100644
index 358d87e1..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_rate_and_limit_result.go
+++ /dev/null
@@ -1,693 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedRateAndLimitResult struct for MarginIsolatedRateAndLimitResult
-type MarginIsolatedRateAndLimitResult struct {
- BaseBorrowAble *bool `json:"baseBorrowAble,omitempty"`
- BaseCoin *string `json:"baseCoin,omitempty"`
- BaseDailyInterestRate *string `json:"baseDailyInterestRate,omitempty"`
- BaseMaxBorrowableAmount *string `json:"baseMaxBorrowableAmount,omitempty"`
- BaseTransferInAble *bool `json:"baseTransferInAble,omitempty"`
- BaseVips []MarginIsolatedVipResult `json:"baseVips,omitempty"`
- BaseYearlyInterestRate *string `json:"baseYearlyInterestRate,omitempty"`
- Leverage *string `json:"leverage,omitempty"`
- QuoteBorrowAble *bool `json:"quoteBorrowAble,omitempty"`
- QuoteCoin *string `json:"quoteCoin,omitempty"`
- QuoteDailyInterestRate *string `json:"quoteDailyInterestRate,omitempty"`
- QuoteMaxBorrowableAmount *string `json:"quoteMaxBorrowableAmount,omitempty"`
- QuoteTransferInAble *bool `json:"quoteTransferInAble,omitempty"`
- QuoteVips []MarginIsolatedVipResult `json:"quoteVips,omitempty"`
- QuoteYearlyInterestRate *string `json:"quoteYearlyInterestRate,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedRateAndLimitResult MarginIsolatedRateAndLimitResult
-
-// NewMarginIsolatedRateAndLimitResult instantiates a new MarginIsolatedRateAndLimitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedRateAndLimitResult() *MarginIsolatedRateAndLimitResult {
- this := MarginIsolatedRateAndLimitResult{}
- return &this
-}
-
-// NewMarginIsolatedRateAndLimitResultWithDefaults instantiates a new MarginIsolatedRateAndLimitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedRateAndLimitResultWithDefaults() *MarginIsolatedRateAndLimitResult {
- this := MarginIsolatedRateAndLimitResult{}
- return &this
-}
-
-// GetBaseBorrowAble returns the BaseBorrowAble field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseBorrowAble() bool {
- if o == nil || isNil(o.BaseBorrowAble) {
- var ret bool
- return ret
- }
- return *o.BaseBorrowAble
-}
-
-// GetBaseBorrowAbleOk returns a tuple with the BaseBorrowAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseBorrowAbleOk() (*bool, bool) {
- if o == nil || isNil(o.BaseBorrowAble) {
- return nil, false
- }
- return o.BaseBorrowAble, true
-}
-
-// HasBaseBorrowAble returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseBorrowAble() bool {
- if o != nil && !isNil(o.BaseBorrowAble) {
- return true
- }
-
- return false
-}
-
-// SetBaseBorrowAble gets a reference to the given bool and assigns it to the BaseBorrowAble field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseBorrowAble(v bool) {
- o.BaseBorrowAble = &v
-}
-
-// GetBaseCoin returns the BaseCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseCoin() string {
- if o == nil || isNil(o.BaseCoin) {
- var ret string
- return ret
- }
- return *o.BaseCoin
-}
-
-// GetBaseCoinOk returns a tuple with the BaseCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseCoinOk() (*string, bool) {
- if o == nil || isNil(o.BaseCoin) {
- return nil, false
- }
- return o.BaseCoin, true
-}
-
-// HasBaseCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseCoin() bool {
- if o != nil && !isNil(o.BaseCoin) {
- return true
- }
-
- return false
-}
-
-// SetBaseCoin gets a reference to the given string and assigns it to the BaseCoin field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseCoin(v string) {
- o.BaseCoin = &v
-}
-
-// GetBaseDailyInterestRate returns the BaseDailyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseDailyInterestRate() string {
- if o == nil || isNil(o.BaseDailyInterestRate) {
- var ret string
- return ret
- }
- return *o.BaseDailyInterestRate
-}
-
-// GetBaseDailyInterestRateOk returns a tuple with the BaseDailyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseDailyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.BaseDailyInterestRate) {
- return nil, false
- }
- return o.BaseDailyInterestRate, true
-}
-
-// HasBaseDailyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseDailyInterestRate() bool {
- if o != nil && !isNil(o.BaseDailyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetBaseDailyInterestRate gets a reference to the given string and assigns it to the BaseDailyInterestRate field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseDailyInterestRate(v string) {
- o.BaseDailyInterestRate = &v
-}
-
-// GetBaseMaxBorrowableAmount returns the BaseMaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseMaxBorrowableAmount() string {
- if o == nil || isNil(o.BaseMaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.BaseMaxBorrowableAmount
-}
-
-// GetBaseMaxBorrowableAmountOk returns a tuple with the BaseMaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.BaseMaxBorrowableAmount) {
- return nil, false
- }
- return o.BaseMaxBorrowableAmount, true
-}
-
-// HasBaseMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.BaseMaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetBaseMaxBorrowableAmount gets a reference to the given string and assigns it to the BaseMaxBorrowableAmount field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseMaxBorrowableAmount(v string) {
- o.BaseMaxBorrowableAmount = &v
-}
-
-// GetBaseTransferInAble returns the BaseTransferInAble field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseTransferInAble() bool {
- if o == nil || isNil(o.BaseTransferInAble) {
- var ret bool
- return ret
- }
- return *o.BaseTransferInAble
-}
-
-// GetBaseTransferInAbleOk returns a tuple with the BaseTransferInAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseTransferInAbleOk() (*bool, bool) {
- if o == nil || isNil(o.BaseTransferInAble) {
- return nil, false
- }
- return o.BaseTransferInAble, true
-}
-
-// HasBaseTransferInAble returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseTransferInAble() bool {
- if o != nil && !isNil(o.BaseTransferInAble) {
- return true
- }
-
- return false
-}
-
-// SetBaseTransferInAble gets a reference to the given bool and assigns it to the BaseTransferInAble field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseTransferInAble(v bool) {
- o.BaseTransferInAble = &v
-}
-
-// GetBaseVips returns the BaseVips field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseVips() []MarginIsolatedVipResult {
- if o == nil || isNil(o.BaseVips) {
- var ret []MarginIsolatedVipResult
- return ret
- }
- return o.BaseVips
-}
-
-// GetBaseVipsOk returns a tuple with the BaseVips field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseVipsOk() ([]MarginIsolatedVipResult, bool) {
- if o == nil || isNil(o.BaseVips) {
- return nil, false
- }
- return o.BaseVips, true
-}
-
-// HasBaseVips returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseVips() bool {
- if o != nil && !isNil(o.BaseVips) {
- return true
- }
-
- return false
-}
-
-// SetBaseVips gets a reference to the given []MarginIsolatedVipResult and assigns it to the BaseVips field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseVips(v []MarginIsolatedVipResult) {
- o.BaseVips = v
-}
-
-// GetBaseYearlyInterestRate returns the BaseYearlyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseYearlyInterestRate() string {
- if o == nil || isNil(o.BaseYearlyInterestRate) {
- var ret string
- return ret
- }
- return *o.BaseYearlyInterestRate
-}
-
-// GetBaseYearlyInterestRateOk returns a tuple with the BaseYearlyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetBaseYearlyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.BaseYearlyInterestRate) {
- return nil, false
- }
- return o.BaseYearlyInterestRate, true
-}
-
-// HasBaseYearlyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasBaseYearlyInterestRate() bool {
- if o != nil && !isNil(o.BaseYearlyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetBaseYearlyInterestRate gets a reference to the given string and assigns it to the BaseYearlyInterestRate field.
-func (o *MarginIsolatedRateAndLimitResult) SetBaseYearlyInterestRate(v string) {
- o.BaseYearlyInterestRate = &v
-}
-
-// GetLeverage returns the Leverage field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetLeverage() string {
- if o == nil || isNil(o.Leverage) {
- var ret string
- return ret
- }
- return *o.Leverage
-}
-
-// GetLeverageOk returns a tuple with the Leverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetLeverageOk() (*string, bool) {
- if o == nil || isNil(o.Leverage) {
- return nil, false
- }
- return o.Leverage, true
-}
-
-// HasLeverage returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasLeverage() bool {
- if o != nil && !isNil(o.Leverage) {
- return true
- }
-
- return false
-}
-
-// SetLeverage gets a reference to the given string and assigns it to the Leverage field.
-func (o *MarginIsolatedRateAndLimitResult) SetLeverage(v string) {
- o.Leverage = &v
-}
-
-// GetQuoteBorrowAble returns the QuoteBorrowAble field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteBorrowAble() bool {
- if o == nil || isNil(o.QuoteBorrowAble) {
- var ret bool
- return ret
- }
- return *o.QuoteBorrowAble
-}
-
-// GetQuoteBorrowAbleOk returns a tuple with the QuoteBorrowAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteBorrowAbleOk() (*bool, bool) {
- if o == nil || isNil(o.QuoteBorrowAble) {
- return nil, false
- }
- return o.QuoteBorrowAble, true
-}
-
-// HasQuoteBorrowAble returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteBorrowAble() bool {
- if o != nil && !isNil(o.QuoteBorrowAble) {
- return true
- }
-
- return false
-}
-
-// SetQuoteBorrowAble gets a reference to the given bool and assigns it to the QuoteBorrowAble field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteBorrowAble(v bool) {
- o.QuoteBorrowAble = &v
-}
-
-// GetQuoteCoin returns the QuoteCoin field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteCoin() string {
- if o == nil || isNil(o.QuoteCoin) {
- var ret string
- return ret
- }
- return *o.QuoteCoin
-}
-
-// GetQuoteCoinOk returns a tuple with the QuoteCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteCoinOk() (*string, bool) {
- if o == nil || isNil(o.QuoteCoin) {
- return nil, false
- }
- return o.QuoteCoin, true
-}
-
-// HasQuoteCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteCoin() bool {
- if o != nil && !isNil(o.QuoteCoin) {
- return true
- }
-
- return false
-}
-
-// SetQuoteCoin gets a reference to the given string and assigns it to the QuoteCoin field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteCoin(v string) {
- o.QuoteCoin = &v
-}
-
-// GetQuoteDailyInterestRate returns the QuoteDailyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteDailyInterestRate() string {
- if o == nil || isNil(o.QuoteDailyInterestRate) {
- var ret string
- return ret
- }
- return *o.QuoteDailyInterestRate
-}
-
-// GetQuoteDailyInterestRateOk returns a tuple with the QuoteDailyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteDailyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.QuoteDailyInterestRate) {
- return nil, false
- }
- return o.QuoteDailyInterestRate, true
-}
-
-// HasQuoteDailyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteDailyInterestRate() bool {
- if o != nil && !isNil(o.QuoteDailyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetQuoteDailyInterestRate gets a reference to the given string and assigns it to the QuoteDailyInterestRate field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteDailyInterestRate(v string) {
- o.QuoteDailyInterestRate = &v
-}
-
-// GetQuoteMaxBorrowableAmount returns the QuoteMaxBorrowableAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteMaxBorrowableAmount() string {
- if o == nil || isNil(o.QuoteMaxBorrowableAmount) {
- var ret string
- return ret
- }
- return *o.QuoteMaxBorrowableAmount
-}
-
-// GetQuoteMaxBorrowableAmountOk returns a tuple with the QuoteMaxBorrowableAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteMaxBorrowableAmountOk() (*string, bool) {
- if o == nil || isNil(o.QuoteMaxBorrowableAmount) {
- return nil, false
- }
- return o.QuoteMaxBorrowableAmount, true
-}
-
-// HasQuoteMaxBorrowableAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteMaxBorrowableAmount() bool {
- if o != nil && !isNil(o.QuoteMaxBorrowableAmount) {
- return true
- }
-
- return false
-}
-
-// SetQuoteMaxBorrowableAmount gets a reference to the given string and assigns it to the QuoteMaxBorrowableAmount field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteMaxBorrowableAmount(v string) {
- o.QuoteMaxBorrowableAmount = &v
-}
-
-// GetQuoteTransferInAble returns the QuoteTransferInAble field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteTransferInAble() bool {
- if o == nil || isNil(o.QuoteTransferInAble) {
- var ret bool
- return ret
- }
- return *o.QuoteTransferInAble
-}
-
-// GetQuoteTransferInAbleOk returns a tuple with the QuoteTransferInAble field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteTransferInAbleOk() (*bool, bool) {
- if o == nil || isNil(o.QuoteTransferInAble) {
- return nil, false
- }
- return o.QuoteTransferInAble, true
-}
-
-// HasQuoteTransferInAble returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteTransferInAble() bool {
- if o != nil && !isNil(o.QuoteTransferInAble) {
- return true
- }
-
- return false
-}
-
-// SetQuoteTransferInAble gets a reference to the given bool and assigns it to the QuoteTransferInAble field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteTransferInAble(v bool) {
- o.QuoteTransferInAble = &v
-}
-
-// GetQuoteVips returns the QuoteVips field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteVips() []MarginIsolatedVipResult {
- if o == nil || isNil(o.QuoteVips) {
- var ret []MarginIsolatedVipResult
- return ret
- }
- return o.QuoteVips
-}
-
-// GetQuoteVipsOk returns a tuple with the QuoteVips field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteVipsOk() ([]MarginIsolatedVipResult, bool) {
- if o == nil || isNil(o.QuoteVips) {
- return nil, false
- }
- return o.QuoteVips, true
-}
-
-// HasQuoteVips returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteVips() bool {
- if o != nil && !isNil(o.QuoteVips) {
- return true
- }
-
- return false
-}
-
-// SetQuoteVips gets a reference to the given []MarginIsolatedVipResult and assigns it to the QuoteVips field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteVips(v []MarginIsolatedVipResult) {
- o.QuoteVips = v
-}
-
-// GetQuoteYearlyInterestRate returns the QuoteYearlyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteYearlyInterestRate() string {
- if o == nil || isNil(o.QuoteYearlyInterestRate) {
- var ret string
- return ret
- }
- return *o.QuoteYearlyInterestRate
-}
-
-// GetQuoteYearlyInterestRateOk returns a tuple with the QuoteYearlyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetQuoteYearlyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.QuoteYearlyInterestRate) {
- return nil, false
- }
- return o.QuoteYearlyInterestRate, true
-}
-
-// HasQuoteYearlyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasQuoteYearlyInterestRate() bool {
- if o != nil && !isNil(o.QuoteYearlyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetQuoteYearlyInterestRate gets a reference to the given string and assigns it to the QuoteYearlyInterestRate field.
-func (o *MarginIsolatedRateAndLimitResult) SetQuoteYearlyInterestRate(v string) {
- o.QuoteYearlyInterestRate = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedRateAndLimitResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRateAndLimitResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedRateAndLimitResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedRateAndLimitResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedRateAndLimitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BaseBorrowAble) {
- toSerialize["baseBorrowAble"] = o.BaseBorrowAble
- }
- if !isNil(o.BaseCoin) {
- toSerialize["baseCoin"] = o.BaseCoin
- }
- if !isNil(o.BaseDailyInterestRate) {
- toSerialize["baseDailyInterestRate"] = o.BaseDailyInterestRate
- }
- if !isNil(o.BaseMaxBorrowableAmount) {
- toSerialize["baseMaxBorrowableAmount"] = o.BaseMaxBorrowableAmount
- }
- if !isNil(o.BaseTransferInAble) {
- toSerialize["baseTransferInAble"] = o.BaseTransferInAble
- }
- if !isNil(o.BaseVips) {
- toSerialize["baseVips"] = o.BaseVips
- }
- if !isNil(o.BaseYearlyInterestRate) {
- toSerialize["baseYearlyInterestRate"] = o.BaseYearlyInterestRate
- }
- if !isNil(o.Leverage) {
- toSerialize["leverage"] = o.Leverage
- }
- if !isNil(o.QuoteBorrowAble) {
- toSerialize["quoteBorrowAble"] = o.QuoteBorrowAble
- }
- if !isNil(o.QuoteCoin) {
- toSerialize["quoteCoin"] = o.QuoteCoin
- }
- if !isNil(o.QuoteDailyInterestRate) {
- toSerialize["quoteDailyInterestRate"] = o.QuoteDailyInterestRate
- }
- if !isNil(o.QuoteMaxBorrowableAmount) {
- toSerialize["quoteMaxBorrowableAmount"] = o.QuoteMaxBorrowableAmount
- }
- if !isNil(o.QuoteTransferInAble) {
- toSerialize["quoteTransferInAble"] = o.QuoteTransferInAble
- }
- if !isNil(o.QuoteVips) {
- toSerialize["quoteVips"] = o.QuoteVips
- }
- if !isNil(o.QuoteYearlyInterestRate) {
- toSerialize["quoteYearlyInterestRate"] = o.QuoteYearlyInterestRate
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedRateAndLimitResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedRateAndLimitResult := _MarginIsolatedRateAndLimitResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedRateAndLimitResult); err == nil {
- *o = MarginIsolatedRateAndLimitResult(varMarginIsolatedRateAndLimitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "baseBorrowAble")
- delete(additionalProperties, "baseCoin")
- delete(additionalProperties, "baseDailyInterestRate")
- delete(additionalProperties, "baseMaxBorrowableAmount")
- delete(additionalProperties, "baseTransferInAble")
- delete(additionalProperties, "baseVips")
- delete(additionalProperties, "baseYearlyInterestRate")
- delete(additionalProperties, "leverage")
- delete(additionalProperties, "quoteBorrowAble")
- delete(additionalProperties, "quoteCoin")
- delete(additionalProperties, "quoteDailyInterestRate")
- delete(additionalProperties, "quoteMaxBorrowableAmount")
- delete(additionalProperties, "quoteTransferInAble")
- delete(additionalProperties, "quoteVips")
- delete(additionalProperties, "quoteYearlyInterestRate")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedRateAndLimitResult struct {
- value *MarginIsolatedRateAndLimitResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedRateAndLimitResult) Get() *MarginIsolatedRateAndLimitResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedRateAndLimitResult) Set(val *MarginIsolatedRateAndLimitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedRateAndLimitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedRateAndLimitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedRateAndLimitResult(val *MarginIsolatedRateAndLimitResult) *NullableMarginIsolatedRateAndLimitResult {
- return &NullableMarginIsolatedRateAndLimitResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedRateAndLimitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedRateAndLimitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_repay_info.go b/bitget-goland-sdk-open-api/model_margin_isolated_repay_info.go
deleted file mode 100644
index 7de2dfe8..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_repay_info.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedRepayInfo struct for MarginIsolatedRepayInfo
-type MarginIsolatedRepayInfo struct {
- Amount *string `json:"amount,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Interest *string `json:"interest,omitempty"`
- RepayId *string `json:"repayId,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- TotalAmount *string `json:"totalAmount,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedRepayInfo MarginIsolatedRepayInfo
-
-// NewMarginIsolatedRepayInfo instantiates a new MarginIsolatedRepayInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedRepayInfo() *MarginIsolatedRepayInfo {
- this := MarginIsolatedRepayInfo{}
- return &this
-}
-
-// NewMarginIsolatedRepayInfoWithDefaults instantiates a new MarginIsolatedRepayInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedRepayInfoWithDefaults() *MarginIsolatedRepayInfo {
- this := MarginIsolatedRepayInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginIsolatedRepayInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedRepayInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginIsolatedRepayInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetInterest returns the Interest field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetInterest() string {
- if o == nil || isNil(o.Interest) {
- var ret string
- return ret
- }
- return *o.Interest
-}
-
-// GetInterestOk returns a tuple with the Interest field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetInterestOk() (*string, bool) {
- if o == nil || isNil(o.Interest) {
- return nil, false
- }
- return o.Interest, true
-}
-
-// HasInterest returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasInterest() bool {
- if o != nil && !isNil(o.Interest) {
- return true
- }
-
- return false
-}
-
-// SetInterest gets a reference to the given string and assigns it to the Interest field.
-func (o *MarginIsolatedRepayInfo) SetInterest(v string) {
- o.Interest = &v
-}
-
-// GetRepayId returns the RepayId field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetRepayId() string {
- if o == nil || isNil(o.RepayId) {
- var ret string
- return ret
- }
- return *o.RepayId
-}
-
-// GetRepayIdOk returns a tuple with the RepayId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetRepayIdOk() (*string, bool) {
- if o == nil || isNil(o.RepayId) {
- return nil, false
- }
- return o.RepayId, true
-}
-
-// HasRepayId returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasRepayId() bool {
- if o != nil && !isNil(o.RepayId) {
- return true
- }
-
- return false
-}
-
-// SetRepayId gets a reference to the given string and assigns it to the RepayId field.
-func (o *MarginIsolatedRepayInfo) SetRepayId(v string) {
- o.RepayId = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedRepayInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetTotalAmount returns the TotalAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetTotalAmount() string {
- if o == nil || isNil(o.TotalAmount) {
- var ret string
- return ret
- }
- return *o.TotalAmount
-}
-
-// GetTotalAmountOk returns a tuple with the TotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.TotalAmount) {
- return nil, false
- }
- return o.TotalAmount, true
-}
-
-// HasTotalAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasTotalAmount() bool {
- if o != nil && !isNil(o.TotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetTotalAmount gets a reference to the given string and assigns it to the TotalAmount field.
-func (o *MarginIsolatedRepayInfo) SetTotalAmount(v string) {
- o.TotalAmount = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginIsolatedRepayInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginIsolatedRepayInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Interest) {
- toSerialize["interest"] = o.Interest
- }
- if !isNil(o.RepayId) {
- toSerialize["repayId"] = o.RepayId
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.TotalAmount) {
- toSerialize["totalAmount"] = o.TotalAmount
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedRepayInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedRepayInfo := _MarginIsolatedRepayInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedRepayInfo); err == nil {
- *o = MarginIsolatedRepayInfo(varMarginIsolatedRepayInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "interest")
- delete(additionalProperties, "repayId")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "totalAmount")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedRepayInfo struct {
- value *MarginIsolatedRepayInfo
- isSet bool
-}
-
-func (v NullableMarginIsolatedRepayInfo) Get() *MarginIsolatedRepayInfo {
- return v.value
-}
-
-func (v *NullableMarginIsolatedRepayInfo) Set(val *MarginIsolatedRepayInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedRepayInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedRepayInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedRepayInfo(val *MarginIsolatedRepayInfo) *NullableMarginIsolatedRepayInfo {
- return &NullableMarginIsolatedRepayInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedRepayInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedRepayInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_repay_info_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_repay_info_result.go
deleted file mode 100644
index d9f562ef..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_repay_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedRepayInfoResult struct for MarginIsolatedRepayInfoResult
-type MarginIsolatedRepayInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginIsolatedRepayInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedRepayInfoResult MarginIsolatedRepayInfoResult
-
-// NewMarginIsolatedRepayInfoResult instantiates a new MarginIsolatedRepayInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedRepayInfoResult() *MarginIsolatedRepayInfoResult {
- this := MarginIsolatedRepayInfoResult{}
- return &this
-}
-
-// NewMarginIsolatedRepayInfoResultWithDefaults instantiates a new MarginIsolatedRepayInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedRepayInfoResultWithDefaults() *MarginIsolatedRepayInfoResult {
- this := MarginIsolatedRepayInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginIsolatedRepayInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginIsolatedRepayInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayInfoResult) GetResultList() []MarginIsolatedRepayInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginIsolatedRepayInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayInfoResult) GetResultListOk() ([]MarginIsolatedRepayInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginIsolatedRepayInfo and assigns it to the ResultList field.
-func (o *MarginIsolatedRepayInfoResult) SetResultList(v []MarginIsolatedRepayInfo) {
- o.ResultList = v
-}
-
-func (o MarginIsolatedRepayInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedRepayInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedRepayInfoResult := _MarginIsolatedRepayInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedRepayInfoResult); err == nil {
- *o = MarginIsolatedRepayInfoResult(varMarginIsolatedRepayInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedRepayInfoResult struct {
- value *MarginIsolatedRepayInfoResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedRepayInfoResult) Get() *MarginIsolatedRepayInfoResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedRepayInfoResult) Set(val *MarginIsolatedRepayInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedRepayInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedRepayInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedRepayInfoResult(val *MarginIsolatedRepayInfoResult) *NullableMarginIsolatedRepayInfoResult {
- return &NullableMarginIsolatedRepayInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedRepayInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedRepayInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_repay_request.go b/bitget-goland-sdk-open-api/model_margin_isolated_repay_request.go
deleted file mode 100644
index 558f4713..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_repay_request.go
+++ /dev/null
@@ -1,194 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedRepayRequest struct for MarginIsolatedRepayRequest
-type MarginIsolatedRepayRequest struct {
- // coin
- Coin string `json:"coin"`
- // repayAmount
- RepayAmount string `json:"repayAmount"`
- // symbol
- Symbol string `json:"symbol"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedRepayRequest MarginIsolatedRepayRequest
-
-// NewMarginIsolatedRepayRequest instantiates a new MarginIsolatedRepayRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedRepayRequest(coin string, repayAmount string, symbol string) *MarginIsolatedRepayRequest {
- this := MarginIsolatedRepayRequest{}
- this.Coin = coin
- this.RepayAmount = repayAmount
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginIsolatedRepayRequestWithDefaults instantiates a new MarginIsolatedRepayRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedRepayRequestWithDefaults() *MarginIsolatedRepayRequest {
- this := MarginIsolatedRepayRequest{}
- return &this
-}
-
-// GetCoin returns the Coin field value
-func (o *MarginIsolatedRepayRequest) GetCoin() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayRequest) GetCoinOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Coin, true
-}
-
-// SetCoin sets field value
-func (o *MarginIsolatedRepayRequest) SetCoin(v string) {
- o.Coin = v
-}
-
-// GetRepayAmount returns the RepayAmount field value
-func (o *MarginIsolatedRepayRequest) GetRepayAmount() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.RepayAmount
-}
-
-// GetRepayAmountOk returns a tuple with the RepayAmount field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayRequest) GetRepayAmountOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.RepayAmount, true
-}
-
-// SetRepayAmount sets field value
-func (o *MarginIsolatedRepayRequest) SetRepayAmount(v string) {
- o.RepayAmount = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginIsolatedRepayRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginIsolatedRepayRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-func (o MarginIsolatedRepayRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["coin"] = o.Coin
- }
- if true {
- toSerialize["repayAmount"] = o.RepayAmount
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedRepayRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedRepayRequest := _MarginIsolatedRepayRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedRepayRequest); err == nil {
- *o = MarginIsolatedRepayRequest(varMarginIsolatedRepayRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coin")
- delete(additionalProperties, "repayAmount")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedRepayRequest struct {
- value *MarginIsolatedRepayRequest
- isSet bool
-}
-
-func (v NullableMarginIsolatedRepayRequest) Get() *MarginIsolatedRepayRequest {
- return v.value
-}
-
-func (v *NullableMarginIsolatedRepayRequest) Set(val *MarginIsolatedRepayRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedRepayRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedRepayRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedRepayRequest(val *MarginIsolatedRepayRequest) *NullableMarginIsolatedRepayRequest {
- return &NullableMarginIsolatedRepayRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedRepayRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedRepayRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_repay_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_repay_result.go
deleted file mode 100644
index c0a46e1d..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_repay_result.go
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedRepayResult struct for MarginIsolatedRepayResult
-type MarginIsolatedRepayResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- Coin *string `json:"coin,omitempty"`
- RemainDebtAmount *string `json:"remainDebtAmount,omitempty"`
- RepayAmount *string `json:"repayAmount,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedRepayResult MarginIsolatedRepayResult
-
-// NewMarginIsolatedRepayResult instantiates a new MarginIsolatedRepayResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedRepayResult() *MarginIsolatedRepayResult {
- this := MarginIsolatedRepayResult{}
- return &this
-}
-
-// NewMarginIsolatedRepayResultWithDefaults instantiates a new MarginIsolatedRepayResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedRepayResultWithDefaults() *MarginIsolatedRepayResult {
- this := MarginIsolatedRepayResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginIsolatedRepayResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayResult) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayResult) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayResult) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginIsolatedRepayResult) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetRemainDebtAmount returns the RemainDebtAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayResult) GetRemainDebtAmount() string {
- if o == nil || isNil(o.RemainDebtAmount) {
- var ret string
- return ret
- }
- return *o.RemainDebtAmount
-}
-
-// GetRemainDebtAmountOk returns a tuple with the RemainDebtAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayResult) GetRemainDebtAmountOk() (*string, bool) {
- if o == nil || isNil(o.RemainDebtAmount) {
- return nil, false
- }
- return o.RemainDebtAmount, true
-}
-
-// HasRemainDebtAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayResult) HasRemainDebtAmount() bool {
- if o != nil && !isNil(o.RemainDebtAmount) {
- return true
- }
-
- return false
-}
-
-// SetRemainDebtAmount gets a reference to the given string and assigns it to the RemainDebtAmount field.
-func (o *MarginIsolatedRepayResult) SetRemainDebtAmount(v string) {
- o.RemainDebtAmount = &v
-}
-
-// GetRepayAmount returns the RepayAmount field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayResult) GetRepayAmount() string {
- if o == nil || isNil(o.RepayAmount) {
- var ret string
- return ret
- }
- return *o.RepayAmount
-}
-
-// GetRepayAmountOk returns a tuple with the RepayAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayResult) GetRepayAmountOk() (*string, bool) {
- if o == nil || isNil(o.RepayAmount) {
- return nil, false
- }
- return o.RepayAmount, true
-}
-
-// HasRepayAmount returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayResult) HasRepayAmount() bool {
- if o != nil && !isNil(o.RepayAmount) {
- return true
- }
-
- return false
-}
-
-// SetRepayAmount gets a reference to the given string and assigns it to the RepayAmount field.
-func (o *MarginIsolatedRepayResult) SetRepayAmount(v string) {
- o.RepayAmount = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginIsolatedRepayResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedRepayResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginIsolatedRepayResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginIsolatedRepayResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginIsolatedRepayResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.RemainDebtAmount) {
- toSerialize["remainDebtAmount"] = o.RemainDebtAmount
- }
- if !isNil(o.RepayAmount) {
- toSerialize["repayAmount"] = o.RepayAmount
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedRepayResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedRepayResult := _MarginIsolatedRepayResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedRepayResult); err == nil {
- *o = MarginIsolatedRepayResult(varMarginIsolatedRepayResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "remainDebtAmount")
- delete(additionalProperties, "repayAmount")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedRepayResult struct {
- value *MarginIsolatedRepayResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedRepayResult) Get() *MarginIsolatedRepayResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedRepayResult) Set(val *MarginIsolatedRepayResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedRepayResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedRepayResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedRepayResult(val *MarginIsolatedRepayResult) *NullableMarginIsolatedRepayResult {
- return &NullableMarginIsolatedRepayResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedRepayResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedRepayResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_isolated_vip_result.go b/bitget-goland-sdk-open-api/model_margin_isolated_vip_result.go
deleted file mode 100644
index 50e856b7..00000000
--- a/bitget-goland-sdk-open-api/model_margin_isolated_vip_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginIsolatedVipResult struct for MarginIsolatedVipResult
-type MarginIsolatedVipResult struct {
- DailyInterestRate *string `json:"dailyInterestRate,omitempty"`
- DiscountRate *string `json:"discountRate,omitempty"`
- Level *string `json:"level,omitempty"`
- YearlyInterestRate *string `json:"yearlyInterestRate,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginIsolatedVipResult MarginIsolatedVipResult
-
-// NewMarginIsolatedVipResult instantiates a new MarginIsolatedVipResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginIsolatedVipResult() *MarginIsolatedVipResult {
- this := MarginIsolatedVipResult{}
- return &this
-}
-
-// NewMarginIsolatedVipResultWithDefaults instantiates a new MarginIsolatedVipResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginIsolatedVipResultWithDefaults() *MarginIsolatedVipResult {
- this := MarginIsolatedVipResult{}
- return &this
-}
-
-// GetDailyInterestRate returns the DailyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedVipResult) GetDailyInterestRate() string {
- if o == nil || isNil(o.DailyInterestRate) {
- var ret string
- return ret
- }
- return *o.DailyInterestRate
-}
-
-// GetDailyInterestRateOk returns a tuple with the DailyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedVipResult) GetDailyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.DailyInterestRate) {
- return nil, false
- }
- return o.DailyInterestRate, true
-}
-
-// HasDailyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedVipResult) HasDailyInterestRate() bool {
- if o != nil && !isNil(o.DailyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetDailyInterestRate gets a reference to the given string and assigns it to the DailyInterestRate field.
-func (o *MarginIsolatedVipResult) SetDailyInterestRate(v string) {
- o.DailyInterestRate = &v
-}
-
-// GetDiscountRate returns the DiscountRate field value if set, zero value otherwise.
-func (o *MarginIsolatedVipResult) GetDiscountRate() string {
- if o == nil || isNil(o.DiscountRate) {
- var ret string
- return ret
- }
- return *o.DiscountRate
-}
-
-// GetDiscountRateOk returns a tuple with the DiscountRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedVipResult) GetDiscountRateOk() (*string, bool) {
- if o == nil || isNil(o.DiscountRate) {
- return nil, false
- }
- return o.DiscountRate, true
-}
-
-// HasDiscountRate returns a boolean if a field has been set.
-func (o *MarginIsolatedVipResult) HasDiscountRate() bool {
- if o != nil && !isNil(o.DiscountRate) {
- return true
- }
-
- return false
-}
-
-// SetDiscountRate gets a reference to the given string and assigns it to the DiscountRate field.
-func (o *MarginIsolatedVipResult) SetDiscountRate(v string) {
- o.DiscountRate = &v
-}
-
-// GetLevel returns the Level field value if set, zero value otherwise.
-func (o *MarginIsolatedVipResult) GetLevel() string {
- if o == nil || isNil(o.Level) {
- var ret string
- return ret
- }
- return *o.Level
-}
-
-// GetLevelOk returns a tuple with the Level field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedVipResult) GetLevelOk() (*string, bool) {
- if o == nil || isNil(o.Level) {
- return nil, false
- }
- return o.Level, true
-}
-
-// HasLevel returns a boolean if a field has been set.
-func (o *MarginIsolatedVipResult) HasLevel() bool {
- if o != nil && !isNil(o.Level) {
- return true
- }
-
- return false
-}
-
-// SetLevel gets a reference to the given string and assigns it to the Level field.
-func (o *MarginIsolatedVipResult) SetLevel(v string) {
- o.Level = &v
-}
-
-// GetYearlyInterestRate returns the YearlyInterestRate field value if set, zero value otherwise.
-func (o *MarginIsolatedVipResult) GetYearlyInterestRate() string {
- if o == nil || isNil(o.YearlyInterestRate) {
- var ret string
- return ret
- }
- return *o.YearlyInterestRate
-}
-
-// GetYearlyInterestRateOk returns a tuple with the YearlyInterestRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginIsolatedVipResult) GetYearlyInterestRateOk() (*string, bool) {
- if o == nil || isNil(o.YearlyInterestRate) {
- return nil, false
- }
- return o.YearlyInterestRate, true
-}
-
-// HasYearlyInterestRate returns a boolean if a field has been set.
-func (o *MarginIsolatedVipResult) HasYearlyInterestRate() bool {
- if o != nil && !isNil(o.YearlyInterestRate) {
- return true
- }
-
- return false
-}
-
-// SetYearlyInterestRate gets a reference to the given string and assigns it to the YearlyInterestRate field.
-func (o *MarginIsolatedVipResult) SetYearlyInterestRate(v string) {
- o.YearlyInterestRate = &v
-}
-
-func (o MarginIsolatedVipResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.DailyInterestRate) {
- toSerialize["dailyInterestRate"] = o.DailyInterestRate
- }
- if !isNil(o.DiscountRate) {
- toSerialize["discountRate"] = o.DiscountRate
- }
- if !isNil(o.Level) {
- toSerialize["level"] = o.Level
- }
- if !isNil(o.YearlyInterestRate) {
- toSerialize["yearlyInterestRate"] = o.YearlyInterestRate
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginIsolatedVipResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginIsolatedVipResult := _MarginIsolatedVipResult{}
-
- if err = json.Unmarshal(bytes, &varMarginIsolatedVipResult); err == nil {
- *o = MarginIsolatedVipResult(varMarginIsolatedVipResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "dailyInterestRate")
- delete(additionalProperties, "discountRate")
- delete(additionalProperties, "level")
- delete(additionalProperties, "yearlyInterestRate")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginIsolatedVipResult struct {
- value *MarginIsolatedVipResult
- isSet bool
-}
-
-func (v NullableMarginIsolatedVipResult) Get() *MarginIsolatedVipResult {
- return v.value
-}
-
-func (v *NullableMarginIsolatedVipResult) Set(val *MarginIsolatedVipResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginIsolatedVipResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginIsolatedVipResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginIsolatedVipResult(val *MarginIsolatedVipResult) *NullableMarginIsolatedVipResult {
- return &NullableMarginIsolatedVipResult{value: val, isSet: true}
-}
-
-func (v NullableMarginIsolatedVipResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginIsolatedVipResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_liquidation_info.go b/bitget-goland-sdk-open-api/model_margin_liquidation_info.go
deleted file mode 100644
index e2f42c47..00000000
--- a/bitget-goland-sdk-open-api/model_margin_liquidation_info.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginLiquidationInfo struct for MarginLiquidationInfo
-type MarginLiquidationInfo struct {
- Ctime *string `json:"ctime,omitempty"`
- LiqEndTime *string `json:"liqEndTime,omitempty"`
- LiqFee *string `json:"liqFee,omitempty"`
- LiqId *string `json:"liqId,omitempty"`
- LiqRisk *string `json:"liqRisk,omitempty"`
- LiqStartTime *string `json:"liqStartTime,omitempty"`
- TotalAssets *string `json:"totalAssets,omitempty"`
- TotalDebt *string `json:"totalDebt,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginLiquidationInfo MarginLiquidationInfo
-
-// NewMarginLiquidationInfo instantiates a new MarginLiquidationInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginLiquidationInfo() *MarginLiquidationInfo {
- this := MarginLiquidationInfo{}
- return &this
-}
-
-// NewMarginLiquidationInfoWithDefaults instantiates a new MarginLiquidationInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginLiquidationInfoWithDefaults() *MarginLiquidationInfo {
- this := MarginLiquidationInfo{}
- return &this
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginLiquidationInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetLiqEndTime returns the LiqEndTime field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetLiqEndTime() string {
- if o == nil || isNil(o.LiqEndTime) {
- var ret string
- return ret
- }
- return *o.LiqEndTime
-}
-
-// GetLiqEndTimeOk returns a tuple with the LiqEndTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetLiqEndTimeOk() (*string, bool) {
- if o == nil || isNil(o.LiqEndTime) {
- return nil, false
- }
- return o.LiqEndTime, true
-}
-
-// HasLiqEndTime returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasLiqEndTime() bool {
- if o != nil && !isNil(o.LiqEndTime) {
- return true
- }
-
- return false
-}
-
-// SetLiqEndTime gets a reference to the given string and assigns it to the LiqEndTime field.
-func (o *MarginLiquidationInfo) SetLiqEndTime(v string) {
- o.LiqEndTime = &v
-}
-
-// GetLiqFee returns the LiqFee field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetLiqFee() string {
- if o == nil || isNil(o.LiqFee) {
- var ret string
- return ret
- }
- return *o.LiqFee
-}
-
-// GetLiqFeeOk returns a tuple with the LiqFee field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetLiqFeeOk() (*string, bool) {
- if o == nil || isNil(o.LiqFee) {
- return nil, false
- }
- return o.LiqFee, true
-}
-
-// HasLiqFee returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasLiqFee() bool {
- if o != nil && !isNil(o.LiqFee) {
- return true
- }
-
- return false
-}
-
-// SetLiqFee gets a reference to the given string and assigns it to the LiqFee field.
-func (o *MarginLiquidationInfo) SetLiqFee(v string) {
- o.LiqFee = &v
-}
-
-// GetLiqId returns the LiqId field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetLiqId() string {
- if o == nil || isNil(o.LiqId) {
- var ret string
- return ret
- }
- return *o.LiqId
-}
-
-// GetLiqIdOk returns a tuple with the LiqId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetLiqIdOk() (*string, bool) {
- if o == nil || isNil(o.LiqId) {
- return nil, false
- }
- return o.LiqId, true
-}
-
-// HasLiqId returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasLiqId() bool {
- if o != nil && !isNil(o.LiqId) {
- return true
- }
-
- return false
-}
-
-// SetLiqId gets a reference to the given string and assigns it to the LiqId field.
-func (o *MarginLiquidationInfo) SetLiqId(v string) {
- o.LiqId = &v
-}
-
-// GetLiqRisk returns the LiqRisk field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetLiqRisk() string {
- if o == nil || isNil(o.LiqRisk) {
- var ret string
- return ret
- }
- return *o.LiqRisk
-}
-
-// GetLiqRiskOk returns a tuple with the LiqRisk field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetLiqRiskOk() (*string, bool) {
- if o == nil || isNil(o.LiqRisk) {
- return nil, false
- }
- return o.LiqRisk, true
-}
-
-// HasLiqRisk returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasLiqRisk() bool {
- if o != nil && !isNil(o.LiqRisk) {
- return true
- }
-
- return false
-}
-
-// SetLiqRisk gets a reference to the given string and assigns it to the LiqRisk field.
-func (o *MarginLiquidationInfo) SetLiqRisk(v string) {
- o.LiqRisk = &v
-}
-
-// GetLiqStartTime returns the LiqStartTime field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetLiqStartTime() string {
- if o == nil || isNil(o.LiqStartTime) {
- var ret string
- return ret
- }
- return *o.LiqStartTime
-}
-
-// GetLiqStartTimeOk returns a tuple with the LiqStartTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetLiqStartTimeOk() (*string, bool) {
- if o == nil || isNil(o.LiqStartTime) {
- return nil, false
- }
- return o.LiqStartTime, true
-}
-
-// HasLiqStartTime returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasLiqStartTime() bool {
- if o != nil && !isNil(o.LiqStartTime) {
- return true
- }
-
- return false
-}
-
-// SetLiqStartTime gets a reference to the given string and assigns it to the LiqStartTime field.
-func (o *MarginLiquidationInfo) SetLiqStartTime(v string) {
- o.LiqStartTime = &v
-}
-
-// GetTotalAssets returns the TotalAssets field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetTotalAssets() string {
- if o == nil || isNil(o.TotalAssets) {
- var ret string
- return ret
- }
- return *o.TotalAssets
-}
-
-// GetTotalAssetsOk returns a tuple with the TotalAssets field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetTotalAssetsOk() (*string, bool) {
- if o == nil || isNil(o.TotalAssets) {
- return nil, false
- }
- return o.TotalAssets, true
-}
-
-// HasTotalAssets returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasTotalAssets() bool {
- if o != nil && !isNil(o.TotalAssets) {
- return true
- }
-
- return false
-}
-
-// SetTotalAssets gets a reference to the given string and assigns it to the TotalAssets field.
-func (o *MarginLiquidationInfo) SetTotalAssets(v string) {
- o.TotalAssets = &v
-}
-
-// GetTotalDebt returns the TotalDebt field value if set, zero value otherwise.
-func (o *MarginLiquidationInfo) GetTotalDebt() string {
- if o == nil || isNil(o.TotalDebt) {
- var ret string
- return ret
- }
- return *o.TotalDebt
-}
-
-// GetTotalDebtOk returns a tuple with the TotalDebt field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfo) GetTotalDebtOk() (*string, bool) {
- if o == nil || isNil(o.TotalDebt) {
- return nil, false
- }
- return o.TotalDebt, true
-}
-
-// HasTotalDebt returns a boolean if a field has been set.
-func (o *MarginLiquidationInfo) HasTotalDebt() bool {
- if o != nil && !isNil(o.TotalDebt) {
- return true
- }
-
- return false
-}
-
-// SetTotalDebt gets a reference to the given string and assigns it to the TotalDebt field.
-func (o *MarginLiquidationInfo) SetTotalDebt(v string) {
- o.TotalDebt = &v
-}
-
-func (o MarginLiquidationInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.LiqEndTime) {
- toSerialize["liqEndTime"] = o.LiqEndTime
- }
- if !isNil(o.LiqFee) {
- toSerialize["liqFee"] = o.LiqFee
- }
- if !isNil(o.LiqId) {
- toSerialize["liqId"] = o.LiqId
- }
- if !isNil(o.LiqRisk) {
- toSerialize["liqRisk"] = o.LiqRisk
- }
- if !isNil(o.LiqStartTime) {
- toSerialize["liqStartTime"] = o.LiqStartTime
- }
- if !isNil(o.TotalAssets) {
- toSerialize["totalAssets"] = o.TotalAssets
- }
- if !isNil(o.TotalDebt) {
- toSerialize["totalDebt"] = o.TotalDebt
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginLiquidationInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginLiquidationInfo := _MarginLiquidationInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginLiquidationInfo); err == nil {
- *o = MarginLiquidationInfo(varMarginLiquidationInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "liqEndTime")
- delete(additionalProperties, "liqFee")
- delete(additionalProperties, "liqId")
- delete(additionalProperties, "liqRisk")
- delete(additionalProperties, "liqStartTime")
- delete(additionalProperties, "totalAssets")
- delete(additionalProperties, "totalDebt")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginLiquidationInfo struct {
- value *MarginLiquidationInfo
- isSet bool
-}
-
-func (v NullableMarginLiquidationInfo) Get() *MarginLiquidationInfo {
- return v.value
-}
-
-func (v *NullableMarginLiquidationInfo) Set(val *MarginLiquidationInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginLiquidationInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginLiquidationInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginLiquidationInfo(val *MarginLiquidationInfo) *NullableMarginLiquidationInfo {
- return &NullableMarginLiquidationInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginLiquidationInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginLiquidationInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_liquidation_info_result.go b/bitget-goland-sdk-open-api/model_margin_liquidation_info_result.go
deleted file mode 100644
index 6f78bbe6..00000000
--- a/bitget-goland-sdk-open-api/model_margin_liquidation_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginLiquidationInfoResult struct for MarginLiquidationInfoResult
-type MarginLiquidationInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginLiquidationInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginLiquidationInfoResult MarginLiquidationInfoResult
-
-// NewMarginLiquidationInfoResult instantiates a new MarginLiquidationInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginLiquidationInfoResult() *MarginLiquidationInfoResult {
- this := MarginLiquidationInfoResult{}
- return &this
-}
-
-// NewMarginLiquidationInfoResultWithDefaults instantiates a new MarginLiquidationInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginLiquidationInfoResultWithDefaults() *MarginLiquidationInfoResult {
- this := MarginLiquidationInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginLiquidationInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginLiquidationInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginLiquidationInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginLiquidationInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginLiquidationInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginLiquidationInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginLiquidationInfoResult) GetResultList() []MarginLiquidationInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginLiquidationInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLiquidationInfoResult) GetResultListOk() ([]MarginLiquidationInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginLiquidationInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginLiquidationInfo and assigns it to the ResultList field.
-func (o *MarginLiquidationInfoResult) SetResultList(v []MarginLiquidationInfo) {
- o.ResultList = v
-}
-
-func (o MarginLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginLiquidationInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginLiquidationInfoResult := _MarginLiquidationInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginLiquidationInfoResult); err == nil {
- *o = MarginLiquidationInfoResult(varMarginLiquidationInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginLiquidationInfoResult struct {
- value *MarginLiquidationInfoResult
- isSet bool
-}
-
-func (v NullableMarginLiquidationInfoResult) Get() *MarginLiquidationInfoResult {
- return v.value
-}
-
-func (v *NullableMarginLiquidationInfoResult) Set(val *MarginLiquidationInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginLiquidationInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginLiquidationInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginLiquidationInfoResult(val *MarginLiquidationInfoResult) *NullableMarginLiquidationInfoResult {
- return &NullableMarginLiquidationInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginLiquidationInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginLiquidationInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_loan_info.go b/bitget-goland-sdk-open-api/model_margin_loan_info.go
deleted file mode 100644
index 59f06550..00000000
--- a/bitget-goland-sdk-open-api/model_margin_loan_info.go
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginLoanInfo struct for MarginLoanInfo
-type MarginLoanInfo struct {
- Amount *string `json:"amount,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- LoanId *string `json:"loanId,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginLoanInfo MarginLoanInfo
-
-// NewMarginLoanInfo instantiates a new MarginLoanInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginLoanInfo() *MarginLoanInfo {
- this := MarginLoanInfo{}
- return &this
-}
-
-// NewMarginLoanInfoWithDefaults instantiates a new MarginLoanInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginLoanInfoWithDefaults() *MarginLoanInfo {
- this := MarginLoanInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginLoanInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginLoanInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginLoanInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginLoanInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginLoanInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginLoanInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginLoanInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginLoanInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginLoanInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetLoanId returns the LoanId field value if set, zero value otherwise.
-func (o *MarginLoanInfo) GetLoanId() string {
- if o == nil || isNil(o.LoanId) {
- var ret string
- return ret
- }
- return *o.LoanId
-}
-
-// GetLoanIdOk returns a tuple with the LoanId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfo) GetLoanIdOk() (*string, bool) {
- if o == nil || isNil(o.LoanId) {
- return nil, false
- }
- return o.LoanId, true
-}
-
-// HasLoanId returns a boolean if a field has been set.
-func (o *MarginLoanInfo) HasLoanId() bool {
- if o != nil && !isNil(o.LoanId) {
- return true
- }
-
- return false
-}
-
-// SetLoanId gets a reference to the given string and assigns it to the LoanId field.
-func (o *MarginLoanInfo) SetLoanId(v string) {
- o.LoanId = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginLoanInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginLoanInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginLoanInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginLoanInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.LoanId) {
- toSerialize["loanId"] = o.LoanId
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginLoanInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginLoanInfo := _MarginLoanInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginLoanInfo); err == nil {
- *o = MarginLoanInfo(varMarginLoanInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "loanId")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginLoanInfo struct {
- value *MarginLoanInfo
- isSet bool
-}
-
-func (v NullableMarginLoanInfo) Get() *MarginLoanInfo {
- return v.value
-}
-
-func (v *NullableMarginLoanInfo) Set(val *MarginLoanInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginLoanInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginLoanInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginLoanInfo(val *MarginLoanInfo) *NullableMarginLoanInfo {
- return &NullableMarginLoanInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginLoanInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginLoanInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_loan_info_result.go b/bitget-goland-sdk-open-api/model_margin_loan_info_result.go
deleted file mode 100644
index b7dafa89..00000000
--- a/bitget-goland-sdk-open-api/model_margin_loan_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginLoanInfoResult struct for MarginLoanInfoResult
-type MarginLoanInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginLoanInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginLoanInfoResult MarginLoanInfoResult
-
-// NewMarginLoanInfoResult instantiates a new MarginLoanInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginLoanInfoResult() *MarginLoanInfoResult {
- this := MarginLoanInfoResult{}
- return &this
-}
-
-// NewMarginLoanInfoResultWithDefaults instantiates a new MarginLoanInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginLoanInfoResultWithDefaults() *MarginLoanInfoResult {
- this := MarginLoanInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginLoanInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginLoanInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginLoanInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginLoanInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginLoanInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginLoanInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginLoanInfoResult) GetResultList() []MarginLoanInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginLoanInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginLoanInfoResult) GetResultListOk() ([]MarginLoanInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginLoanInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginLoanInfo and assigns it to the ResultList field.
-func (o *MarginLoanInfoResult) SetResultList(v []MarginLoanInfo) {
- o.ResultList = v
-}
-
-func (o MarginLoanInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginLoanInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginLoanInfoResult := _MarginLoanInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginLoanInfoResult); err == nil {
- *o = MarginLoanInfoResult(varMarginLoanInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginLoanInfoResult struct {
- value *MarginLoanInfoResult
- isSet bool
-}
-
-func (v NullableMarginLoanInfoResult) Get() *MarginLoanInfoResult {
- return v.value
-}
-
-func (v *NullableMarginLoanInfoResult) Set(val *MarginLoanInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginLoanInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginLoanInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginLoanInfoResult(val *MarginLoanInfoResult) *NullableMarginLoanInfoResult {
- return &NullableMarginLoanInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginLoanInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginLoanInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_open_order_info_result.go b/bitget-goland-sdk-open-api/model_margin_open_order_info_result.go
deleted file mode 100644
index 43814643..00000000
--- a/bitget-goland-sdk-open-api/model_margin_open_order_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginOpenOrderInfoResult struct for MarginOpenOrderInfoResult
-type MarginOpenOrderInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- OrderList []MarginOrderInfo `json:"orderList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginOpenOrderInfoResult MarginOpenOrderInfoResult
-
-// NewMarginOpenOrderInfoResult instantiates a new MarginOpenOrderInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginOpenOrderInfoResult() *MarginOpenOrderInfoResult {
- this := MarginOpenOrderInfoResult{}
- return &this
-}
-
-// NewMarginOpenOrderInfoResultWithDefaults instantiates a new MarginOpenOrderInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginOpenOrderInfoResultWithDefaults() *MarginOpenOrderInfoResult {
- this := MarginOpenOrderInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginOpenOrderInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOpenOrderInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginOpenOrderInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginOpenOrderInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginOpenOrderInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOpenOrderInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginOpenOrderInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginOpenOrderInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetOrderList returns the OrderList field value if set, zero value otherwise.
-func (o *MarginOpenOrderInfoResult) GetOrderList() []MarginOrderInfo {
- if o == nil || isNil(o.OrderList) {
- var ret []MarginOrderInfo
- return ret
- }
- return o.OrderList
-}
-
-// GetOrderListOk returns a tuple with the OrderList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOpenOrderInfoResult) GetOrderListOk() ([]MarginOrderInfo, bool) {
- if o == nil || isNil(o.OrderList) {
- return nil, false
- }
- return o.OrderList, true
-}
-
-// HasOrderList returns a boolean if a field has been set.
-func (o *MarginOpenOrderInfoResult) HasOrderList() bool {
- if o != nil && !isNil(o.OrderList) {
- return true
- }
-
- return false
-}
-
-// SetOrderList gets a reference to the given []MarginOrderInfo and assigns it to the OrderList field.
-func (o *MarginOpenOrderInfoResult) SetOrderList(v []MarginOrderInfo) {
- o.OrderList = v
-}
-
-func (o MarginOpenOrderInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.OrderList) {
- toSerialize["orderList"] = o.OrderList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginOpenOrderInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginOpenOrderInfoResult := _MarginOpenOrderInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginOpenOrderInfoResult); err == nil {
- *o = MarginOpenOrderInfoResult(varMarginOpenOrderInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "orderList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginOpenOrderInfoResult struct {
- value *MarginOpenOrderInfoResult
- isSet bool
-}
-
-func (v NullableMarginOpenOrderInfoResult) Get() *MarginOpenOrderInfoResult {
- return v.value
-}
-
-func (v *NullableMarginOpenOrderInfoResult) Set(val *MarginOpenOrderInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginOpenOrderInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginOpenOrderInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginOpenOrderInfoResult(val *MarginOpenOrderInfoResult) *NullableMarginOpenOrderInfoResult {
- return &NullableMarginOpenOrderInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginOpenOrderInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginOpenOrderInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_order_info.go b/bitget-goland-sdk-open-api/model_margin_order_info.go
deleted file mode 100644
index 371e758b..00000000
--- a/bitget-goland-sdk-open-api/model_margin_order_info.go
+++ /dev/null
@@ -1,656 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginOrderInfo struct for MarginOrderInfo
-type MarginOrderInfo struct {
- BaseQuantity *string `json:"baseQuantity,omitempty"`
- ClientOid *string `json:"clientOid,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- FillPrice *string `json:"fillPrice,omitempty"`
- FillQuantity *string `json:"fillQuantity,omitempty"`
- FillTotalAmount *string `json:"fillTotalAmount,omitempty"`
- LoanType *string `json:"loanType,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- OrderType *string `json:"orderType,omitempty"`
- Price *string `json:"price,omitempty"`
- QuoteAmount *string `json:"quoteAmount,omitempty"`
- Side *string `json:"side,omitempty"`
- Source *string `json:"source,omitempty"`
- Status *string `json:"status,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginOrderInfo MarginOrderInfo
-
-// NewMarginOrderInfo instantiates a new MarginOrderInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginOrderInfo() *MarginOrderInfo {
- this := MarginOrderInfo{}
- return &this
-}
-
-// NewMarginOrderInfoWithDefaults instantiates a new MarginOrderInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginOrderInfoWithDefaults() *MarginOrderInfo {
- this := MarginOrderInfo{}
- return &this
-}
-
-// GetBaseQuantity returns the BaseQuantity field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetBaseQuantity() string {
- if o == nil || isNil(o.BaseQuantity) {
- var ret string
- return ret
- }
- return *o.BaseQuantity
-}
-
-// GetBaseQuantityOk returns a tuple with the BaseQuantity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetBaseQuantityOk() (*string, bool) {
- if o == nil || isNil(o.BaseQuantity) {
- return nil, false
- }
- return o.BaseQuantity, true
-}
-
-// HasBaseQuantity returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasBaseQuantity() bool {
- if o != nil && !isNil(o.BaseQuantity) {
- return true
- }
-
- return false
-}
-
-// SetBaseQuantity gets a reference to the given string and assigns it to the BaseQuantity field.
-func (o *MarginOrderInfo) SetBaseQuantity(v string) {
- o.BaseQuantity = &v
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginOrderInfo) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginOrderInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFillPrice returns the FillPrice field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetFillPrice() string {
- if o == nil || isNil(o.FillPrice) {
- var ret string
- return ret
- }
- return *o.FillPrice
-}
-
-// GetFillPriceOk returns a tuple with the FillPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetFillPriceOk() (*string, bool) {
- if o == nil || isNil(o.FillPrice) {
- return nil, false
- }
- return o.FillPrice, true
-}
-
-// HasFillPrice returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasFillPrice() bool {
- if o != nil && !isNil(o.FillPrice) {
- return true
- }
-
- return false
-}
-
-// SetFillPrice gets a reference to the given string and assigns it to the FillPrice field.
-func (o *MarginOrderInfo) SetFillPrice(v string) {
- o.FillPrice = &v
-}
-
-// GetFillQuantity returns the FillQuantity field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetFillQuantity() string {
- if o == nil || isNil(o.FillQuantity) {
- var ret string
- return ret
- }
- return *o.FillQuantity
-}
-
-// GetFillQuantityOk returns a tuple with the FillQuantity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetFillQuantityOk() (*string, bool) {
- if o == nil || isNil(o.FillQuantity) {
- return nil, false
- }
- return o.FillQuantity, true
-}
-
-// HasFillQuantity returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasFillQuantity() bool {
- if o != nil && !isNil(o.FillQuantity) {
- return true
- }
-
- return false
-}
-
-// SetFillQuantity gets a reference to the given string and assigns it to the FillQuantity field.
-func (o *MarginOrderInfo) SetFillQuantity(v string) {
- o.FillQuantity = &v
-}
-
-// GetFillTotalAmount returns the FillTotalAmount field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetFillTotalAmount() string {
- if o == nil || isNil(o.FillTotalAmount) {
- var ret string
- return ret
- }
- return *o.FillTotalAmount
-}
-
-// GetFillTotalAmountOk returns a tuple with the FillTotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetFillTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.FillTotalAmount) {
- return nil, false
- }
- return o.FillTotalAmount, true
-}
-
-// HasFillTotalAmount returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasFillTotalAmount() bool {
- if o != nil && !isNil(o.FillTotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetFillTotalAmount gets a reference to the given string and assigns it to the FillTotalAmount field.
-func (o *MarginOrderInfo) SetFillTotalAmount(v string) {
- o.FillTotalAmount = &v
-}
-
-// GetLoanType returns the LoanType field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetLoanType() string {
- if o == nil || isNil(o.LoanType) {
- var ret string
- return ret
- }
- return *o.LoanType
-}
-
-// GetLoanTypeOk returns a tuple with the LoanType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetLoanTypeOk() (*string, bool) {
- if o == nil || isNil(o.LoanType) {
- return nil, false
- }
- return o.LoanType, true
-}
-
-// HasLoanType returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasLoanType() bool {
- if o != nil && !isNil(o.LoanType) {
- return true
- }
-
- return false
-}
-
-// SetLoanType gets a reference to the given string and assigns it to the LoanType field.
-func (o *MarginOrderInfo) SetLoanType(v string) {
- o.LoanType = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginOrderInfo) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-// GetOrderType returns the OrderType field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetOrderType() string {
- if o == nil || isNil(o.OrderType) {
- var ret string
- return ret
- }
- return *o.OrderType
-}
-
-// GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetOrderTypeOk() (*string, bool) {
- if o == nil || isNil(o.OrderType) {
- return nil, false
- }
- return o.OrderType, true
-}
-
-// HasOrderType returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasOrderType() bool {
- if o != nil && !isNil(o.OrderType) {
- return true
- }
-
- return false
-}
-
-// SetOrderType gets a reference to the given string and assigns it to the OrderType field.
-func (o *MarginOrderInfo) SetOrderType(v string) {
- o.OrderType = &v
-}
-
-// GetPrice returns the Price field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetPrice() string {
- if o == nil || isNil(o.Price) {
- var ret string
- return ret
- }
- return *o.Price
-}
-
-// GetPriceOk returns a tuple with the Price field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetPriceOk() (*string, bool) {
- if o == nil || isNil(o.Price) {
- return nil, false
- }
- return o.Price, true
-}
-
-// HasPrice returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasPrice() bool {
- if o != nil && !isNil(o.Price) {
- return true
- }
-
- return false
-}
-
-// SetPrice gets a reference to the given string and assigns it to the Price field.
-func (o *MarginOrderInfo) SetPrice(v string) {
- o.Price = &v
-}
-
-// GetQuoteAmount returns the QuoteAmount field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetQuoteAmount() string {
- if o == nil || isNil(o.QuoteAmount) {
- var ret string
- return ret
- }
- return *o.QuoteAmount
-}
-
-// GetQuoteAmountOk returns a tuple with the QuoteAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetQuoteAmountOk() (*string, bool) {
- if o == nil || isNil(o.QuoteAmount) {
- return nil, false
- }
- return o.QuoteAmount, true
-}
-
-// HasQuoteAmount returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasQuoteAmount() bool {
- if o != nil && !isNil(o.QuoteAmount) {
- return true
- }
-
- return false
-}
-
-// SetQuoteAmount gets a reference to the given string and assigns it to the QuoteAmount field.
-func (o *MarginOrderInfo) SetQuoteAmount(v string) {
- o.QuoteAmount = &v
-}
-
-// GetSide returns the Side field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetSide() string {
- if o == nil || isNil(o.Side) {
- var ret string
- return ret
- }
- return *o.Side
-}
-
-// GetSideOk returns a tuple with the Side field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetSideOk() (*string, bool) {
- if o == nil || isNil(o.Side) {
- return nil, false
- }
- return o.Side, true
-}
-
-// HasSide returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasSide() bool {
- if o != nil && !isNil(o.Side) {
- return true
- }
-
- return false
-}
-
-// SetSide gets a reference to the given string and assigns it to the Side field.
-func (o *MarginOrderInfo) SetSide(v string) {
- o.Side = &v
-}
-
-// GetSource returns the Source field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetSource() string {
- if o == nil || isNil(o.Source) {
- var ret string
- return ret
- }
- return *o.Source
-}
-
-// GetSourceOk returns a tuple with the Source field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetSourceOk() (*string, bool) {
- if o == nil || isNil(o.Source) {
- return nil, false
- }
- return o.Source, true
-}
-
-// HasSource returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasSource() bool {
- if o != nil && !isNil(o.Source) {
- return true
- }
-
- return false
-}
-
-// SetSource gets a reference to the given string and assigns it to the Source field.
-func (o *MarginOrderInfo) SetSource(v string) {
- o.Source = &v
-}
-
-// GetStatus returns the Status field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetStatus() string {
- if o == nil || isNil(o.Status) {
- var ret string
- return ret
- }
- return *o.Status
-}
-
-// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetStatusOk() (*string, bool) {
- if o == nil || isNil(o.Status) {
- return nil, false
- }
- return o.Status, true
-}
-
-// HasStatus returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasStatus() bool {
- if o != nil && !isNil(o.Status) {
- return true
- }
-
- return false
-}
-
-// SetStatus gets a reference to the given string and assigns it to the Status field.
-func (o *MarginOrderInfo) SetStatus(v string) {
- o.Status = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginOrderInfo) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderInfo) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginOrderInfo) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginOrderInfo) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-func (o MarginOrderInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BaseQuantity) {
- toSerialize["baseQuantity"] = o.BaseQuantity
- }
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.FillPrice) {
- toSerialize["fillPrice"] = o.FillPrice
- }
- if !isNil(o.FillQuantity) {
- toSerialize["fillQuantity"] = o.FillQuantity
- }
- if !isNil(o.FillTotalAmount) {
- toSerialize["fillTotalAmount"] = o.FillTotalAmount
- }
- if !isNil(o.LoanType) {
- toSerialize["loanType"] = o.LoanType
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
- if !isNil(o.OrderType) {
- toSerialize["orderType"] = o.OrderType
- }
- if !isNil(o.Price) {
- toSerialize["price"] = o.Price
- }
- if !isNil(o.QuoteAmount) {
- toSerialize["quoteAmount"] = o.QuoteAmount
- }
- if !isNil(o.Side) {
- toSerialize["side"] = o.Side
- }
- if !isNil(o.Source) {
- toSerialize["source"] = o.Source
- }
- if !isNil(o.Status) {
- toSerialize["status"] = o.Status
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginOrderInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginOrderInfo := _MarginOrderInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginOrderInfo); err == nil {
- *o = MarginOrderInfo(varMarginOrderInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "baseQuantity")
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "fillPrice")
- delete(additionalProperties, "fillQuantity")
- delete(additionalProperties, "fillTotalAmount")
- delete(additionalProperties, "loanType")
- delete(additionalProperties, "orderId")
- delete(additionalProperties, "orderType")
- delete(additionalProperties, "price")
- delete(additionalProperties, "quoteAmount")
- delete(additionalProperties, "side")
- delete(additionalProperties, "source")
- delete(additionalProperties, "status")
- delete(additionalProperties, "symbol")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginOrderInfo struct {
- value *MarginOrderInfo
- isSet bool
-}
-
-func (v NullableMarginOrderInfo) Get() *MarginOrderInfo {
- return v.value
-}
-
-func (v *NullableMarginOrderInfo) Set(val *MarginOrderInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginOrderInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginOrderInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginOrderInfo(val *MarginOrderInfo) *NullableMarginOrderInfo {
- return &NullableMarginOrderInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginOrderInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginOrderInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_order_request.go b/bitget-goland-sdk-open-api/model_margin_order_request.go
deleted file mode 100644
index 6021754d..00000000
--- a/bitget-goland-sdk-open-api/model_margin_order_request.go
+++ /dev/null
@@ -1,489 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginOrderRequest struct for MarginOrderRequest
-type MarginOrderRequest struct {
- // baseQuantity
- BaseQuantity *string `json:"baseQuantity,omitempty"`
- ChannelApiCode *string `json:"channelApiCode,omitempty"`
- // clientOid
- ClientOid *string `json:"clientOid,omitempty"`
- Ip *string `json:"ip,omitempty"`
- // loanType
- LoanType string `json:"loanType"`
- // orderType
- OrderType string `json:"orderType"`
- // price
- Price *string `json:"price,omitempty"`
- // quoteAmount
- QuoteAmount *string `json:"quoteAmount,omitempty"`
- // side
- Side string `json:"side"`
- // symbol
- Symbol string `json:"symbol"`
- // timeInForce
- TimeInForce *string `json:"timeInForce,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginOrderRequest MarginOrderRequest
-
-// NewMarginOrderRequest instantiates a new MarginOrderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginOrderRequest(loanType string, orderType string, side string, symbol string) *MarginOrderRequest {
- this := MarginOrderRequest{}
- this.LoanType = loanType
- this.OrderType = orderType
- this.Side = side
- this.Symbol = symbol
- return &this
-}
-
-// NewMarginOrderRequestWithDefaults instantiates a new MarginOrderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginOrderRequestWithDefaults() *MarginOrderRequest {
- this := MarginOrderRequest{}
- return &this
-}
-
-// GetBaseQuantity returns the BaseQuantity field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetBaseQuantity() string {
- if o == nil || isNil(o.BaseQuantity) {
- var ret string
- return ret
- }
- return *o.BaseQuantity
-}
-
-// GetBaseQuantityOk returns a tuple with the BaseQuantity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetBaseQuantityOk() (*string, bool) {
- if o == nil || isNil(o.BaseQuantity) {
- return nil, false
- }
- return o.BaseQuantity, true
-}
-
-// HasBaseQuantity returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasBaseQuantity() bool {
- if o != nil && !isNil(o.BaseQuantity) {
- return true
- }
-
- return false
-}
-
-// SetBaseQuantity gets a reference to the given string and assigns it to the BaseQuantity field.
-func (o *MarginOrderRequest) SetBaseQuantity(v string) {
- o.BaseQuantity = &v
-}
-
-// GetChannelApiCode returns the ChannelApiCode field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetChannelApiCode() string {
- if o == nil || isNil(o.ChannelApiCode) {
- var ret string
- return ret
- }
- return *o.ChannelApiCode
-}
-
-// GetChannelApiCodeOk returns a tuple with the ChannelApiCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetChannelApiCodeOk() (*string, bool) {
- if o == nil || isNil(o.ChannelApiCode) {
- return nil, false
- }
- return o.ChannelApiCode, true
-}
-
-// HasChannelApiCode returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasChannelApiCode() bool {
- if o != nil && !isNil(o.ChannelApiCode) {
- return true
- }
-
- return false
-}
-
-// SetChannelApiCode gets a reference to the given string and assigns it to the ChannelApiCode field.
-func (o *MarginOrderRequest) SetChannelApiCode(v string) {
- o.ChannelApiCode = &v
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginOrderRequest) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetIp returns the Ip field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetIp() string {
- if o == nil || isNil(o.Ip) {
- var ret string
- return ret
- }
- return *o.Ip
-}
-
-// GetIpOk returns a tuple with the Ip field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetIpOk() (*string, bool) {
- if o == nil || isNil(o.Ip) {
- return nil, false
- }
- return o.Ip, true
-}
-
-// HasIp returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasIp() bool {
- if o != nil && !isNil(o.Ip) {
- return true
- }
-
- return false
-}
-
-// SetIp gets a reference to the given string and assigns it to the Ip field.
-func (o *MarginOrderRequest) SetIp(v string) {
- o.Ip = &v
-}
-
-// GetLoanType returns the LoanType field value
-func (o *MarginOrderRequest) GetLoanType() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.LoanType
-}
-
-// GetLoanTypeOk returns a tuple with the LoanType field value
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetLoanTypeOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.LoanType, true
-}
-
-// SetLoanType sets field value
-func (o *MarginOrderRequest) SetLoanType(v string) {
- o.LoanType = v
-}
-
-// GetOrderType returns the OrderType field value
-func (o *MarginOrderRequest) GetOrderType() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.OrderType
-}
-
-// GetOrderTypeOk returns a tuple with the OrderType field value
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetOrderTypeOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.OrderType, true
-}
-
-// SetOrderType sets field value
-func (o *MarginOrderRequest) SetOrderType(v string) {
- o.OrderType = v
-}
-
-// GetPrice returns the Price field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetPrice() string {
- if o == nil || isNil(o.Price) {
- var ret string
- return ret
- }
- return *o.Price
-}
-
-// GetPriceOk returns a tuple with the Price field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetPriceOk() (*string, bool) {
- if o == nil || isNil(o.Price) {
- return nil, false
- }
- return o.Price, true
-}
-
-// HasPrice returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasPrice() bool {
- if o != nil && !isNil(o.Price) {
- return true
- }
-
- return false
-}
-
-// SetPrice gets a reference to the given string and assigns it to the Price field.
-func (o *MarginOrderRequest) SetPrice(v string) {
- o.Price = &v
-}
-
-// GetQuoteAmount returns the QuoteAmount field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetQuoteAmount() string {
- if o == nil || isNil(o.QuoteAmount) {
- var ret string
- return ret
- }
- return *o.QuoteAmount
-}
-
-// GetQuoteAmountOk returns a tuple with the QuoteAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetQuoteAmountOk() (*string, bool) {
- if o == nil || isNil(o.QuoteAmount) {
- return nil, false
- }
- return o.QuoteAmount, true
-}
-
-// HasQuoteAmount returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasQuoteAmount() bool {
- if o != nil && !isNil(o.QuoteAmount) {
- return true
- }
-
- return false
-}
-
-// SetQuoteAmount gets a reference to the given string and assigns it to the QuoteAmount field.
-func (o *MarginOrderRequest) SetQuoteAmount(v string) {
- o.QuoteAmount = &v
-}
-
-// GetSide returns the Side field value
-func (o *MarginOrderRequest) GetSide() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Side
-}
-
-// GetSideOk returns a tuple with the Side field value
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetSideOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Side, true
-}
-
-// SetSide sets field value
-func (o *MarginOrderRequest) SetSide(v string) {
- o.Side = v
-}
-
-// GetSymbol returns the Symbol field value
-func (o *MarginOrderRequest) GetSymbol() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetSymbolOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Symbol, true
-}
-
-// SetSymbol sets field value
-func (o *MarginOrderRequest) SetSymbol(v string) {
- o.Symbol = v
-}
-
-// GetTimeInForce returns the TimeInForce field value if set, zero value otherwise.
-func (o *MarginOrderRequest) GetTimeInForce() string {
- if o == nil || isNil(o.TimeInForce) {
- var ret string
- return ret
- }
- return *o.TimeInForce
-}
-
-// GetTimeInForceOk returns a tuple with the TimeInForce field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginOrderRequest) GetTimeInForceOk() (*string, bool) {
- if o == nil || isNil(o.TimeInForce) {
- return nil, false
- }
- return o.TimeInForce, true
-}
-
-// HasTimeInForce returns a boolean if a field has been set.
-func (o *MarginOrderRequest) HasTimeInForce() bool {
- if o != nil && !isNil(o.TimeInForce) {
- return true
- }
-
- return false
-}
-
-// SetTimeInForce gets a reference to the given string and assigns it to the TimeInForce field.
-func (o *MarginOrderRequest) SetTimeInForce(v string) {
- o.TimeInForce = &v
-}
-
-func (o MarginOrderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BaseQuantity) {
- toSerialize["baseQuantity"] = o.BaseQuantity
- }
- if !isNil(o.ChannelApiCode) {
- toSerialize["channelApiCode"] = o.ChannelApiCode
- }
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.Ip) {
- toSerialize["ip"] = o.Ip
- }
- if true {
- toSerialize["loanType"] = o.LoanType
- }
- if true {
- toSerialize["orderType"] = o.OrderType
- }
- if !isNil(o.Price) {
- toSerialize["price"] = o.Price
- }
- if !isNil(o.QuoteAmount) {
- toSerialize["quoteAmount"] = o.QuoteAmount
- }
- if true {
- toSerialize["side"] = o.Side
- }
- if true {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.TimeInForce) {
- toSerialize["timeInForce"] = o.TimeInForce
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginOrderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMarginOrderRequest := _MarginOrderRequest{}
-
- if err = json.Unmarshal(bytes, &varMarginOrderRequest); err == nil {
- *o = MarginOrderRequest(varMarginOrderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "baseQuantity")
- delete(additionalProperties, "channelApiCode")
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "ip")
- delete(additionalProperties, "loanType")
- delete(additionalProperties, "orderType")
- delete(additionalProperties, "price")
- delete(additionalProperties, "quoteAmount")
- delete(additionalProperties, "side")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "timeInForce")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginOrderRequest struct {
- value *MarginOrderRequest
- isSet bool
-}
-
-func (v NullableMarginOrderRequest) Get() *MarginOrderRequest {
- return v.value
-}
-
-func (v *NullableMarginOrderRequest) Set(val *MarginOrderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginOrderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginOrderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginOrderRequest(val *MarginOrderRequest) *NullableMarginOrderRequest {
- return &NullableMarginOrderRequest{value: val, isSet: true}
-}
-
-func (v NullableMarginOrderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginOrderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_place_order_result.go b/bitget-goland-sdk-open-api/model_margin_place_order_result.go
deleted file mode 100644
index e527e053..00000000
--- a/bitget-goland-sdk-open-api/model_margin_place_order_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginPlaceOrderResult struct for MarginPlaceOrderResult
-type MarginPlaceOrderResult struct {
- ClientOid *string `json:"clientOid,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginPlaceOrderResult MarginPlaceOrderResult
-
-// NewMarginPlaceOrderResult instantiates a new MarginPlaceOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginPlaceOrderResult() *MarginPlaceOrderResult {
- this := MarginPlaceOrderResult{}
- return &this
-}
-
-// NewMarginPlaceOrderResultWithDefaults instantiates a new MarginPlaceOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginPlaceOrderResultWithDefaults() *MarginPlaceOrderResult {
- this := MarginPlaceOrderResult{}
- return &this
-}
-
-// GetClientOid returns the ClientOid field value if set, zero value otherwise.
-func (o *MarginPlaceOrderResult) GetClientOid() string {
- if o == nil || isNil(o.ClientOid) {
- var ret string
- return ret
- }
- return *o.ClientOid
-}
-
-// GetClientOidOk returns a tuple with the ClientOid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginPlaceOrderResult) GetClientOidOk() (*string, bool) {
- if o == nil || isNil(o.ClientOid) {
- return nil, false
- }
- return o.ClientOid, true
-}
-
-// HasClientOid returns a boolean if a field has been set.
-func (o *MarginPlaceOrderResult) HasClientOid() bool {
- if o != nil && !isNil(o.ClientOid) {
- return true
- }
-
- return false
-}
-
-// SetClientOid gets a reference to the given string and assigns it to the ClientOid field.
-func (o *MarginPlaceOrderResult) SetClientOid(v string) {
- o.ClientOid = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginPlaceOrderResult) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginPlaceOrderResult) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginPlaceOrderResult) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginPlaceOrderResult) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-func (o MarginPlaceOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ClientOid) {
- toSerialize["clientOid"] = o.ClientOid
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginPlaceOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginPlaceOrderResult := _MarginPlaceOrderResult{}
-
- if err = json.Unmarshal(bytes, &varMarginPlaceOrderResult); err == nil {
- *o = MarginPlaceOrderResult(varMarginPlaceOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "clientOid")
- delete(additionalProperties, "orderId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginPlaceOrderResult struct {
- value *MarginPlaceOrderResult
- isSet bool
-}
-
-func (v NullableMarginPlaceOrderResult) Get() *MarginPlaceOrderResult {
- return v.value
-}
-
-func (v *NullableMarginPlaceOrderResult) Set(val *MarginPlaceOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginPlaceOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginPlaceOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginPlaceOrderResult(val *MarginPlaceOrderResult) *NullableMarginPlaceOrderResult {
- return &NullableMarginPlaceOrderResult{value: val, isSet: true}
-}
-
-func (v NullableMarginPlaceOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginPlaceOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_repay_info.go b/bitget-goland-sdk-open-api/model_margin_repay_info.go
deleted file mode 100644
index 12693fea..00000000
--- a/bitget-goland-sdk-open-api/model_margin_repay_info.go
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginRepayInfo struct for MarginRepayInfo
-type MarginRepayInfo struct {
- Amount *string `json:"amount,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Interest *string `json:"interest,omitempty"`
- RepayId *string `json:"repayId,omitempty"`
- TotalAmount *string `json:"totalAmount,omitempty"`
- Type *string `json:"type,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginRepayInfo MarginRepayInfo
-
-// NewMarginRepayInfo instantiates a new MarginRepayInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginRepayInfo() *MarginRepayInfo {
- this := MarginRepayInfo{}
- return &this
-}
-
-// NewMarginRepayInfoWithDefaults instantiates a new MarginRepayInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginRepayInfoWithDefaults() *MarginRepayInfo {
- this := MarginRepayInfo{}
- return &this
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MarginRepayInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MarginRepayInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginRepayInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetInterest returns the Interest field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetInterest() string {
- if o == nil || isNil(o.Interest) {
- var ret string
- return ret
- }
- return *o.Interest
-}
-
-// GetInterestOk returns a tuple with the Interest field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetInterestOk() (*string, bool) {
- if o == nil || isNil(o.Interest) {
- return nil, false
- }
- return o.Interest, true
-}
-
-// HasInterest returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasInterest() bool {
- if o != nil && !isNil(o.Interest) {
- return true
- }
-
- return false
-}
-
-// SetInterest gets a reference to the given string and assigns it to the Interest field.
-func (o *MarginRepayInfo) SetInterest(v string) {
- o.Interest = &v
-}
-
-// GetRepayId returns the RepayId field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetRepayId() string {
- if o == nil || isNil(o.RepayId) {
- var ret string
- return ret
- }
- return *o.RepayId
-}
-
-// GetRepayIdOk returns a tuple with the RepayId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetRepayIdOk() (*string, bool) {
- if o == nil || isNil(o.RepayId) {
- return nil, false
- }
- return o.RepayId, true
-}
-
-// HasRepayId returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasRepayId() bool {
- if o != nil && !isNil(o.RepayId) {
- return true
- }
-
- return false
-}
-
-// SetRepayId gets a reference to the given string and assigns it to the RepayId field.
-func (o *MarginRepayInfo) SetRepayId(v string) {
- o.RepayId = &v
-}
-
-// GetTotalAmount returns the TotalAmount field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetTotalAmount() string {
- if o == nil || isNil(o.TotalAmount) {
- var ret string
- return ret
- }
- return *o.TotalAmount
-}
-
-// GetTotalAmountOk returns a tuple with the TotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.TotalAmount) {
- return nil, false
- }
- return o.TotalAmount, true
-}
-
-// HasTotalAmount returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasTotalAmount() bool {
- if o != nil && !isNil(o.TotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetTotalAmount gets a reference to the given string and assigns it to the TotalAmount field.
-func (o *MarginRepayInfo) SetTotalAmount(v string) {
- o.TotalAmount = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MarginRepayInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MarginRepayInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MarginRepayInfo) SetType(v string) {
- o.Type = &v
-}
-
-func (o MarginRepayInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Interest) {
- toSerialize["interest"] = o.Interest
- }
- if !isNil(o.RepayId) {
- toSerialize["repayId"] = o.RepayId
- }
- if !isNil(o.TotalAmount) {
- toSerialize["totalAmount"] = o.TotalAmount
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginRepayInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginRepayInfo := _MarginRepayInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginRepayInfo); err == nil {
- *o = MarginRepayInfo(varMarginRepayInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "amount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "interest")
- delete(additionalProperties, "repayId")
- delete(additionalProperties, "totalAmount")
- delete(additionalProperties, "type")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginRepayInfo struct {
- value *MarginRepayInfo
- isSet bool
-}
-
-func (v NullableMarginRepayInfo) Get() *MarginRepayInfo {
- return v.value
-}
-
-func (v *NullableMarginRepayInfo) Set(val *MarginRepayInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginRepayInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginRepayInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginRepayInfo(val *MarginRepayInfo) *NullableMarginRepayInfo {
- return &NullableMarginRepayInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginRepayInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginRepayInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_repay_info_result.go b/bitget-goland-sdk-open-api/model_margin_repay_info_result.go
deleted file mode 100644
index 23b5eeb3..00000000
--- a/bitget-goland-sdk-open-api/model_margin_repay_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginRepayInfoResult struct for MarginRepayInfoResult
-type MarginRepayInfoResult struct {
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- ResultList []MarginRepayInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginRepayInfoResult MarginRepayInfoResult
-
-// NewMarginRepayInfoResult instantiates a new MarginRepayInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginRepayInfoResult() *MarginRepayInfoResult {
- this := MarginRepayInfoResult{}
- return &this
-}
-
-// NewMarginRepayInfoResultWithDefaults instantiates a new MarginRepayInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginRepayInfoResultWithDefaults() *MarginRepayInfoResult {
- this := MarginRepayInfoResult{}
- return &this
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginRepayInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginRepayInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginRepayInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginRepayInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginRepayInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginRepayInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MarginRepayInfoResult) GetResultList() []MarginRepayInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MarginRepayInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginRepayInfoResult) GetResultListOk() ([]MarginRepayInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MarginRepayInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MarginRepayInfo and assigns it to the ResultList field.
-func (o *MarginRepayInfoResult) SetResultList(v []MarginRepayInfo) {
- o.ResultList = v
-}
-
-func (o MarginRepayInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginRepayInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginRepayInfoResult := _MarginRepayInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginRepayInfoResult); err == nil {
- *o = MarginRepayInfoResult(varMarginRepayInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginRepayInfoResult struct {
- value *MarginRepayInfoResult
- isSet bool
-}
-
-func (v NullableMarginRepayInfoResult) Get() *MarginRepayInfoResult {
- return v.value
-}
-
-func (v *NullableMarginRepayInfoResult) Set(val *MarginRepayInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginRepayInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginRepayInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginRepayInfoResult(val *MarginRepayInfoResult) *NullableMarginRepayInfoResult {
- return &NullableMarginRepayInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginRepayInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginRepayInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_system_result.go b/bitget-goland-sdk-open-api/model_margin_system_result.go
deleted file mode 100644
index 3da2d915..00000000
--- a/bitget-goland-sdk-open-api/model_margin_system_result.go
+++ /dev/null
@@ -1,730 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginSystemResult struct for MarginSystemResult
-type MarginSystemResult struct {
- BaseCoin *string `json:"baseCoin,omitempty"`
- IsBorrowable *bool `json:"isBorrowable,omitempty"`
- LiquidationRiskRatio *string `json:"liquidationRiskRatio,omitempty"`
- MakerFeeRate *string `json:"makerFeeRate,omitempty"`
- MaxCrossLeverage *string `json:"maxCrossLeverage,omitempty"`
- MaxIsolatedLeverage *string `json:"maxIsolatedLeverage,omitempty"`
- MaxTradeAmount *string `json:"maxTradeAmount,omitempty"`
- MinTradeAmount *string `json:"minTradeAmount,omitempty"`
- MinTradeUSDT *string `json:"minTradeUSDT,omitempty"`
- PriceScale *string `json:"priceScale,omitempty"`
- QuantityScale *string `json:"quantityScale,omitempty"`
- QuoteCoin *string `json:"quoteCoin,omitempty"`
- Status *string `json:"status,omitempty"`
- Symbol *string `json:"symbol,omitempty"`
- TakerFeeRate *string `json:"takerFeeRate,omitempty"`
- UserMinBorrow *string `json:"userMinBorrow,omitempty"`
- WarningRiskRatio *string `json:"warningRiskRatio,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginSystemResult MarginSystemResult
-
-// NewMarginSystemResult instantiates a new MarginSystemResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginSystemResult() *MarginSystemResult {
- this := MarginSystemResult{}
- return &this
-}
-
-// NewMarginSystemResultWithDefaults instantiates a new MarginSystemResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginSystemResultWithDefaults() *MarginSystemResult {
- this := MarginSystemResult{}
- return &this
-}
-
-// GetBaseCoin returns the BaseCoin field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetBaseCoin() string {
- if o == nil || isNil(o.BaseCoin) {
- var ret string
- return ret
- }
- return *o.BaseCoin
-}
-
-// GetBaseCoinOk returns a tuple with the BaseCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetBaseCoinOk() (*string, bool) {
- if o == nil || isNil(o.BaseCoin) {
- return nil, false
- }
- return o.BaseCoin, true
-}
-
-// HasBaseCoin returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasBaseCoin() bool {
- if o != nil && !isNil(o.BaseCoin) {
- return true
- }
-
- return false
-}
-
-// SetBaseCoin gets a reference to the given string and assigns it to the BaseCoin field.
-func (o *MarginSystemResult) SetBaseCoin(v string) {
- o.BaseCoin = &v
-}
-
-// GetIsBorrowable returns the IsBorrowable field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetIsBorrowable() bool {
- if o == nil || isNil(o.IsBorrowable) {
- var ret bool
- return ret
- }
- return *o.IsBorrowable
-}
-
-// GetIsBorrowableOk returns a tuple with the IsBorrowable field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetIsBorrowableOk() (*bool, bool) {
- if o == nil || isNil(o.IsBorrowable) {
- return nil, false
- }
- return o.IsBorrowable, true
-}
-
-// HasIsBorrowable returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasIsBorrowable() bool {
- if o != nil && !isNil(o.IsBorrowable) {
- return true
- }
-
- return false
-}
-
-// SetIsBorrowable gets a reference to the given bool and assigns it to the IsBorrowable field.
-func (o *MarginSystemResult) SetIsBorrowable(v bool) {
- o.IsBorrowable = &v
-}
-
-// GetLiquidationRiskRatio returns the LiquidationRiskRatio field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetLiquidationRiskRatio() string {
- if o == nil || isNil(o.LiquidationRiskRatio) {
- var ret string
- return ret
- }
- return *o.LiquidationRiskRatio
-}
-
-// GetLiquidationRiskRatioOk returns a tuple with the LiquidationRiskRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetLiquidationRiskRatioOk() (*string, bool) {
- if o == nil || isNil(o.LiquidationRiskRatio) {
- return nil, false
- }
- return o.LiquidationRiskRatio, true
-}
-
-// HasLiquidationRiskRatio returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasLiquidationRiskRatio() bool {
- if o != nil && !isNil(o.LiquidationRiskRatio) {
- return true
- }
-
- return false
-}
-
-// SetLiquidationRiskRatio gets a reference to the given string and assigns it to the LiquidationRiskRatio field.
-func (o *MarginSystemResult) SetLiquidationRiskRatio(v string) {
- o.LiquidationRiskRatio = &v
-}
-
-// GetMakerFeeRate returns the MakerFeeRate field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMakerFeeRate() string {
- if o == nil || isNil(o.MakerFeeRate) {
- var ret string
- return ret
- }
- return *o.MakerFeeRate
-}
-
-// GetMakerFeeRateOk returns a tuple with the MakerFeeRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMakerFeeRateOk() (*string, bool) {
- if o == nil || isNil(o.MakerFeeRate) {
- return nil, false
- }
- return o.MakerFeeRate, true
-}
-
-// HasMakerFeeRate returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMakerFeeRate() bool {
- if o != nil && !isNil(o.MakerFeeRate) {
- return true
- }
-
- return false
-}
-
-// SetMakerFeeRate gets a reference to the given string and assigns it to the MakerFeeRate field.
-func (o *MarginSystemResult) SetMakerFeeRate(v string) {
- o.MakerFeeRate = &v
-}
-
-// GetMaxCrossLeverage returns the MaxCrossLeverage field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMaxCrossLeverage() string {
- if o == nil || isNil(o.MaxCrossLeverage) {
- var ret string
- return ret
- }
- return *o.MaxCrossLeverage
-}
-
-// GetMaxCrossLeverageOk returns a tuple with the MaxCrossLeverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMaxCrossLeverageOk() (*string, bool) {
- if o == nil || isNil(o.MaxCrossLeverage) {
- return nil, false
- }
- return o.MaxCrossLeverage, true
-}
-
-// HasMaxCrossLeverage returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMaxCrossLeverage() bool {
- if o != nil && !isNil(o.MaxCrossLeverage) {
- return true
- }
-
- return false
-}
-
-// SetMaxCrossLeverage gets a reference to the given string and assigns it to the MaxCrossLeverage field.
-func (o *MarginSystemResult) SetMaxCrossLeverage(v string) {
- o.MaxCrossLeverage = &v
-}
-
-// GetMaxIsolatedLeverage returns the MaxIsolatedLeverage field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMaxIsolatedLeverage() string {
- if o == nil || isNil(o.MaxIsolatedLeverage) {
- var ret string
- return ret
- }
- return *o.MaxIsolatedLeverage
-}
-
-// GetMaxIsolatedLeverageOk returns a tuple with the MaxIsolatedLeverage field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMaxIsolatedLeverageOk() (*string, bool) {
- if o == nil || isNil(o.MaxIsolatedLeverage) {
- return nil, false
- }
- return o.MaxIsolatedLeverage, true
-}
-
-// HasMaxIsolatedLeverage returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMaxIsolatedLeverage() bool {
- if o != nil && !isNil(o.MaxIsolatedLeverage) {
- return true
- }
-
- return false
-}
-
-// SetMaxIsolatedLeverage gets a reference to the given string and assigns it to the MaxIsolatedLeverage field.
-func (o *MarginSystemResult) SetMaxIsolatedLeverage(v string) {
- o.MaxIsolatedLeverage = &v
-}
-
-// GetMaxTradeAmount returns the MaxTradeAmount field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMaxTradeAmount() string {
- if o == nil || isNil(o.MaxTradeAmount) {
- var ret string
- return ret
- }
- return *o.MaxTradeAmount
-}
-
-// GetMaxTradeAmountOk returns a tuple with the MaxTradeAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMaxTradeAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTradeAmount) {
- return nil, false
- }
- return o.MaxTradeAmount, true
-}
-
-// HasMaxTradeAmount returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMaxTradeAmount() bool {
- if o != nil && !isNil(o.MaxTradeAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTradeAmount gets a reference to the given string and assigns it to the MaxTradeAmount field.
-func (o *MarginSystemResult) SetMaxTradeAmount(v string) {
- o.MaxTradeAmount = &v
-}
-
-// GetMinTradeAmount returns the MinTradeAmount field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMinTradeAmount() string {
- if o == nil || isNil(o.MinTradeAmount) {
- var ret string
- return ret
- }
- return *o.MinTradeAmount
-}
-
-// GetMinTradeAmountOk returns a tuple with the MinTradeAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMinTradeAmountOk() (*string, bool) {
- if o == nil || isNil(o.MinTradeAmount) {
- return nil, false
- }
- return o.MinTradeAmount, true
-}
-
-// HasMinTradeAmount returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMinTradeAmount() bool {
- if o != nil && !isNil(o.MinTradeAmount) {
- return true
- }
-
- return false
-}
-
-// SetMinTradeAmount gets a reference to the given string and assigns it to the MinTradeAmount field.
-func (o *MarginSystemResult) SetMinTradeAmount(v string) {
- o.MinTradeAmount = &v
-}
-
-// GetMinTradeUSDT returns the MinTradeUSDT field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetMinTradeUSDT() string {
- if o == nil || isNil(o.MinTradeUSDT) {
- var ret string
- return ret
- }
- return *o.MinTradeUSDT
-}
-
-// GetMinTradeUSDTOk returns a tuple with the MinTradeUSDT field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetMinTradeUSDTOk() (*string, bool) {
- if o == nil || isNil(o.MinTradeUSDT) {
- return nil, false
- }
- return o.MinTradeUSDT, true
-}
-
-// HasMinTradeUSDT returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasMinTradeUSDT() bool {
- if o != nil && !isNil(o.MinTradeUSDT) {
- return true
- }
-
- return false
-}
-
-// SetMinTradeUSDT gets a reference to the given string and assigns it to the MinTradeUSDT field.
-func (o *MarginSystemResult) SetMinTradeUSDT(v string) {
- o.MinTradeUSDT = &v
-}
-
-// GetPriceScale returns the PriceScale field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetPriceScale() string {
- if o == nil || isNil(o.PriceScale) {
- var ret string
- return ret
- }
- return *o.PriceScale
-}
-
-// GetPriceScaleOk returns a tuple with the PriceScale field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetPriceScaleOk() (*string, bool) {
- if o == nil || isNil(o.PriceScale) {
- return nil, false
- }
- return o.PriceScale, true
-}
-
-// HasPriceScale returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasPriceScale() bool {
- if o != nil && !isNil(o.PriceScale) {
- return true
- }
-
- return false
-}
-
-// SetPriceScale gets a reference to the given string and assigns it to the PriceScale field.
-func (o *MarginSystemResult) SetPriceScale(v string) {
- o.PriceScale = &v
-}
-
-// GetQuantityScale returns the QuantityScale field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetQuantityScale() string {
- if o == nil || isNil(o.QuantityScale) {
- var ret string
- return ret
- }
- return *o.QuantityScale
-}
-
-// GetQuantityScaleOk returns a tuple with the QuantityScale field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetQuantityScaleOk() (*string, bool) {
- if o == nil || isNil(o.QuantityScale) {
- return nil, false
- }
- return o.QuantityScale, true
-}
-
-// HasQuantityScale returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasQuantityScale() bool {
- if o != nil && !isNil(o.QuantityScale) {
- return true
- }
-
- return false
-}
-
-// SetQuantityScale gets a reference to the given string and assigns it to the QuantityScale field.
-func (o *MarginSystemResult) SetQuantityScale(v string) {
- o.QuantityScale = &v
-}
-
-// GetQuoteCoin returns the QuoteCoin field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetQuoteCoin() string {
- if o == nil || isNil(o.QuoteCoin) {
- var ret string
- return ret
- }
- return *o.QuoteCoin
-}
-
-// GetQuoteCoinOk returns a tuple with the QuoteCoin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetQuoteCoinOk() (*string, bool) {
- if o == nil || isNil(o.QuoteCoin) {
- return nil, false
- }
- return o.QuoteCoin, true
-}
-
-// HasQuoteCoin returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasQuoteCoin() bool {
- if o != nil && !isNil(o.QuoteCoin) {
- return true
- }
-
- return false
-}
-
-// SetQuoteCoin gets a reference to the given string and assigns it to the QuoteCoin field.
-func (o *MarginSystemResult) SetQuoteCoin(v string) {
- o.QuoteCoin = &v
-}
-
-// GetStatus returns the Status field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetStatus() string {
- if o == nil || isNil(o.Status) {
- var ret string
- return ret
- }
- return *o.Status
-}
-
-// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetStatusOk() (*string, bool) {
- if o == nil || isNil(o.Status) {
- return nil, false
- }
- return o.Status, true
-}
-
-// HasStatus returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasStatus() bool {
- if o != nil && !isNil(o.Status) {
- return true
- }
-
- return false
-}
-
-// SetStatus gets a reference to the given string and assigns it to the Status field.
-func (o *MarginSystemResult) SetStatus(v string) {
- o.Status = &v
-}
-
-// GetSymbol returns the Symbol field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetSymbol() string {
- if o == nil || isNil(o.Symbol) {
- var ret string
- return ret
- }
- return *o.Symbol
-}
-
-// GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetSymbolOk() (*string, bool) {
- if o == nil || isNil(o.Symbol) {
- return nil, false
- }
- return o.Symbol, true
-}
-
-// HasSymbol returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasSymbol() bool {
- if o != nil && !isNil(o.Symbol) {
- return true
- }
-
- return false
-}
-
-// SetSymbol gets a reference to the given string and assigns it to the Symbol field.
-func (o *MarginSystemResult) SetSymbol(v string) {
- o.Symbol = &v
-}
-
-// GetTakerFeeRate returns the TakerFeeRate field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetTakerFeeRate() string {
- if o == nil || isNil(o.TakerFeeRate) {
- var ret string
- return ret
- }
- return *o.TakerFeeRate
-}
-
-// GetTakerFeeRateOk returns a tuple with the TakerFeeRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetTakerFeeRateOk() (*string, bool) {
- if o == nil || isNil(o.TakerFeeRate) {
- return nil, false
- }
- return o.TakerFeeRate, true
-}
-
-// HasTakerFeeRate returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasTakerFeeRate() bool {
- if o != nil && !isNil(o.TakerFeeRate) {
- return true
- }
-
- return false
-}
-
-// SetTakerFeeRate gets a reference to the given string and assigns it to the TakerFeeRate field.
-func (o *MarginSystemResult) SetTakerFeeRate(v string) {
- o.TakerFeeRate = &v
-}
-
-// GetUserMinBorrow returns the UserMinBorrow field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetUserMinBorrow() string {
- if o == nil || isNil(o.UserMinBorrow) {
- var ret string
- return ret
- }
- return *o.UserMinBorrow
-}
-
-// GetUserMinBorrowOk returns a tuple with the UserMinBorrow field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetUserMinBorrowOk() (*string, bool) {
- if o == nil || isNil(o.UserMinBorrow) {
- return nil, false
- }
- return o.UserMinBorrow, true
-}
-
-// HasUserMinBorrow returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasUserMinBorrow() bool {
- if o != nil && !isNil(o.UserMinBorrow) {
- return true
- }
-
- return false
-}
-
-// SetUserMinBorrow gets a reference to the given string and assigns it to the UserMinBorrow field.
-func (o *MarginSystemResult) SetUserMinBorrow(v string) {
- o.UserMinBorrow = &v
-}
-
-// GetWarningRiskRatio returns the WarningRiskRatio field value if set, zero value otherwise.
-func (o *MarginSystemResult) GetWarningRiskRatio() string {
- if o == nil || isNil(o.WarningRiskRatio) {
- var ret string
- return ret
- }
- return *o.WarningRiskRatio
-}
-
-// GetWarningRiskRatioOk returns a tuple with the WarningRiskRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginSystemResult) GetWarningRiskRatioOk() (*string, bool) {
- if o == nil || isNil(o.WarningRiskRatio) {
- return nil, false
- }
- return o.WarningRiskRatio, true
-}
-
-// HasWarningRiskRatio returns a boolean if a field has been set.
-func (o *MarginSystemResult) HasWarningRiskRatio() bool {
- if o != nil && !isNil(o.WarningRiskRatio) {
- return true
- }
-
- return false
-}
-
-// SetWarningRiskRatio gets a reference to the given string and assigns it to the WarningRiskRatio field.
-func (o *MarginSystemResult) SetWarningRiskRatio(v string) {
- o.WarningRiskRatio = &v
-}
-
-func (o MarginSystemResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BaseCoin) {
- toSerialize["baseCoin"] = o.BaseCoin
- }
- if !isNil(o.IsBorrowable) {
- toSerialize["isBorrowable"] = o.IsBorrowable
- }
- if !isNil(o.LiquidationRiskRatio) {
- toSerialize["liquidationRiskRatio"] = o.LiquidationRiskRatio
- }
- if !isNil(o.MakerFeeRate) {
- toSerialize["makerFeeRate"] = o.MakerFeeRate
- }
- if !isNil(o.MaxCrossLeverage) {
- toSerialize["maxCrossLeverage"] = o.MaxCrossLeverage
- }
- if !isNil(o.MaxIsolatedLeverage) {
- toSerialize["maxIsolatedLeverage"] = o.MaxIsolatedLeverage
- }
- if !isNil(o.MaxTradeAmount) {
- toSerialize["maxTradeAmount"] = o.MaxTradeAmount
- }
- if !isNil(o.MinTradeAmount) {
- toSerialize["minTradeAmount"] = o.MinTradeAmount
- }
- if !isNil(o.MinTradeUSDT) {
- toSerialize["minTradeUSDT"] = o.MinTradeUSDT
- }
- if !isNil(o.PriceScale) {
- toSerialize["priceScale"] = o.PriceScale
- }
- if !isNil(o.QuantityScale) {
- toSerialize["quantityScale"] = o.QuantityScale
- }
- if !isNil(o.QuoteCoin) {
- toSerialize["quoteCoin"] = o.QuoteCoin
- }
- if !isNil(o.Status) {
- toSerialize["status"] = o.Status
- }
- if !isNil(o.Symbol) {
- toSerialize["symbol"] = o.Symbol
- }
- if !isNil(o.TakerFeeRate) {
- toSerialize["takerFeeRate"] = o.TakerFeeRate
- }
- if !isNil(o.UserMinBorrow) {
- toSerialize["userMinBorrow"] = o.UserMinBorrow
- }
- if !isNil(o.WarningRiskRatio) {
- toSerialize["warningRiskRatio"] = o.WarningRiskRatio
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginSystemResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginSystemResult := _MarginSystemResult{}
-
- if err = json.Unmarshal(bytes, &varMarginSystemResult); err == nil {
- *o = MarginSystemResult(varMarginSystemResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "baseCoin")
- delete(additionalProperties, "isBorrowable")
- delete(additionalProperties, "liquidationRiskRatio")
- delete(additionalProperties, "makerFeeRate")
- delete(additionalProperties, "maxCrossLeverage")
- delete(additionalProperties, "maxIsolatedLeverage")
- delete(additionalProperties, "maxTradeAmount")
- delete(additionalProperties, "minTradeAmount")
- delete(additionalProperties, "minTradeUSDT")
- delete(additionalProperties, "priceScale")
- delete(additionalProperties, "quantityScale")
- delete(additionalProperties, "quoteCoin")
- delete(additionalProperties, "status")
- delete(additionalProperties, "symbol")
- delete(additionalProperties, "takerFeeRate")
- delete(additionalProperties, "userMinBorrow")
- delete(additionalProperties, "warningRiskRatio")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginSystemResult struct {
- value *MarginSystemResult
- isSet bool
-}
-
-func (v NullableMarginSystemResult) Get() *MarginSystemResult {
- return v.value
-}
-
-func (v *NullableMarginSystemResult) Set(val *MarginSystemResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginSystemResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginSystemResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginSystemResult(val *MarginSystemResult) *NullableMarginSystemResult {
- return &NullableMarginSystemResult{value: val, isSet: true}
-}
-
-func (v NullableMarginSystemResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginSystemResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_trade_detail_info.go b/bitget-goland-sdk-open-api/model_margin_trade_detail_info.go
deleted file mode 100644
index ee4477fc..00000000
--- a/bitget-goland-sdk-open-api/model_margin_trade_detail_info.go
+++ /dev/null
@@ -1,471 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginTradeDetailInfo struct for MarginTradeDetailInfo
-type MarginTradeDetailInfo struct {
- Ctime *string `json:"ctime,omitempty"`
- FeeCcy *string `json:"feeCcy,omitempty"`
- Fees *string `json:"fees,omitempty"`
- FillId *string `json:"fillId,omitempty"`
- FillPrice *string `json:"fillPrice,omitempty"`
- FillQuantity *string `json:"fillQuantity,omitempty"`
- FillTotalAmount *string `json:"fillTotalAmount,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- OrderType *string `json:"orderType,omitempty"`
- Side *string `json:"side,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginTradeDetailInfo MarginTradeDetailInfo
-
-// NewMarginTradeDetailInfo instantiates a new MarginTradeDetailInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginTradeDetailInfo() *MarginTradeDetailInfo {
- this := MarginTradeDetailInfo{}
- return &this
-}
-
-// NewMarginTradeDetailInfoWithDefaults instantiates a new MarginTradeDetailInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginTradeDetailInfoWithDefaults() *MarginTradeDetailInfo {
- this := MarginTradeDetailInfo{}
- return &this
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MarginTradeDetailInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFeeCcy returns the FeeCcy field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFeeCcy() string {
- if o == nil || isNil(o.FeeCcy) {
- var ret string
- return ret
- }
- return *o.FeeCcy
-}
-
-// GetFeeCcyOk returns a tuple with the FeeCcy field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFeeCcyOk() (*string, bool) {
- if o == nil || isNil(o.FeeCcy) {
- return nil, false
- }
- return o.FeeCcy, true
-}
-
-// HasFeeCcy returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFeeCcy() bool {
- if o != nil && !isNil(o.FeeCcy) {
- return true
- }
-
- return false
-}
-
-// SetFeeCcy gets a reference to the given string and assigns it to the FeeCcy field.
-func (o *MarginTradeDetailInfo) SetFeeCcy(v string) {
- o.FeeCcy = &v
-}
-
-// GetFees returns the Fees field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFees() string {
- if o == nil || isNil(o.Fees) {
- var ret string
- return ret
- }
- return *o.Fees
-}
-
-// GetFeesOk returns a tuple with the Fees field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFeesOk() (*string, bool) {
- if o == nil || isNil(o.Fees) {
- return nil, false
- }
- return o.Fees, true
-}
-
-// HasFees returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFees() bool {
- if o != nil && !isNil(o.Fees) {
- return true
- }
-
- return false
-}
-
-// SetFees gets a reference to the given string and assigns it to the Fees field.
-func (o *MarginTradeDetailInfo) SetFees(v string) {
- o.Fees = &v
-}
-
-// GetFillId returns the FillId field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFillId() string {
- if o == nil || isNil(o.FillId) {
- var ret string
- return ret
- }
- return *o.FillId
-}
-
-// GetFillIdOk returns a tuple with the FillId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFillIdOk() (*string, bool) {
- if o == nil || isNil(o.FillId) {
- return nil, false
- }
- return o.FillId, true
-}
-
-// HasFillId returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFillId() bool {
- if o != nil && !isNil(o.FillId) {
- return true
- }
-
- return false
-}
-
-// SetFillId gets a reference to the given string and assigns it to the FillId field.
-func (o *MarginTradeDetailInfo) SetFillId(v string) {
- o.FillId = &v
-}
-
-// GetFillPrice returns the FillPrice field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFillPrice() string {
- if o == nil || isNil(o.FillPrice) {
- var ret string
- return ret
- }
- return *o.FillPrice
-}
-
-// GetFillPriceOk returns a tuple with the FillPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFillPriceOk() (*string, bool) {
- if o == nil || isNil(o.FillPrice) {
- return nil, false
- }
- return o.FillPrice, true
-}
-
-// HasFillPrice returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFillPrice() bool {
- if o != nil && !isNil(o.FillPrice) {
- return true
- }
-
- return false
-}
-
-// SetFillPrice gets a reference to the given string and assigns it to the FillPrice field.
-func (o *MarginTradeDetailInfo) SetFillPrice(v string) {
- o.FillPrice = &v
-}
-
-// GetFillQuantity returns the FillQuantity field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFillQuantity() string {
- if o == nil || isNil(o.FillQuantity) {
- var ret string
- return ret
- }
- return *o.FillQuantity
-}
-
-// GetFillQuantityOk returns a tuple with the FillQuantity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFillQuantityOk() (*string, bool) {
- if o == nil || isNil(o.FillQuantity) {
- return nil, false
- }
- return o.FillQuantity, true
-}
-
-// HasFillQuantity returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFillQuantity() bool {
- if o != nil && !isNil(o.FillQuantity) {
- return true
- }
-
- return false
-}
-
-// SetFillQuantity gets a reference to the given string and assigns it to the FillQuantity field.
-func (o *MarginTradeDetailInfo) SetFillQuantity(v string) {
- o.FillQuantity = &v
-}
-
-// GetFillTotalAmount returns the FillTotalAmount field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetFillTotalAmount() string {
- if o == nil || isNil(o.FillTotalAmount) {
- var ret string
- return ret
- }
- return *o.FillTotalAmount
-}
-
-// GetFillTotalAmountOk returns a tuple with the FillTotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetFillTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.FillTotalAmount) {
- return nil, false
- }
- return o.FillTotalAmount, true
-}
-
-// HasFillTotalAmount returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasFillTotalAmount() bool {
- if o != nil && !isNil(o.FillTotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetFillTotalAmount gets a reference to the given string and assigns it to the FillTotalAmount field.
-func (o *MarginTradeDetailInfo) SetFillTotalAmount(v string) {
- o.FillTotalAmount = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MarginTradeDetailInfo) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-// GetOrderType returns the OrderType field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetOrderType() string {
- if o == nil || isNil(o.OrderType) {
- var ret string
- return ret
- }
- return *o.OrderType
-}
-
-// GetOrderTypeOk returns a tuple with the OrderType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetOrderTypeOk() (*string, bool) {
- if o == nil || isNil(o.OrderType) {
- return nil, false
- }
- return o.OrderType, true
-}
-
-// HasOrderType returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasOrderType() bool {
- if o != nil && !isNil(o.OrderType) {
- return true
- }
-
- return false
-}
-
-// SetOrderType gets a reference to the given string and assigns it to the OrderType field.
-func (o *MarginTradeDetailInfo) SetOrderType(v string) {
- o.OrderType = &v
-}
-
-// GetSide returns the Side field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfo) GetSide() string {
- if o == nil || isNil(o.Side) {
- var ret string
- return ret
- }
- return *o.Side
-}
-
-// GetSideOk returns a tuple with the Side field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfo) GetSideOk() (*string, bool) {
- if o == nil || isNil(o.Side) {
- return nil, false
- }
- return o.Side, true
-}
-
-// HasSide returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfo) HasSide() bool {
- if o != nil && !isNil(o.Side) {
- return true
- }
-
- return false
-}
-
-// SetSide gets a reference to the given string and assigns it to the Side field.
-func (o *MarginTradeDetailInfo) SetSide(v string) {
- o.Side = &v
-}
-
-func (o MarginTradeDetailInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.FeeCcy) {
- toSerialize["feeCcy"] = o.FeeCcy
- }
- if !isNil(o.Fees) {
- toSerialize["fees"] = o.Fees
- }
- if !isNil(o.FillId) {
- toSerialize["fillId"] = o.FillId
- }
- if !isNil(o.FillPrice) {
- toSerialize["fillPrice"] = o.FillPrice
- }
- if !isNil(o.FillQuantity) {
- toSerialize["fillQuantity"] = o.FillQuantity
- }
- if !isNil(o.FillTotalAmount) {
- toSerialize["fillTotalAmount"] = o.FillTotalAmount
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
- if !isNil(o.OrderType) {
- toSerialize["orderType"] = o.OrderType
- }
- if !isNil(o.Side) {
- toSerialize["side"] = o.Side
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginTradeDetailInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMarginTradeDetailInfo := _MarginTradeDetailInfo{}
-
- if err = json.Unmarshal(bytes, &varMarginTradeDetailInfo); err == nil {
- *o = MarginTradeDetailInfo(varMarginTradeDetailInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "feeCcy")
- delete(additionalProperties, "fees")
- delete(additionalProperties, "fillId")
- delete(additionalProperties, "fillPrice")
- delete(additionalProperties, "fillQuantity")
- delete(additionalProperties, "fillTotalAmount")
- delete(additionalProperties, "orderId")
- delete(additionalProperties, "orderType")
- delete(additionalProperties, "side")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginTradeDetailInfo struct {
- value *MarginTradeDetailInfo
- isSet bool
-}
-
-func (v NullableMarginTradeDetailInfo) Get() *MarginTradeDetailInfo {
- return v.value
-}
-
-func (v *NullableMarginTradeDetailInfo) Set(val *MarginTradeDetailInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginTradeDetailInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginTradeDetailInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginTradeDetailInfo(val *MarginTradeDetailInfo) *NullableMarginTradeDetailInfo {
- return &NullableMarginTradeDetailInfo{value: val, isSet: true}
-}
-
-func (v NullableMarginTradeDetailInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginTradeDetailInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_margin_trade_detail_info_result.go b/bitget-goland-sdk-open-api/model_margin_trade_detail_info_result.go
deleted file mode 100644
index 94f5b917..00000000
--- a/bitget-goland-sdk-open-api/model_margin_trade_detail_info_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MarginTradeDetailInfoResult struct for MarginTradeDetailInfoResult
-type MarginTradeDetailInfoResult struct {
- Fills []MarginTradeDetailInfo `json:"fills,omitempty"`
- MaxId *string `json:"maxId,omitempty"`
- MinId *string `json:"minId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MarginTradeDetailInfoResult MarginTradeDetailInfoResult
-
-// NewMarginTradeDetailInfoResult instantiates a new MarginTradeDetailInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMarginTradeDetailInfoResult() *MarginTradeDetailInfoResult {
- this := MarginTradeDetailInfoResult{}
- return &this
-}
-
-// NewMarginTradeDetailInfoResultWithDefaults instantiates a new MarginTradeDetailInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMarginTradeDetailInfoResultWithDefaults() *MarginTradeDetailInfoResult {
- this := MarginTradeDetailInfoResult{}
- return &this
-}
-
-// GetFills returns the Fills field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfoResult) GetFills() []MarginTradeDetailInfo {
- if o == nil || isNil(o.Fills) {
- var ret []MarginTradeDetailInfo
- return ret
- }
- return o.Fills
-}
-
-// GetFillsOk returns a tuple with the Fills field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfoResult) GetFillsOk() ([]MarginTradeDetailInfo, bool) {
- if o == nil || isNil(o.Fills) {
- return nil, false
- }
- return o.Fills, true
-}
-
-// HasFills returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfoResult) HasFills() bool {
- if o != nil && !isNil(o.Fills) {
- return true
- }
-
- return false
-}
-
-// SetFills gets a reference to the given []MarginTradeDetailInfo and assigns it to the Fills field.
-func (o *MarginTradeDetailInfoResult) SetFills(v []MarginTradeDetailInfo) {
- o.Fills = v
-}
-
-// GetMaxId returns the MaxId field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfoResult) GetMaxId() string {
- if o == nil || isNil(o.MaxId) {
- var ret string
- return ret
- }
- return *o.MaxId
-}
-
-// GetMaxIdOk returns a tuple with the MaxId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfoResult) GetMaxIdOk() (*string, bool) {
- if o == nil || isNil(o.MaxId) {
- return nil, false
- }
- return o.MaxId, true
-}
-
-// HasMaxId returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfoResult) HasMaxId() bool {
- if o != nil && !isNil(o.MaxId) {
- return true
- }
-
- return false
-}
-
-// SetMaxId gets a reference to the given string and assigns it to the MaxId field.
-func (o *MarginTradeDetailInfoResult) SetMaxId(v string) {
- o.MaxId = &v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MarginTradeDetailInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MarginTradeDetailInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MarginTradeDetailInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MarginTradeDetailInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-func (o MarginTradeDetailInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Fills) {
- toSerialize["fills"] = o.Fills
- }
- if !isNil(o.MaxId) {
- toSerialize["maxId"] = o.MaxId
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MarginTradeDetailInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMarginTradeDetailInfoResult := _MarginTradeDetailInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMarginTradeDetailInfoResult); err == nil {
- *o = MarginTradeDetailInfoResult(varMarginTradeDetailInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "fills")
- delete(additionalProperties, "maxId")
- delete(additionalProperties, "minId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMarginTradeDetailInfoResult struct {
- value *MarginTradeDetailInfoResult
- isSet bool
-}
-
-func (v NullableMarginTradeDetailInfoResult) Get() *MarginTradeDetailInfoResult {
- return v.value
-}
-
-func (v *NullableMarginTradeDetailInfoResult) Set(val *MarginTradeDetailInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMarginTradeDetailInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMarginTradeDetailInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMarginTradeDetailInfoResult(val *MarginTradeDetailInfoResult) *NullableMarginTradeDetailInfoResult {
- return &NullableMarginTradeDetailInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMarginTradeDetailInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMarginTradeDetailInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_adv_info.go b/bitget-goland-sdk-open-api/model_merchant_adv_info.go
deleted file mode 100644
index d370d5b1..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_adv_info.go
+++ /dev/null
@@ -1,915 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantAdvInfo struct for MerchantAdvInfo
-type MerchantAdvInfo struct {
- AdvId *string `json:"advId,omitempty"`
- AdvNo *string `json:"advNo,omitempty"`
- Amount *string `json:"amount,omitempty"`
- Coin *string `json:"coin,omitempty"`
- CoinPrecision *string `json:"coinPrecision,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- DealAmount *string `json:"dealAmount,omitempty"`
- FiatCode *string `json:"fiatCode,omitempty"`
- FiatPrecision *string `json:"fiatPrecision,omitempty"`
- FiatSymbol *string `json:"fiatSymbol,omitempty"`
- Hide *string `json:"hide,omitempty"`
- MaxAmount *string `json:"maxAmount,omitempty"`
- MinAmount *string `json:"minAmount,omitempty"`
- PayDuration *string `json:"payDuration,omitempty"`
- PaymentMethod []FiatPaymentInfo `json:"paymentMethod,omitempty"`
- Price *string `json:"price,omitempty"`
- Remark *string `json:"remark,omitempty"`
- Status *string `json:"status,omitempty"`
- TurnoverNum *string `json:"turnoverNum,omitempty"`
- TurnoverRate *string `json:"turnoverRate,omitempty"`
- Type *string `json:"type,omitempty"`
- UserLimit *MerchantAdvUserLimitInfo `json:"userLimit,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantAdvInfo MerchantAdvInfo
-
-// NewMerchantAdvInfo instantiates a new MerchantAdvInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantAdvInfo() *MerchantAdvInfo {
- this := MerchantAdvInfo{}
- return &this
-}
-
-// NewMerchantAdvInfoWithDefaults instantiates a new MerchantAdvInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantAdvInfoWithDefaults() *MerchantAdvInfo {
- this := MerchantAdvInfo{}
- return &this
-}
-
-// GetAdvId returns the AdvId field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetAdvId() string {
- if o == nil || isNil(o.AdvId) {
- var ret string
- return ret
- }
- return *o.AdvId
-}
-
-// GetAdvIdOk returns a tuple with the AdvId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetAdvIdOk() (*string, bool) {
- if o == nil || isNil(o.AdvId) {
- return nil, false
- }
- return o.AdvId, true
-}
-
-// HasAdvId returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasAdvId() bool {
- if o != nil && !isNil(o.AdvId) {
- return true
- }
-
- return false
-}
-
-// SetAdvId gets a reference to the given string and assigns it to the AdvId field.
-func (o *MerchantAdvInfo) SetAdvId(v string) {
- o.AdvId = &v
-}
-
-// GetAdvNo returns the AdvNo field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetAdvNo() string {
- if o == nil || isNil(o.AdvNo) {
- var ret string
- return ret
- }
- return *o.AdvNo
-}
-
-// GetAdvNoOk returns a tuple with the AdvNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetAdvNoOk() (*string, bool) {
- if o == nil || isNil(o.AdvNo) {
- return nil, false
- }
- return o.AdvNo, true
-}
-
-// HasAdvNo returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasAdvNo() bool {
- if o != nil && !isNil(o.AdvNo) {
- return true
- }
-
- return false
-}
-
-// SetAdvNo gets a reference to the given string and assigns it to the AdvNo field.
-func (o *MerchantAdvInfo) SetAdvNo(v string) {
- o.AdvNo = &v
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MerchantAdvInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MerchantAdvInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCoinPrecision returns the CoinPrecision field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetCoinPrecision() string {
- if o == nil || isNil(o.CoinPrecision) {
- var ret string
- return ret
- }
- return *o.CoinPrecision
-}
-
-// GetCoinPrecisionOk returns a tuple with the CoinPrecision field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetCoinPrecisionOk() (*string, bool) {
- if o == nil || isNil(o.CoinPrecision) {
- return nil, false
- }
- return o.CoinPrecision, true
-}
-
-// HasCoinPrecision returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasCoinPrecision() bool {
- if o != nil && !isNil(o.CoinPrecision) {
- return true
- }
-
- return false
-}
-
-// SetCoinPrecision gets a reference to the given string and assigns it to the CoinPrecision field.
-func (o *MerchantAdvInfo) SetCoinPrecision(v string) {
- o.CoinPrecision = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MerchantAdvInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetDealAmount returns the DealAmount field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetDealAmount() string {
- if o == nil || isNil(o.DealAmount) {
- var ret string
- return ret
- }
- return *o.DealAmount
-}
-
-// GetDealAmountOk returns a tuple with the DealAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetDealAmountOk() (*string, bool) {
- if o == nil || isNil(o.DealAmount) {
- return nil, false
- }
- return o.DealAmount, true
-}
-
-// HasDealAmount returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasDealAmount() bool {
- if o != nil && !isNil(o.DealAmount) {
- return true
- }
-
- return false
-}
-
-// SetDealAmount gets a reference to the given string and assigns it to the DealAmount field.
-func (o *MerchantAdvInfo) SetDealAmount(v string) {
- o.DealAmount = &v
-}
-
-// GetFiatCode returns the FiatCode field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetFiatCode() string {
- if o == nil || isNil(o.FiatCode) {
- var ret string
- return ret
- }
- return *o.FiatCode
-}
-
-// GetFiatCodeOk returns a tuple with the FiatCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetFiatCodeOk() (*string, bool) {
- if o == nil || isNil(o.FiatCode) {
- return nil, false
- }
- return o.FiatCode, true
-}
-
-// HasFiatCode returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasFiatCode() bool {
- if o != nil && !isNil(o.FiatCode) {
- return true
- }
-
- return false
-}
-
-// SetFiatCode gets a reference to the given string and assigns it to the FiatCode field.
-func (o *MerchantAdvInfo) SetFiatCode(v string) {
- o.FiatCode = &v
-}
-
-// GetFiatPrecision returns the FiatPrecision field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetFiatPrecision() string {
- if o == nil || isNil(o.FiatPrecision) {
- var ret string
- return ret
- }
- return *o.FiatPrecision
-}
-
-// GetFiatPrecisionOk returns a tuple with the FiatPrecision field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetFiatPrecisionOk() (*string, bool) {
- if o == nil || isNil(o.FiatPrecision) {
- return nil, false
- }
- return o.FiatPrecision, true
-}
-
-// HasFiatPrecision returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasFiatPrecision() bool {
- if o != nil && !isNil(o.FiatPrecision) {
- return true
- }
-
- return false
-}
-
-// SetFiatPrecision gets a reference to the given string and assigns it to the FiatPrecision field.
-func (o *MerchantAdvInfo) SetFiatPrecision(v string) {
- o.FiatPrecision = &v
-}
-
-// GetFiatSymbol returns the FiatSymbol field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetFiatSymbol() string {
- if o == nil || isNil(o.FiatSymbol) {
- var ret string
- return ret
- }
- return *o.FiatSymbol
-}
-
-// GetFiatSymbolOk returns a tuple with the FiatSymbol field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetFiatSymbolOk() (*string, bool) {
- if o == nil || isNil(o.FiatSymbol) {
- return nil, false
- }
- return o.FiatSymbol, true
-}
-
-// HasFiatSymbol returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasFiatSymbol() bool {
- if o != nil && !isNil(o.FiatSymbol) {
- return true
- }
-
- return false
-}
-
-// SetFiatSymbol gets a reference to the given string and assigns it to the FiatSymbol field.
-func (o *MerchantAdvInfo) SetFiatSymbol(v string) {
- o.FiatSymbol = &v
-}
-
-// GetHide returns the Hide field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetHide() string {
- if o == nil || isNil(o.Hide) {
- var ret string
- return ret
- }
- return *o.Hide
-}
-
-// GetHideOk returns a tuple with the Hide field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetHideOk() (*string, bool) {
- if o == nil || isNil(o.Hide) {
- return nil, false
- }
- return o.Hide, true
-}
-
-// HasHide returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasHide() bool {
- if o != nil && !isNil(o.Hide) {
- return true
- }
-
- return false
-}
-
-// SetHide gets a reference to the given string and assigns it to the Hide field.
-func (o *MerchantAdvInfo) SetHide(v string) {
- o.Hide = &v
-}
-
-// GetMaxAmount returns the MaxAmount field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetMaxAmount() string {
- if o == nil || isNil(o.MaxAmount) {
- var ret string
- return ret
- }
- return *o.MaxAmount
-}
-
-// GetMaxAmountOk returns a tuple with the MaxAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetMaxAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxAmount) {
- return nil, false
- }
- return o.MaxAmount, true
-}
-
-// HasMaxAmount returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasMaxAmount() bool {
- if o != nil && !isNil(o.MaxAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxAmount gets a reference to the given string and assigns it to the MaxAmount field.
-func (o *MerchantAdvInfo) SetMaxAmount(v string) {
- o.MaxAmount = &v
-}
-
-// GetMinAmount returns the MinAmount field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetMinAmount() string {
- if o == nil || isNil(o.MinAmount) {
- var ret string
- return ret
- }
- return *o.MinAmount
-}
-
-// GetMinAmountOk returns a tuple with the MinAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetMinAmountOk() (*string, bool) {
- if o == nil || isNil(o.MinAmount) {
- return nil, false
- }
- return o.MinAmount, true
-}
-
-// HasMinAmount returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasMinAmount() bool {
- if o != nil && !isNil(o.MinAmount) {
- return true
- }
-
- return false
-}
-
-// SetMinAmount gets a reference to the given string and assigns it to the MinAmount field.
-func (o *MerchantAdvInfo) SetMinAmount(v string) {
- o.MinAmount = &v
-}
-
-// GetPayDuration returns the PayDuration field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetPayDuration() string {
- if o == nil || isNil(o.PayDuration) {
- var ret string
- return ret
- }
- return *o.PayDuration
-}
-
-// GetPayDurationOk returns a tuple with the PayDuration field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetPayDurationOk() (*string, bool) {
- if o == nil || isNil(o.PayDuration) {
- return nil, false
- }
- return o.PayDuration, true
-}
-
-// HasPayDuration returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasPayDuration() bool {
- if o != nil && !isNil(o.PayDuration) {
- return true
- }
-
- return false
-}
-
-// SetPayDuration gets a reference to the given string and assigns it to the PayDuration field.
-func (o *MerchantAdvInfo) SetPayDuration(v string) {
- o.PayDuration = &v
-}
-
-// GetPaymentMethod returns the PaymentMethod field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetPaymentMethod() []FiatPaymentInfo {
- if o == nil || isNil(o.PaymentMethod) {
- var ret []FiatPaymentInfo
- return ret
- }
- return o.PaymentMethod
-}
-
-// GetPaymentMethodOk returns a tuple with the PaymentMethod field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetPaymentMethodOk() ([]FiatPaymentInfo, bool) {
- if o == nil || isNil(o.PaymentMethod) {
- return nil, false
- }
- return o.PaymentMethod, true
-}
-
-// HasPaymentMethod returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasPaymentMethod() bool {
- if o != nil && !isNil(o.PaymentMethod) {
- return true
- }
-
- return false
-}
-
-// SetPaymentMethod gets a reference to the given []FiatPaymentInfo and assigns it to the PaymentMethod field.
-func (o *MerchantAdvInfo) SetPaymentMethod(v []FiatPaymentInfo) {
- o.PaymentMethod = v
-}
-
-// GetPrice returns the Price field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetPrice() string {
- if o == nil || isNil(o.Price) {
- var ret string
- return ret
- }
- return *o.Price
-}
-
-// GetPriceOk returns a tuple with the Price field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetPriceOk() (*string, bool) {
- if o == nil || isNil(o.Price) {
- return nil, false
- }
- return o.Price, true
-}
-
-// HasPrice returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasPrice() bool {
- if o != nil && !isNil(o.Price) {
- return true
- }
-
- return false
-}
-
-// SetPrice gets a reference to the given string and assigns it to the Price field.
-func (o *MerchantAdvInfo) SetPrice(v string) {
- o.Price = &v
-}
-
-// GetRemark returns the Remark field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetRemark() string {
- if o == nil || isNil(o.Remark) {
- var ret string
- return ret
- }
- return *o.Remark
-}
-
-// GetRemarkOk returns a tuple with the Remark field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetRemarkOk() (*string, bool) {
- if o == nil || isNil(o.Remark) {
- return nil, false
- }
- return o.Remark, true
-}
-
-// HasRemark returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasRemark() bool {
- if o != nil && !isNil(o.Remark) {
- return true
- }
-
- return false
-}
-
-// SetRemark gets a reference to the given string and assigns it to the Remark field.
-func (o *MerchantAdvInfo) SetRemark(v string) {
- o.Remark = &v
-}
-
-// GetStatus returns the Status field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetStatus() string {
- if o == nil || isNil(o.Status) {
- var ret string
- return ret
- }
- return *o.Status
-}
-
-// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetStatusOk() (*string, bool) {
- if o == nil || isNil(o.Status) {
- return nil, false
- }
- return o.Status, true
-}
-
-// HasStatus returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasStatus() bool {
- if o != nil && !isNil(o.Status) {
- return true
- }
-
- return false
-}
-
-// SetStatus gets a reference to the given string and assigns it to the Status field.
-func (o *MerchantAdvInfo) SetStatus(v string) {
- o.Status = &v
-}
-
-// GetTurnoverNum returns the TurnoverNum field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetTurnoverNum() string {
- if o == nil || isNil(o.TurnoverNum) {
- var ret string
- return ret
- }
- return *o.TurnoverNum
-}
-
-// GetTurnoverNumOk returns a tuple with the TurnoverNum field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetTurnoverNumOk() (*string, bool) {
- if o == nil || isNil(o.TurnoverNum) {
- return nil, false
- }
- return o.TurnoverNum, true
-}
-
-// HasTurnoverNum returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasTurnoverNum() bool {
- if o != nil && !isNil(o.TurnoverNum) {
- return true
- }
-
- return false
-}
-
-// SetTurnoverNum gets a reference to the given string and assigns it to the TurnoverNum field.
-func (o *MerchantAdvInfo) SetTurnoverNum(v string) {
- o.TurnoverNum = &v
-}
-
-// GetTurnoverRate returns the TurnoverRate field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetTurnoverRate() string {
- if o == nil || isNil(o.TurnoverRate) {
- var ret string
- return ret
- }
- return *o.TurnoverRate
-}
-
-// GetTurnoverRateOk returns a tuple with the TurnoverRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetTurnoverRateOk() (*string, bool) {
- if o == nil || isNil(o.TurnoverRate) {
- return nil, false
- }
- return o.TurnoverRate, true
-}
-
-// HasTurnoverRate returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasTurnoverRate() bool {
- if o != nil && !isNil(o.TurnoverRate) {
- return true
- }
-
- return false
-}
-
-// SetTurnoverRate gets a reference to the given string and assigns it to the TurnoverRate field.
-func (o *MerchantAdvInfo) SetTurnoverRate(v string) {
- o.TurnoverRate = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MerchantAdvInfo) SetType(v string) {
- o.Type = &v
-}
-
-// GetUserLimit returns the UserLimit field value if set, zero value otherwise.
-func (o *MerchantAdvInfo) GetUserLimit() MerchantAdvUserLimitInfo {
- if o == nil || isNil(o.UserLimit) {
- var ret MerchantAdvUserLimitInfo
- return ret
- }
- return *o.UserLimit
-}
-
-// GetUserLimitOk returns a tuple with the UserLimit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvInfo) GetUserLimitOk() (*MerchantAdvUserLimitInfo, bool) {
- if o == nil || isNil(o.UserLimit) {
- return nil, false
- }
- return o.UserLimit, true
-}
-
-// HasUserLimit returns a boolean if a field has been set.
-func (o *MerchantAdvInfo) HasUserLimit() bool {
- if o != nil && !isNil(o.UserLimit) {
- return true
- }
-
- return false
-}
-
-// SetUserLimit gets a reference to the given MerchantAdvUserLimitInfo and assigns it to the UserLimit field.
-func (o *MerchantAdvInfo) SetUserLimit(v MerchantAdvUserLimitInfo) {
- o.UserLimit = &v
-}
-
-func (o MerchantAdvInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AdvId) {
- toSerialize["advId"] = o.AdvId
- }
- if !isNil(o.AdvNo) {
- toSerialize["advNo"] = o.AdvNo
- }
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.CoinPrecision) {
- toSerialize["coinPrecision"] = o.CoinPrecision
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.DealAmount) {
- toSerialize["dealAmount"] = o.DealAmount
- }
- if !isNil(o.FiatCode) {
- toSerialize["fiatCode"] = o.FiatCode
- }
- if !isNil(o.FiatPrecision) {
- toSerialize["fiatPrecision"] = o.FiatPrecision
- }
- if !isNil(o.FiatSymbol) {
- toSerialize["fiatSymbol"] = o.FiatSymbol
- }
- if !isNil(o.Hide) {
- toSerialize["hide"] = o.Hide
- }
- if !isNil(o.MaxAmount) {
- toSerialize["maxAmount"] = o.MaxAmount
- }
- if !isNil(o.MinAmount) {
- toSerialize["minAmount"] = o.MinAmount
- }
- if !isNil(o.PayDuration) {
- toSerialize["payDuration"] = o.PayDuration
- }
- if !isNil(o.PaymentMethod) {
- toSerialize["paymentMethod"] = o.PaymentMethod
- }
- if !isNil(o.Price) {
- toSerialize["price"] = o.Price
- }
- if !isNil(o.Remark) {
- toSerialize["remark"] = o.Remark
- }
- if !isNil(o.Status) {
- toSerialize["status"] = o.Status
- }
- if !isNil(o.TurnoverNum) {
- toSerialize["turnoverNum"] = o.TurnoverNum
- }
- if !isNil(o.TurnoverRate) {
- toSerialize["turnoverRate"] = o.TurnoverRate
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
- if !isNil(o.UserLimit) {
- toSerialize["userLimit"] = o.UserLimit
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantAdvInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantAdvInfo := _MerchantAdvInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantAdvInfo); err == nil {
- *o = MerchantAdvInfo(varMerchantAdvInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "advId")
- delete(additionalProperties, "advNo")
- delete(additionalProperties, "amount")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "coinPrecision")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "dealAmount")
- delete(additionalProperties, "fiatCode")
- delete(additionalProperties, "fiatPrecision")
- delete(additionalProperties, "fiatSymbol")
- delete(additionalProperties, "hide")
- delete(additionalProperties, "maxAmount")
- delete(additionalProperties, "minAmount")
- delete(additionalProperties, "payDuration")
- delete(additionalProperties, "paymentMethod")
- delete(additionalProperties, "price")
- delete(additionalProperties, "remark")
- delete(additionalProperties, "status")
- delete(additionalProperties, "turnoverNum")
- delete(additionalProperties, "turnoverRate")
- delete(additionalProperties, "type")
- delete(additionalProperties, "userLimit")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantAdvInfo struct {
- value *MerchantAdvInfo
- isSet bool
-}
-
-func (v NullableMerchantAdvInfo) Get() *MerchantAdvInfo {
- return v.value
-}
-
-func (v *NullableMerchantAdvInfo) Set(val *MerchantAdvInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantAdvInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantAdvInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantAdvInfo(val *MerchantAdvInfo) *NullableMerchantAdvInfo {
- return &NullableMerchantAdvInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantAdvInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantAdvInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_adv_result.go b/bitget-goland-sdk-open-api/model_merchant_adv_result.go
deleted file mode 100644
index 41fbf593..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_adv_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantAdvResult struct for MerchantAdvResult
-type MerchantAdvResult struct {
- AdvList []MerchantAdvInfo `json:"advList,omitempty"`
- MinId *string `json:"minId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantAdvResult MerchantAdvResult
-
-// NewMerchantAdvResult instantiates a new MerchantAdvResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantAdvResult() *MerchantAdvResult {
- this := MerchantAdvResult{}
- return &this
-}
-
-// NewMerchantAdvResultWithDefaults instantiates a new MerchantAdvResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantAdvResultWithDefaults() *MerchantAdvResult {
- this := MerchantAdvResult{}
- return &this
-}
-
-// GetAdvList returns the AdvList field value if set, zero value otherwise.
-func (o *MerchantAdvResult) GetAdvList() []MerchantAdvInfo {
- if o == nil || isNil(o.AdvList) {
- var ret []MerchantAdvInfo
- return ret
- }
- return o.AdvList
-}
-
-// GetAdvListOk returns a tuple with the AdvList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvResult) GetAdvListOk() ([]MerchantAdvInfo, bool) {
- if o == nil || isNil(o.AdvList) {
- return nil, false
- }
- return o.AdvList, true
-}
-
-// HasAdvList returns a boolean if a field has been set.
-func (o *MerchantAdvResult) HasAdvList() bool {
- if o != nil && !isNil(o.AdvList) {
- return true
- }
-
- return false
-}
-
-// SetAdvList gets a reference to the given []MerchantAdvInfo and assigns it to the AdvList field.
-func (o *MerchantAdvResult) SetAdvList(v []MerchantAdvInfo) {
- o.AdvList = v
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MerchantAdvResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MerchantAdvResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MerchantAdvResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-func (o MerchantAdvResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AdvList) {
- toSerialize["advList"] = o.AdvList
- }
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantAdvResult) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantAdvResult := _MerchantAdvResult{}
-
- if err = json.Unmarshal(bytes, &varMerchantAdvResult); err == nil {
- *o = MerchantAdvResult(varMerchantAdvResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "advList")
- delete(additionalProperties, "minId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantAdvResult struct {
- value *MerchantAdvResult
- isSet bool
-}
-
-func (v NullableMerchantAdvResult) Get() *MerchantAdvResult {
- return v.value
-}
-
-func (v *NullableMerchantAdvResult) Set(val *MerchantAdvResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantAdvResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantAdvResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantAdvResult(val *MerchantAdvResult) *NullableMerchantAdvResult {
- return &NullableMerchantAdvResult{value: val, isSet: true}
-}
-
-func (v NullableMerchantAdvResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantAdvResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_adv_user_limit_info.go b/bitget-goland-sdk-open-api/model_merchant_adv_user_limit_info.go
deleted file mode 100644
index 60f4fa49..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_adv_user_limit_info.go
+++ /dev/null
@@ -1,323 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantAdvUserLimitInfo struct for MerchantAdvUserLimitInfo
-type MerchantAdvUserLimitInfo struct {
- AllowMerchantPlace *string `json:"allowMerchantPlace,omitempty"`
- Country *string `json:"country,omitempty"`
- MaxCompleteNum *string `json:"maxCompleteNum,omitempty"`
- MinCompleteNum *string `json:"minCompleteNum,omitempty"`
- PlaceOrderNum *string `json:"placeOrderNum,omitempty"`
- ThirtyCompleteRate *string `json:"thirtyCompleteRate,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantAdvUserLimitInfo MerchantAdvUserLimitInfo
-
-// NewMerchantAdvUserLimitInfo instantiates a new MerchantAdvUserLimitInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantAdvUserLimitInfo() *MerchantAdvUserLimitInfo {
- this := MerchantAdvUserLimitInfo{}
- return &this
-}
-
-// NewMerchantAdvUserLimitInfoWithDefaults instantiates a new MerchantAdvUserLimitInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantAdvUserLimitInfoWithDefaults() *MerchantAdvUserLimitInfo {
- this := MerchantAdvUserLimitInfo{}
- return &this
-}
-
-// GetAllowMerchantPlace returns the AllowMerchantPlace field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetAllowMerchantPlace() string {
- if o == nil || isNil(o.AllowMerchantPlace) {
- var ret string
- return ret
- }
- return *o.AllowMerchantPlace
-}
-
-// GetAllowMerchantPlaceOk returns a tuple with the AllowMerchantPlace field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetAllowMerchantPlaceOk() (*string, bool) {
- if o == nil || isNil(o.AllowMerchantPlace) {
- return nil, false
- }
- return o.AllowMerchantPlace, true
-}
-
-// HasAllowMerchantPlace returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasAllowMerchantPlace() bool {
- if o != nil && !isNil(o.AllowMerchantPlace) {
- return true
- }
-
- return false
-}
-
-// SetAllowMerchantPlace gets a reference to the given string and assigns it to the AllowMerchantPlace field.
-func (o *MerchantAdvUserLimitInfo) SetAllowMerchantPlace(v string) {
- o.AllowMerchantPlace = &v
-}
-
-// GetCountry returns the Country field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetCountry() string {
- if o == nil || isNil(o.Country) {
- var ret string
- return ret
- }
- return *o.Country
-}
-
-// GetCountryOk returns a tuple with the Country field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetCountryOk() (*string, bool) {
- if o == nil || isNil(o.Country) {
- return nil, false
- }
- return o.Country, true
-}
-
-// HasCountry returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasCountry() bool {
- if o != nil && !isNil(o.Country) {
- return true
- }
-
- return false
-}
-
-// SetCountry gets a reference to the given string and assigns it to the Country field.
-func (o *MerchantAdvUserLimitInfo) SetCountry(v string) {
- o.Country = &v
-}
-
-// GetMaxCompleteNum returns the MaxCompleteNum field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetMaxCompleteNum() string {
- if o == nil || isNil(o.MaxCompleteNum) {
- var ret string
- return ret
- }
- return *o.MaxCompleteNum
-}
-
-// GetMaxCompleteNumOk returns a tuple with the MaxCompleteNum field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetMaxCompleteNumOk() (*string, bool) {
- if o == nil || isNil(o.MaxCompleteNum) {
- return nil, false
- }
- return o.MaxCompleteNum, true
-}
-
-// HasMaxCompleteNum returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasMaxCompleteNum() bool {
- if o != nil && !isNil(o.MaxCompleteNum) {
- return true
- }
-
- return false
-}
-
-// SetMaxCompleteNum gets a reference to the given string and assigns it to the MaxCompleteNum field.
-func (o *MerchantAdvUserLimitInfo) SetMaxCompleteNum(v string) {
- o.MaxCompleteNum = &v
-}
-
-// GetMinCompleteNum returns the MinCompleteNum field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetMinCompleteNum() string {
- if o == nil || isNil(o.MinCompleteNum) {
- var ret string
- return ret
- }
- return *o.MinCompleteNum
-}
-
-// GetMinCompleteNumOk returns a tuple with the MinCompleteNum field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetMinCompleteNumOk() (*string, bool) {
- if o == nil || isNil(o.MinCompleteNum) {
- return nil, false
- }
- return o.MinCompleteNum, true
-}
-
-// HasMinCompleteNum returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasMinCompleteNum() bool {
- if o != nil && !isNil(o.MinCompleteNum) {
- return true
- }
-
- return false
-}
-
-// SetMinCompleteNum gets a reference to the given string and assigns it to the MinCompleteNum field.
-func (o *MerchantAdvUserLimitInfo) SetMinCompleteNum(v string) {
- o.MinCompleteNum = &v
-}
-
-// GetPlaceOrderNum returns the PlaceOrderNum field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetPlaceOrderNum() string {
- if o == nil || isNil(o.PlaceOrderNum) {
- var ret string
- return ret
- }
- return *o.PlaceOrderNum
-}
-
-// GetPlaceOrderNumOk returns a tuple with the PlaceOrderNum field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetPlaceOrderNumOk() (*string, bool) {
- if o == nil || isNil(o.PlaceOrderNum) {
- return nil, false
- }
- return o.PlaceOrderNum, true
-}
-
-// HasPlaceOrderNum returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasPlaceOrderNum() bool {
- if o != nil && !isNil(o.PlaceOrderNum) {
- return true
- }
-
- return false
-}
-
-// SetPlaceOrderNum gets a reference to the given string and assigns it to the PlaceOrderNum field.
-func (o *MerchantAdvUserLimitInfo) SetPlaceOrderNum(v string) {
- o.PlaceOrderNum = &v
-}
-
-// GetThirtyCompleteRate returns the ThirtyCompleteRate field value if set, zero value otherwise.
-func (o *MerchantAdvUserLimitInfo) GetThirtyCompleteRate() string {
- if o == nil || isNil(o.ThirtyCompleteRate) {
- var ret string
- return ret
- }
- return *o.ThirtyCompleteRate
-}
-
-// GetThirtyCompleteRateOk returns a tuple with the ThirtyCompleteRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantAdvUserLimitInfo) GetThirtyCompleteRateOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyCompleteRate) {
- return nil, false
- }
- return o.ThirtyCompleteRate, true
-}
-
-// HasThirtyCompleteRate returns a boolean if a field has been set.
-func (o *MerchantAdvUserLimitInfo) HasThirtyCompleteRate() bool {
- if o != nil && !isNil(o.ThirtyCompleteRate) {
- return true
- }
-
- return false
-}
-
-// SetThirtyCompleteRate gets a reference to the given string and assigns it to the ThirtyCompleteRate field.
-func (o *MerchantAdvUserLimitInfo) SetThirtyCompleteRate(v string) {
- o.ThirtyCompleteRate = &v
-}
-
-func (o MerchantAdvUserLimitInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AllowMerchantPlace) {
- toSerialize["allowMerchantPlace"] = o.AllowMerchantPlace
- }
- if !isNil(o.Country) {
- toSerialize["country"] = o.Country
- }
- if !isNil(o.MaxCompleteNum) {
- toSerialize["maxCompleteNum"] = o.MaxCompleteNum
- }
- if !isNil(o.MinCompleteNum) {
- toSerialize["minCompleteNum"] = o.MinCompleteNum
- }
- if !isNil(o.PlaceOrderNum) {
- toSerialize["placeOrderNum"] = o.PlaceOrderNum
- }
- if !isNil(o.ThirtyCompleteRate) {
- toSerialize["thirtyCompleteRate"] = o.ThirtyCompleteRate
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantAdvUserLimitInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantAdvUserLimitInfo := _MerchantAdvUserLimitInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantAdvUserLimitInfo); err == nil {
- *o = MerchantAdvUserLimitInfo(varMerchantAdvUserLimitInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "allowMerchantPlace")
- delete(additionalProperties, "country")
- delete(additionalProperties, "maxCompleteNum")
- delete(additionalProperties, "minCompleteNum")
- delete(additionalProperties, "placeOrderNum")
- delete(additionalProperties, "thirtyCompleteRate")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantAdvUserLimitInfo struct {
- value *MerchantAdvUserLimitInfo
- isSet bool
-}
-
-func (v NullableMerchantAdvUserLimitInfo) Get() *MerchantAdvUserLimitInfo {
- return v.value
-}
-
-func (v *NullableMerchantAdvUserLimitInfo) Set(val *MerchantAdvUserLimitInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantAdvUserLimitInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantAdvUserLimitInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantAdvUserLimitInfo(val *MerchantAdvUserLimitInfo) *NullableMerchantAdvUserLimitInfo {
- return &NullableMerchantAdvUserLimitInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantAdvUserLimitInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantAdvUserLimitInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_info.go b/bitget-goland-sdk-open-api/model_merchant_info.go
deleted file mode 100644
index b7c497a6..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_info.go
+++ /dev/null
@@ -1,619 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantInfo struct for MerchantInfo
-type MerchantInfo struct {
- AveragePayment *string `json:"averagePayment,omitempty"`
- AverageRealese *string `json:"averageRealese,omitempty"`
- IsOnline *string `json:"isOnline,omitempty"`
- MerchantId *string `json:"merchantId,omitempty"`
- NickName *string `json:"nickName,omitempty"`
- RegisterTime *string `json:"registerTime,omitempty"`
- ThirtyBuy *string `json:"thirtyBuy,omitempty"`
- ThirtyCompletionRate *string `json:"thirtyCompletionRate,omitempty"`
- ThirtySell *string `json:"thirtySell,omitempty"`
- ThirtyTrades *string `json:"thirtyTrades,omitempty"`
- TotalBuy *string `json:"totalBuy,omitempty"`
- TotalCompletionRate *string `json:"totalCompletionRate,omitempty"`
- TotalSell *string `json:"totalSell,omitempty"`
- TotalTrades *string `json:"totalTrades,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantInfo MerchantInfo
-
-// NewMerchantInfo instantiates a new MerchantInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantInfo() *MerchantInfo {
- this := MerchantInfo{}
- return &this
-}
-
-// NewMerchantInfoWithDefaults instantiates a new MerchantInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantInfoWithDefaults() *MerchantInfo {
- this := MerchantInfo{}
- return &this
-}
-
-// GetAveragePayment returns the AveragePayment field value if set, zero value otherwise.
-func (o *MerchantInfo) GetAveragePayment() string {
- if o == nil || isNil(o.AveragePayment) {
- var ret string
- return ret
- }
- return *o.AveragePayment
-}
-
-// GetAveragePaymentOk returns a tuple with the AveragePayment field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetAveragePaymentOk() (*string, bool) {
- if o == nil || isNil(o.AveragePayment) {
- return nil, false
- }
- return o.AveragePayment, true
-}
-
-// HasAveragePayment returns a boolean if a field has been set.
-func (o *MerchantInfo) HasAveragePayment() bool {
- if o != nil && !isNil(o.AveragePayment) {
- return true
- }
-
- return false
-}
-
-// SetAveragePayment gets a reference to the given string and assigns it to the AveragePayment field.
-func (o *MerchantInfo) SetAveragePayment(v string) {
- o.AveragePayment = &v
-}
-
-// GetAverageRealese returns the AverageRealese field value if set, zero value otherwise.
-func (o *MerchantInfo) GetAverageRealese() string {
- if o == nil || isNil(o.AverageRealese) {
- var ret string
- return ret
- }
- return *o.AverageRealese
-}
-
-// GetAverageRealeseOk returns a tuple with the AverageRealese field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetAverageRealeseOk() (*string, bool) {
- if o == nil || isNil(o.AverageRealese) {
- return nil, false
- }
- return o.AverageRealese, true
-}
-
-// HasAverageRealese returns a boolean if a field has been set.
-func (o *MerchantInfo) HasAverageRealese() bool {
- if o != nil && !isNil(o.AverageRealese) {
- return true
- }
-
- return false
-}
-
-// SetAverageRealese gets a reference to the given string and assigns it to the AverageRealese field.
-func (o *MerchantInfo) SetAverageRealese(v string) {
- o.AverageRealese = &v
-}
-
-// GetIsOnline returns the IsOnline field value if set, zero value otherwise.
-func (o *MerchantInfo) GetIsOnline() string {
- if o == nil || isNil(o.IsOnline) {
- var ret string
- return ret
- }
- return *o.IsOnline
-}
-
-// GetIsOnlineOk returns a tuple with the IsOnline field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetIsOnlineOk() (*string, bool) {
- if o == nil || isNil(o.IsOnline) {
- return nil, false
- }
- return o.IsOnline, true
-}
-
-// HasIsOnline returns a boolean if a field has been set.
-func (o *MerchantInfo) HasIsOnline() bool {
- if o != nil && !isNil(o.IsOnline) {
- return true
- }
-
- return false
-}
-
-// SetIsOnline gets a reference to the given string and assigns it to the IsOnline field.
-func (o *MerchantInfo) SetIsOnline(v string) {
- o.IsOnline = &v
-}
-
-// GetMerchantId returns the MerchantId field value if set, zero value otherwise.
-func (o *MerchantInfo) GetMerchantId() string {
- if o == nil || isNil(o.MerchantId) {
- var ret string
- return ret
- }
- return *o.MerchantId
-}
-
-// GetMerchantIdOk returns a tuple with the MerchantId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetMerchantIdOk() (*string, bool) {
- if o == nil || isNil(o.MerchantId) {
- return nil, false
- }
- return o.MerchantId, true
-}
-
-// HasMerchantId returns a boolean if a field has been set.
-func (o *MerchantInfo) HasMerchantId() bool {
- if o != nil && !isNil(o.MerchantId) {
- return true
- }
-
- return false
-}
-
-// SetMerchantId gets a reference to the given string and assigns it to the MerchantId field.
-func (o *MerchantInfo) SetMerchantId(v string) {
- o.MerchantId = &v
-}
-
-// GetNickName returns the NickName field value if set, zero value otherwise.
-func (o *MerchantInfo) GetNickName() string {
- if o == nil || isNil(o.NickName) {
- var ret string
- return ret
- }
- return *o.NickName
-}
-
-// GetNickNameOk returns a tuple with the NickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetNickNameOk() (*string, bool) {
- if o == nil || isNil(o.NickName) {
- return nil, false
- }
- return o.NickName, true
-}
-
-// HasNickName returns a boolean if a field has been set.
-func (o *MerchantInfo) HasNickName() bool {
- if o != nil && !isNil(o.NickName) {
- return true
- }
-
- return false
-}
-
-// SetNickName gets a reference to the given string and assigns it to the NickName field.
-func (o *MerchantInfo) SetNickName(v string) {
- o.NickName = &v
-}
-
-// GetRegisterTime returns the RegisterTime field value if set, zero value otherwise.
-func (o *MerchantInfo) GetRegisterTime() string {
- if o == nil || isNil(o.RegisterTime) {
- var ret string
- return ret
- }
- return *o.RegisterTime
-}
-
-// GetRegisterTimeOk returns a tuple with the RegisterTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetRegisterTimeOk() (*string, bool) {
- if o == nil || isNil(o.RegisterTime) {
- return nil, false
- }
- return o.RegisterTime, true
-}
-
-// HasRegisterTime returns a boolean if a field has been set.
-func (o *MerchantInfo) HasRegisterTime() bool {
- if o != nil && !isNil(o.RegisterTime) {
- return true
- }
-
- return false
-}
-
-// SetRegisterTime gets a reference to the given string and assigns it to the RegisterTime field.
-func (o *MerchantInfo) SetRegisterTime(v string) {
- o.RegisterTime = &v
-}
-
-// GetThirtyBuy returns the ThirtyBuy field value if set, zero value otherwise.
-func (o *MerchantInfo) GetThirtyBuy() string {
- if o == nil || isNil(o.ThirtyBuy) {
- var ret string
- return ret
- }
- return *o.ThirtyBuy
-}
-
-// GetThirtyBuyOk returns a tuple with the ThirtyBuy field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetThirtyBuyOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyBuy) {
- return nil, false
- }
- return o.ThirtyBuy, true
-}
-
-// HasThirtyBuy returns a boolean if a field has been set.
-func (o *MerchantInfo) HasThirtyBuy() bool {
- if o != nil && !isNil(o.ThirtyBuy) {
- return true
- }
-
- return false
-}
-
-// SetThirtyBuy gets a reference to the given string and assigns it to the ThirtyBuy field.
-func (o *MerchantInfo) SetThirtyBuy(v string) {
- o.ThirtyBuy = &v
-}
-
-// GetThirtyCompletionRate returns the ThirtyCompletionRate field value if set, zero value otherwise.
-func (o *MerchantInfo) GetThirtyCompletionRate() string {
- if o == nil || isNil(o.ThirtyCompletionRate) {
- var ret string
- return ret
- }
- return *o.ThirtyCompletionRate
-}
-
-// GetThirtyCompletionRateOk returns a tuple with the ThirtyCompletionRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetThirtyCompletionRateOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyCompletionRate) {
- return nil, false
- }
- return o.ThirtyCompletionRate, true
-}
-
-// HasThirtyCompletionRate returns a boolean if a field has been set.
-func (o *MerchantInfo) HasThirtyCompletionRate() bool {
- if o != nil && !isNil(o.ThirtyCompletionRate) {
- return true
- }
-
- return false
-}
-
-// SetThirtyCompletionRate gets a reference to the given string and assigns it to the ThirtyCompletionRate field.
-func (o *MerchantInfo) SetThirtyCompletionRate(v string) {
- o.ThirtyCompletionRate = &v
-}
-
-// GetThirtySell returns the ThirtySell field value if set, zero value otherwise.
-func (o *MerchantInfo) GetThirtySell() string {
- if o == nil || isNil(o.ThirtySell) {
- var ret string
- return ret
- }
- return *o.ThirtySell
-}
-
-// GetThirtySellOk returns a tuple with the ThirtySell field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetThirtySellOk() (*string, bool) {
- if o == nil || isNil(o.ThirtySell) {
- return nil, false
- }
- return o.ThirtySell, true
-}
-
-// HasThirtySell returns a boolean if a field has been set.
-func (o *MerchantInfo) HasThirtySell() bool {
- if o != nil && !isNil(o.ThirtySell) {
- return true
- }
-
- return false
-}
-
-// SetThirtySell gets a reference to the given string and assigns it to the ThirtySell field.
-func (o *MerchantInfo) SetThirtySell(v string) {
- o.ThirtySell = &v
-}
-
-// GetThirtyTrades returns the ThirtyTrades field value if set, zero value otherwise.
-func (o *MerchantInfo) GetThirtyTrades() string {
- if o == nil || isNil(o.ThirtyTrades) {
- var ret string
- return ret
- }
- return *o.ThirtyTrades
-}
-
-// GetThirtyTradesOk returns a tuple with the ThirtyTrades field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetThirtyTradesOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyTrades) {
- return nil, false
- }
- return o.ThirtyTrades, true
-}
-
-// HasThirtyTrades returns a boolean if a field has been set.
-func (o *MerchantInfo) HasThirtyTrades() bool {
- if o != nil && !isNil(o.ThirtyTrades) {
- return true
- }
-
- return false
-}
-
-// SetThirtyTrades gets a reference to the given string and assigns it to the ThirtyTrades field.
-func (o *MerchantInfo) SetThirtyTrades(v string) {
- o.ThirtyTrades = &v
-}
-
-// GetTotalBuy returns the TotalBuy field value if set, zero value otherwise.
-func (o *MerchantInfo) GetTotalBuy() string {
- if o == nil || isNil(o.TotalBuy) {
- var ret string
- return ret
- }
- return *o.TotalBuy
-}
-
-// GetTotalBuyOk returns a tuple with the TotalBuy field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetTotalBuyOk() (*string, bool) {
- if o == nil || isNil(o.TotalBuy) {
- return nil, false
- }
- return o.TotalBuy, true
-}
-
-// HasTotalBuy returns a boolean if a field has been set.
-func (o *MerchantInfo) HasTotalBuy() bool {
- if o != nil && !isNil(o.TotalBuy) {
- return true
- }
-
- return false
-}
-
-// SetTotalBuy gets a reference to the given string and assigns it to the TotalBuy field.
-func (o *MerchantInfo) SetTotalBuy(v string) {
- o.TotalBuy = &v
-}
-
-// GetTotalCompletionRate returns the TotalCompletionRate field value if set, zero value otherwise.
-func (o *MerchantInfo) GetTotalCompletionRate() string {
- if o == nil || isNil(o.TotalCompletionRate) {
- var ret string
- return ret
- }
- return *o.TotalCompletionRate
-}
-
-// GetTotalCompletionRateOk returns a tuple with the TotalCompletionRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetTotalCompletionRateOk() (*string, bool) {
- if o == nil || isNil(o.TotalCompletionRate) {
- return nil, false
- }
- return o.TotalCompletionRate, true
-}
-
-// HasTotalCompletionRate returns a boolean if a field has been set.
-func (o *MerchantInfo) HasTotalCompletionRate() bool {
- if o != nil && !isNil(o.TotalCompletionRate) {
- return true
- }
-
- return false
-}
-
-// SetTotalCompletionRate gets a reference to the given string and assigns it to the TotalCompletionRate field.
-func (o *MerchantInfo) SetTotalCompletionRate(v string) {
- o.TotalCompletionRate = &v
-}
-
-// GetTotalSell returns the TotalSell field value if set, zero value otherwise.
-func (o *MerchantInfo) GetTotalSell() string {
- if o == nil || isNil(o.TotalSell) {
- var ret string
- return ret
- }
- return *o.TotalSell
-}
-
-// GetTotalSellOk returns a tuple with the TotalSell field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetTotalSellOk() (*string, bool) {
- if o == nil || isNil(o.TotalSell) {
- return nil, false
- }
- return o.TotalSell, true
-}
-
-// HasTotalSell returns a boolean if a field has been set.
-func (o *MerchantInfo) HasTotalSell() bool {
- if o != nil && !isNil(o.TotalSell) {
- return true
- }
-
- return false
-}
-
-// SetTotalSell gets a reference to the given string and assigns it to the TotalSell field.
-func (o *MerchantInfo) SetTotalSell(v string) {
- o.TotalSell = &v
-}
-
-// GetTotalTrades returns the TotalTrades field value if set, zero value otherwise.
-func (o *MerchantInfo) GetTotalTrades() string {
- if o == nil || isNil(o.TotalTrades) {
- var ret string
- return ret
- }
- return *o.TotalTrades
-}
-
-// GetTotalTradesOk returns a tuple with the TotalTrades field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfo) GetTotalTradesOk() (*string, bool) {
- if o == nil || isNil(o.TotalTrades) {
- return nil, false
- }
- return o.TotalTrades, true
-}
-
-// HasTotalTrades returns a boolean if a field has been set.
-func (o *MerchantInfo) HasTotalTrades() bool {
- if o != nil && !isNil(o.TotalTrades) {
- return true
- }
-
- return false
-}
-
-// SetTotalTrades gets a reference to the given string and assigns it to the TotalTrades field.
-func (o *MerchantInfo) SetTotalTrades(v string) {
- o.TotalTrades = &v
-}
-
-func (o MerchantInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AveragePayment) {
- toSerialize["averagePayment"] = o.AveragePayment
- }
- if !isNil(o.AverageRealese) {
- toSerialize["averageRealese"] = o.AverageRealese
- }
- if !isNil(o.IsOnline) {
- toSerialize["isOnline"] = o.IsOnline
- }
- if !isNil(o.MerchantId) {
- toSerialize["merchantId"] = o.MerchantId
- }
- if !isNil(o.NickName) {
- toSerialize["nickName"] = o.NickName
- }
- if !isNil(o.RegisterTime) {
- toSerialize["registerTime"] = o.RegisterTime
- }
- if !isNil(o.ThirtyBuy) {
- toSerialize["thirtyBuy"] = o.ThirtyBuy
- }
- if !isNil(o.ThirtyCompletionRate) {
- toSerialize["thirtyCompletionRate"] = o.ThirtyCompletionRate
- }
- if !isNil(o.ThirtySell) {
- toSerialize["thirtySell"] = o.ThirtySell
- }
- if !isNil(o.ThirtyTrades) {
- toSerialize["thirtyTrades"] = o.ThirtyTrades
- }
- if !isNil(o.TotalBuy) {
- toSerialize["totalBuy"] = o.TotalBuy
- }
- if !isNil(o.TotalCompletionRate) {
- toSerialize["totalCompletionRate"] = o.TotalCompletionRate
- }
- if !isNil(o.TotalSell) {
- toSerialize["totalSell"] = o.TotalSell
- }
- if !isNil(o.TotalTrades) {
- toSerialize["totalTrades"] = o.TotalTrades
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantInfo := _MerchantInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantInfo); err == nil {
- *o = MerchantInfo(varMerchantInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "averagePayment")
- delete(additionalProperties, "averageRealese")
- delete(additionalProperties, "isOnline")
- delete(additionalProperties, "merchantId")
- delete(additionalProperties, "nickName")
- delete(additionalProperties, "registerTime")
- delete(additionalProperties, "thirtyBuy")
- delete(additionalProperties, "thirtyCompletionRate")
- delete(additionalProperties, "thirtySell")
- delete(additionalProperties, "thirtyTrades")
- delete(additionalProperties, "totalBuy")
- delete(additionalProperties, "totalCompletionRate")
- delete(additionalProperties, "totalSell")
- delete(additionalProperties, "totalTrades")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantInfo struct {
- value *MerchantInfo
- isSet bool
-}
-
-func (v NullableMerchantInfo) Get() *MerchantInfo {
- return v.value
-}
-
-func (v *NullableMerchantInfo) Set(val *MerchantInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantInfo(val *MerchantInfo) *NullableMerchantInfo {
- return &NullableMerchantInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_info_result.go b/bitget-goland-sdk-open-api/model_merchant_info_result.go
deleted file mode 100644
index 3857ef8b..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_info_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantInfoResult struct for MerchantInfoResult
-type MerchantInfoResult struct {
- MinId *string `json:"minId,omitempty"`
- ResultList []MerchantInfo `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantInfoResult MerchantInfoResult
-
-// NewMerchantInfoResult instantiates a new MerchantInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantInfoResult() *MerchantInfoResult {
- this := MerchantInfoResult{}
- return &this
-}
-
-// NewMerchantInfoResultWithDefaults instantiates a new MerchantInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantInfoResultWithDefaults() *MerchantInfoResult {
- this := MerchantInfoResult{}
- return &this
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MerchantInfoResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfoResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MerchantInfoResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MerchantInfoResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MerchantInfoResult) GetResultList() []MerchantInfo {
- if o == nil || isNil(o.ResultList) {
- var ret []MerchantInfo
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantInfoResult) GetResultListOk() ([]MerchantInfo, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MerchantInfoResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MerchantInfo and assigns it to the ResultList field.
-func (o *MerchantInfoResult) SetResultList(v []MerchantInfo) {
- o.ResultList = v
-}
-
-func (o MerchantInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantInfoResult := _MerchantInfoResult{}
-
- if err = json.Unmarshal(bytes, &varMerchantInfoResult); err == nil {
- *o = MerchantInfoResult(varMerchantInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantInfoResult struct {
- value *MerchantInfoResult
- isSet bool
-}
-
-func (v NullableMerchantInfoResult) Get() *MerchantInfoResult {
- return v.value
-}
-
-func (v *NullableMerchantInfoResult) Set(val *MerchantInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantInfoResult(val *MerchantInfoResult) *NullableMerchantInfoResult {
- return &NullableMerchantInfoResult{value: val, isSet: true}
-}
-
-func (v NullableMerchantInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_order_info.go b/bitget-goland-sdk-open-api/model_merchant_order_info.go
deleted file mode 100644
index fb6811e0..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_order_info.go
+++ /dev/null
@@ -1,767 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantOrderInfo struct for MerchantOrderInfo
-type MerchantOrderInfo struct {
- AdvNo *string `json:"advNo,omitempty"`
- Amount *string `json:"amount,omitempty"`
- BuyerRealName *string `json:"buyerRealName,omitempty"`
- Coin *string `json:"coin,omitempty"`
- Count *string `json:"count,omitempty"`
- Ctime *string `json:"ctime,omitempty"`
- Fiat *string `json:"fiat,omitempty"`
- OrderId *string `json:"orderId,omitempty"`
- OrderNo *string `json:"orderNo,omitempty"`
- PaymentInfo *MerchantOrderPaymentInfo `json:"paymentInfo,omitempty"`
- PaymentTime *string `json:"paymentTime,omitempty"`
- Price *string `json:"price,omitempty"`
- ReleaseCoinTime *string `json:"releaseCoinTime,omitempty"`
- RepresentTime *string `json:"representTime,omitempty"`
- SellerRealName *string `json:"sellerRealName,omitempty"`
- Status *string `json:"status,omitempty"`
- Type *string `json:"type,omitempty"`
- WithdrawTime *string `json:"withdrawTime,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantOrderInfo MerchantOrderInfo
-
-// NewMerchantOrderInfo instantiates a new MerchantOrderInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantOrderInfo() *MerchantOrderInfo {
- this := MerchantOrderInfo{}
- return &this
-}
-
-// NewMerchantOrderInfoWithDefaults instantiates a new MerchantOrderInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantOrderInfoWithDefaults() *MerchantOrderInfo {
- this := MerchantOrderInfo{}
- return &this
-}
-
-// GetAdvNo returns the AdvNo field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetAdvNo() string {
- if o == nil || isNil(o.AdvNo) {
- var ret string
- return ret
- }
- return *o.AdvNo
-}
-
-// GetAdvNoOk returns a tuple with the AdvNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetAdvNoOk() (*string, bool) {
- if o == nil || isNil(o.AdvNo) {
- return nil, false
- }
- return o.AdvNo, true
-}
-
-// HasAdvNo returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasAdvNo() bool {
- if o != nil && !isNil(o.AdvNo) {
- return true
- }
-
- return false
-}
-
-// SetAdvNo gets a reference to the given string and assigns it to the AdvNo field.
-func (o *MerchantOrderInfo) SetAdvNo(v string) {
- o.AdvNo = &v
-}
-
-// GetAmount returns the Amount field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetAmount() string {
- if o == nil || isNil(o.Amount) {
- var ret string
- return ret
- }
- return *o.Amount
-}
-
-// GetAmountOk returns a tuple with the Amount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetAmountOk() (*string, bool) {
- if o == nil || isNil(o.Amount) {
- return nil, false
- }
- return o.Amount, true
-}
-
-// HasAmount returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasAmount() bool {
- if o != nil && !isNil(o.Amount) {
- return true
- }
-
- return false
-}
-
-// SetAmount gets a reference to the given string and assigns it to the Amount field.
-func (o *MerchantOrderInfo) SetAmount(v string) {
- o.Amount = &v
-}
-
-// GetBuyerRealName returns the BuyerRealName field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetBuyerRealName() string {
- if o == nil || isNil(o.BuyerRealName) {
- var ret string
- return ret
- }
- return *o.BuyerRealName
-}
-
-// GetBuyerRealNameOk returns a tuple with the BuyerRealName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetBuyerRealNameOk() (*string, bool) {
- if o == nil || isNil(o.BuyerRealName) {
- return nil, false
- }
- return o.BuyerRealName, true
-}
-
-// HasBuyerRealName returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasBuyerRealName() bool {
- if o != nil && !isNil(o.BuyerRealName) {
- return true
- }
-
- return false
-}
-
-// SetBuyerRealName gets a reference to the given string and assigns it to the BuyerRealName field.
-func (o *MerchantOrderInfo) SetBuyerRealName(v string) {
- o.BuyerRealName = &v
-}
-
-// GetCoin returns the Coin field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetCoin() string {
- if o == nil || isNil(o.Coin) {
- var ret string
- return ret
- }
- return *o.Coin
-}
-
-// GetCoinOk returns a tuple with the Coin field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetCoinOk() (*string, bool) {
- if o == nil || isNil(o.Coin) {
- return nil, false
- }
- return o.Coin, true
-}
-
-// HasCoin returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasCoin() bool {
- if o != nil && !isNil(o.Coin) {
- return true
- }
-
- return false
-}
-
-// SetCoin gets a reference to the given string and assigns it to the Coin field.
-func (o *MerchantOrderInfo) SetCoin(v string) {
- o.Coin = &v
-}
-
-// GetCount returns the Count field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetCount() string {
- if o == nil || isNil(o.Count) {
- var ret string
- return ret
- }
- return *o.Count
-}
-
-// GetCountOk returns a tuple with the Count field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetCountOk() (*string, bool) {
- if o == nil || isNil(o.Count) {
- return nil, false
- }
- return o.Count, true
-}
-
-// HasCount returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasCount() bool {
- if o != nil && !isNil(o.Count) {
- return true
- }
-
- return false
-}
-
-// SetCount gets a reference to the given string and assigns it to the Count field.
-func (o *MerchantOrderInfo) SetCount(v string) {
- o.Count = &v
-}
-
-// GetCtime returns the Ctime field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetCtime() string {
- if o == nil || isNil(o.Ctime) {
- var ret string
- return ret
- }
- return *o.Ctime
-}
-
-// GetCtimeOk returns a tuple with the Ctime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetCtimeOk() (*string, bool) {
- if o == nil || isNil(o.Ctime) {
- return nil, false
- }
- return o.Ctime, true
-}
-
-// HasCtime returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasCtime() bool {
- if o != nil && !isNil(o.Ctime) {
- return true
- }
-
- return false
-}
-
-// SetCtime gets a reference to the given string and assigns it to the Ctime field.
-func (o *MerchantOrderInfo) SetCtime(v string) {
- o.Ctime = &v
-}
-
-// GetFiat returns the Fiat field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetFiat() string {
- if o == nil || isNil(o.Fiat) {
- var ret string
- return ret
- }
- return *o.Fiat
-}
-
-// GetFiatOk returns a tuple with the Fiat field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetFiatOk() (*string, bool) {
- if o == nil || isNil(o.Fiat) {
- return nil, false
- }
- return o.Fiat, true
-}
-
-// HasFiat returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasFiat() bool {
- if o != nil && !isNil(o.Fiat) {
- return true
- }
-
- return false
-}
-
-// SetFiat gets a reference to the given string and assigns it to the Fiat field.
-func (o *MerchantOrderInfo) SetFiat(v string) {
- o.Fiat = &v
-}
-
-// GetOrderId returns the OrderId field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetOrderId() string {
- if o == nil || isNil(o.OrderId) {
- var ret string
- return ret
- }
- return *o.OrderId
-}
-
-// GetOrderIdOk returns a tuple with the OrderId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetOrderIdOk() (*string, bool) {
- if o == nil || isNil(o.OrderId) {
- return nil, false
- }
- return o.OrderId, true
-}
-
-// HasOrderId returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasOrderId() bool {
- if o != nil && !isNil(o.OrderId) {
- return true
- }
-
- return false
-}
-
-// SetOrderId gets a reference to the given string and assigns it to the OrderId field.
-func (o *MerchantOrderInfo) SetOrderId(v string) {
- o.OrderId = &v
-}
-
-// GetOrderNo returns the OrderNo field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetOrderNo() string {
- if o == nil || isNil(o.OrderNo) {
- var ret string
- return ret
- }
- return *o.OrderNo
-}
-
-// GetOrderNoOk returns a tuple with the OrderNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetOrderNoOk() (*string, bool) {
- if o == nil || isNil(o.OrderNo) {
- return nil, false
- }
- return o.OrderNo, true
-}
-
-// HasOrderNo returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasOrderNo() bool {
- if o != nil && !isNil(o.OrderNo) {
- return true
- }
-
- return false
-}
-
-// SetOrderNo gets a reference to the given string and assigns it to the OrderNo field.
-func (o *MerchantOrderInfo) SetOrderNo(v string) {
- o.OrderNo = &v
-}
-
-// GetPaymentInfo returns the PaymentInfo field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetPaymentInfo() MerchantOrderPaymentInfo {
- if o == nil || isNil(o.PaymentInfo) {
- var ret MerchantOrderPaymentInfo
- return ret
- }
- return *o.PaymentInfo
-}
-
-// GetPaymentInfoOk returns a tuple with the PaymentInfo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetPaymentInfoOk() (*MerchantOrderPaymentInfo, bool) {
- if o == nil || isNil(o.PaymentInfo) {
- return nil, false
- }
- return o.PaymentInfo, true
-}
-
-// HasPaymentInfo returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasPaymentInfo() bool {
- if o != nil && !isNil(o.PaymentInfo) {
- return true
- }
-
- return false
-}
-
-// SetPaymentInfo gets a reference to the given MerchantOrderPaymentInfo and assigns it to the PaymentInfo field.
-func (o *MerchantOrderInfo) SetPaymentInfo(v MerchantOrderPaymentInfo) {
- o.PaymentInfo = &v
-}
-
-// GetPaymentTime returns the PaymentTime field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetPaymentTime() string {
- if o == nil || isNil(o.PaymentTime) {
- var ret string
- return ret
- }
- return *o.PaymentTime
-}
-
-// GetPaymentTimeOk returns a tuple with the PaymentTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetPaymentTimeOk() (*string, bool) {
- if o == nil || isNil(o.PaymentTime) {
- return nil, false
- }
- return o.PaymentTime, true
-}
-
-// HasPaymentTime returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasPaymentTime() bool {
- if o != nil && !isNil(o.PaymentTime) {
- return true
- }
-
- return false
-}
-
-// SetPaymentTime gets a reference to the given string and assigns it to the PaymentTime field.
-func (o *MerchantOrderInfo) SetPaymentTime(v string) {
- o.PaymentTime = &v
-}
-
-// GetPrice returns the Price field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetPrice() string {
- if o == nil || isNil(o.Price) {
- var ret string
- return ret
- }
- return *o.Price
-}
-
-// GetPriceOk returns a tuple with the Price field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetPriceOk() (*string, bool) {
- if o == nil || isNil(o.Price) {
- return nil, false
- }
- return o.Price, true
-}
-
-// HasPrice returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasPrice() bool {
- if o != nil && !isNil(o.Price) {
- return true
- }
-
- return false
-}
-
-// SetPrice gets a reference to the given string and assigns it to the Price field.
-func (o *MerchantOrderInfo) SetPrice(v string) {
- o.Price = &v
-}
-
-// GetReleaseCoinTime returns the ReleaseCoinTime field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetReleaseCoinTime() string {
- if o == nil || isNil(o.ReleaseCoinTime) {
- var ret string
- return ret
- }
- return *o.ReleaseCoinTime
-}
-
-// GetReleaseCoinTimeOk returns a tuple with the ReleaseCoinTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetReleaseCoinTimeOk() (*string, bool) {
- if o == nil || isNil(o.ReleaseCoinTime) {
- return nil, false
- }
- return o.ReleaseCoinTime, true
-}
-
-// HasReleaseCoinTime returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasReleaseCoinTime() bool {
- if o != nil && !isNil(o.ReleaseCoinTime) {
- return true
- }
-
- return false
-}
-
-// SetReleaseCoinTime gets a reference to the given string and assigns it to the ReleaseCoinTime field.
-func (o *MerchantOrderInfo) SetReleaseCoinTime(v string) {
- o.ReleaseCoinTime = &v
-}
-
-// GetRepresentTime returns the RepresentTime field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetRepresentTime() string {
- if o == nil || isNil(o.RepresentTime) {
- var ret string
- return ret
- }
- return *o.RepresentTime
-}
-
-// GetRepresentTimeOk returns a tuple with the RepresentTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetRepresentTimeOk() (*string, bool) {
- if o == nil || isNil(o.RepresentTime) {
- return nil, false
- }
- return o.RepresentTime, true
-}
-
-// HasRepresentTime returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasRepresentTime() bool {
- if o != nil && !isNil(o.RepresentTime) {
- return true
- }
-
- return false
-}
-
-// SetRepresentTime gets a reference to the given string and assigns it to the RepresentTime field.
-func (o *MerchantOrderInfo) SetRepresentTime(v string) {
- o.RepresentTime = &v
-}
-
-// GetSellerRealName returns the SellerRealName field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetSellerRealName() string {
- if o == nil || isNil(o.SellerRealName) {
- var ret string
- return ret
- }
- return *o.SellerRealName
-}
-
-// GetSellerRealNameOk returns a tuple with the SellerRealName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetSellerRealNameOk() (*string, bool) {
- if o == nil || isNil(o.SellerRealName) {
- return nil, false
- }
- return o.SellerRealName, true
-}
-
-// HasSellerRealName returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasSellerRealName() bool {
- if o != nil && !isNil(o.SellerRealName) {
- return true
- }
-
- return false
-}
-
-// SetSellerRealName gets a reference to the given string and assigns it to the SellerRealName field.
-func (o *MerchantOrderInfo) SetSellerRealName(v string) {
- o.SellerRealName = &v
-}
-
-// GetStatus returns the Status field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetStatus() string {
- if o == nil || isNil(o.Status) {
- var ret string
- return ret
- }
- return *o.Status
-}
-
-// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetStatusOk() (*string, bool) {
- if o == nil || isNil(o.Status) {
- return nil, false
- }
- return o.Status, true
-}
-
-// HasStatus returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasStatus() bool {
- if o != nil && !isNil(o.Status) {
- return true
- }
-
- return false
-}
-
-// SetStatus gets a reference to the given string and assigns it to the Status field.
-func (o *MerchantOrderInfo) SetStatus(v string) {
- o.Status = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *MerchantOrderInfo) SetType(v string) {
- o.Type = &v
-}
-
-// GetWithdrawTime returns the WithdrawTime field value if set, zero value otherwise.
-func (o *MerchantOrderInfo) GetWithdrawTime() string {
- if o == nil || isNil(o.WithdrawTime) {
- var ret string
- return ret
- }
- return *o.WithdrawTime
-}
-
-// GetWithdrawTimeOk returns a tuple with the WithdrawTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderInfo) GetWithdrawTimeOk() (*string, bool) {
- if o == nil || isNil(o.WithdrawTime) {
- return nil, false
- }
- return o.WithdrawTime, true
-}
-
-// HasWithdrawTime returns a boolean if a field has been set.
-func (o *MerchantOrderInfo) HasWithdrawTime() bool {
- if o != nil && !isNil(o.WithdrawTime) {
- return true
- }
-
- return false
-}
-
-// SetWithdrawTime gets a reference to the given string and assigns it to the WithdrawTime field.
-func (o *MerchantOrderInfo) SetWithdrawTime(v string) {
- o.WithdrawTime = &v
-}
-
-func (o MerchantOrderInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AdvNo) {
- toSerialize["advNo"] = o.AdvNo
- }
- if !isNil(o.Amount) {
- toSerialize["amount"] = o.Amount
- }
- if !isNil(o.BuyerRealName) {
- toSerialize["buyerRealName"] = o.BuyerRealName
- }
- if !isNil(o.Coin) {
- toSerialize["coin"] = o.Coin
- }
- if !isNil(o.Count) {
- toSerialize["count"] = o.Count
- }
- if !isNil(o.Ctime) {
- toSerialize["ctime"] = o.Ctime
- }
- if !isNil(o.Fiat) {
- toSerialize["fiat"] = o.Fiat
- }
- if !isNil(o.OrderId) {
- toSerialize["orderId"] = o.OrderId
- }
- if !isNil(o.OrderNo) {
- toSerialize["orderNo"] = o.OrderNo
- }
- if !isNil(o.PaymentInfo) {
- toSerialize["paymentInfo"] = o.PaymentInfo
- }
- if !isNil(o.PaymentTime) {
- toSerialize["paymentTime"] = o.PaymentTime
- }
- if !isNil(o.Price) {
- toSerialize["price"] = o.Price
- }
- if !isNil(o.ReleaseCoinTime) {
- toSerialize["releaseCoinTime"] = o.ReleaseCoinTime
- }
- if !isNil(o.RepresentTime) {
- toSerialize["representTime"] = o.RepresentTime
- }
- if !isNil(o.SellerRealName) {
- toSerialize["sellerRealName"] = o.SellerRealName
- }
- if !isNil(o.Status) {
- toSerialize["status"] = o.Status
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
- if !isNil(o.WithdrawTime) {
- toSerialize["withdrawTime"] = o.WithdrawTime
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantOrderInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantOrderInfo := _MerchantOrderInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantOrderInfo); err == nil {
- *o = MerchantOrderInfo(varMerchantOrderInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "advNo")
- delete(additionalProperties, "amount")
- delete(additionalProperties, "buyerRealName")
- delete(additionalProperties, "coin")
- delete(additionalProperties, "count")
- delete(additionalProperties, "ctime")
- delete(additionalProperties, "fiat")
- delete(additionalProperties, "orderId")
- delete(additionalProperties, "orderNo")
- delete(additionalProperties, "paymentInfo")
- delete(additionalProperties, "paymentTime")
- delete(additionalProperties, "price")
- delete(additionalProperties, "releaseCoinTime")
- delete(additionalProperties, "representTime")
- delete(additionalProperties, "sellerRealName")
- delete(additionalProperties, "status")
- delete(additionalProperties, "type")
- delete(additionalProperties, "withdrawTime")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantOrderInfo struct {
- value *MerchantOrderInfo
- isSet bool
-}
-
-func (v NullableMerchantOrderInfo) Get() *MerchantOrderInfo {
- return v.value
-}
-
-func (v *NullableMerchantOrderInfo) Set(val *MerchantOrderInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantOrderInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantOrderInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantOrderInfo(val *MerchantOrderInfo) *NullableMerchantOrderInfo {
- return &NullableMerchantOrderInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantOrderInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantOrderInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_order_payment_info.go b/bitget-goland-sdk-open-api/model_merchant_order_payment_info.go
deleted file mode 100644
index 6adbcbbe..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_order_payment_info.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantOrderPaymentInfo struct for MerchantOrderPaymentInfo
-type MerchantOrderPaymentInfo struct {
- PaymethodId *string `json:"paymethodId,omitempty"`
- PaymethodInfo []OrderPaymentDetailInfo `json:"paymethodInfo,omitempty"`
- PaymethodName *string `json:"paymethodName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantOrderPaymentInfo MerchantOrderPaymentInfo
-
-// NewMerchantOrderPaymentInfo instantiates a new MerchantOrderPaymentInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantOrderPaymentInfo() *MerchantOrderPaymentInfo {
- this := MerchantOrderPaymentInfo{}
- return &this
-}
-
-// NewMerchantOrderPaymentInfoWithDefaults instantiates a new MerchantOrderPaymentInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantOrderPaymentInfoWithDefaults() *MerchantOrderPaymentInfo {
- this := MerchantOrderPaymentInfo{}
- return &this
-}
-
-// GetPaymethodId returns the PaymethodId field value if set, zero value otherwise.
-func (o *MerchantOrderPaymentInfo) GetPaymethodId() string {
- if o == nil || isNil(o.PaymethodId) {
- var ret string
- return ret
- }
- return *o.PaymethodId
-}
-
-// GetPaymethodIdOk returns a tuple with the PaymethodId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderPaymentInfo) GetPaymethodIdOk() (*string, bool) {
- if o == nil || isNil(o.PaymethodId) {
- return nil, false
- }
- return o.PaymethodId, true
-}
-
-// HasPaymethodId returns a boolean if a field has been set.
-func (o *MerchantOrderPaymentInfo) HasPaymethodId() bool {
- if o != nil && !isNil(o.PaymethodId) {
- return true
- }
-
- return false
-}
-
-// SetPaymethodId gets a reference to the given string and assigns it to the PaymethodId field.
-func (o *MerchantOrderPaymentInfo) SetPaymethodId(v string) {
- o.PaymethodId = &v
-}
-
-// GetPaymethodInfo returns the PaymethodInfo field value if set, zero value otherwise.
-func (o *MerchantOrderPaymentInfo) GetPaymethodInfo() []OrderPaymentDetailInfo {
- if o == nil || isNil(o.PaymethodInfo) {
- var ret []OrderPaymentDetailInfo
- return ret
- }
- return o.PaymethodInfo
-}
-
-// GetPaymethodInfoOk returns a tuple with the PaymethodInfo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderPaymentInfo) GetPaymethodInfoOk() ([]OrderPaymentDetailInfo, bool) {
- if o == nil || isNil(o.PaymethodInfo) {
- return nil, false
- }
- return o.PaymethodInfo, true
-}
-
-// HasPaymethodInfo returns a boolean if a field has been set.
-func (o *MerchantOrderPaymentInfo) HasPaymethodInfo() bool {
- if o != nil && !isNil(o.PaymethodInfo) {
- return true
- }
-
- return false
-}
-
-// SetPaymethodInfo gets a reference to the given []OrderPaymentDetailInfo and assigns it to the PaymethodInfo field.
-func (o *MerchantOrderPaymentInfo) SetPaymethodInfo(v []OrderPaymentDetailInfo) {
- o.PaymethodInfo = v
-}
-
-// GetPaymethodName returns the PaymethodName field value if set, zero value otherwise.
-func (o *MerchantOrderPaymentInfo) GetPaymethodName() string {
- if o == nil || isNil(o.PaymethodName) {
- var ret string
- return ret
- }
- return *o.PaymethodName
-}
-
-// GetPaymethodNameOk returns a tuple with the PaymethodName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderPaymentInfo) GetPaymethodNameOk() (*string, bool) {
- if o == nil || isNil(o.PaymethodName) {
- return nil, false
- }
- return o.PaymethodName, true
-}
-
-// HasPaymethodName returns a boolean if a field has been set.
-func (o *MerchantOrderPaymentInfo) HasPaymethodName() bool {
- if o != nil && !isNil(o.PaymethodName) {
- return true
- }
-
- return false
-}
-
-// SetPaymethodName gets a reference to the given string and assigns it to the PaymethodName field.
-func (o *MerchantOrderPaymentInfo) SetPaymethodName(v string) {
- o.PaymethodName = &v
-}
-
-func (o MerchantOrderPaymentInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PaymethodId) {
- toSerialize["paymethodId"] = o.PaymethodId
- }
- if !isNil(o.PaymethodInfo) {
- toSerialize["paymethodInfo"] = o.PaymethodInfo
- }
- if !isNil(o.PaymethodName) {
- toSerialize["paymethodName"] = o.PaymethodName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantOrderPaymentInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantOrderPaymentInfo := _MerchantOrderPaymentInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantOrderPaymentInfo); err == nil {
- *o = MerchantOrderPaymentInfo(varMerchantOrderPaymentInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "paymethodId")
- delete(additionalProperties, "paymethodInfo")
- delete(additionalProperties, "paymethodName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantOrderPaymentInfo struct {
- value *MerchantOrderPaymentInfo
- isSet bool
-}
-
-func (v NullableMerchantOrderPaymentInfo) Get() *MerchantOrderPaymentInfo {
- return v.value
-}
-
-func (v *NullableMerchantOrderPaymentInfo) Set(val *MerchantOrderPaymentInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantOrderPaymentInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantOrderPaymentInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantOrderPaymentInfo(val *MerchantOrderPaymentInfo) *NullableMerchantOrderPaymentInfo {
- return &NullableMerchantOrderPaymentInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantOrderPaymentInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantOrderPaymentInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_order_result.go b/bitget-goland-sdk-open-api/model_merchant_order_result.go
deleted file mode 100644
index a70483aa..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_order_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantOrderResult struct for MerchantOrderResult
-type MerchantOrderResult struct {
- MinId *string `json:"minId,omitempty"`
- OrderList []MerchantOrderInfo `json:"orderList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantOrderResult MerchantOrderResult
-
-// NewMerchantOrderResult instantiates a new MerchantOrderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantOrderResult() *MerchantOrderResult {
- this := MerchantOrderResult{}
- return &this
-}
-
-// NewMerchantOrderResultWithDefaults instantiates a new MerchantOrderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantOrderResultWithDefaults() *MerchantOrderResult {
- this := MerchantOrderResult{}
- return &this
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *MerchantOrderResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *MerchantOrderResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *MerchantOrderResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetOrderList returns the OrderList field value if set, zero value otherwise.
-func (o *MerchantOrderResult) GetOrderList() []MerchantOrderInfo {
- if o == nil || isNil(o.OrderList) {
- var ret []MerchantOrderInfo
- return ret
- }
- return o.OrderList
-}
-
-// GetOrderListOk returns a tuple with the OrderList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantOrderResult) GetOrderListOk() ([]MerchantOrderInfo, bool) {
- if o == nil || isNil(o.OrderList) {
- return nil, false
- }
- return o.OrderList, true
-}
-
-// HasOrderList returns a boolean if a field has been set.
-func (o *MerchantOrderResult) HasOrderList() bool {
- if o != nil && !isNil(o.OrderList) {
- return true
- }
-
- return false
-}
-
-// SetOrderList gets a reference to the given []MerchantOrderInfo and assigns it to the OrderList field.
-func (o *MerchantOrderResult) SetOrderList(v []MerchantOrderInfo) {
- o.OrderList = v
-}
-
-func (o MerchantOrderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.OrderList) {
- toSerialize["orderList"] = o.OrderList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantOrderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantOrderResult := _MerchantOrderResult{}
-
- if err = json.Unmarshal(bytes, &varMerchantOrderResult); err == nil {
- *o = MerchantOrderResult(varMerchantOrderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "minId")
- delete(additionalProperties, "orderList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantOrderResult struct {
- value *MerchantOrderResult
- isSet bool
-}
-
-func (v NullableMerchantOrderResult) Get() *MerchantOrderResult {
- return v.value
-}
-
-func (v *NullableMerchantOrderResult) Set(val *MerchantOrderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantOrderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantOrderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantOrderResult(val *MerchantOrderResult) *NullableMerchantOrderResult {
- return &NullableMerchantOrderResult{value: val, isSet: true}
-}
-
-func (v NullableMerchantOrderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantOrderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_merchant_person_info.go b/bitget-goland-sdk-open-api/model_merchant_person_info.go
deleted file mode 100644
index 21feeb74..00000000
--- a/bitget-goland-sdk-open-api/model_merchant_person_info.go
+++ /dev/null
@@ -1,804 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MerchantPersonInfo struct for MerchantPersonInfo
-type MerchantPersonInfo struct {
- AveragePayment *string `json:"averagePayment,omitempty"`
- AverageRealese *string `json:"averageRealese,omitempty"`
- Email *string `json:"email,omitempty"`
- EmailBindFlag *bool `json:"emailBindFlag,omitempty"`
- KycFlag *bool `json:"kycFlag,omitempty"`
- MerchantId *string `json:"merchantId,omitempty"`
- Mobile *string `json:"mobile,omitempty"`
- MobileBindFlag *bool `json:"mobileBindFlag,omitempty"`
- NickName *string `json:"nickName,omitempty"`
- RealName *string `json:"realName,omitempty"`
- RegisterTime *string `json:"registerTime,omitempty"`
- ThirtyBuy *string `json:"thirtyBuy,omitempty"`
- ThirtyCompletionRate *string `json:"thirtyCompletionRate,omitempty"`
- ThirtySell *string `json:"thirtySell,omitempty"`
- ThirtyTrades *string `json:"thirtyTrades,omitempty"`
- TotalBuy *string `json:"totalBuy,omitempty"`
- TotalCompletionRate *string `json:"totalCompletionRate,omitempty"`
- TotalSell *string `json:"totalSell,omitempty"`
- TotalTrades *string `json:"totalTrades,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MerchantPersonInfo MerchantPersonInfo
-
-// NewMerchantPersonInfo instantiates a new MerchantPersonInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMerchantPersonInfo() *MerchantPersonInfo {
- this := MerchantPersonInfo{}
- return &this
-}
-
-// NewMerchantPersonInfoWithDefaults instantiates a new MerchantPersonInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMerchantPersonInfoWithDefaults() *MerchantPersonInfo {
- this := MerchantPersonInfo{}
- return &this
-}
-
-// GetAveragePayment returns the AveragePayment field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetAveragePayment() string {
- if o == nil || isNil(o.AveragePayment) {
- var ret string
- return ret
- }
- return *o.AveragePayment
-}
-
-// GetAveragePaymentOk returns a tuple with the AveragePayment field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetAveragePaymentOk() (*string, bool) {
- if o == nil || isNil(o.AveragePayment) {
- return nil, false
- }
- return o.AveragePayment, true
-}
-
-// HasAveragePayment returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasAveragePayment() bool {
- if o != nil && !isNil(o.AveragePayment) {
- return true
- }
-
- return false
-}
-
-// SetAveragePayment gets a reference to the given string and assigns it to the AveragePayment field.
-func (o *MerchantPersonInfo) SetAveragePayment(v string) {
- o.AveragePayment = &v
-}
-
-// GetAverageRealese returns the AverageRealese field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetAverageRealese() string {
- if o == nil || isNil(o.AverageRealese) {
- var ret string
- return ret
- }
- return *o.AverageRealese
-}
-
-// GetAverageRealeseOk returns a tuple with the AverageRealese field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetAverageRealeseOk() (*string, bool) {
- if o == nil || isNil(o.AverageRealese) {
- return nil, false
- }
- return o.AverageRealese, true
-}
-
-// HasAverageRealese returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasAverageRealese() bool {
- if o != nil && !isNil(o.AverageRealese) {
- return true
- }
-
- return false
-}
-
-// SetAverageRealese gets a reference to the given string and assigns it to the AverageRealese field.
-func (o *MerchantPersonInfo) SetAverageRealese(v string) {
- o.AverageRealese = &v
-}
-
-// GetEmail returns the Email field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetEmail() string {
- if o == nil || isNil(o.Email) {
- var ret string
- return ret
- }
- return *o.Email
-}
-
-// GetEmailOk returns a tuple with the Email field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetEmailOk() (*string, bool) {
- if o == nil || isNil(o.Email) {
- return nil, false
- }
- return o.Email, true
-}
-
-// HasEmail returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasEmail() bool {
- if o != nil && !isNil(o.Email) {
- return true
- }
-
- return false
-}
-
-// SetEmail gets a reference to the given string and assigns it to the Email field.
-func (o *MerchantPersonInfo) SetEmail(v string) {
- o.Email = &v
-}
-
-// GetEmailBindFlag returns the EmailBindFlag field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetEmailBindFlag() bool {
- if o == nil || isNil(o.EmailBindFlag) {
- var ret bool
- return ret
- }
- return *o.EmailBindFlag
-}
-
-// GetEmailBindFlagOk returns a tuple with the EmailBindFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetEmailBindFlagOk() (*bool, bool) {
- if o == nil || isNil(o.EmailBindFlag) {
- return nil, false
- }
- return o.EmailBindFlag, true
-}
-
-// HasEmailBindFlag returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasEmailBindFlag() bool {
- if o != nil && !isNil(o.EmailBindFlag) {
- return true
- }
-
- return false
-}
-
-// SetEmailBindFlag gets a reference to the given bool and assigns it to the EmailBindFlag field.
-func (o *MerchantPersonInfo) SetEmailBindFlag(v bool) {
- o.EmailBindFlag = &v
-}
-
-// GetKycFlag returns the KycFlag field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetKycFlag() bool {
- if o == nil || isNil(o.KycFlag) {
- var ret bool
- return ret
- }
- return *o.KycFlag
-}
-
-// GetKycFlagOk returns a tuple with the KycFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetKycFlagOk() (*bool, bool) {
- if o == nil || isNil(o.KycFlag) {
- return nil, false
- }
- return o.KycFlag, true
-}
-
-// HasKycFlag returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasKycFlag() bool {
- if o != nil && !isNil(o.KycFlag) {
- return true
- }
-
- return false
-}
-
-// SetKycFlag gets a reference to the given bool and assigns it to the KycFlag field.
-func (o *MerchantPersonInfo) SetKycFlag(v bool) {
- o.KycFlag = &v
-}
-
-// GetMerchantId returns the MerchantId field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetMerchantId() string {
- if o == nil || isNil(o.MerchantId) {
- var ret string
- return ret
- }
- return *o.MerchantId
-}
-
-// GetMerchantIdOk returns a tuple with the MerchantId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetMerchantIdOk() (*string, bool) {
- if o == nil || isNil(o.MerchantId) {
- return nil, false
- }
- return o.MerchantId, true
-}
-
-// HasMerchantId returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasMerchantId() bool {
- if o != nil && !isNil(o.MerchantId) {
- return true
- }
-
- return false
-}
-
-// SetMerchantId gets a reference to the given string and assigns it to the MerchantId field.
-func (o *MerchantPersonInfo) SetMerchantId(v string) {
- o.MerchantId = &v
-}
-
-// GetMobile returns the Mobile field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetMobile() string {
- if o == nil || isNil(o.Mobile) {
- var ret string
- return ret
- }
- return *o.Mobile
-}
-
-// GetMobileOk returns a tuple with the Mobile field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetMobileOk() (*string, bool) {
- if o == nil || isNil(o.Mobile) {
- return nil, false
- }
- return o.Mobile, true
-}
-
-// HasMobile returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasMobile() bool {
- if o != nil && !isNil(o.Mobile) {
- return true
- }
-
- return false
-}
-
-// SetMobile gets a reference to the given string and assigns it to the Mobile field.
-func (o *MerchantPersonInfo) SetMobile(v string) {
- o.Mobile = &v
-}
-
-// GetMobileBindFlag returns the MobileBindFlag field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetMobileBindFlag() bool {
- if o == nil || isNil(o.MobileBindFlag) {
- var ret bool
- return ret
- }
- return *o.MobileBindFlag
-}
-
-// GetMobileBindFlagOk returns a tuple with the MobileBindFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetMobileBindFlagOk() (*bool, bool) {
- if o == nil || isNil(o.MobileBindFlag) {
- return nil, false
- }
- return o.MobileBindFlag, true
-}
-
-// HasMobileBindFlag returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasMobileBindFlag() bool {
- if o != nil && !isNil(o.MobileBindFlag) {
- return true
- }
-
- return false
-}
-
-// SetMobileBindFlag gets a reference to the given bool and assigns it to the MobileBindFlag field.
-func (o *MerchantPersonInfo) SetMobileBindFlag(v bool) {
- o.MobileBindFlag = &v
-}
-
-// GetNickName returns the NickName field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetNickName() string {
- if o == nil || isNil(o.NickName) {
- var ret string
- return ret
- }
- return *o.NickName
-}
-
-// GetNickNameOk returns a tuple with the NickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetNickNameOk() (*string, bool) {
- if o == nil || isNil(o.NickName) {
- return nil, false
- }
- return o.NickName, true
-}
-
-// HasNickName returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasNickName() bool {
- if o != nil && !isNil(o.NickName) {
- return true
- }
-
- return false
-}
-
-// SetNickName gets a reference to the given string and assigns it to the NickName field.
-func (o *MerchantPersonInfo) SetNickName(v string) {
- o.NickName = &v
-}
-
-// GetRealName returns the RealName field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetRealName() string {
- if o == nil || isNil(o.RealName) {
- var ret string
- return ret
- }
- return *o.RealName
-}
-
-// GetRealNameOk returns a tuple with the RealName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetRealNameOk() (*string, bool) {
- if o == nil || isNil(o.RealName) {
- return nil, false
- }
- return o.RealName, true
-}
-
-// HasRealName returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasRealName() bool {
- if o != nil && !isNil(o.RealName) {
- return true
- }
-
- return false
-}
-
-// SetRealName gets a reference to the given string and assigns it to the RealName field.
-func (o *MerchantPersonInfo) SetRealName(v string) {
- o.RealName = &v
-}
-
-// GetRegisterTime returns the RegisterTime field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetRegisterTime() string {
- if o == nil || isNil(o.RegisterTime) {
- var ret string
- return ret
- }
- return *o.RegisterTime
-}
-
-// GetRegisterTimeOk returns a tuple with the RegisterTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetRegisterTimeOk() (*string, bool) {
- if o == nil || isNil(o.RegisterTime) {
- return nil, false
- }
- return o.RegisterTime, true
-}
-
-// HasRegisterTime returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasRegisterTime() bool {
- if o != nil && !isNil(o.RegisterTime) {
- return true
- }
-
- return false
-}
-
-// SetRegisterTime gets a reference to the given string and assigns it to the RegisterTime field.
-func (o *MerchantPersonInfo) SetRegisterTime(v string) {
- o.RegisterTime = &v
-}
-
-// GetThirtyBuy returns the ThirtyBuy field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetThirtyBuy() string {
- if o == nil || isNil(o.ThirtyBuy) {
- var ret string
- return ret
- }
- return *o.ThirtyBuy
-}
-
-// GetThirtyBuyOk returns a tuple with the ThirtyBuy field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetThirtyBuyOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyBuy) {
- return nil, false
- }
- return o.ThirtyBuy, true
-}
-
-// HasThirtyBuy returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasThirtyBuy() bool {
- if o != nil && !isNil(o.ThirtyBuy) {
- return true
- }
-
- return false
-}
-
-// SetThirtyBuy gets a reference to the given string and assigns it to the ThirtyBuy field.
-func (o *MerchantPersonInfo) SetThirtyBuy(v string) {
- o.ThirtyBuy = &v
-}
-
-// GetThirtyCompletionRate returns the ThirtyCompletionRate field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetThirtyCompletionRate() string {
- if o == nil || isNil(o.ThirtyCompletionRate) {
- var ret string
- return ret
- }
- return *o.ThirtyCompletionRate
-}
-
-// GetThirtyCompletionRateOk returns a tuple with the ThirtyCompletionRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetThirtyCompletionRateOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyCompletionRate) {
- return nil, false
- }
- return o.ThirtyCompletionRate, true
-}
-
-// HasThirtyCompletionRate returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasThirtyCompletionRate() bool {
- if o != nil && !isNil(o.ThirtyCompletionRate) {
- return true
- }
-
- return false
-}
-
-// SetThirtyCompletionRate gets a reference to the given string and assigns it to the ThirtyCompletionRate field.
-func (o *MerchantPersonInfo) SetThirtyCompletionRate(v string) {
- o.ThirtyCompletionRate = &v
-}
-
-// GetThirtySell returns the ThirtySell field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetThirtySell() string {
- if o == nil || isNil(o.ThirtySell) {
- var ret string
- return ret
- }
- return *o.ThirtySell
-}
-
-// GetThirtySellOk returns a tuple with the ThirtySell field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetThirtySellOk() (*string, bool) {
- if o == nil || isNil(o.ThirtySell) {
- return nil, false
- }
- return o.ThirtySell, true
-}
-
-// HasThirtySell returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasThirtySell() bool {
- if o != nil && !isNil(o.ThirtySell) {
- return true
- }
-
- return false
-}
-
-// SetThirtySell gets a reference to the given string and assigns it to the ThirtySell field.
-func (o *MerchantPersonInfo) SetThirtySell(v string) {
- o.ThirtySell = &v
-}
-
-// GetThirtyTrades returns the ThirtyTrades field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetThirtyTrades() string {
- if o == nil || isNil(o.ThirtyTrades) {
- var ret string
- return ret
- }
- return *o.ThirtyTrades
-}
-
-// GetThirtyTradesOk returns a tuple with the ThirtyTrades field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetThirtyTradesOk() (*string, bool) {
- if o == nil || isNil(o.ThirtyTrades) {
- return nil, false
- }
- return o.ThirtyTrades, true
-}
-
-// HasThirtyTrades returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasThirtyTrades() bool {
- if o != nil && !isNil(o.ThirtyTrades) {
- return true
- }
-
- return false
-}
-
-// SetThirtyTrades gets a reference to the given string and assigns it to the ThirtyTrades field.
-func (o *MerchantPersonInfo) SetThirtyTrades(v string) {
- o.ThirtyTrades = &v
-}
-
-// GetTotalBuy returns the TotalBuy field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetTotalBuy() string {
- if o == nil || isNil(o.TotalBuy) {
- var ret string
- return ret
- }
- return *o.TotalBuy
-}
-
-// GetTotalBuyOk returns a tuple with the TotalBuy field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetTotalBuyOk() (*string, bool) {
- if o == nil || isNil(o.TotalBuy) {
- return nil, false
- }
- return o.TotalBuy, true
-}
-
-// HasTotalBuy returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasTotalBuy() bool {
- if o != nil && !isNil(o.TotalBuy) {
- return true
- }
-
- return false
-}
-
-// SetTotalBuy gets a reference to the given string and assigns it to the TotalBuy field.
-func (o *MerchantPersonInfo) SetTotalBuy(v string) {
- o.TotalBuy = &v
-}
-
-// GetTotalCompletionRate returns the TotalCompletionRate field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetTotalCompletionRate() string {
- if o == nil || isNil(o.TotalCompletionRate) {
- var ret string
- return ret
- }
- return *o.TotalCompletionRate
-}
-
-// GetTotalCompletionRateOk returns a tuple with the TotalCompletionRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetTotalCompletionRateOk() (*string, bool) {
- if o == nil || isNil(o.TotalCompletionRate) {
- return nil, false
- }
- return o.TotalCompletionRate, true
-}
-
-// HasTotalCompletionRate returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasTotalCompletionRate() bool {
- if o != nil && !isNil(o.TotalCompletionRate) {
- return true
- }
-
- return false
-}
-
-// SetTotalCompletionRate gets a reference to the given string and assigns it to the TotalCompletionRate field.
-func (o *MerchantPersonInfo) SetTotalCompletionRate(v string) {
- o.TotalCompletionRate = &v
-}
-
-// GetTotalSell returns the TotalSell field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetTotalSell() string {
- if o == nil || isNil(o.TotalSell) {
- var ret string
- return ret
- }
- return *o.TotalSell
-}
-
-// GetTotalSellOk returns a tuple with the TotalSell field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetTotalSellOk() (*string, bool) {
- if o == nil || isNil(o.TotalSell) {
- return nil, false
- }
- return o.TotalSell, true
-}
-
-// HasTotalSell returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasTotalSell() bool {
- if o != nil && !isNil(o.TotalSell) {
- return true
- }
-
- return false
-}
-
-// SetTotalSell gets a reference to the given string and assigns it to the TotalSell field.
-func (o *MerchantPersonInfo) SetTotalSell(v string) {
- o.TotalSell = &v
-}
-
-// GetTotalTrades returns the TotalTrades field value if set, zero value otherwise.
-func (o *MerchantPersonInfo) GetTotalTrades() string {
- if o == nil || isNil(o.TotalTrades) {
- var ret string
- return ret
- }
- return *o.TotalTrades
-}
-
-// GetTotalTradesOk returns a tuple with the TotalTrades field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MerchantPersonInfo) GetTotalTradesOk() (*string, bool) {
- if o == nil || isNil(o.TotalTrades) {
- return nil, false
- }
- return o.TotalTrades, true
-}
-
-// HasTotalTrades returns a boolean if a field has been set.
-func (o *MerchantPersonInfo) HasTotalTrades() bool {
- if o != nil && !isNil(o.TotalTrades) {
- return true
- }
-
- return false
-}
-
-// SetTotalTrades gets a reference to the given string and assigns it to the TotalTrades field.
-func (o *MerchantPersonInfo) SetTotalTrades(v string) {
- o.TotalTrades = &v
-}
-
-func (o MerchantPersonInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AveragePayment) {
- toSerialize["averagePayment"] = o.AveragePayment
- }
- if !isNil(o.AverageRealese) {
- toSerialize["averageRealese"] = o.AverageRealese
- }
- if !isNil(o.Email) {
- toSerialize["email"] = o.Email
- }
- if !isNil(o.EmailBindFlag) {
- toSerialize["emailBindFlag"] = o.EmailBindFlag
- }
- if !isNil(o.KycFlag) {
- toSerialize["kycFlag"] = o.KycFlag
- }
- if !isNil(o.MerchantId) {
- toSerialize["merchantId"] = o.MerchantId
- }
- if !isNil(o.Mobile) {
- toSerialize["mobile"] = o.Mobile
- }
- if !isNil(o.MobileBindFlag) {
- toSerialize["mobileBindFlag"] = o.MobileBindFlag
- }
- if !isNil(o.NickName) {
- toSerialize["nickName"] = o.NickName
- }
- if !isNil(o.RealName) {
- toSerialize["realName"] = o.RealName
- }
- if !isNil(o.RegisterTime) {
- toSerialize["registerTime"] = o.RegisterTime
- }
- if !isNil(o.ThirtyBuy) {
- toSerialize["thirtyBuy"] = o.ThirtyBuy
- }
- if !isNil(o.ThirtyCompletionRate) {
- toSerialize["thirtyCompletionRate"] = o.ThirtyCompletionRate
- }
- if !isNil(o.ThirtySell) {
- toSerialize["thirtySell"] = o.ThirtySell
- }
- if !isNil(o.ThirtyTrades) {
- toSerialize["thirtyTrades"] = o.ThirtyTrades
- }
- if !isNil(o.TotalBuy) {
- toSerialize["totalBuy"] = o.TotalBuy
- }
- if !isNil(o.TotalCompletionRate) {
- toSerialize["totalCompletionRate"] = o.TotalCompletionRate
- }
- if !isNil(o.TotalSell) {
- toSerialize["totalSell"] = o.TotalSell
- }
- if !isNil(o.TotalTrades) {
- toSerialize["totalTrades"] = o.TotalTrades
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MerchantPersonInfo) UnmarshalJSON(bytes []byte) (err error) {
- varMerchantPersonInfo := _MerchantPersonInfo{}
-
- if err = json.Unmarshal(bytes, &varMerchantPersonInfo); err == nil {
- *o = MerchantPersonInfo(varMerchantPersonInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "averagePayment")
- delete(additionalProperties, "averageRealese")
- delete(additionalProperties, "email")
- delete(additionalProperties, "emailBindFlag")
- delete(additionalProperties, "kycFlag")
- delete(additionalProperties, "merchantId")
- delete(additionalProperties, "mobile")
- delete(additionalProperties, "mobileBindFlag")
- delete(additionalProperties, "nickName")
- delete(additionalProperties, "realName")
- delete(additionalProperties, "registerTime")
- delete(additionalProperties, "thirtyBuy")
- delete(additionalProperties, "thirtyCompletionRate")
- delete(additionalProperties, "thirtySell")
- delete(additionalProperties, "thirtyTrades")
- delete(additionalProperties, "totalBuy")
- delete(additionalProperties, "totalCompletionRate")
- delete(additionalProperties, "totalSell")
- delete(additionalProperties, "totalTrades")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMerchantPersonInfo struct {
- value *MerchantPersonInfo
- isSet bool
-}
-
-func (v NullableMerchantPersonInfo) Get() *MerchantPersonInfo {
- return v.value
-}
-
-func (v *NullableMerchantPersonInfo) Set(val *MerchantPersonInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMerchantPersonInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMerchantPersonInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMerchantPersonInfo(val *MerchantPersonInfo) *NullableMerchantPersonInfo {
- return &NullableMerchantPersonInfo{value: val, isSet: true}
-}
-
-func (v NullableMerchantPersonInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMerchantPersonInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_tracer_result.go b/bitget-goland-sdk-open-api/model_my_tracer_result.go
deleted file mode 100644
index 6217a563..00000000
--- a/bitget-goland-sdk-open-api/model_my_tracer_result.go
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTracerResult struct for MyTracerResult
-type MyTracerResult struct {
- AccountEquity *string `json:"accountEquity,omitempty"`
- CanRemoveTraceUser *bool `json:"canRemoveTraceUser,omitempty"`
- TracerHeadPic *string `json:"tracerHeadPic,omitempty"`
- TracerNickName *string `json:"tracerNickName,omitempty"`
- TracerUserId *string `json:"tracerUserId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTracerResult MyTracerResult
-
-// NewMyTracerResult instantiates a new MyTracerResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTracerResult() *MyTracerResult {
- this := MyTracerResult{}
- return &this
-}
-
-// NewMyTracerResultWithDefaults instantiates a new MyTracerResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTracerResultWithDefaults() *MyTracerResult {
- this := MyTracerResult{}
- return &this
-}
-
-// GetAccountEquity returns the AccountEquity field value if set, zero value otherwise.
-func (o *MyTracerResult) GetAccountEquity() string {
- if o == nil || isNil(o.AccountEquity) {
- var ret string
- return ret
- }
- return *o.AccountEquity
-}
-
-// GetAccountEquityOk returns a tuple with the AccountEquity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracerResult) GetAccountEquityOk() (*string, bool) {
- if o == nil || isNil(o.AccountEquity) {
- return nil, false
- }
- return o.AccountEquity, true
-}
-
-// HasAccountEquity returns a boolean if a field has been set.
-func (o *MyTracerResult) HasAccountEquity() bool {
- if o != nil && !isNil(o.AccountEquity) {
- return true
- }
-
- return false
-}
-
-// SetAccountEquity gets a reference to the given string and assigns it to the AccountEquity field.
-func (o *MyTracerResult) SetAccountEquity(v string) {
- o.AccountEquity = &v
-}
-
-// GetCanRemoveTraceUser returns the CanRemoveTraceUser field value if set, zero value otherwise.
-func (o *MyTracerResult) GetCanRemoveTraceUser() bool {
- if o == nil || isNil(o.CanRemoveTraceUser) {
- var ret bool
- return ret
- }
- return *o.CanRemoveTraceUser
-}
-
-// GetCanRemoveTraceUserOk returns a tuple with the CanRemoveTraceUser field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracerResult) GetCanRemoveTraceUserOk() (*bool, bool) {
- if o == nil || isNil(o.CanRemoveTraceUser) {
- return nil, false
- }
- return o.CanRemoveTraceUser, true
-}
-
-// HasCanRemoveTraceUser returns a boolean if a field has been set.
-func (o *MyTracerResult) HasCanRemoveTraceUser() bool {
- if o != nil && !isNil(o.CanRemoveTraceUser) {
- return true
- }
-
- return false
-}
-
-// SetCanRemoveTraceUser gets a reference to the given bool and assigns it to the CanRemoveTraceUser field.
-func (o *MyTracerResult) SetCanRemoveTraceUser(v bool) {
- o.CanRemoveTraceUser = &v
-}
-
-// GetTracerHeadPic returns the TracerHeadPic field value if set, zero value otherwise.
-func (o *MyTracerResult) GetTracerHeadPic() string {
- if o == nil || isNil(o.TracerHeadPic) {
- var ret string
- return ret
- }
- return *o.TracerHeadPic
-}
-
-// GetTracerHeadPicOk returns a tuple with the TracerHeadPic field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracerResult) GetTracerHeadPicOk() (*string, bool) {
- if o == nil || isNil(o.TracerHeadPic) {
- return nil, false
- }
- return o.TracerHeadPic, true
-}
-
-// HasTracerHeadPic returns a boolean if a field has been set.
-func (o *MyTracerResult) HasTracerHeadPic() bool {
- if o != nil && !isNil(o.TracerHeadPic) {
- return true
- }
-
- return false
-}
-
-// SetTracerHeadPic gets a reference to the given string and assigns it to the TracerHeadPic field.
-func (o *MyTracerResult) SetTracerHeadPic(v string) {
- o.TracerHeadPic = &v
-}
-
-// GetTracerNickName returns the TracerNickName field value if set, zero value otherwise.
-func (o *MyTracerResult) GetTracerNickName() string {
- if o == nil || isNil(o.TracerNickName) {
- var ret string
- return ret
- }
- return *o.TracerNickName
-}
-
-// GetTracerNickNameOk returns a tuple with the TracerNickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracerResult) GetTracerNickNameOk() (*string, bool) {
- if o == nil || isNil(o.TracerNickName) {
- return nil, false
- }
- return o.TracerNickName, true
-}
-
-// HasTracerNickName returns a boolean if a field has been set.
-func (o *MyTracerResult) HasTracerNickName() bool {
- if o != nil && !isNil(o.TracerNickName) {
- return true
- }
-
- return false
-}
-
-// SetTracerNickName gets a reference to the given string and assigns it to the TracerNickName field.
-func (o *MyTracerResult) SetTracerNickName(v string) {
- o.TracerNickName = &v
-}
-
-// GetTracerUserId returns the TracerUserId field value if set, zero value otherwise.
-func (o *MyTracerResult) GetTracerUserId() string {
- if o == nil || isNil(o.TracerUserId) {
- var ret string
- return ret
- }
- return *o.TracerUserId
-}
-
-// GetTracerUserIdOk returns a tuple with the TracerUserId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracerResult) GetTracerUserIdOk() (*string, bool) {
- if o == nil || isNil(o.TracerUserId) {
- return nil, false
- }
- return o.TracerUserId, true
-}
-
-// HasTracerUserId returns a boolean if a field has been set.
-func (o *MyTracerResult) HasTracerUserId() bool {
- if o != nil && !isNil(o.TracerUserId) {
- return true
- }
-
- return false
-}
-
-// SetTracerUserId gets a reference to the given string and assigns it to the TracerUserId field.
-func (o *MyTracerResult) SetTracerUserId(v string) {
- o.TracerUserId = &v
-}
-
-func (o MyTracerResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.AccountEquity) {
- toSerialize["accountEquity"] = o.AccountEquity
- }
- if !isNil(o.CanRemoveTraceUser) {
- toSerialize["canRemoveTraceUser"] = o.CanRemoveTraceUser
- }
- if !isNil(o.TracerHeadPic) {
- toSerialize["tracerHeadPic"] = o.TracerHeadPic
- }
- if !isNil(o.TracerNickName) {
- toSerialize["tracerNickName"] = o.TracerNickName
- }
- if !isNil(o.TracerUserId) {
- toSerialize["tracerUserId"] = o.TracerUserId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTracerResult) UnmarshalJSON(bytes []byte) (err error) {
- varMyTracerResult := _MyTracerResult{}
-
- if err = json.Unmarshal(bytes, &varMyTracerResult); err == nil {
- *o = MyTracerResult(varMyTracerResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "accountEquity")
- delete(additionalProperties, "canRemoveTraceUser")
- delete(additionalProperties, "tracerHeadPic")
- delete(additionalProperties, "tracerNickName")
- delete(additionalProperties, "tracerUserId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTracerResult struct {
- value *MyTracerResult
- isSet bool
-}
-
-func (v NullableMyTracerResult) Get() *MyTracerResult {
- return v.value
-}
-
-func (v *NullableMyTracerResult) Set(val *MyTracerResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTracerResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTracerResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTracerResult(val *MyTracerResult) *NullableMyTracerResult {
- return &NullableMyTracerResult{value: val, isSet: true}
-}
-
-func (v NullableMyTracerResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTracerResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_tracers_request.go b/bitget-goland-sdk-open-api/model_my_tracers_request.go
deleted file mode 100644
index e0ae1e14..00000000
--- a/bitget-goland-sdk-open-api/model_my_tracers_request.go
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTracersRequest struct for MyTracersRequest
-type MyTracersRequest struct {
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTracersRequest MyTracersRequest
-
-// NewMyTracersRequest instantiates a new MyTracersRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTracersRequest() *MyTracersRequest {
- this := MyTracersRequest{}
- return &this
-}
-
-// NewMyTracersRequestWithDefaults instantiates a new MyTracersRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTracersRequestWithDefaults() *MyTracersRequest {
- this := MyTracersRequest{}
- return &this
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *MyTracersRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracersRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *MyTracersRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *MyTracersRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *MyTracersRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracersRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *MyTracersRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *MyTracersRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o MyTracersRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTracersRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMyTracersRequest := _MyTracersRequest{}
-
- if err = json.Unmarshal(bytes, &varMyTracersRequest); err == nil {
- *o = MyTracersRequest(varMyTracersRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTracersRequest struct {
- value *MyTracersRequest
- isSet bool
-}
-
-func (v NullableMyTracersRequest) Get() *MyTracersRequest {
- return v.value
-}
-
-func (v *NullableMyTracersRequest) Set(val *MyTracersRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTracersRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTracersRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTracersRequest(val *MyTracersRequest) *NullableMyTracersRequest {
- return &NullableMyTracersRequest{value: val, isSet: true}
-}
-
-func (v NullableMyTracersRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTracersRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_tracers_result.go b/bitget-goland-sdk-open-api/model_my_tracers_result.go
deleted file mode 100644
index 70284743..00000000
--- a/bitget-goland-sdk-open-api/model_my_tracers_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTracersResult struct for MyTracersResult
-type MyTracersResult struct {
- NextFlag *bool `json:"nextFlag,omitempty"`
- ResultList []MyTracerResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTracersResult MyTracersResult
-
-// NewMyTracersResult instantiates a new MyTracersResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTracersResult() *MyTracersResult {
- this := MyTracersResult{}
- return &this
-}
-
-// NewMyTracersResultWithDefaults instantiates a new MyTracersResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTracersResultWithDefaults() *MyTracersResult {
- this := MyTracersResult{}
- return &this
-}
-
-// GetNextFlag returns the NextFlag field value if set, zero value otherwise.
-func (o *MyTracersResult) GetNextFlag() bool {
- if o == nil || isNil(o.NextFlag) {
- var ret bool
- return ret
- }
- return *o.NextFlag
-}
-
-// GetNextFlagOk returns a tuple with the NextFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracersResult) GetNextFlagOk() (*bool, bool) {
- if o == nil || isNil(o.NextFlag) {
- return nil, false
- }
- return o.NextFlag, true
-}
-
-// HasNextFlag returns a boolean if a field has been set.
-func (o *MyTracersResult) HasNextFlag() bool {
- if o != nil && !isNil(o.NextFlag) {
- return true
- }
-
- return false
-}
-
-// SetNextFlag gets a reference to the given bool and assigns it to the NextFlag field.
-func (o *MyTracersResult) SetNextFlag(v bool) {
- o.NextFlag = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MyTracersResult) GetResultList() []MyTracerResult {
- if o == nil || isNil(o.ResultList) {
- var ret []MyTracerResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTracersResult) GetResultListOk() ([]MyTracerResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MyTracersResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MyTracerResult and assigns it to the ResultList field.
-func (o *MyTracersResult) SetResultList(v []MyTracerResult) {
- o.ResultList = v
-}
-
-func (o MyTracersResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.NextFlag) {
- toSerialize["nextFlag"] = o.NextFlag
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTracersResult) UnmarshalJSON(bytes []byte) (err error) {
- varMyTracersResult := _MyTracersResult{}
-
- if err = json.Unmarshal(bytes, &varMyTracersResult); err == nil {
- *o = MyTracersResult(varMyTracersResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "nextFlag")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTracersResult struct {
- value *MyTracersResult
- isSet bool
-}
-
-func (v NullableMyTracersResult) Get() *MyTracersResult {
- return v.value
-}
-
-func (v *NullableMyTracersResult) Set(val *MyTracersResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTracersResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTracersResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTracersResult(val *MyTracersResult) *NullableMyTracersResult {
- return &NullableMyTracersResult{value: val, isSet: true}
-}
-
-func (v NullableMyTracersResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTracersResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_trader_result.go b/bitget-goland-sdk-open-api/model_my_trader_result.go
deleted file mode 100644
index c3186ae7..00000000
--- a/bitget-goland-sdk-open-api/model_my_trader_result.go
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTraderResult struct for MyTraderResult
-type MyTraderResult struct {
- CertificationType *string `json:"certificationType,omitempty"`
- HeadPic *string `json:"headPic,omitempty"`
- TraceTotalAmount *string `json:"traceTotalAmount,omitempty"`
- TraceTotalNetProfit *string `json:"traceTotalNetProfit,omitempty"`
- TraceTotalProfit *string `json:"traceTotalProfit,omitempty"`
- TradeNickName *string `json:"tradeNickName,omitempty"`
- TraderUid *string `json:"traderUid,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTraderResult MyTraderResult
-
-// NewMyTraderResult instantiates a new MyTraderResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTraderResult() *MyTraderResult {
- this := MyTraderResult{}
- return &this
-}
-
-// NewMyTraderResultWithDefaults instantiates a new MyTraderResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTraderResultWithDefaults() *MyTraderResult {
- this := MyTraderResult{}
- return &this
-}
-
-// GetCertificationType returns the CertificationType field value if set, zero value otherwise.
-func (o *MyTraderResult) GetCertificationType() string {
- if o == nil || isNil(o.CertificationType) {
- var ret string
- return ret
- }
- return *o.CertificationType
-}
-
-// GetCertificationTypeOk returns a tuple with the CertificationType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetCertificationTypeOk() (*string, bool) {
- if o == nil || isNil(o.CertificationType) {
- return nil, false
- }
- return o.CertificationType, true
-}
-
-// HasCertificationType returns a boolean if a field has been set.
-func (o *MyTraderResult) HasCertificationType() bool {
- if o != nil && !isNil(o.CertificationType) {
- return true
- }
-
- return false
-}
-
-// SetCertificationType gets a reference to the given string and assigns it to the CertificationType field.
-func (o *MyTraderResult) SetCertificationType(v string) {
- o.CertificationType = &v
-}
-
-// GetHeadPic returns the HeadPic field value if set, zero value otherwise.
-func (o *MyTraderResult) GetHeadPic() string {
- if o == nil || isNil(o.HeadPic) {
- var ret string
- return ret
- }
- return *o.HeadPic
-}
-
-// GetHeadPicOk returns a tuple with the HeadPic field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetHeadPicOk() (*string, bool) {
- if o == nil || isNil(o.HeadPic) {
- return nil, false
- }
- return o.HeadPic, true
-}
-
-// HasHeadPic returns a boolean if a field has been set.
-func (o *MyTraderResult) HasHeadPic() bool {
- if o != nil && !isNil(o.HeadPic) {
- return true
- }
-
- return false
-}
-
-// SetHeadPic gets a reference to the given string and assigns it to the HeadPic field.
-func (o *MyTraderResult) SetHeadPic(v string) {
- o.HeadPic = &v
-}
-
-// GetTraceTotalAmount returns the TraceTotalAmount field value if set, zero value otherwise.
-func (o *MyTraderResult) GetTraceTotalAmount() string {
- if o == nil || isNil(o.TraceTotalAmount) {
- var ret string
- return ret
- }
- return *o.TraceTotalAmount
-}
-
-// GetTraceTotalAmountOk returns a tuple with the TraceTotalAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetTraceTotalAmountOk() (*string, bool) {
- if o == nil || isNil(o.TraceTotalAmount) {
- return nil, false
- }
- return o.TraceTotalAmount, true
-}
-
-// HasTraceTotalAmount returns a boolean if a field has been set.
-func (o *MyTraderResult) HasTraceTotalAmount() bool {
- if o != nil && !isNil(o.TraceTotalAmount) {
- return true
- }
-
- return false
-}
-
-// SetTraceTotalAmount gets a reference to the given string and assigns it to the TraceTotalAmount field.
-func (o *MyTraderResult) SetTraceTotalAmount(v string) {
- o.TraceTotalAmount = &v
-}
-
-// GetTraceTotalNetProfit returns the TraceTotalNetProfit field value if set, zero value otherwise.
-func (o *MyTraderResult) GetTraceTotalNetProfit() string {
- if o == nil || isNil(o.TraceTotalNetProfit) {
- var ret string
- return ret
- }
- return *o.TraceTotalNetProfit
-}
-
-// GetTraceTotalNetProfitOk returns a tuple with the TraceTotalNetProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetTraceTotalNetProfitOk() (*string, bool) {
- if o == nil || isNil(o.TraceTotalNetProfit) {
- return nil, false
- }
- return o.TraceTotalNetProfit, true
-}
-
-// HasTraceTotalNetProfit returns a boolean if a field has been set.
-func (o *MyTraderResult) HasTraceTotalNetProfit() bool {
- if o != nil && !isNil(o.TraceTotalNetProfit) {
- return true
- }
-
- return false
-}
-
-// SetTraceTotalNetProfit gets a reference to the given string and assigns it to the TraceTotalNetProfit field.
-func (o *MyTraderResult) SetTraceTotalNetProfit(v string) {
- o.TraceTotalNetProfit = &v
-}
-
-// GetTraceTotalProfit returns the TraceTotalProfit field value if set, zero value otherwise.
-func (o *MyTraderResult) GetTraceTotalProfit() string {
- if o == nil || isNil(o.TraceTotalProfit) {
- var ret string
- return ret
- }
- return *o.TraceTotalProfit
-}
-
-// GetTraceTotalProfitOk returns a tuple with the TraceTotalProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetTraceTotalProfitOk() (*string, bool) {
- if o == nil || isNil(o.TraceTotalProfit) {
- return nil, false
- }
- return o.TraceTotalProfit, true
-}
-
-// HasTraceTotalProfit returns a boolean if a field has been set.
-func (o *MyTraderResult) HasTraceTotalProfit() bool {
- if o != nil && !isNil(o.TraceTotalProfit) {
- return true
- }
-
- return false
-}
-
-// SetTraceTotalProfit gets a reference to the given string and assigns it to the TraceTotalProfit field.
-func (o *MyTraderResult) SetTraceTotalProfit(v string) {
- o.TraceTotalProfit = &v
-}
-
-// GetTradeNickName returns the TradeNickName field value if set, zero value otherwise.
-func (o *MyTraderResult) GetTradeNickName() string {
- if o == nil || isNil(o.TradeNickName) {
- var ret string
- return ret
- }
- return *o.TradeNickName
-}
-
-// GetTradeNickNameOk returns a tuple with the TradeNickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetTradeNickNameOk() (*string, bool) {
- if o == nil || isNil(o.TradeNickName) {
- return nil, false
- }
- return o.TradeNickName, true
-}
-
-// HasTradeNickName returns a boolean if a field has been set.
-func (o *MyTraderResult) HasTradeNickName() bool {
- if o != nil && !isNil(o.TradeNickName) {
- return true
- }
-
- return false
-}
-
-// SetTradeNickName gets a reference to the given string and assigns it to the TradeNickName field.
-func (o *MyTraderResult) SetTradeNickName(v string) {
- o.TradeNickName = &v
-}
-
-// GetTraderUid returns the TraderUid field value if set, zero value otherwise.
-func (o *MyTraderResult) GetTraderUid() string {
- if o == nil || isNil(o.TraderUid) {
- var ret string
- return ret
- }
- return *o.TraderUid
-}
-
-// GetTraderUidOk returns a tuple with the TraderUid field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTraderResult) GetTraderUidOk() (*string, bool) {
- if o == nil || isNil(o.TraderUid) {
- return nil, false
- }
- return o.TraderUid, true
-}
-
-// HasTraderUid returns a boolean if a field has been set.
-func (o *MyTraderResult) HasTraderUid() bool {
- if o != nil && !isNil(o.TraderUid) {
- return true
- }
-
- return false
-}
-
-// SetTraderUid gets a reference to the given string and assigns it to the TraderUid field.
-func (o *MyTraderResult) SetTraderUid(v string) {
- o.TraderUid = &v
-}
-
-func (o MyTraderResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.CertificationType) {
- toSerialize["certificationType"] = o.CertificationType
- }
- if !isNil(o.HeadPic) {
- toSerialize["headPic"] = o.HeadPic
- }
- if !isNil(o.TraceTotalAmount) {
- toSerialize["traceTotalAmount"] = o.TraceTotalAmount
- }
- if !isNil(o.TraceTotalNetProfit) {
- toSerialize["traceTotalNetProfit"] = o.TraceTotalNetProfit
- }
- if !isNil(o.TraceTotalProfit) {
- toSerialize["traceTotalProfit"] = o.TraceTotalProfit
- }
- if !isNil(o.TradeNickName) {
- toSerialize["tradeNickName"] = o.TradeNickName
- }
- if !isNil(o.TraderUid) {
- toSerialize["traderUid"] = o.TraderUid
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTraderResult) UnmarshalJSON(bytes []byte) (err error) {
- varMyTraderResult := _MyTraderResult{}
-
- if err = json.Unmarshal(bytes, &varMyTraderResult); err == nil {
- *o = MyTraderResult(varMyTraderResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "certificationType")
- delete(additionalProperties, "headPic")
- delete(additionalProperties, "traceTotalAmount")
- delete(additionalProperties, "traceTotalNetProfit")
- delete(additionalProperties, "traceTotalProfit")
- delete(additionalProperties, "tradeNickName")
- delete(additionalProperties, "traderUid")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTraderResult struct {
- value *MyTraderResult
- isSet bool
-}
-
-func (v NullableMyTraderResult) Get() *MyTraderResult {
- return v.value
-}
-
-func (v *NullableMyTraderResult) Set(val *MyTraderResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTraderResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTraderResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTraderResult(val *MyTraderResult) *NullableMyTraderResult {
- return &NullableMyTraderResult{value: val, isSet: true}
-}
-
-func (v NullableMyTraderResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTraderResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_traders_request.go b/bitget-goland-sdk-open-api/model_my_traders_request.go
deleted file mode 100644
index 1d76f97e..00000000
--- a/bitget-goland-sdk-open-api/model_my_traders_request.go
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTradersRequest struct for MyTradersRequest
-type MyTradersRequest struct {
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTradersRequest MyTradersRequest
-
-// NewMyTradersRequest instantiates a new MyTradersRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTradersRequest() *MyTradersRequest {
- this := MyTradersRequest{}
- return &this
-}
-
-// NewMyTradersRequestWithDefaults instantiates a new MyTradersRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTradersRequestWithDefaults() *MyTradersRequest {
- this := MyTradersRequest{}
- return &this
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *MyTradersRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTradersRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *MyTradersRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *MyTradersRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *MyTradersRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTradersRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *MyTradersRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *MyTradersRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o MyTradersRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTradersRequest) UnmarshalJSON(bytes []byte) (err error) {
- varMyTradersRequest := _MyTradersRequest{}
-
- if err = json.Unmarshal(bytes, &varMyTradersRequest); err == nil {
- *o = MyTradersRequest(varMyTradersRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTradersRequest struct {
- value *MyTradersRequest
- isSet bool
-}
-
-func (v NullableMyTradersRequest) Get() *MyTradersRequest {
- return v.value
-}
-
-func (v *NullableMyTradersRequest) Set(val *MyTradersRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTradersRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTradersRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTradersRequest(val *MyTradersRequest) *NullableMyTradersRequest {
- return &NullableMyTradersRequest{value: val, isSet: true}
-}
-
-func (v NullableMyTradersRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTradersRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_my_traders_result.go b/bitget-goland-sdk-open-api/model_my_traders_result.go
deleted file mode 100644
index b70f0f74..00000000
--- a/bitget-goland-sdk-open-api/model_my_traders_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// MyTradersResult struct for MyTradersResult
-type MyTradersResult struct {
- NextFlag *bool `json:"nextFlag,omitempty"`
- ResultList []MyTraderResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _MyTradersResult MyTradersResult
-
-// NewMyTradersResult instantiates a new MyTradersResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewMyTradersResult() *MyTradersResult {
- this := MyTradersResult{}
- return &this
-}
-
-// NewMyTradersResultWithDefaults instantiates a new MyTradersResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewMyTradersResultWithDefaults() *MyTradersResult {
- this := MyTradersResult{}
- return &this
-}
-
-// GetNextFlag returns the NextFlag field value if set, zero value otherwise.
-func (o *MyTradersResult) GetNextFlag() bool {
- if o == nil || isNil(o.NextFlag) {
- var ret bool
- return ret
- }
- return *o.NextFlag
-}
-
-// GetNextFlagOk returns a tuple with the NextFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTradersResult) GetNextFlagOk() (*bool, bool) {
- if o == nil || isNil(o.NextFlag) {
- return nil, false
- }
- return o.NextFlag, true
-}
-
-// HasNextFlag returns a boolean if a field has been set.
-func (o *MyTradersResult) HasNextFlag() bool {
- if o != nil && !isNil(o.NextFlag) {
- return true
- }
-
- return false
-}
-
-// SetNextFlag gets a reference to the given bool and assigns it to the NextFlag field.
-func (o *MyTradersResult) SetNextFlag(v bool) {
- o.NextFlag = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *MyTradersResult) GetResultList() []MyTraderResult {
- if o == nil || isNil(o.ResultList) {
- var ret []MyTraderResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *MyTradersResult) GetResultListOk() ([]MyTraderResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *MyTradersResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []MyTraderResult and assigns it to the ResultList field.
-func (o *MyTradersResult) SetResultList(v []MyTraderResult) {
- o.ResultList = v
-}
-
-func (o MyTradersResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.NextFlag) {
- toSerialize["nextFlag"] = o.NextFlag
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *MyTradersResult) UnmarshalJSON(bytes []byte) (err error) {
- varMyTradersResult := _MyTradersResult{}
-
- if err = json.Unmarshal(bytes, &varMyTradersResult); err == nil {
- *o = MyTradersResult(varMyTradersResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "nextFlag")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableMyTradersResult struct {
- value *MyTradersResult
- isSet bool
-}
-
-func (v NullableMyTradersResult) Get() *MyTradersResult {
- return v.value
-}
-
-func (v *NullableMyTradersResult) Set(val *MyTradersResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableMyTradersResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableMyTradersResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableMyTradersResult(val *MyTradersResult) *NullableMyTradersResult {
- return &NullableMyTradersResult{value: val, isSet: true}
-}
-
-func (v NullableMyTradersResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableMyTradersResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_order_current_list_result.go b/bitget-goland-sdk-open-api/model_order_current_list_result.go
deleted file mode 100644
index 615503d1..00000000
--- a/bitget-goland-sdk-open-api/model_order_current_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// OrderCurrentListResult struct for OrderCurrentListResult
-type OrderCurrentListResult struct {
- MinId *string `json:"minId,omitempty"`
- ResultList []OrderCurrentResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _OrderCurrentListResult OrderCurrentListResult
-
-// NewOrderCurrentListResult instantiates a new OrderCurrentListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewOrderCurrentListResult() *OrderCurrentListResult {
- this := OrderCurrentListResult{}
- return &this
-}
-
-// NewOrderCurrentListResultWithDefaults instantiates a new OrderCurrentListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewOrderCurrentListResultWithDefaults() *OrderCurrentListResult {
- this := OrderCurrentListResult{}
- return &this
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *OrderCurrentListResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentListResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *OrderCurrentListResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *OrderCurrentListResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *OrderCurrentListResult) GetResultList() []OrderCurrentResult {
- if o == nil || isNil(o.ResultList) {
- var ret []OrderCurrentResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentListResult) GetResultListOk() ([]OrderCurrentResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *OrderCurrentListResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []OrderCurrentResult and assigns it to the ResultList field.
-func (o *OrderCurrentListResult) SetResultList(v []OrderCurrentResult) {
- o.ResultList = v
-}
-
-func (o OrderCurrentListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *OrderCurrentListResult) UnmarshalJSON(bytes []byte) (err error) {
- varOrderCurrentListResult := _OrderCurrentListResult{}
-
- if err = json.Unmarshal(bytes, &varOrderCurrentListResult); err == nil {
- *o = OrderCurrentListResult(varOrderCurrentListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableOrderCurrentListResult struct {
- value *OrderCurrentListResult
- isSet bool
-}
-
-func (v NullableOrderCurrentListResult) Get() *OrderCurrentListResult {
- return v.value
-}
-
-func (v *NullableOrderCurrentListResult) Set(val *OrderCurrentListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableOrderCurrentListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableOrderCurrentListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableOrderCurrentListResult(val *OrderCurrentListResult) *NullableOrderCurrentListResult {
- return &NullableOrderCurrentListResult{value: val, isSet: true}
-}
-
-func (v NullableOrderCurrentListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableOrderCurrentListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_order_current_result.go b/bitget-goland-sdk-open-api/model_order_current_result.go
deleted file mode 100644
index 9da407fc..00000000
--- a/bitget-goland-sdk-open-api/model_order_current_result.go
+++ /dev/null
@@ -1,582 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// OrderCurrentResult struct for OrderCurrentResult
-type OrderCurrentResult struct {
- BuyDelegateCount *string `json:"buyDelegateCount,omitempty"`
- BuyPrice *string `json:"buyPrice,omitempty"`
- BuyTime *string `json:"buyTime,omitempty"`
- DealCount *string `json:"dealCount,omitempty"`
- HoldCount *string `json:"holdCount,omitempty"`
- Profit *string `json:"profit,omitempty"`
- ProfitRate *string `json:"profitRate,omitempty"`
- StopLossPrice *string `json:"stopLossPrice,omitempty"`
- StopProfitPrice *string `json:"stopProfitPrice,omitempty"`
- SymbolDisplayName *string `json:"symbolDisplayName,omitempty"`
- SymbolId *string `json:"symbolId,omitempty"`
- TrackingNo *string `json:"trackingNo,omitempty"`
- TrackingType *string `json:"trackingType,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _OrderCurrentResult OrderCurrentResult
-
-// NewOrderCurrentResult instantiates a new OrderCurrentResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewOrderCurrentResult() *OrderCurrentResult {
- this := OrderCurrentResult{}
- return &this
-}
-
-// NewOrderCurrentResultWithDefaults instantiates a new OrderCurrentResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewOrderCurrentResultWithDefaults() *OrderCurrentResult {
- this := OrderCurrentResult{}
- return &this
-}
-
-// GetBuyDelegateCount returns the BuyDelegateCount field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetBuyDelegateCount() string {
- if o == nil || isNil(o.BuyDelegateCount) {
- var ret string
- return ret
- }
- return *o.BuyDelegateCount
-}
-
-// GetBuyDelegateCountOk returns a tuple with the BuyDelegateCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetBuyDelegateCountOk() (*string, bool) {
- if o == nil || isNil(o.BuyDelegateCount) {
- return nil, false
- }
- return o.BuyDelegateCount, true
-}
-
-// HasBuyDelegateCount returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasBuyDelegateCount() bool {
- if o != nil && !isNil(o.BuyDelegateCount) {
- return true
- }
-
- return false
-}
-
-// SetBuyDelegateCount gets a reference to the given string and assigns it to the BuyDelegateCount field.
-func (o *OrderCurrentResult) SetBuyDelegateCount(v string) {
- o.BuyDelegateCount = &v
-}
-
-// GetBuyPrice returns the BuyPrice field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetBuyPrice() string {
- if o == nil || isNil(o.BuyPrice) {
- var ret string
- return ret
- }
- return *o.BuyPrice
-}
-
-// GetBuyPriceOk returns a tuple with the BuyPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetBuyPriceOk() (*string, bool) {
- if o == nil || isNil(o.BuyPrice) {
- return nil, false
- }
- return o.BuyPrice, true
-}
-
-// HasBuyPrice returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasBuyPrice() bool {
- if o != nil && !isNil(o.BuyPrice) {
- return true
- }
-
- return false
-}
-
-// SetBuyPrice gets a reference to the given string and assigns it to the BuyPrice field.
-func (o *OrderCurrentResult) SetBuyPrice(v string) {
- o.BuyPrice = &v
-}
-
-// GetBuyTime returns the BuyTime field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetBuyTime() string {
- if o == nil || isNil(o.BuyTime) {
- var ret string
- return ret
- }
- return *o.BuyTime
-}
-
-// GetBuyTimeOk returns a tuple with the BuyTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetBuyTimeOk() (*string, bool) {
- if o == nil || isNil(o.BuyTime) {
- return nil, false
- }
- return o.BuyTime, true
-}
-
-// HasBuyTime returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasBuyTime() bool {
- if o != nil && !isNil(o.BuyTime) {
- return true
- }
-
- return false
-}
-
-// SetBuyTime gets a reference to the given string and assigns it to the BuyTime field.
-func (o *OrderCurrentResult) SetBuyTime(v string) {
- o.BuyTime = &v
-}
-
-// GetDealCount returns the DealCount field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetDealCount() string {
- if o == nil || isNil(o.DealCount) {
- var ret string
- return ret
- }
- return *o.DealCount
-}
-
-// GetDealCountOk returns a tuple with the DealCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetDealCountOk() (*string, bool) {
- if o == nil || isNil(o.DealCount) {
- return nil, false
- }
- return o.DealCount, true
-}
-
-// HasDealCount returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasDealCount() bool {
- if o != nil && !isNil(o.DealCount) {
- return true
- }
-
- return false
-}
-
-// SetDealCount gets a reference to the given string and assigns it to the DealCount field.
-func (o *OrderCurrentResult) SetDealCount(v string) {
- o.DealCount = &v
-}
-
-// GetHoldCount returns the HoldCount field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetHoldCount() string {
- if o == nil || isNil(o.HoldCount) {
- var ret string
- return ret
- }
- return *o.HoldCount
-}
-
-// GetHoldCountOk returns a tuple with the HoldCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetHoldCountOk() (*string, bool) {
- if o == nil || isNil(o.HoldCount) {
- return nil, false
- }
- return o.HoldCount, true
-}
-
-// HasHoldCount returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasHoldCount() bool {
- if o != nil && !isNil(o.HoldCount) {
- return true
- }
-
- return false
-}
-
-// SetHoldCount gets a reference to the given string and assigns it to the HoldCount field.
-func (o *OrderCurrentResult) SetHoldCount(v string) {
- o.HoldCount = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *OrderCurrentResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-// GetProfitRate returns the ProfitRate field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetProfitRate() string {
- if o == nil || isNil(o.ProfitRate) {
- var ret string
- return ret
- }
- return *o.ProfitRate
-}
-
-// GetProfitRateOk returns a tuple with the ProfitRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetProfitRateOk() (*string, bool) {
- if o == nil || isNil(o.ProfitRate) {
- return nil, false
- }
- return o.ProfitRate, true
-}
-
-// HasProfitRate returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasProfitRate() bool {
- if o != nil && !isNil(o.ProfitRate) {
- return true
- }
-
- return false
-}
-
-// SetProfitRate gets a reference to the given string and assigns it to the ProfitRate field.
-func (o *OrderCurrentResult) SetProfitRate(v string) {
- o.ProfitRate = &v
-}
-
-// GetStopLossPrice returns the StopLossPrice field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetStopLossPrice() string {
- if o == nil || isNil(o.StopLossPrice) {
- var ret string
- return ret
- }
- return *o.StopLossPrice
-}
-
-// GetStopLossPriceOk returns a tuple with the StopLossPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetStopLossPriceOk() (*string, bool) {
- if o == nil || isNil(o.StopLossPrice) {
- return nil, false
- }
- return o.StopLossPrice, true
-}
-
-// HasStopLossPrice returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasStopLossPrice() bool {
- if o != nil && !isNil(o.StopLossPrice) {
- return true
- }
-
- return false
-}
-
-// SetStopLossPrice gets a reference to the given string and assigns it to the StopLossPrice field.
-func (o *OrderCurrentResult) SetStopLossPrice(v string) {
- o.StopLossPrice = &v
-}
-
-// GetStopProfitPrice returns the StopProfitPrice field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetStopProfitPrice() string {
- if o == nil || isNil(o.StopProfitPrice) {
- var ret string
- return ret
- }
- return *o.StopProfitPrice
-}
-
-// GetStopProfitPriceOk returns a tuple with the StopProfitPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetStopProfitPriceOk() (*string, bool) {
- if o == nil || isNil(o.StopProfitPrice) {
- return nil, false
- }
- return o.StopProfitPrice, true
-}
-
-// HasStopProfitPrice returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasStopProfitPrice() bool {
- if o != nil && !isNil(o.StopProfitPrice) {
- return true
- }
-
- return false
-}
-
-// SetStopProfitPrice gets a reference to the given string and assigns it to the StopProfitPrice field.
-func (o *OrderCurrentResult) SetStopProfitPrice(v string) {
- o.StopProfitPrice = &v
-}
-
-// GetSymbolDisplayName returns the SymbolDisplayName field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetSymbolDisplayName() string {
- if o == nil || isNil(o.SymbolDisplayName) {
- var ret string
- return ret
- }
- return *o.SymbolDisplayName
-}
-
-// GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetSymbolDisplayNameOk() (*string, bool) {
- if o == nil || isNil(o.SymbolDisplayName) {
- return nil, false
- }
- return o.SymbolDisplayName, true
-}
-
-// HasSymbolDisplayName returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasSymbolDisplayName() bool {
- if o != nil && !isNil(o.SymbolDisplayName) {
- return true
- }
-
- return false
-}
-
-// SetSymbolDisplayName gets a reference to the given string and assigns it to the SymbolDisplayName field.
-func (o *OrderCurrentResult) SetSymbolDisplayName(v string) {
- o.SymbolDisplayName = &v
-}
-
-// GetSymbolId returns the SymbolId field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetSymbolId() string {
- if o == nil || isNil(o.SymbolId) {
- var ret string
- return ret
- }
- return *o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetSymbolIdOk() (*string, bool) {
- if o == nil || isNil(o.SymbolId) {
- return nil, false
- }
- return o.SymbolId, true
-}
-
-// HasSymbolId returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasSymbolId() bool {
- if o != nil && !isNil(o.SymbolId) {
- return true
- }
-
- return false
-}
-
-// SetSymbolId gets a reference to the given string and assigns it to the SymbolId field.
-func (o *OrderCurrentResult) SetSymbolId(v string) {
- o.SymbolId = &v
-}
-
-// GetTrackingNo returns the TrackingNo field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetTrackingNo() string {
- if o == nil || isNil(o.TrackingNo) {
- var ret string
- return ret
- }
- return *o.TrackingNo
-}
-
-// GetTrackingNoOk returns a tuple with the TrackingNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetTrackingNoOk() (*string, bool) {
- if o == nil || isNil(o.TrackingNo) {
- return nil, false
- }
- return o.TrackingNo, true
-}
-
-// HasTrackingNo returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasTrackingNo() bool {
- if o != nil && !isNil(o.TrackingNo) {
- return true
- }
-
- return false
-}
-
-// SetTrackingNo gets a reference to the given string and assigns it to the TrackingNo field.
-func (o *OrderCurrentResult) SetTrackingNo(v string) {
- o.TrackingNo = &v
-}
-
-// GetTrackingType returns the TrackingType field value if set, zero value otherwise.
-func (o *OrderCurrentResult) GetTrackingType() string {
- if o == nil || isNil(o.TrackingType) {
- var ret string
- return ret
- }
- return *o.TrackingType
-}
-
-// GetTrackingTypeOk returns a tuple with the TrackingType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderCurrentResult) GetTrackingTypeOk() (*string, bool) {
- if o == nil || isNil(o.TrackingType) {
- return nil, false
- }
- return o.TrackingType, true
-}
-
-// HasTrackingType returns a boolean if a field has been set.
-func (o *OrderCurrentResult) HasTrackingType() bool {
- if o != nil && !isNil(o.TrackingType) {
- return true
- }
-
- return false
-}
-
-// SetTrackingType gets a reference to the given string and assigns it to the TrackingType field.
-func (o *OrderCurrentResult) SetTrackingType(v string) {
- o.TrackingType = &v
-}
-
-func (o OrderCurrentResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BuyDelegateCount) {
- toSerialize["buyDelegateCount"] = o.BuyDelegateCount
- }
- if !isNil(o.BuyPrice) {
- toSerialize["buyPrice"] = o.BuyPrice
- }
- if !isNil(o.BuyTime) {
- toSerialize["buyTime"] = o.BuyTime
- }
- if !isNil(o.DealCount) {
- toSerialize["dealCount"] = o.DealCount
- }
- if !isNil(o.HoldCount) {
- toSerialize["holdCount"] = o.HoldCount
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
- if !isNil(o.ProfitRate) {
- toSerialize["profitRate"] = o.ProfitRate
- }
- if !isNil(o.StopLossPrice) {
- toSerialize["stopLossPrice"] = o.StopLossPrice
- }
- if !isNil(o.StopProfitPrice) {
- toSerialize["stopProfitPrice"] = o.StopProfitPrice
- }
- if !isNil(o.SymbolDisplayName) {
- toSerialize["symbolDisplayName"] = o.SymbolDisplayName
- }
- if !isNil(o.SymbolId) {
- toSerialize["symbolId"] = o.SymbolId
- }
- if !isNil(o.TrackingNo) {
- toSerialize["trackingNo"] = o.TrackingNo
- }
- if !isNil(o.TrackingType) {
- toSerialize["trackingType"] = o.TrackingType
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *OrderCurrentResult) UnmarshalJSON(bytes []byte) (err error) {
- varOrderCurrentResult := _OrderCurrentResult{}
-
- if err = json.Unmarshal(bytes, &varOrderCurrentResult); err == nil {
- *o = OrderCurrentResult(varOrderCurrentResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "buyDelegateCount")
- delete(additionalProperties, "buyPrice")
- delete(additionalProperties, "buyTime")
- delete(additionalProperties, "dealCount")
- delete(additionalProperties, "holdCount")
- delete(additionalProperties, "profit")
- delete(additionalProperties, "profitRate")
- delete(additionalProperties, "stopLossPrice")
- delete(additionalProperties, "stopProfitPrice")
- delete(additionalProperties, "symbolDisplayName")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "trackingNo")
- delete(additionalProperties, "trackingType")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableOrderCurrentResult struct {
- value *OrderCurrentResult
- isSet bool
-}
-
-func (v NullableOrderCurrentResult) Get() *OrderCurrentResult {
- return v.value
-}
-
-func (v *NullableOrderCurrentResult) Set(val *OrderCurrentResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableOrderCurrentResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableOrderCurrentResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableOrderCurrentResult(val *OrderCurrentResult) *NullableOrderCurrentResult {
- return &NullableOrderCurrentResult{value: val, isSet: true}
-}
-
-func (v NullableOrderCurrentResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableOrderCurrentResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_order_history_list_result.go b/bitget-goland-sdk-open-api/model_order_history_list_result.go
deleted file mode 100644
index 14c0dec0..00000000
--- a/bitget-goland-sdk-open-api/model_order_history_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// OrderHistoryListResult struct for OrderHistoryListResult
-type OrderHistoryListResult struct {
- MinId *string `json:"minId,omitempty"`
- ResultList []OrderHistoryResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _OrderHistoryListResult OrderHistoryListResult
-
-// NewOrderHistoryListResult instantiates a new OrderHistoryListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewOrderHistoryListResult() *OrderHistoryListResult {
- this := OrderHistoryListResult{}
- return &this
-}
-
-// NewOrderHistoryListResultWithDefaults instantiates a new OrderHistoryListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewOrderHistoryListResultWithDefaults() *OrderHistoryListResult {
- this := OrderHistoryListResult{}
- return &this
-}
-
-// GetMinId returns the MinId field value if set, zero value otherwise.
-func (o *OrderHistoryListResult) GetMinId() string {
- if o == nil || isNil(o.MinId) {
- var ret string
- return ret
- }
- return *o.MinId
-}
-
-// GetMinIdOk returns a tuple with the MinId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryListResult) GetMinIdOk() (*string, bool) {
- if o == nil || isNil(o.MinId) {
- return nil, false
- }
- return o.MinId, true
-}
-
-// HasMinId returns a boolean if a field has been set.
-func (o *OrderHistoryListResult) HasMinId() bool {
- if o != nil && !isNil(o.MinId) {
- return true
- }
-
- return false
-}
-
-// SetMinId gets a reference to the given string and assigns it to the MinId field.
-func (o *OrderHistoryListResult) SetMinId(v string) {
- o.MinId = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *OrderHistoryListResult) GetResultList() []OrderHistoryResult {
- if o == nil || isNil(o.ResultList) {
- var ret []OrderHistoryResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryListResult) GetResultListOk() ([]OrderHistoryResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *OrderHistoryListResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []OrderHistoryResult and assigns it to the ResultList field.
-func (o *OrderHistoryListResult) SetResultList(v []OrderHistoryResult) {
- o.ResultList = v
-}
-
-func (o OrderHistoryListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MinId) {
- toSerialize["minId"] = o.MinId
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *OrderHistoryListResult) UnmarshalJSON(bytes []byte) (err error) {
- varOrderHistoryListResult := _OrderHistoryListResult{}
-
- if err = json.Unmarshal(bytes, &varOrderHistoryListResult); err == nil {
- *o = OrderHistoryListResult(varOrderHistoryListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "minId")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableOrderHistoryListResult struct {
- value *OrderHistoryListResult
- isSet bool
-}
-
-func (v NullableOrderHistoryListResult) Get() *OrderHistoryListResult {
- return v.value
-}
-
-func (v *NullableOrderHistoryListResult) Set(val *OrderHistoryListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableOrderHistoryListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableOrderHistoryListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableOrderHistoryListResult(val *OrderHistoryListResult) *NullableOrderHistoryListResult {
- return &NullableOrderHistoryListResult{value: val, isSet: true}
-}
-
-func (v NullableOrderHistoryListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableOrderHistoryListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_order_history_result.go b/bitget-goland-sdk-open-api/model_order_history_result.go
deleted file mode 100644
index 6fc49dfb..00000000
--- a/bitget-goland-sdk-open-api/model_order_history_result.go
+++ /dev/null
@@ -1,619 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// OrderHistoryResult struct for OrderHistoryResult
-type OrderHistoryResult struct {
- BuyLeftTokenId *string `json:"buyLeftTokenId,omitempty"`
- BuyPrice *string `json:"buyPrice,omitempty"`
- BuyRightTokenId *string `json:"buyRightTokenId,omitempty"`
- BuyTime *string `json:"buyTime,omitempty"`
- DealCount *string `json:"dealCount,omitempty"`
- NetProfit *string `json:"netProfit,omitempty"`
- Profit *string `json:"profit,omitempty"`
- ProfitRate *string `json:"profitRate,omitempty"`
- SellPrice *string `json:"sellPrice,omitempty"`
- SellTime *string `json:"sellTime,omitempty"`
- SymbolDisplayName *string `json:"symbolDisplayName,omitempty"`
- SymbolId *string `json:"symbolId,omitempty"`
- TrackingNo *string `json:"trackingNo,omitempty"`
- TraderUserId *string `json:"traderUserId,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _OrderHistoryResult OrderHistoryResult
-
-// NewOrderHistoryResult instantiates a new OrderHistoryResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewOrderHistoryResult() *OrderHistoryResult {
- this := OrderHistoryResult{}
- return &this
-}
-
-// NewOrderHistoryResultWithDefaults instantiates a new OrderHistoryResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewOrderHistoryResultWithDefaults() *OrderHistoryResult {
- this := OrderHistoryResult{}
- return &this
-}
-
-// GetBuyLeftTokenId returns the BuyLeftTokenId field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetBuyLeftTokenId() string {
- if o == nil || isNil(o.BuyLeftTokenId) {
- var ret string
- return ret
- }
- return *o.BuyLeftTokenId
-}
-
-// GetBuyLeftTokenIdOk returns a tuple with the BuyLeftTokenId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetBuyLeftTokenIdOk() (*string, bool) {
- if o == nil || isNil(o.BuyLeftTokenId) {
- return nil, false
- }
- return o.BuyLeftTokenId, true
-}
-
-// HasBuyLeftTokenId returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasBuyLeftTokenId() bool {
- if o != nil && !isNil(o.BuyLeftTokenId) {
- return true
- }
-
- return false
-}
-
-// SetBuyLeftTokenId gets a reference to the given string and assigns it to the BuyLeftTokenId field.
-func (o *OrderHistoryResult) SetBuyLeftTokenId(v string) {
- o.BuyLeftTokenId = &v
-}
-
-// GetBuyPrice returns the BuyPrice field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetBuyPrice() string {
- if o == nil || isNil(o.BuyPrice) {
- var ret string
- return ret
- }
- return *o.BuyPrice
-}
-
-// GetBuyPriceOk returns a tuple with the BuyPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetBuyPriceOk() (*string, bool) {
- if o == nil || isNil(o.BuyPrice) {
- return nil, false
- }
- return o.BuyPrice, true
-}
-
-// HasBuyPrice returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasBuyPrice() bool {
- if o != nil && !isNil(o.BuyPrice) {
- return true
- }
-
- return false
-}
-
-// SetBuyPrice gets a reference to the given string and assigns it to the BuyPrice field.
-func (o *OrderHistoryResult) SetBuyPrice(v string) {
- o.BuyPrice = &v
-}
-
-// GetBuyRightTokenId returns the BuyRightTokenId field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetBuyRightTokenId() string {
- if o == nil || isNil(o.BuyRightTokenId) {
- var ret string
- return ret
- }
- return *o.BuyRightTokenId
-}
-
-// GetBuyRightTokenIdOk returns a tuple with the BuyRightTokenId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetBuyRightTokenIdOk() (*string, bool) {
- if o == nil || isNil(o.BuyRightTokenId) {
- return nil, false
- }
- return o.BuyRightTokenId, true
-}
-
-// HasBuyRightTokenId returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasBuyRightTokenId() bool {
- if o != nil && !isNil(o.BuyRightTokenId) {
- return true
- }
-
- return false
-}
-
-// SetBuyRightTokenId gets a reference to the given string and assigns it to the BuyRightTokenId field.
-func (o *OrderHistoryResult) SetBuyRightTokenId(v string) {
- o.BuyRightTokenId = &v
-}
-
-// GetBuyTime returns the BuyTime field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetBuyTime() string {
- if o == nil || isNil(o.BuyTime) {
- var ret string
- return ret
- }
- return *o.BuyTime
-}
-
-// GetBuyTimeOk returns a tuple with the BuyTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetBuyTimeOk() (*string, bool) {
- if o == nil || isNil(o.BuyTime) {
- return nil, false
- }
- return o.BuyTime, true
-}
-
-// HasBuyTime returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasBuyTime() bool {
- if o != nil && !isNil(o.BuyTime) {
- return true
- }
-
- return false
-}
-
-// SetBuyTime gets a reference to the given string and assigns it to the BuyTime field.
-func (o *OrderHistoryResult) SetBuyTime(v string) {
- o.BuyTime = &v
-}
-
-// GetDealCount returns the DealCount field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetDealCount() string {
- if o == nil || isNil(o.DealCount) {
- var ret string
- return ret
- }
- return *o.DealCount
-}
-
-// GetDealCountOk returns a tuple with the DealCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetDealCountOk() (*string, bool) {
- if o == nil || isNil(o.DealCount) {
- return nil, false
- }
- return o.DealCount, true
-}
-
-// HasDealCount returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasDealCount() bool {
- if o != nil && !isNil(o.DealCount) {
- return true
- }
-
- return false
-}
-
-// SetDealCount gets a reference to the given string and assigns it to the DealCount field.
-func (o *OrderHistoryResult) SetDealCount(v string) {
- o.DealCount = &v
-}
-
-// GetNetProfit returns the NetProfit field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetNetProfit() string {
- if o == nil || isNil(o.NetProfit) {
- var ret string
- return ret
- }
- return *o.NetProfit
-}
-
-// GetNetProfitOk returns a tuple with the NetProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetNetProfitOk() (*string, bool) {
- if o == nil || isNil(o.NetProfit) {
- return nil, false
- }
- return o.NetProfit, true
-}
-
-// HasNetProfit returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasNetProfit() bool {
- if o != nil && !isNil(o.NetProfit) {
- return true
- }
-
- return false
-}
-
-// SetNetProfit gets a reference to the given string and assigns it to the NetProfit field.
-func (o *OrderHistoryResult) SetNetProfit(v string) {
- o.NetProfit = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *OrderHistoryResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-// GetProfitRate returns the ProfitRate field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetProfitRate() string {
- if o == nil || isNil(o.ProfitRate) {
- var ret string
- return ret
- }
- return *o.ProfitRate
-}
-
-// GetProfitRateOk returns a tuple with the ProfitRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetProfitRateOk() (*string, bool) {
- if o == nil || isNil(o.ProfitRate) {
- return nil, false
- }
- return o.ProfitRate, true
-}
-
-// HasProfitRate returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasProfitRate() bool {
- if o != nil && !isNil(o.ProfitRate) {
- return true
- }
-
- return false
-}
-
-// SetProfitRate gets a reference to the given string and assigns it to the ProfitRate field.
-func (o *OrderHistoryResult) SetProfitRate(v string) {
- o.ProfitRate = &v
-}
-
-// GetSellPrice returns the SellPrice field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetSellPrice() string {
- if o == nil || isNil(o.SellPrice) {
- var ret string
- return ret
- }
- return *o.SellPrice
-}
-
-// GetSellPriceOk returns a tuple with the SellPrice field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetSellPriceOk() (*string, bool) {
- if o == nil || isNil(o.SellPrice) {
- return nil, false
- }
- return o.SellPrice, true
-}
-
-// HasSellPrice returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasSellPrice() bool {
- if o != nil && !isNil(o.SellPrice) {
- return true
- }
-
- return false
-}
-
-// SetSellPrice gets a reference to the given string and assigns it to the SellPrice field.
-func (o *OrderHistoryResult) SetSellPrice(v string) {
- o.SellPrice = &v
-}
-
-// GetSellTime returns the SellTime field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetSellTime() string {
- if o == nil || isNil(o.SellTime) {
- var ret string
- return ret
- }
- return *o.SellTime
-}
-
-// GetSellTimeOk returns a tuple with the SellTime field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetSellTimeOk() (*string, bool) {
- if o == nil || isNil(o.SellTime) {
- return nil, false
- }
- return o.SellTime, true
-}
-
-// HasSellTime returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasSellTime() bool {
- if o != nil && !isNil(o.SellTime) {
- return true
- }
-
- return false
-}
-
-// SetSellTime gets a reference to the given string and assigns it to the SellTime field.
-func (o *OrderHistoryResult) SetSellTime(v string) {
- o.SellTime = &v
-}
-
-// GetSymbolDisplayName returns the SymbolDisplayName field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetSymbolDisplayName() string {
- if o == nil || isNil(o.SymbolDisplayName) {
- var ret string
- return ret
- }
- return *o.SymbolDisplayName
-}
-
-// GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetSymbolDisplayNameOk() (*string, bool) {
- if o == nil || isNil(o.SymbolDisplayName) {
- return nil, false
- }
- return o.SymbolDisplayName, true
-}
-
-// HasSymbolDisplayName returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasSymbolDisplayName() bool {
- if o != nil && !isNil(o.SymbolDisplayName) {
- return true
- }
-
- return false
-}
-
-// SetSymbolDisplayName gets a reference to the given string and assigns it to the SymbolDisplayName field.
-func (o *OrderHistoryResult) SetSymbolDisplayName(v string) {
- o.SymbolDisplayName = &v
-}
-
-// GetSymbolId returns the SymbolId field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetSymbolId() string {
- if o == nil || isNil(o.SymbolId) {
- var ret string
- return ret
- }
- return *o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetSymbolIdOk() (*string, bool) {
- if o == nil || isNil(o.SymbolId) {
- return nil, false
- }
- return o.SymbolId, true
-}
-
-// HasSymbolId returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasSymbolId() bool {
- if o != nil && !isNil(o.SymbolId) {
- return true
- }
-
- return false
-}
-
-// SetSymbolId gets a reference to the given string and assigns it to the SymbolId field.
-func (o *OrderHistoryResult) SetSymbolId(v string) {
- o.SymbolId = &v
-}
-
-// GetTrackingNo returns the TrackingNo field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetTrackingNo() string {
- if o == nil || isNil(o.TrackingNo) {
- var ret string
- return ret
- }
- return *o.TrackingNo
-}
-
-// GetTrackingNoOk returns a tuple with the TrackingNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetTrackingNoOk() (*string, bool) {
- if o == nil || isNil(o.TrackingNo) {
- return nil, false
- }
- return o.TrackingNo, true
-}
-
-// HasTrackingNo returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasTrackingNo() bool {
- if o != nil && !isNil(o.TrackingNo) {
- return true
- }
-
- return false
-}
-
-// SetTrackingNo gets a reference to the given string and assigns it to the TrackingNo field.
-func (o *OrderHistoryResult) SetTrackingNo(v string) {
- o.TrackingNo = &v
-}
-
-// GetTraderUserId returns the TraderUserId field value if set, zero value otherwise.
-func (o *OrderHistoryResult) GetTraderUserId() string {
- if o == nil || isNil(o.TraderUserId) {
- var ret string
- return ret
- }
- return *o.TraderUserId
-}
-
-// GetTraderUserIdOk returns a tuple with the TraderUserId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderHistoryResult) GetTraderUserIdOk() (*string, bool) {
- if o == nil || isNil(o.TraderUserId) {
- return nil, false
- }
- return o.TraderUserId, true
-}
-
-// HasTraderUserId returns a boolean if a field has been set.
-func (o *OrderHistoryResult) HasTraderUserId() bool {
- if o != nil && !isNil(o.TraderUserId) {
- return true
- }
-
- return false
-}
-
-// SetTraderUserId gets a reference to the given string and assigns it to the TraderUserId field.
-func (o *OrderHistoryResult) SetTraderUserId(v string) {
- o.TraderUserId = &v
-}
-
-func (o OrderHistoryResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BuyLeftTokenId) {
- toSerialize["buyLeftTokenId"] = o.BuyLeftTokenId
- }
- if !isNil(o.BuyPrice) {
- toSerialize["buyPrice"] = o.BuyPrice
- }
- if !isNil(o.BuyRightTokenId) {
- toSerialize["buyRightTokenId"] = o.BuyRightTokenId
- }
- if !isNil(o.BuyTime) {
- toSerialize["buyTime"] = o.BuyTime
- }
- if !isNil(o.DealCount) {
- toSerialize["dealCount"] = o.DealCount
- }
- if !isNil(o.NetProfit) {
- toSerialize["netProfit"] = o.NetProfit
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
- if !isNil(o.ProfitRate) {
- toSerialize["profitRate"] = o.ProfitRate
- }
- if !isNil(o.SellPrice) {
- toSerialize["sellPrice"] = o.SellPrice
- }
- if !isNil(o.SellTime) {
- toSerialize["sellTime"] = o.SellTime
- }
- if !isNil(o.SymbolDisplayName) {
- toSerialize["symbolDisplayName"] = o.SymbolDisplayName
- }
- if !isNil(o.SymbolId) {
- toSerialize["symbolId"] = o.SymbolId
- }
- if !isNil(o.TrackingNo) {
- toSerialize["trackingNo"] = o.TrackingNo
- }
- if !isNil(o.TraderUserId) {
- toSerialize["traderUserId"] = o.TraderUserId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *OrderHistoryResult) UnmarshalJSON(bytes []byte) (err error) {
- varOrderHistoryResult := _OrderHistoryResult{}
-
- if err = json.Unmarshal(bytes, &varOrderHistoryResult); err == nil {
- *o = OrderHistoryResult(varOrderHistoryResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "buyLeftTokenId")
- delete(additionalProperties, "buyPrice")
- delete(additionalProperties, "buyRightTokenId")
- delete(additionalProperties, "buyTime")
- delete(additionalProperties, "dealCount")
- delete(additionalProperties, "netProfit")
- delete(additionalProperties, "profit")
- delete(additionalProperties, "profitRate")
- delete(additionalProperties, "sellPrice")
- delete(additionalProperties, "sellTime")
- delete(additionalProperties, "symbolDisplayName")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "trackingNo")
- delete(additionalProperties, "traderUserId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableOrderHistoryResult struct {
- value *OrderHistoryResult
- isSet bool
-}
-
-func (v NullableOrderHistoryResult) Get() *OrderHistoryResult {
- return v.value
-}
-
-func (v *NullableOrderHistoryResult) Set(val *OrderHistoryResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableOrderHistoryResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableOrderHistoryResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableOrderHistoryResult(val *OrderHistoryResult) *NullableOrderHistoryResult {
- return &NullableOrderHistoryResult{value: val, isSet: true}
-}
-
-func (v NullableOrderHistoryResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableOrderHistoryResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_order_payment_detail_info.go b/bitget-goland-sdk-open-api/model_order_payment_detail_info.go
deleted file mode 100644
index f39f5ac7..00000000
--- a/bitget-goland-sdk-open-api/model_order_payment_detail_info.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// OrderPaymentDetailInfo struct for OrderPaymentDetailInfo
-type OrderPaymentDetailInfo struct {
- Name *string `json:"name,omitempty"`
- Required *bool `json:"required,omitempty"`
- Type *string `json:"type,omitempty"`
- Value *string `json:"value,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _OrderPaymentDetailInfo OrderPaymentDetailInfo
-
-// NewOrderPaymentDetailInfo instantiates a new OrderPaymentDetailInfo object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewOrderPaymentDetailInfo() *OrderPaymentDetailInfo {
- this := OrderPaymentDetailInfo{}
- return &this
-}
-
-// NewOrderPaymentDetailInfoWithDefaults instantiates a new OrderPaymentDetailInfo object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewOrderPaymentDetailInfoWithDefaults() *OrderPaymentDetailInfo {
- this := OrderPaymentDetailInfo{}
- return &this
-}
-
-// GetName returns the Name field value if set, zero value otherwise.
-func (o *OrderPaymentDetailInfo) GetName() string {
- if o == nil || isNil(o.Name) {
- var ret string
- return ret
- }
- return *o.Name
-}
-
-// GetNameOk returns a tuple with the Name field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderPaymentDetailInfo) GetNameOk() (*string, bool) {
- if o == nil || isNil(o.Name) {
- return nil, false
- }
- return o.Name, true
-}
-
-// HasName returns a boolean if a field has been set.
-func (o *OrderPaymentDetailInfo) HasName() bool {
- if o != nil && !isNil(o.Name) {
- return true
- }
-
- return false
-}
-
-// SetName gets a reference to the given string and assigns it to the Name field.
-func (o *OrderPaymentDetailInfo) SetName(v string) {
- o.Name = &v
-}
-
-// GetRequired returns the Required field value if set, zero value otherwise.
-func (o *OrderPaymentDetailInfo) GetRequired() bool {
- if o == nil || isNil(o.Required) {
- var ret bool
- return ret
- }
- return *o.Required
-}
-
-// GetRequiredOk returns a tuple with the Required field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderPaymentDetailInfo) GetRequiredOk() (*bool, bool) {
- if o == nil || isNil(o.Required) {
- return nil, false
- }
- return o.Required, true
-}
-
-// HasRequired returns a boolean if a field has been set.
-func (o *OrderPaymentDetailInfo) HasRequired() bool {
- if o != nil && !isNil(o.Required) {
- return true
- }
-
- return false
-}
-
-// SetRequired gets a reference to the given bool and assigns it to the Required field.
-func (o *OrderPaymentDetailInfo) SetRequired(v bool) {
- o.Required = &v
-}
-
-// GetType returns the Type field value if set, zero value otherwise.
-func (o *OrderPaymentDetailInfo) GetType() string {
- if o == nil || isNil(o.Type) {
- var ret string
- return ret
- }
- return *o.Type
-}
-
-// GetTypeOk returns a tuple with the Type field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderPaymentDetailInfo) GetTypeOk() (*string, bool) {
- if o == nil || isNil(o.Type) {
- return nil, false
- }
- return o.Type, true
-}
-
-// HasType returns a boolean if a field has been set.
-func (o *OrderPaymentDetailInfo) HasType() bool {
- if o != nil && !isNil(o.Type) {
- return true
- }
-
- return false
-}
-
-// SetType gets a reference to the given string and assigns it to the Type field.
-func (o *OrderPaymentDetailInfo) SetType(v string) {
- o.Type = &v
-}
-
-// GetValue returns the Value field value if set, zero value otherwise.
-func (o *OrderPaymentDetailInfo) GetValue() string {
- if o == nil || isNil(o.Value) {
- var ret string
- return ret
- }
- return *o.Value
-}
-
-// GetValueOk returns a tuple with the Value field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *OrderPaymentDetailInfo) GetValueOk() (*string, bool) {
- if o == nil || isNil(o.Value) {
- return nil, false
- }
- return o.Value, true
-}
-
-// HasValue returns a boolean if a field has been set.
-func (o *OrderPaymentDetailInfo) HasValue() bool {
- if o != nil && !isNil(o.Value) {
- return true
- }
-
- return false
-}
-
-// SetValue gets a reference to the given string and assigns it to the Value field.
-func (o *OrderPaymentDetailInfo) SetValue(v string) {
- o.Value = &v
-}
-
-func (o OrderPaymentDetailInfo) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Name) {
- toSerialize["name"] = o.Name
- }
- if !isNil(o.Required) {
- toSerialize["required"] = o.Required
- }
- if !isNil(o.Type) {
- toSerialize["type"] = o.Type
- }
- if !isNil(o.Value) {
- toSerialize["value"] = o.Value
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *OrderPaymentDetailInfo) UnmarshalJSON(bytes []byte) (err error) {
- varOrderPaymentDetailInfo := _OrderPaymentDetailInfo{}
-
- if err = json.Unmarshal(bytes, &varOrderPaymentDetailInfo); err == nil {
- *o = OrderPaymentDetailInfo(varOrderPaymentDetailInfo)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "name")
- delete(additionalProperties, "required")
- delete(additionalProperties, "type")
- delete(additionalProperties, "value")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableOrderPaymentDetailInfo struct {
- value *OrderPaymentDetailInfo
- isSet bool
-}
-
-func (v NullableOrderPaymentDetailInfo) Get() *OrderPaymentDetailInfo {
- return v.value
-}
-
-func (v *NullableOrderPaymentDetailInfo) Set(val *OrderPaymentDetailInfo) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableOrderPaymentDetailInfo) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableOrderPaymentDetailInfo) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableOrderPaymentDetailInfo(val *OrderPaymentDetailInfo) *NullableOrderPaymentDetailInfo {
- return &NullableOrderPaymentDetailInfo{value: val, isSet: true}
-}
-
-func (v NullableOrderPaymentDetailInfo) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableOrderPaymentDetailInfo) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_product_code_request.go b/bitget-goland-sdk-open-api/model_product_code_request.go
deleted file mode 100644
index 1f32213c..00000000
--- a/bitget-goland-sdk-open-api/model_product_code_request.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// ProductCodeRequest struct for ProductCodeRequest
-type ProductCodeRequest struct {
- // symbolIds
- SymbolIds []string `json:"symbolIds"`
- AdditionalProperties map[string]interface{}
-}
-
-type _ProductCodeRequest ProductCodeRequest
-
-// NewProductCodeRequest instantiates a new ProductCodeRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewProductCodeRequest(symbolIds []string) *ProductCodeRequest {
- this := ProductCodeRequest{}
- this.SymbolIds = symbolIds
- return &this
-}
-
-// NewProductCodeRequestWithDefaults instantiates a new ProductCodeRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewProductCodeRequestWithDefaults() *ProductCodeRequest {
- this := ProductCodeRequest{}
- return &this
-}
-
-// GetSymbolIds returns the SymbolIds field value
-func (o *ProductCodeRequest) GetSymbolIds() []string {
- if o == nil {
- var ret []string
- return ret
- }
-
- return o.SymbolIds
-}
-
-// GetSymbolIdsOk returns a tuple with the SymbolIds field value
-// and a boolean to check if the value has been set.
-func (o *ProductCodeRequest) GetSymbolIdsOk() ([]string, bool) {
- if o == nil {
- return nil, false
- }
- return o.SymbolIds, true
-}
-
-// SetSymbolIds sets field value
-func (o *ProductCodeRequest) SetSymbolIds(v []string) {
- o.SymbolIds = v
-}
-
-func (o ProductCodeRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["symbolIds"] = o.SymbolIds
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *ProductCodeRequest) UnmarshalJSON(bytes []byte) (err error) {
- varProductCodeRequest := _ProductCodeRequest{}
-
- if err = json.Unmarshal(bytes, &varProductCodeRequest); err == nil {
- *o = ProductCodeRequest(varProductCodeRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "symbolIds")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableProductCodeRequest struct {
- value *ProductCodeRequest
- isSet bool
-}
-
-func (v NullableProductCodeRequest) Get() *ProductCodeRequest {
- return v.value
-}
-
-func (v *NullableProductCodeRequest) Set(val *ProductCodeRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableProductCodeRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableProductCodeRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableProductCodeRequest(val *ProductCodeRequest) *NullableProductCodeRequest {
- return &NullableProductCodeRequest{value: val, isSet: true}
-}
-
-func (v NullableProductCodeRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableProductCodeRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_remove_trader_request.go b/bitget-goland-sdk-open-api/model_remove_trader_request.go
deleted file mode 100644
index 4ef5bd79..00000000
--- a/bitget-goland-sdk-open-api/model_remove_trader_request.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// RemoveTraderRequest struct for RemoveTraderRequest
-type RemoveTraderRequest struct {
- // traderUserId
- TraderUserId string `json:"traderUserId"`
- AdditionalProperties map[string]interface{}
-}
-
-type _RemoveTraderRequest RemoveTraderRequest
-
-// NewRemoveTraderRequest instantiates a new RemoveTraderRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewRemoveTraderRequest(traderUserId string) *RemoveTraderRequest {
- this := RemoveTraderRequest{}
- this.TraderUserId = traderUserId
- return &this
-}
-
-// NewRemoveTraderRequestWithDefaults instantiates a new RemoveTraderRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewRemoveTraderRequestWithDefaults() *RemoveTraderRequest {
- this := RemoveTraderRequest{}
- return &this
-}
-
-// GetTraderUserId returns the TraderUserId field value
-func (o *RemoveTraderRequest) GetTraderUserId() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TraderUserId
-}
-
-// GetTraderUserIdOk returns a tuple with the TraderUserId field value
-// and a boolean to check if the value has been set.
-func (o *RemoveTraderRequest) GetTraderUserIdOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TraderUserId, true
-}
-
-// SetTraderUserId sets field value
-func (o *RemoveTraderRequest) SetTraderUserId(v string) {
- o.TraderUserId = v
-}
-
-func (o RemoveTraderRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["traderUserId"] = o.TraderUserId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *RemoveTraderRequest) UnmarshalJSON(bytes []byte) (err error) {
- varRemoveTraderRequest := _RemoveTraderRequest{}
-
- if err = json.Unmarshal(bytes, &varRemoveTraderRequest); err == nil {
- *o = RemoveTraderRequest(varRemoveTraderRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "traderUserId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableRemoveTraderRequest struct {
- value *RemoveTraderRequest
- isSet bool
-}
-
-func (v NullableRemoveTraderRequest) Get() *RemoveTraderRequest {
- return v.value
-}
-
-func (v *NullableRemoveTraderRequest) Set(val *RemoveTraderRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableRemoveTraderRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableRemoveTraderRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableRemoveTraderRequest(val *RemoveTraderRequest) *NullableRemoveTraderRequest {
- return &NullableRemoveTraderRequest{value: val, isSet: true}
-}
-
-func (v NullableRemoveTraderRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableRemoveTraderRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_spot_info_result.go b/bitget-goland-sdk-open-api/model_spot_info_result.go
deleted file mode 100644
index 3a729a0a..00000000
--- a/bitget-goland-sdk-open-api/model_spot_info_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// SpotInfoResult struct for SpotInfoResult
-type SpotInfoResult struct {
- MaxCount *string `json:"maxCount,omitempty"`
- SurplusCount *string `json:"surplusCount,omitempty"`
- SymbolId *string `json:"symbolId,omitempty"`
- SymbolName *string `json:"symbolName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _SpotInfoResult SpotInfoResult
-
-// NewSpotInfoResult instantiates a new SpotInfoResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewSpotInfoResult() *SpotInfoResult {
- this := SpotInfoResult{}
- return &this
-}
-
-// NewSpotInfoResultWithDefaults instantiates a new SpotInfoResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewSpotInfoResultWithDefaults() *SpotInfoResult {
- this := SpotInfoResult{}
- return &this
-}
-
-// GetMaxCount returns the MaxCount field value if set, zero value otherwise.
-func (o *SpotInfoResult) GetMaxCount() string {
- if o == nil || isNil(o.MaxCount) {
- var ret string
- return ret
- }
- return *o.MaxCount
-}
-
-// GetMaxCountOk returns a tuple with the MaxCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *SpotInfoResult) GetMaxCountOk() (*string, bool) {
- if o == nil || isNil(o.MaxCount) {
- return nil, false
- }
- return o.MaxCount, true
-}
-
-// HasMaxCount returns a boolean if a field has been set.
-func (o *SpotInfoResult) HasMaxCount() bool {
- if o != nil && !isNil(o.MaxCount) {
- return true
- }
-
- return false
-}
-
-// SetMaxCount gets a reference to the given string and assigns it to the MaxCount field.
-func (o *SpotInfoResult) SetMaxCount(v string) {
- o.MaxCount = &v
-}
-
-// GetSurplusCount returns the SurplusCount field value if set, zero value otherwise.
-func (o *SpotInfoResult) GetSurplusCount() string {
- if o == nil || isNil(o.SurplusCount) {
- var ret string
- return ret
- }
- return *o.SurplusCount
-}
-
-// GetSurplusCountOk returns a tuple with the SurplusCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *SpotInfoResult) GetSurplusCountOk() (*string, bool) {
- if o == nil || isNil(o.SurplusCount) {
- return nil, false
- }
- return o.SurplusCount, true
-}
-
-// HasSurplusCount returns a boolean if a field has been set.
-func (o *SpotInfoResult) HasSurplusCount() bool {
- if o != nil && !isNil(o.SurplusCount) {
- return true
- }
-
- return false
-}
-
-// SetSurplusCount gets a reference to the given string and assigns it to the SurplusCount field.
-func (o *SpotInfoResult) SetSurplusCount(v string) {
- o.SurplusCount = &v
-}
-
-// GetSymbolId returns the SymbolId field value if set, zero value otherwise.
-func (o *SpotInfoResult) GetSymbolId() string {
- if o == nil || isNil(o.SymbolId) {
- var ret string
- return ret
- }
- return *o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *SpotInfoResult) GetSymbolIdOk() (*string, bool) {
- if o == nil || isNil(o.SymbolId) {
- return nil, false
- }
- return o.SymbolId, true
-}
-
-// HasSymbolId returns a boolean if a field has been set.
-func (o *SpotInfoResult) HasSymbolId() bool {
- if o != nil && !isNil(o.SymbolId) {
- return true
- }
-
- return false
-}
-
-// SetSymbolId gets a reference to the given string and assigns it to the SymbolId field.
-func (o *SpotInfoResult) SetSymbolId(v string) {
- o.SymbolId = &v
-}
-
-// GetSymbolName returns the SymbolName field value if set, zero value otherwise.
-func (o *SpotInfoResult) GetSymbolName() string {
- if o == nil || isNil(o.SymbolName) {
- var ret string
- return ret
- }
- return *o.SymbolName
-}
-
-// GetSymbolNameOk returns a tuple with the SymbolName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *SpotInfoResult) GetSymbolNameOk() (*string, bool) {
- if o == nil || isNil(o.SymbolName) {
- return nil, false
- }
- return o.SymbolName, true
-}
-
-// HasSymbolName returns a boolean if a field has been set.
-func (o *SpotInfoResult) HasSymbolName() bool {
- if o != nil && !isNil(o.SymbolName) {
- return true
- }
-
- return false
-}
-
-// SetSymbolName gets a reference to the given string and assigns it to the SymbolName field.
-func (o *SpotInfoResult) SetSymbolName(v string) {
- o.SymbolName = &v
-}
-
-func (o SpotInfoResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.MaxCount) {
- toSerialize["maxCount"] = o.MaxCount
- }
- if !isNil(o.SurplusCount) {
- toSerialize["surplusCount"] = o.SurplusCount
- }
- if !isNil(o.SymbolId) {
- toSerialize["symbolId"] = o.SymbolId
- }
- if !isNil(o.SymbolName) {
- toSerialize["symbolName"] = o.SymbolName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *SpotInfoResult) UnmarshalJSON(bytes []byte) (err error) {
- varSpotInfoResult := _SpotInfoResult{}
-
- if err = json.Unmarshal(bytes, &varSpotInfoResult); err == nil {
- *o = SpotInfoResult(varSpotInfoResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxCount")
- delete(additionalProperties, "surplusCount")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "symbolName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableSpotInfoResult struct {
- value *SpotInfoResult
- isSet bool
-}
-
-func (v NullableSpotInfoResult) Get() *SpotInfoResult {
- return v.value
-}
-
-func (v *NullableSpotInfoResult) Set(val *SpotInfoResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableSpotInfoResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableSpotInfoResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableSpotInfoResult(val *SpotInfoResult) *NullableSpotInfoResult {
- return &NullableSpotInfoResult{value: val, isSet: true}
-}
-
-func (v NullableSpotInfoResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableSpotInfoResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_total_profit_his_detail_list_request.go b/bitget-goland-sdk-open-api/model_total_profit_his_detail_list_request.go
deleted file mode 100644
index 6980493d..00000000
--- a/bitget-goland-sdk-open-api/model_total_profit_his_detail_list_request.go
+++ /dev/null
@@ -1,239 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TotalProfitHisDetailListRequest struct for TotalProfitHisDetailListRequest
-type TotalProfitHisDetailListRequest struct {
- // coinName
- CoinName string `json:"coinName"`
- // date
- Date string `json:"date"`
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TotalProfitHisDetailListRequest TotalProfitHisDetailListRequest
-
-// NewTotalProfitHisDetailListRequest instantiates a new TotalProfitHisDetailListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTotalProfitHisDetailListRequest(coinName string, date string) *TotalProfitHisDetailListRequest {
- this := TotalProfitHisDetailListRequest{}
- this.CoinName = coinName
- this.Date = date
- return &this
-}
-
-// NewTotalProfitHisDetailListRequestWithDefaults instantiates a new TotalProfitHisDetailListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTotalProfitHisDetailListRequestWithDefaults() *TotalProfitHisDetailListRequest {
- this := TotalProfitHisDetailListRequest{}
- return &this
-}
-
-// GetCoinName returns the CoinName field value
-func (o *TotalProfitHisDetailListRequest) GetCoinName() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.CoinName
-}
-
-// GetCoinNameOk returns a tuple with the CoinName field value
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisDetailListRequest) GetCoinNameOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.CoinName, true
-}
-
-// SetCoinName sets field value
-func (o *TotalProfitHisDetailListRequest) SetCoinName(v string) {
- o.CoinName = v
-}
-
-// GetDate returns the Date field value
-func (o *TotalProfitHisDetailListRequest) GetDate() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.Date
-}
-
-// GetDateOk returns a tuple with the Date field value
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisDetailListRequest) GetDateOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.Date, true
-}
-
-// SetDate sets field value
-func (o *TotalProfitHisDetailListRequest) SetDate(v string) {
- o.Date = v
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *TotalProfitHisDetailListRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisDetailListRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *TotalProfitHisDetailListRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *TotalProfitHisDetailListRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *TotalProfitHisDetailListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisDetailListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *TotalProfitHisDetailListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *TotalProfitHisDetailListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o TotalProfitHisDetailListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["coinName"] = o.CoinName
- }
- if true {
- toSerialize["date"] = o.Date
- }
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TotalProfitHisDetailListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTotalProfitHisDetailListRequest := _TotalProfitHisDetailListRequest{}
-
- if err = json.Unmarshal(bytes, &varTotalProfitHisDetailListRequest); err == nil {
- *o = TotalProfitHisDetailListRequest(varTotalProfitHisDetailListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coinName")
- delete(additionalProperties, "date")
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTotalProfitHisDetailListRequest struct {
- value *TotalProfitHisDetailListRequest
- isSet bool
-}
-
-func (v NullableTotalProfitHisDetailListRequest) Get() *TotalProfitHisDetailListRequest {
- return v.value
-}
-
-func (v *NullableTotalProfitHisDetailListRequest) Set(val *TotalProfitHisDetailListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTotalProfitHisDetailListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTotalProfitHisDetailListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTotalProfitHisDetailListRequest(val *TotalProfitHisDetailListRequest) *NullableTotalProfitHisDetailListRequest {
- return &NullableTotalProfitHisDetailListRequest{value: val, isSet: true}
-}
-
-func (v NullableTotalProfitHisDetailListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTotalProfitHisDetailListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_total_profit_his_list_request.go b/bitget-goland-sdk-open-api/model_total_profit_his_list_request.go
deleted file mode 100644
index 81b5eff4..00000000
--- a/bitget-goland-sdk-open-api/model_total_profit_his_list_request.go
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TotalProfitHisListRequest struct for TotalProfitHisListRequest
-type TotalProfitHisListRequest struct {
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TotalProfitHisListRequest TotalProfitHisListRequest
-
-// NewTotalProfitHisListRequest instantiates a new TotalProfitHisListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTotalProfitHisListRequest() *TotalProfitHisListRequest {
- this := TotalProfitHisListRequest{}
- return &this
-}
-
-// NewTotalProfitHisListRequestWithDefaults instantiates a new TotalProfitHisListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTotalProfitHisListRequestWithDefaults() *TotalProfitHisListRequest {
- this := TotalProfitHisListRequest{}
- return &this
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *TotalProfitHisListRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisListRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *TotalProfitHisListRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *TotalProfitHisListRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *TotalProfitHisListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitHisListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *TotalProfitHisListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *TotalProfitHisListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o TotalProfitHisListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TotalProfitHisListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTotalProfitHisListRequest := _TotalProfitHisListRequest{}
-
- if err = json.Unmarshal(bytes, &varTotalProfitHisListRequest); err == nil {
- *o = TotalProfitHisListRequest(varTotalProfitHisListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTotalProfitHisListRequest struct {
- value *TotalProfitHisListRequest
- isSet bool
-}
-
-func (v NullableTotalProfitHisListRequest) Get() *TotalProfitHisListRequest {
- return v.value
-}
-
-func (v *NullableTotalProfitHisListRequest) Set(val *TotalProfitHisListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTotalProfitHisListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTotalProfitHisListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTotalProfitHisListRequest(val *TotalProfitHisListRequest) *NullableTotalProfitHisListRequest {
- return &NullableTotalProfitHisListRequest{value: val, isSet: true}
-}
-
-func (v NullableTotalProfitHisListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTotalProfitHisListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_total_profit_list_request.go b/bitget-goland-sdk-open-api/model_total_profit_list_request.go
deleted file mode 100644
index ff5caf99..00000000
--- a/bitget-goland-sdk-open-api/model_total_profit_list_request.go
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TotalProfitListRequest struct for TotalProfitListRequest
-type TotalProfitListRequest struct {
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TotalProfitListRequest TotalProfitListRequest
-
-// NewTotalProfitListRequest instantiates a new TotalProfitListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTotalProfitListRequest() *TotalProfitListRequest {
- this := TotalProfitListRequest{}
- return &this
-}
-
-// NewTotalProfitListRequestWithDefaults instantiates a new TotalProfitListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTotalProfitListRequestWithDefaults() *TotalProfitListRequest {
- this := TotalProfitListRequest{}
- return &this
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *TotalProfitListRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitListRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *TotalProfitListRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *TotalProfitListRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *TotalProfitListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TotalProfitListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *TotalProfitListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *TotalProfitListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o TotalProfitListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TotalProfitListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTotalProfitListRequest := _TotalProfitListRequest{}
-
- if err = json.Unmarshal(bytes, &varTotalProfitListRequest); err == nil {
- *o = TotalProfitListRequest(varTotalProfitListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTotalProfitListRequest struct {
- value *TotalProfitListRequest
- isSet bool
-}
-
-func (v NullableTotalProfitListRequest) Get() *TotalProfitListRequest {
- return v.value
-}
-
-func (v *NullableTotalProfitListRequest) Set(val *TotalProfitListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTotalProfitListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTotalProfitListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTotalProfitListRequest(val *TotalProfitListRequest) *NullableTotalProfitListRequest {
- return &NullableTotalProfitListRequest{value: val, isSet: true}
-}
-
-func (v NullableTotalProfitListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTotalProfitListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_config_request.go b/bitget-goland-sdk-open-api/model_trace_config_request.go
deleted file mode 100644
index a1cee0f0..00000000
--- a/bitget-goland-sdk-open-api/model_trace_config_request.go
+++ /dev/null
@@ -1,200 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceConfigRequest struct for TraceConfigRequest
-type TraceConfigRequest struct {
- Setting []TraceConfigSettingRequest `json:"setting,omitempty"`
- // settingType
- SettingType string `json:"settingType"`
- // traderUserId
- TraderUserId string `json:"traderUserId"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceConfigRequest TraceConfigRequest
-
-// NewTraceConfigRequest instantiates a new TraceConfigRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceConfigRequest(settingType string, traderUserId string) *TraceConfigRequest {
- this := TraceConfigRequest{}
- this.SettingType = settingType
- this.TraderUserId = traderUserId
- return &this
-}
-
-// NewTraceConfigRequestWithDefaults instantiates a new TraceConfigRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceConfigRequestWithDefaults() *TraceConfigRequest {
- this := TraceConfigRequest{}
- return &this
-}
-
-// GetSetting returns the Setting field value if set, zero value otherwise.
-func (o *TraceConfigRequest) GetSetting() []TraceConfigSettingRequest {
- if o == nil || isNil(o.Setting) {
- var ret []TraceConfigSettingRequest
- return ret
- }
- return o.Setting
-}
-
-// GetSettingOk returns a tuple with the Setting field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceConfigRequest) GetSettingOk() ([]TraceConfigSettingRequest, bool) {
- if o == nil || isNil(o.Setting) {
- return nil, false
- }
- return o.Setting, true
-}
-
-// HasSetting returns a boolean if a field has been set.
-func (o *TraceConfigRequest) HasSetting() bool {
- if o != nil && !isNil(o.Setting) {
- return true
- }
-
- return false
-}
-
-// SetSetting gets a reference to the given []TraceConfigSettingRequest and assigns it to the Setting field.
-func (o *TraceConfigRequest) SetSetting(v []TraceConfigSettingRequest) {
- o.Setting = v
-}
-
-// GetSettingType returns the SettingType field value
-func (o *TraceConfigRequest) GetSettingType() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.SettingType
-}
-
-// GetSettingTypeOk returns a tuple with the SettingType field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigRequest) GetSettingTypeOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.SettingType, true
-}
-
-// SetSettingType sets field value
-func (o *TraceConfigRequest) SetSettingType(v string) {
- o.SettingType = v
-}
-
-// GetTraderUserId returns the TraderUserId field value
-func (o *TraceConfigRequest) GetTraderUserId() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TraderUserId
-}
-
-// GetTraderUserIdOk returns a tuple with the TraderUserId field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigRequest) GetTraderUserIdOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TraderUserId, true
-}
-
-// SetTraderUserId sets field value
-func (o *TraceConfigRequest) SetTraderUserId(v string) {
- o.TraderUserId = v
-}
-
-func (o TraceConfigRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Setting) {
- toSerialize["setting"] = o.Setting
- }
- if true {
- toSerialize["settingType"] = o.SettingType
- }
- if true {
- toSerialize["traderUserId"] = o.TraderUserId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceConfigRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTraceConfigRequest := _TraceConfigRequest{}
-
- if err = json.Unmarshal(bytes, &varTraceConfigRequest); err == nil {
- *o = TraceConfigRequest(varTraceConfigRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "setting")
- delete(additionalProperties, "settingType")
- delete(additionalProperties, "traderUserId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceConfigRequest struct {
- value *TraceConfigRequest
- isSet bool
-}
-
-func (v NullableTraceConfigRequest) Get() *TraceConfigRequest {
- return v.value
-}
-
-func (v *NullableTraceConfigRequest) Set(val *TraceConfigRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceConfigRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceConfigRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceConfigRequest(val *TraceConfigRequest) *NullableTraceConfigRequest {
- return &NullableTraceConfigRequest{value: val, isSet: true}
-}
-
-func (v NullableTraceConfigRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceConfigRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_config_setting_request.go b/bitget-goland-sdk-open-api/model_trace_config_setting_request.go
deleted file mode 100644
index f706af6b..00000000
--- a/bitget-goland-sdk-open-api/model_trace_config_setting_request.go
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceConfigSettingRequest struct for TraceConfigSettingRequest
-type TraceConfigSettingRequest struct {
- // maxHoldCount
- MaxHoldCount string `json:"maxHoldCount"`
- // stopLossRation
- StopLossRation string `json:"stopLossRation"`
- // stopProfitRation
- StopProfitRation string `json:"stopProfitRation"`
- // symbolId
- SymbolId string `json:"symbolId"`
- // traceType
- TraceType string `json:"traceType"`
- // traceValue
- TraceValue string `json:"traceValue"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceConfigSettingRequest TraceConfigSettingRequest
-
-// NewTraceConfigSettingRequest instantiates a new TraceConfigSettingRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceConfigSettingRequest(maxHoldCount string, stopLossRation string, stopProfitRation string, symbolId string, traceType string, traceValue string) *TraceConfigSettingRequest {
- this := TraceConfigSettingRequest{}
- this.MaxHoldCount = maxHoldCount
- this.StopLossRation = stopLossRation
- this.StopProfitRation = stopProfitRation
- this.SymbolId = symbolId
- this.TraceType = traceType
- this.TraceValue = traceValue
- return &this
-}
-
-// NewTraceConfigSettingRequestWithDefaults instantiates a new TraceConfigSettingRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceConfigSettingRequestWithDefaults() *TraceConfigSettingRequest {
- this := TraceConfigSettingRequest{}
- return &this
-}
-
-// GetMaxHoldCount returns the MaxHoldCount field value
-func (o *TraceConfigSettingRequest) GetMaxHoldCount() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.MaxHoldCount
-}
-
-// GetMaxHoldCountOk returns a tuple with the MaxHoldCount field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetMaxHoldCountOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.MaxHoldCount, true
-}
-
-// SetMaxHoldCount sets field value
-func (o *TraceConfigSettingRequest) SetMaxHoldCount(v string) {
- o.MaxHoldCount = v
-}
-
-// GetStopLossRation returns the StopLossRation field value
-func (o *TraceConfigSettingRequest) GetStopLossRation() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.StopLossRation
-}
-
-// GetStopLossRationOk returns a tuple with the StopLossRation field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetStopLossRationOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.StopLossRation, true
-}
-
-// SetStopLossRation sets field value
-func (o *TraceConfigSettingRequest) SetStopLossRation(v string) {
- o.StopLossRation = v
-}
-
-// GetStopProfitRation returns the StopProfitRation field value
-func (o *TraceConfigSettingRequest) GetStopProfitRation() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.StopProfitRation
-}
-
-// GetStopProfitRationOk returns a tuple with the StopProfitRation field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetStopProfitRationOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.StopProfitRation, true
-}
-
-// SetStopProfitRation sets field value
-func (o *TraceConfigSettingRequest) SetStopProfitRation(v string) {
- o.StopProfitRation = v
-}
-
-// GetSymbolId returns the SymbolId field value
-func (o *TraceConfigSettingRequest) GetSymbolId() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetSymbolIdOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.SymbolId, true
-}
-
-// SetSymbolId sets field value
-func (o *TraceConfigSettingRequest) SetSymbolId(v string) {
- o.SymbolId = v
-}
-
-// GetTraceType returns the TraceType field value
-func (o *TraceConfigSettingRequest) GetTraceType() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TraceType
-}
-
-// GetTraceTypeOk returns a tuple with the TraceType field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetTraceTypeOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TraceType, true
-}
-
-// SetTraceType sets field value
-func (o *TraceConfigSettingRequest) SetTraceType(v string) {
- o.TraceType = v
-}
-
-// GetTraceValue returns the TraceValue field value
-func (o *TraceConfigSettingRequest) GetTraceValue() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TraceValue
-}
-
-// GetTraceValueOk returns a tuple with the TraceValue field value
-// and a boolean to check if the value has been set.
-func (o *TraceConfigSettingRequest) GetTraceValueOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TraceValue, true
-}
-
-// SetTraceValue sets field value
-func (o *TraceConfigSettingRequest) SetTraceValue(v string) {
- o.TraceValue = v
-}
-
-func (o TraceConfigSettingRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["maxHoldCount"] = o.MaxHoldCount
- }
- if true {
- toSerialize["stopLossRation"] = o.StopLossRation
- }
- if true {
- toSerialize["stopProfitRation"] = o.StopProfitRation
- }
- if true {
- toSerialize["symbolId"] = o.SymbolId
- }
- if true {
- toSerialize["traceType"] = o.TraceType
- }
- if true {
- toSerialize["traceValue"] = o.TraceValue
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceConfigSettingRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTraceConfigSettingRequest := _TraceConfigSettingRequest{}
-
- if err = json.Unmarshal(bytes, &varTraceConfigSettingRequest); err == nil {
- *o = TraceConfigSettingRequest(varTraceConfigSettingRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "maxHoldCount")
- delete(additionalProperties, "stopLossRation")
- delete(additionalProperties, "stopProfitRation")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "traceType")
- delete(additionalProperties, "traceValue")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceConfigSettingRequest struct {
- value *TraceConfigSettingRequest
- isSet bool
-}
-
-func (v NullableTraceConfigSettingRequest) Get() *TraceConfigSettingRequest {
- return v.value
-}
-
-func (v *NullableTraceConfigSettingRequest) Set(val *TraceConfigSettingRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceConfigSettingRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceConfigSettingRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceConfigSettingRequest(val *TraceConfigSettingRequest) *NullableTraceConfigSettingRequest {
- return &NullableTraceConfigSettingRequest{value: val, isSet: true}
-}
-
-func (v NullableTraceConfigSettingRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceConfigSettingRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_setting_batch_details_result.go b/bitget-goland-sdk-open-api/model_trace_setting_batch_details_result.go
deleted file mode 100644
index aebd5bb6..00000000
--- a/bitget-goland-sdk-open-api/model_trace_setting_batch_details_result.go
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceSettingBatchDetailsResult struct for TraceSettingBatchDetailsResult
-type TraceSettingBatchDetailsResult struct {
- BusinessLineCode *string `json:"businessLineCode,omitempty"`
- MaxTraceAmount *string `json:"maxTraceAmount,omitempty"`
- StopLossRation *string `json:"stopLossRation,omitempty"`
- StopProfitRation *string `json:"stopProfitRation,omitempty"`
- SymbolDisplayName *string `json:"symbolDisplayName,omitempty"`
- SymbolId *string `json:"symbolId,omitempty"`
- TraceType *string `json:"traceType,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceSettingBatchDetailsResult TraceSettingBatchDetailsResult
-
-// NewTraceSettingBatchDetailsResult instantiates a new TraceSettingBatchDetailsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceSettingBatchDetailsResult() *TraceSettingBatchDetailsResult {
- this := TraceSettingBatchDetailsResult{}
- return &this
-}
-
-// NewTraceSettingBatchDetailsResultWithDefaults instantiates a new TraceSettingBatchDetailsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceSettingBatchDetailsResultWithDefaults() *TraceSettingBatchDetailsResult {
- this := TraceSettingBatchDetailsResult{}
- return &this
-}
-
-// GetBusinessLineCode returns the BusinessLineCode field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetBusinessLineCode() string {
- if o == nil || isNil(o.BusinessLineCode) {
- var ret string
- return ret
- }
- return *o.BusinessLineCode
-}
-
-// GetBusinessLineCodeOk returns a tuple with the BusinessLineCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetBusinessLineCodeOk() (*string, bool) {
- if o == nil || isNil(o.BusinessLineCode) {
- return nil, false
- }
- return o.BusinessLineCode, true
-}
-
-// HasBusinessLineCode returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasBusinessLineCode() bool {
- if o != nil && !isNil(o.BusinessLineCode) {
- return true
- }
-
- return false
-}
-
-// SetBusinessLineCode gets a reference to the given string and assigns it to the BusinessLineCode field.
-func (o *TraceSettingBatchDetailsResult) SetBusinessLineCode(v string) {
- o.BusinessLineCode = &v
-}
-
-// GetMaxTraceAmount returns the MaxTraceAmount field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetMaxTraceAmount() string {
- if o == nil || isNil(o.MaxTraceAmount) {
- var ret string
- return ret
- }
- return *o.MaxTraceAmount
-}
-
-// GetMaxTraceAmountOk returns a tuple with the MaxTraceAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetMaxTraceAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTraceAmount) {
- return nil, false
- }
- return o.MaxTraceAmount, true
-}
-
-// HasMaxTraceAmount returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasMaxTraceAmount() bool {
- if o != nil && !isNil(o.MaxTraceAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTraceAmount gets a reference to the given string and assigns it to the MaxTraceAmount field.
-func (o *TraceSettingBatchDetailsResult) SetMaxTraceAmount(v string) {
- o.MaxTraceAmount = &v
-}
-
-// GetStopLossRation returns the StopLossRation field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetStopLossRation() string {
- if o == nil || isNil(o.StopLossRation) {
- var ret string
- return ret
- }
- return *o.StopLossRation
-}
-
-// GetStopLossRationOk returns a tuple with the StopLossRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetStopLossRationOk() (*string, bool) {
- if o == nil || isNil(o.StopLossRation) {
- return nil, false
- }
- return o.StopLossRation, true
-}
-
-// HasStopLossRation returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasStopLossRation() bool {
- if o != nil && !isNil(o.StopLossRation) {
- return true
- }
-
- return false
-}
-
-// SetStopLossRation gets a reference to the given string and assigns it to the StopLossRation field.
-func (o *TraceSettingBatchDetailsResult) SetStopLossRation(v string) {
- o.StopLossRation = &v
-}
-
-// GetStopProfitRation returns the StopProfitRation field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetStopProfitRation() string {
- if o == nil || isNil(o.StopProfitRation) {
- var ret string
- return ret
- }
- return *o.StopProfitRation
-}
-
-// GetStopProfitRationOk returns a tuple with the StopProfitRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetStopProfitRationOk() (*string, bool) {
- if o == nil || isNil(o.StopProfitRation) {
- return nil, false
- }
- return o.StopProfitRation, true
-}
-
-// HasStopProfitRation returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasStopProfitRation() bool {
- if o != nil && !isNil(o.StopProfitRation) {
- return true
- }
-
- return false
-}
-
-// SetStopProfitRation gets a reference to the given string and assigns it to the StopProfitRation field.
-func (o *TraceSettingBatchDetailsResult) SetStopProfitRation(v string) {
- o.StopProfitRation = &v
-}
-
-// GetSymbolDisplayName returns the SymbolDisplayName field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetSymbolDisplayName() string {
- if o == nil || isNil(o.SymbolDisplayName) {
- var ret string
- return ret
- }
- return *o.SymbolDisplayName
-}
-
-// GetSymbolDisplayNameOk returns a tuple with the SymbolDisplayName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetSymbolDisplayNameOk() (*string, bool) {
- if o == nil || isNil(o.SymbolDisplayName) {
- return nil, false
- }
- return o.SymbolDisplayName, true
-}
-
-// HasSymbolDisplayName returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasSymbolDisplayName() bool {
- if o != nil && !isNil(o.SymbolDisplayName) {
- return true
- }
-
- return false
-}
-
-// SetSymbolDisplayName gets a reference to the given string and assigns it to the SymbolDisplayName field.
-func (o *TraceSettingBatchDetailsResult) SetSymbolDisplayName(v string) {
- o.SymbolDisplayName = &v
-}
-
-// GetSymbolId returns the SymbolId field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetSymbolId() string {
- if o == nil || isNil(o.SymbolId) {
- var ret string
- return ret
- }
- return *o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetSymbolIdOk() (*string, bool) {
- if o == nil || isNil(o.SymbolId) {
- return nil, false
- }
- return o.SymbolId, true
-}
-
-// HasSymbolId returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasSymbolId() bool {
- if o != nil && !isNil(o.SymbolId) {
- return true
- }
-
- return false
-}
-
-// SetSymbolId gets a reference to the given string and assigns it to the SymbolId field.
-func (o *TraceSettingBatchDetailsResult) SetSymbolId(v string) {
- o.SymbolId = &v
-}
-
-// GetTraceType returns the TraceType field value if set, zero value otherwise.
-func (o *TraceSettingBatchDetailsResult) GetTraceType() string {
- if o == nil || isNil(o.TraceType) {
- var ret string
- return ret
- }
- return *o.TraceType
-}
-
-// GetTraceTypeOk returns a tuple with the TraceType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingBatchDetailsResult) GetTraceTypeOk() (*string, bool) {
- if o == nil || isNil(o.TraceType) {
- return nil, false
- }
- return o.TraceType, true
-}
-
-// HasTraceType returns a boolean if a field has been set.
-func (o *TraceSettingBatchDetailsResult) HasTraceType() bool {
- if o != nil && !isNil(o.TraceType) {
- return true
- }
-
- return false
-}
-
-// SetTraceType gets a reference to the given string and assigns it to the TraceType field.
-func (o *TraceSettingBatchDetailsResult) SetTraceType(v string) {
- o.TraceType = &v
-}
-
-func (o TraceSettingBatchDetailsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BusinessLineCode) {
- toSerialize["businessLineCode"] = o.BusinessLineCode
- }
- if !isNil(o.MaxTraceAmount) {
- toSerialize["maxTraceAmount"] = o.MaxTraceAmount
- }
- if !isNil(o.StopLossRation) {
- toSerialize["stopLossRation"] = o.StopLossRation
- }
- if !isNil(o.StopProfitRation) {
- toSerialize["stopProfitRation"] = o.StopProfitRation
- }
- if !isNil(o.SymbolDisplayName) {
- toSerialize["symbolDisplayName"] = o.SymbolDisplayName
- }
- if !isNil(o.SymbolId) {
- toSerialize["symbolId"] = o.SymbolId
- }
- if !isNil(o.TraceType) {
- toSerialize["traceType"] = o.TraceType
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceSettingBatchDetailsResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraceSettingBatchDetailsResult := _TraceSettingBatchDetailsResult{}
-
- if err = json.Unmarshal(bytes, &varTraceSettingBatchDetailsResult); err == nil {
- *o = TraceSettingBatchDetailsResult(varTraceSettingBatchDetailsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "businessLineCode")
- delete(additionalProperties, "maxTraceAmount")
- delete(additionalProperties, "stopLossRation")
- delete(additionalProperties, "stopProfitRation")
- delete(additionalProperties, "symbolDisplayName")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "traceType")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceSettingBatchDetailsResult struct {
- value *TraceSettingBatchDetailsResult
- isSet bool
-}
-
-func (v NullableTraceSettingBatchDetailsResult) Get() *TraceSettingBatchDetailsResult {
- return v.value
-}
-
-func (v *NullableTraceSettingBatchDetailsResult) Set(val *TraceSettingBatchDetailsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceSettingBatchDetailsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceSettingBatchDetailsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceSettingBatchDetailsResult(val *TraceSettingBatchDetailsResult) *NullableTraceSettingBatchDetailsResult {
- return &NullableTraceSettingBatchDetailsResult{value: val, isSet: true}
-}
-
-func (v NullableTraceSettingBatchDetailsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceSettingBatchDetailsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_setting_product_configs_result.go b/bitget-goland-sdk-open-api/model_trace_setting_product_configs_result.go
deleted file mode 100644
index cd5476ac..00000000
--- a/bitget-goland-sdk-open-api/model_trace_setting_product_configs_result.go
+++ /dev/null
@@ -1,693 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceSettingProductConfigsResult struct for TraceSettingProductConfigsResult
-type TraceSettingProductConfigsResult struct {
- BusinessLine *string `json:"businessLine,omitempty"`
- MaxStopLossRation *string `json:"maxStopLossRation,omitempty"`
- MaxStopProfitRation *string `json:"maxStopProfitRation,omitempty"`
- MaxTraceAmount *string `json:"maxTraceAmount,omitempty"`
- MaxTraceAmountSystem *string `json:"maxTraceAmountSystem,omitempty"`
- MaxTraceCount *string `json:"maxTraceCount,omitempty"`
- MaxTraceRation *string `json:"maxTraceRation,omitempty"`
- MinStopLossRation *string `json:"minStopLossRation,omitempty"`
- MinStopProfitRation *string `json:"minStopProfitRation,omitempty"`
- MinTraceAmount *string `json:"minTraceAmount,omitempty"`
- MinTraceCount *string `json:"minTraceCount,omitempty"`
- MinTraceRation *string `json:"minTraceRation,omitempty"`
- SliderMaxStopLossRatio *string `json:"sliderMaxStopLossRatio,omitempty"`
- SliderMaxStopProfitRatio *string `json:"sliderMaxStopProfitRatio,omitempty"`
- SymbolId *string `json:"symbolId,omitempty"`
- SymbolName *string `json:"symbolName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceSettingProductConfigsResult TraceSettingProductConfigsResult
-
-// NewTraceSettingProductConfigsResult instantiates a new TraceSettingProductConfigsResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceSettingProductConfigsResult() *TraceSettingProductConfigsResult {
- this := TraceSettingProductConfigsResult{}
- return &this
-}
-
-// NewTraceSettingProductConfigsResultWithDefaults instantiates a new TraceSettingProductConfigsResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceSettingProductConfigsResultWithDefaults() *TraceSettingProductConfigsResult {
- this := TraceSettingProductConfigsResult{}
- return &this
-}
-
-// GetBusinessLine returns the BusinessLine field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetBusinessLine() string {
- if o == nil || isNil(o.BusinessLine) {
- var ret string
- return ret
- }
- return *o.BusinessLine
-}
-
-// GetBusinessLineOk returns a tuple with the BusinessLine field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetBusinessLineOk() (*string, bool) {
- if o == nil || isNil(o.BusinessLine) {
- return nil, false
- }
- return o.BusinessLine, true
-}
-
-// HasBusinessLine returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasBusinessLine() bool {
- if o != nil && !isNil(o.BusinessLine) {
- return true
- }
-
- return false
-}
-
-// SetBusinessLine gets a reference to the given string and assigns it to the BusinessLine field.
-func (o *TraceSettingProductConfigsResult) SetBusinessLine(v string) {
- o.BusinessLine = &v
-}
-
-// GetMaxStopLossRation returns the MaxStopLossRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxStopLossRation() string {
- if o == nil || isNil(o.MaxStopLossRation) {
- var ret string
- return ret
- }
- return *o.MaxStopLossRation
-}
-
-// GetMaxStopLossRationOk returns a tuple with the MaxStopLossRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxStopLossRationOk() (*string, bool) {
- if o == nil || isNil(o.MaxStopLossRation) {
- return nil, false
- }
- return o.MaxStopLossRation, true
-}
-
-// HasMaxStopLossRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxStopLossRation() bool {
- if o != nil && !isNil(o.MaxStopLossRation) {
- return true
- }
-
- return false
-}
-
-// SetMaxStopLossRation gets a reference to the given string and assigns it to the MaxStopLossRation field.
-func (o *TraceSettingProductConfigsResult) SetMaxStopLossRation(v string) {
- o.MaxStopLossRation = &v
-}
-
-// GetMaxStopProfitRation returns the MaxStopProfitRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxStopProfitRation() string {
- if o == nil || isNil(o.MaxStopProfitRation) {
- var ret string
- return ret
- }
- return *o.MaxStopProfitRation
-}
-
-// GetMaxStopProfitRationOk returns a tuple with the MaxStopProfitRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxStopProfitRationOk() (*string, bool) {
- if o == nil || isNil(o.MaxStopProfitRation) {
- return nil, false
- }
- return o.MaxStopProfitRation, true
-}
-
-// HasMaxStopProfitRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxStopProfitRation() bool {
- if o != nil && !isNil(o.MaxStopProfitRation) {
- return true
- }
-
- return false
-}
-
-// SetMaxStopProfitRation gets a reference to the given string and assigns it to the MaxStopProfitRation field.
-func (o *TraceSettingProductConfigsResult) SetMaxStopProfitRation(v string) {
- o.MaxStopProfitRation = &v
-}
-
-// GetMaxTraceAmount returns the MaxTraceAmount field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceAmount() string {
- if o == nil || isNil(o.MaxTraceAmount) {
- var ret string
- return ret
- }
- return *o.MaxTraceAmount
-}
-
-// GetMaxTraceAmountOk returns a tuple with the MaxTraceAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTraceAmount) {
- return nil, false
- }
- return o.MaxTraceAmount, true
-}
-
-// HasMaxTraceAmount returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxTraceAmount() bool {
- if o != nil && !isNil(o.MaxTraceAmount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTraceAmount gets a reference to the given string and assigns it to the MaxTraceAmount field.
-func (o *TraceSettingProductConfigsResult) SetMaxTraceAmount(v string) {
- o.MaxTraceAmount = &v
-}
-
-// GetMaxTraceAmountSystem returns the MaxTraceAmountSystem field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountSystem() string {
- if o == nil || isNil(o.MaxTraceAmountSystem) {
- var ret string
- return ret
- }
- return *o.MaxTraceAmountSystem
-}
-
-// GetMaxTraceAmountSystemOk returns a tuple with the MaxTraceAmountSystem field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceAmountSystemOk() (*string, bool) {
- if o == nil || isNil(o.MaxTraceAmountSystem) {
- return nil, false
- }
- return o.MaxTraceAmountSystem, true
-}
-
-// HasMaxTraceAmountSystem returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxTraceAmountSystem() bool {
- if o != nil && !isNil(o.MaxTraceAmountSystem) {
- return true
- }
-
- return false
-}
-
-// SetMaxTraceAmountSystem gets a reference to the given string and assigns it to the MaxTraceAmountSystem field.
-func (o *TraceSettingProductConfigsResult) SetMaxTraceAmountSystem(v string) {
- o.MaxTraceAmountSystem = &v
-}
-
-// GetMaxTraceCount returns the MaxTraceCount field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceCount() string {
- if o == nil || isNil(o.MaxTraceCount) {
- var ret string
- return ret
- }
- return *o.MaxTraceCount
-}
-
-// GetMaxTraceCountOk returns a tuple with the MaxTraceCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceCountOk() (*string, bool) {
- if o == nil || isNil(o.MaxTraceCount) {
- return nil, false
- }
- return o.MaxTraceCount, true
-}
-
-// HasMaxTraceCount returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxTraceCount() bool {
- if o != nil && !isNil(o.MaxTraceCount) {
- return true
- }
-
- return false
-}
-
-// SetMaxTraceCount gets a reference to the given string and assigns it to the MaxTraceCount field.
-func (o *TraceSettingProductConfigsResult) SetMaxTraceCount(v string) {
- o.MaxTraceCount = &v
-}
-
-// GetMaxTraceRation returns the MaxTraceRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceRation() string {
- if o == nil || isNil(o.MaxTraceRation) {
- var ret string
- return ret
- }
- return *o.MaxTraceRation
-}
-
-// GetMaxTraceRationOk returns a tuple with the MaxTraceRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMaxTraceRationOk() (*string, bool) {
- if o == nil || isNil(o.MaxTraceRation) {
- return nil, false
- }
- return o.MaxTraceRation, true
-}
-
-// HasMaxTraceRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMaxTraceRation() bool {
- if o != nil && !isNil(o.MaxTraceRation) {
- return true
- }
-
- return false
-}
-
-// SetMaxTraceRation gets a reference to the given string and assigns it to the MaxTraceRation field.
-func (o *TraceSettingProductConfigsResult) SetMaxTraceRation(v string) {
- o.MaxTraceRation = &v
-}
-
-// GetMinStopLossRation returns the MinStopLossRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMinStopLossRation() string {
- if o == nil || isNil(o.MinStopLossRation) {
- var ret string
- return ret
- }
- return *o.MinStopLossRation
-}
-
-// GetMinStopLossRationOk returns a tuple with the MinStopLossRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMinStopLossRationOk() (*string, bool) {
- if o == nil || isNil(o.MinStopLossRation) {
- return nil, false
- }
- return o.MinStopLossRation, true
-}
-
-// HasMinStopLossRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMinStopLossRation() bool {
- if o != nil && !isNil(o.MinStopLossRation) {
- return true
- }
-
- return false
-}
-
-// SetMinStopLossRation gets a reference to the given string and assigns it to the MinStopLossRation field.
-func (o *TraceSettingProductConfigsResult) SetMinStopLossRation(v string) {
- o.MinStopLossRation = &v
-}
-
-// GetMinStopProfitRation returns the MinStopProfitRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMinStopProfitRation() string {
- if o == nil || isNil(o.MinStopProfitRation) {
- var ret string
- return ret
- }
- return *o.MinStopProfitRation
-}
-
-// GetMinStopProfitRationOk returns a tuple with the MinStopProfitRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMinStopProfitRationOk() (*string, bool) {
- if o == nil || isNil(o.MinStopProfitRation) {
- return nil, false
- }
- return o.MinStopProfitRation, true
-}
-
-// HasMinStopProfitRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMinStopProfitRation() bool {
- if o != nil && !isNil(o.MinStopProfitRation) {
- return true
- }
-
- return false
-}
-
-// SetMinStopProfitRation gets a reference to the given string and assigns it to the MinStopProfitRation field.
-func (o *TraceSettingProductConfigsResult) SetMinStopProfitRation(v string) {
- o.MinStopProfitRation = &v
-}
-
-// GetMinTraceAmount returns the MinTraceAmount field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMinTraceAmount() string {
- if o == nil || isNil(o.MinTraceAmount) {
- var ret string
- return ret
- }
- return *o.MinTraceAmount
-}
-
-// GetMinTraceAmountOk returns a tuple with the MinTraceAmount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMinTraceAmountOk() (*string, bool) {
- if o == nil || isNil(o.MinTraceAmount) {
- return nil, false
- }
- return o.MinTraceAmount, true
-}
-
-// HasMinTraceAmount returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMinTraceAmount() bool {
- if o != nil && !isNil(o.MinTraceAmount) {
- return true
- }
-
- return false
-}
-
-// SetMinTraceAmount gets a reference to the given string and assigns it to the MinTraceAmount field.
-func (o *TraceSettingProductConfigsResult) SetMinTraceAmount(v string) {
- o.MinTraceAmount = &v
-}
-
-// GetMinTraceCount returns the MinTraceCount field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMinTraceCount() string {
- if o == nil || isNil(o.MinTraceCount) {
- var ret string
- return ret
- }
- return *o.MinTraceCount
-}
-
-// GetMinTraceCountOk returns a tuple with the MinTraceCount field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMinTraceCountOk() (*string, bool) {
- if o == nil || isNil(o.MinTraceCount) {
- return nil, false
- }
- return o.MinTraceCount, true
-}
-
-// HasMinTraceCount returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMinTraceCount() bool {
- if o != nil && !isNil(o.MinTraceCount) {
- return true
- }
-
- return false
-}
-
-// SetMinTraceCount gets a reference to the given string and assigns it to the MinTraceCount field.
-func (o *TraceSettingProductConfigsResult) SetMinTraceCount(v string) {
- o.MinTraceCount = &v
-}
-
-// GetMinTraceRation returns the MinTraceRation field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetMinTraceRation() string {
- if o == nil || isNil(o.MinTraceRation) {
- var ret string
- return ret
- }
- return *o.MinTraceRation
-}
-
-// GetMinTraceRationOk returns a tuple with the MinTraceRation field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetMinTraceRationOk() (*string, bool) {
- if o == nil || isNil(o.MinTraceRation) {
- return nil, false
- }
- return o.MinTraceRation, true
-}
-
-// HasMinTraceRation returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasMinTraceRation() bool {
- if o != nil && !isNil(o.MinTraceRation) {
- return true
- }
-
- return false
-}
-
-// SetMinTraceRation gets a reference to the given string and assigns it to the MinTraceRation field.
-func (o *TraceSettingProductConfigsResult) SetMinTraceRation(v string) {
- o.MinTraceRation = &v
-}
-
-// GetSliderMaxStopLossRatio returns the SliderMaxStopLossRatio field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetSliderMaxStopLossRatio() string {
- if o == nil || isNil(o.SliderMaxStopLossRatio) {
- var ret string
- return ret
- }
- return *o.SliderMaxStopLossRatio
-}
-
-// GetSliderMaxStopLossRatioOk returns a tuple with the SliderMaxStopLossRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetSliderMaxStopLossRatioOk() (*string, bool) {
- if o == nil || isNil(o.SliderMaxStopLossRatio) {
- return nil, false
- }
- return o.SliderMaxStopLossRatio, true
-}
-
-// HasSliderMaxStopLossRatio returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasSliderMaxStopLossRatio() bool {
- if o != nil && !isNil(o.SliderMaxStopLossRatio) {
- return true
- }
-
- return false
-}
-
-// SetSliderMaxStopLossRatio gets a reference to the given string and assigns it to the SliderMaxStopLossRatio field.
-func (o *TraceSettingProductConfigsResult) SetSliderMaxStopLossRatio(v string) {
- o.SliderMaxStopLossRatio = &v
-}
-
-// GetSliderMaxStopProfitRatio returns the SliderMaxStopProfitRatio field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetSliderMaxStopProfitRatio() string {
- if o == nil || isNil(o.SliderMaxStopProfitRatio) {
- var ret string
- return ret
- }
- return *o.SliderMaxStopProfitRatio
-}
-
-// GetSliderMaxStopProfitRatioOk returns a tuple with the SliderMaxStopProfitRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetSliderMaxStopProfitRatioOk() (*string, bool) {
- if o == nil || isNil(o.SliderMaxStopProfitRatio) {
- return nil, false
- }
- return o.SliderMaxStopProfitRatio, true
-}
-
-// HasSliderMaxStopProfitRatio returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasSliderMaxStopProfitRatio() bool {
- if o != nil && !isNil(o.SliderMaxStopProfitRatio) {
- return true
- }
-
- return false
-}
-
-// SetSliderMaxStopProfitRatio gets a reference to the given string and assigns it to the SliderMaxStopProfitRatio field.
-func (o *TraceSettingProductConfigsResult) SetSliderMaxStopProfitRatio(v string) {
- o.SliderMaxStopProfitRatio = &v
-}
-
-// GetSymbolId returns the SymbolId field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetSymbolId() string {
- if o == nil || isNil(o.SymbolId) {
- var ret string
- return ret
- }
- return *o.SymbolId
-}
-
-// GetSymbolIdOk returns a tuple with the SymbolId field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetSymbolIdOk() (*string, bool) {
- if o == nil || isNil(o.SymbolId) {
- return nil, false
- }
- return o.SymbolId, true
-}
-
-// HasSymbolId returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasSymbolId() bool {
- if o != nil && !isNil(o.SymbolId) {
- return true
- }
-
- return false
-}
-
-// SetSymbolId gets a reference to the given string and assigns it to the SymbolId field.
-func (o *TraceSettingProductConfigsResult) SetSymbolId(v string) {
- o.SymbolId = &v
-}
-
-// GetSymbolName returns the SymbolName field value if set, zero value otherwise.
-func (o *TraceSettingProductConfigsResult) GetSymbolName() string {
- if o == nil || isNil(o.SymbolName) {
- var ret string
- return ret
- }
- return *o.SymbolName
-}
-
-// GetSymbolNameOk returns a tuple with the SymbolName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingProductConfigsResult) GetSymbolNameOk() (*string, bool) {
- if o == nil || isNil(o.SymbolName) {
- return nil, false
- }
- return o.SymbolName, true
-}
-
-// HasSymbolName returns a boolean if a field has been set.
-func (o *TraceSettingProductConfigsResult) HasSymbolName() bool {
- if o != nil && !isNil(o.SymbolName) {
- return true
- }
-
- return false
-}
-
-// SetSymbolName gets a reference to the given string and assigns it to the SymbolName field.
-func (o *TraceSettingProductConfigsResult) SetSymbolName(v string) {
- o.SymbolName = &v
-}
-
-func (o TraceSettingProductConfigsResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.BusinessLine) {
- toSerialize["businessLine"] = o.BusinessLine
- }
- if !isNil(o.MaxStopLossRation) {
- toSerialize["maxStopLossRation"] = o.MaxStopLossRation
- }
- if !isNil(o.MaxStopProfitRation) {
- toSerialize["maxStopProfitRation"] = o.MaxStopProfitRation
- }
- if !isNil(o.MaxTraceAmount) {
- toSerialize["maxTraceAmount"] = o.MaxTraceAmount
- }
- if !isNil(o.MaxTraceAmountSystem) {
- toSerialize["maxTraceAmountSystem"] = o.MaxTraceAmountSystem
- }
- if !isNil(o.MaxTraceCount) {
- toSerialize["maxTraceCount"] = o.MaxTraceCount
- }
- if !isNil(o.MaxTraceRation) {
- toSerialize["maxTraceRation"] = o.MaxTraceRation
- }
- if !isNil(o.MinStopLossRation) {
- toSerialize["minStopLossRation"] = o.MinStopLossRation
- }
- if !isNil(o.MinStopProfitRation) {
- toSerialize["minStopProfitRation"] = o.MinStopProfitRation
- }
- if !isNil(o.MinTraceAmount) {
- toSerialize["minTraceAmount"] = o.MinTraceAmount
- }
- if !isNil(o.MinTraceCount) {
- toSerialize["minTraceCount"] = o.MinTraceCount
- }
- if !isNil(o.MinTraceRation) {
- toSerialize["minTraceRation"] = o.MinTraceRation
- }
- if !isNil(o.SliderMaxStopLossRatio) {
- toSerialize["sliderMaxStopLossRatio"] = o.SliderMaxStopLossRatio
- }
- if !isNil(o.SliderMaxStopProfitRatio) {
- toSerialize["sliderMaxStopProfitRatio"] = o.SliderMaxStopProfitRatio
- }
- if !isNil(o.SymbolId) {
- toSerialize["symbolId"] = o.SymbolId
- }
- if !isNil(o.SymbolName) {
- toSerialize["symbolName"] = o.SymbolName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceSettingProductConfigsResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraceSettingProductConfigsResult := _TraceSettingProductConfigsResult{}
-
- if err = json.Unmarshal(bytes, &varTraceSettingProductConfigsResult); err == nil {
- *o = TraceSettingProductConfigsResult(varTraceSettingProductConfigsResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "businessLine")
- delete(additionalProperties, "maxStopLossRation")
- delete(additionalProperties, "maxStopProfitRation")
- delete(additionalProperties, "maxTraceAmount")
- delete(additionalProperties, "maxTraceAmountSystem")
- delete(additionalProperties, "maxTraceCount")
- delete(additionalProperties, "maxTraceRation")
- delete(additionalProperties, "minStopLossRation")
- delete(additionalProperties, "minStopProfitRation")
- delete(additionalProperties, "minTraceAmount")
- delete(additionalProperties, "minTraceCount")
- delete(additionalProperties, "minTraceRation")
- delete(additionalProperties, "sliderMaxStopLossRatio")
- delete(additionalProperties, "sliderMaxStopProfitRatio")
- delete(additionalProperties, "symbolId")
- delete(additionalProperties, "symbolName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceSettingProductConfigsResult struct {
- value *TraceSettingProductConfigsResult
- isSet bool
-}
-
-func (v NullableTraceSettingProductConfigsResult) Get() *TraceSettingProductConfigsResult {
- return v.value
-}
-
-func (v *NullableTraceSettingProductConfigsResult) Set(val *TraceSettingProductConfigsResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceSettingProductConfigsResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceSettingProductConfigsResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceSettingProductConfigsResult(val *TraceSettingProductConfigsResult) *NullableTraceSettingProductConfigsResult {
- return &NullableTraceSettingProductConfigsResult{value: val, isSet: true}
-}
-
-func (v NullableTraceSettingProductConfigsResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceSettingProductConfigsResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_setting_result.go b/bitget-goland-sdk-open-api/model_trace_setting_result.go
deleted file mode 100644
index 53f2ddef..00000000
--- a/bitget-goland-sdk-open-api/model_trace_setting_result.go
+++ /dev/null
@@ -1,397 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceSettingResult struct for TraceSettingResult
-type TraceSettingResult struct {
- IsMyTrader *bool `json:"isMyTrader,omitempty"`
- ProfitRate *string `json:"profitRate,omitempty"`
- SettingType *string `json:"settingType,omitempty"`
- SettledInDays *string `json:"settledInDays,omitempty"`
- TraceBatchDetails []TraceSettingBatchDetailsResult `json:"traceBatchDetails,omitempty"`
- TraceProductConfigs []TraceSettingProductConfigsResult `json:"traceProductConfigs,omitempty"`
- TraderHeadPic *string `json:"traderHeadPic,omitempty"`
- TraderNickName *string `json:"traderNickName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceSettingResult TraceSettingResult
-
-// NewTraceSettingResult instantiates a new TraceSettingResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceSettingResult() *TraceSettingResult {
- this := TraceSettingResult{}
- return &this
-}
-
-// NewTraceSettingResultWithDefaults instantiates a new TraceSettingResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceSettingResultWithDefaults() *TraceSettingResult {
- this := TraceSettingResult{}
- return &this
-}
-
-// GetIsMyTrader returns the IsMyTrader field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetIsMyTrader() bool {
- if o == nil || isNil(o.IsMyTrader) {
- var ret bool
- return ret
- }
- return *o.IsMyTrader
-}
-
-// GetIsMyTraderOk returns a tuple with the IsMyTrader field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetIsMyTraderOk() (*bool, bool) {
- if o == nil || isNil(o.IsMyTrader) {
- return nil, false
- }
- return o.IsMyTrader, true
-}
-
-// HasIsMyTrader returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasIsMyTrader() bool {
- if o != nil && !isNil(o.IsMyTrader) {
- return true
- }
-
- return false
-}
-
-// SetIsMyTrader gets a reference to the given bool and assigns it to the IsMyTrader field.
-func (o *TraceSettingResult) SetIsMyTrader(v bool) {
- o.IsMyTrader = &v
-}
-
-// GetProfitRate returns the ProfitRate field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetProfitRate() string {
- if o == nil || isNil(o.ProfitRate) {
- var ret string
- return ret
- }
- return *o.ProfitRate
-}
-
-// GetProfitRateOk returns a tuple with the ProfitRate field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetProfitRateOk() (*string, bool) {
- if o == nil || isNil(o.ProfitRate) {
- return nil, false
- }
- return o.ProfitRate, true
-}
-
-// HasProfitRate returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasProfitRate() bool {
- if o != nil && !isNil(o.ProfitRate) {
- return true
- }
-
- return false
-}
-
-// SetProfitRate gets a reference to the given string and assigns it to the ProfitRate field.
-func (o *TraceSettingResult) SetProfitRate(v string) {
- o.ProfitRate = &v
-}
-
-// GetSettingType returns the SettingType field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetSettingType() string {
- if o == nil || isNil(o.SettingType) {
- var ret string
- return ret
- }
- return *o.SettingType
-}
-
-// GetSettingTypeOk returns a tuple with the SettingType field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetSettingTypeOk() (*string, bool) {
- if o == nil || isNil(o.SettingType) {
- return nil, false
- }
- return o.SettingType, true
-}
-
-// HasSettingType returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasSettingType() bool {
- if o != nil && !isNil(o.SettingType) {
- return true
- }
-
- return false
-}
-
-// SetSettingType gets a reference to the given string and assigns it to the SettingType field.
-func (o *TraceSettingResult) SetSettingType(v string) {
- o.SettingType = &v
-}
-
-// GetSettledInDays returns the SettledInDays field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetSettledInDays() string {
- if o == nil || isNil(o.SettledInDays) {
- var ret string
- return ret
- }
- return *o.SettledInDays
-}
-
-// GetSettledInDaysOk returns a tuple with the SettledInDays field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetSettledInDaysOk() (*string, bool) {
- if o == nil || isNil(o.SettledInDays) {
- return nil, false
- }
- return o.SettledInDays, true
-}
-
-// HasSettledInDays returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasSettledInDays() bool {
- if o != nil && !isNil(o.SettledInDays) {
- return true
- }
-
- return false
-}
-
-// SetSettledInDays gets a reference to the given string and assigns it to the SettledInDays field.
-func (o *TraceSettingResult) SetSettledInDays(v string) {
- o.SettledInDays = &v
-}
-
-// GetTraceBatchDetails returns the TraceBatchDetails field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetTraceBatchDetails() []TraceSettingBatchDetailsResult {
- if o == nil || isNil(o.TraceBatchDetails) {
- var ret []TraceSettingBatchDetailsResult
- return ret
- }
- return o.TraceBatchDetails
-}
-
-// GetTraceBatchDetailsOk returns a tuple with the TraceBatchDetails field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetTraceBatchDetailsOk() ([]TraceSettingBatchDetailsResult, bool) {
- if o == nil || isNil(o.TraceBatchDetails) {
- return nil, false
- }
- return o.TraceBatchDetails, true
-}
-
-// HasTraceBatchDetails returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasTraceBatchDetails() bool {
- if o != nil && !isNil(o.TraceBatchDetails) {
- return true
- }
-
- return false
-}
-
-// SetTraceBatchDetails gets a reference to the given []TraceSettingBatchDetailsResult and assigns it to the TraceBatchDetails field.
-func (o *TraceSettingResult) SetTraceBatchDetails(v []TraceSettingBatchDetailsResult) {
- o.TraceBatchDetails = v
-}
-
-// GetTraceProductConfigs returns the TraceProductConfigs field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetTraceProductConfigs() []TraceSettingProductConfigsResult {
- if o == nil || isNil(o.TraceProductConfigs) {
- var ret []TraceSettingProductConfigsResult
- return ret
- }
- return o.TraceProductConfigs
-}
-
-// GetTraceProductConfigsOk returns a tuple with the TraceProductConfigs field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetTraceProductConfigsOk() ([]TraceSettingProductConfigsResult, bool) {
- if o == nil || isNil(o.TraceProductConfigs) {
- return nil, false
- }
- return o.TraceProductConfigs, true
-}
-
-// HasTraceProductConfigs returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasTraceProductConfigs() bool {
- if o != nil && !isNil(o.TraceProductConfigs) {
- return true
- }
-
- return false
-}
-
-// SetTraceProductConfigs gets a reference to the given []TraceSettingProductConfigsResult and assigns it to the TraceProductConfigs field.
-func (o *TraceSettingResult) SetTraceProductConfigs(v []TraceSettingProductConfigsResult) {
- o.TraceProductConfigs = v
-}
-
-// GetTraderHeadPic returns the TraderHeadPic field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetTraderHeadPic() string {
- if o == nil || isNil(o.TraderHeadPic) {
- var ret string
- return ret
- }
- return *o.TraderHeadPic
-}
-
-// GetTraderHeadPicOk returns a tuple with the TraderHeadPic field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetTraderHeadPicOk() (*string, bool) {
- if o == nil || isNil(o.TraderHeadPic) {
- return nil, false
- }
- return o.TraderHeadPic, true
-}
-
-// HasTraderHeadPic returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasTraderHeadPic() bool {
- if o != nil && !isNil(o.TraderHeadPic) {
- return true
- }
-
- return false
-}
-
-// SetTraderHeadPic gets a reference to the given string and assigns it to the TraderHeadPic field.
-func (o *TraceSettingResult) SetTraderHeadPic(v string) {
- o.TraderHeadPic = &v
-}
-
-// GetTraderNickName returns the TraderNickName field value if set, zero value otherwise.
-func (o *TraceSettingResult) GetTraderNickName() string {
- if o == nil || isNil(o.TraderNickName) {
- var ret string
- return ret
- }
- return *o.TraderNickName
-}
-
-// GetTraderNickNameOk returns a tuple with the TraderNickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraceSettingResult) GetTraderNickNameOk() (*string, bool) {
- if o == nil || isNil(o.TraderNickName) {
- return nil, false
- }
- return o.TraderNickName, true
-}
-
-// HasTraderNickName returns a boolean if a field has been set.
-func (o *TraceSettingResult) HasTraderNickName() bool {
- if o != nil && !isNil(o.TraderNickName) {
- return true
- }
-
- return false
-}
-
-// SetTraderNickName gets a reference to the given string and assigns it to the TraderNickName field.
-func (o *TraceSettingResult) SetTraderNickName(v string) {
- o.TraderNickName = &v
-}
-
-func (o TraceSettingResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.IsMyTrader) {
- toSerialize["isMyTrader"] = o.IsMyTrader
- }
- if !isNil(o.ProfitRate) {
- toSerialize["profitRate"] = o.ProfitRate
- }
- if !isNil(o.SettingType) {
- toSerialize["settingType"] = o.SettingType
- }
- if !isNil(o.SettledInDays) {
- toSerialize["settledInDays"] = o.SettledInDays
- }
- if !isNil(o.TraceBatchDetails) {
- toSerialize["traceBatchDetails"] = o.TraceBatchDetails
- }
- if !isNil(o.TraceProductConfigs) {
- toSerialize["traceProductConfigs"] = o.TraceProductConfigs
- }
- if !isNil(o.TraderHeadPic) {
- toSerialize["traderHeadPic"] = o.TraderHeadPic
- }
- if !isNil(o.TraderNickName) {
- toSerialize["traderNickName"] = o.TraderNickName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceSettingResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraceSettingResult := _TraceSettingResult{}
-
- if err = json.Unmarshal(bytes, &varTraceSettingResult); err == nil {
- *o = TraceSettingResult(varTraceSettingResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "isMyTrader")
- delete(additionalProperties, "profitRate")
- delete(additionalProperties, "settingType")
- delete(additionalProperties, "settledInDays")
- delete(additionalProperties, "traceBatchDetails")
- delete(additionalProperties, "traceProductConfigs")
- delete(additionalProperties, "traderHeadPic")
- delete(additionalProperties, "traderNickName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceSettingResult struct {
- value *TraceSettingResult
- isSet bool
-}
-
-func (v NullableTraceSettingResult) Get() *TraceSettingResult {
- return v.value
-}
-
-func (v *NullableTraceSettingResult) Set(val *TraceSettingResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceSettingResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceSettingResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceSettingResult(val *TraceSettingResult) *NullableTraceSettingResult {
- return &NullableTraceSettingResult{value: val, isSet: true}
-}
-
-func (v NullableTraceSettingResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceSettingResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trace_settings_request.go b/bitget-goland-sdk-open-api/model_trace_settings_request.go
deleted file mode 100644
index b7e7f725..00000000
--- a/bitget-goland-sdk-open-api/model_trace_settings_request.go
+++ /dev/null
@@ -1,132 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraceSettingsRequest struct for TraceSettingsRequest
-type TraceSettingsRequest struct {
- // traderUserId
- TraderUserId string `json:"traderUserId"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraceSettingsRequest TraceSettingsRequest
-
-// NewTraceSettingsRequest instantiates a new TraceSettingsRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraceSettingsRequest(traderUserId string) *TraceSettingsRequest {
- this := TraceSettingsRequest{}
- this.TraderUserId = traderUserId
- return &this
-}
-
-// NewTraceSettingsRequestWithDefaults instantiates a new TraceSettingsRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraceSettingsRequestWithDefaults() *TraceSettingsRequest {
- this := TraceSettingsRequest{}
- return &this
-}
-
-// GetTraderUserId returns the TraderUserId field value
-func (o *TraceSettingsRequest) GetTraderUserId() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TraderUserId
-}
-
-// GetTraderUserIdOk returns a tuple with the TraderUserId field value
-// and a boolean to check if the value has been set.
-func (o *TraceSettingsRequest) GetTraderUserIdOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TraderUserId, true
-}
-
-// SetTraderUserId sets field value
-func (o *TraceSettingsRequest) SetTraderUserId(v string) {
- o.TraderUserId = v
-}
-
-func (o TraceSettingsRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["traderUserId"] = o.TraderUserId
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraceSettingsRequest) UnmarshalJSON(bytes []byte) (err error) {
- varTraceSettingsRequest := _TraceSettingsRequest{}
-
- if err = json.Unmarshal(bytes, &varTraceSettingsRequest); err == nil {
- *o = TraceSettingsRequest(varTraceSettingsRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "traderUserId")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraceSettingsRequest struct {
- value *TraceSettingsRequest
- isSet bool
-}
-
-func (v NullableTraceSettingsRequest) Get() *TraceSettingsRequest {
- return v.value
-}
-
-func (v *NullableTraceSettingsRequest) Set(val *TraceSettingsRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraceSettingsRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraceSettingsRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraceSettingsRequest(val *TraceSettingsRequest) *NullableTraceSettingsRequest {
- return &NullableTraceSettingsRequest{value: val, isSet: true}
-}
-
-func (v NullableTraceSettingsRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraceSettingsRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_profit_his_detail_list_result.go b/bitget-goland-sdk-open-api/model_trader_profit_his_detail_list_result.go
deleted file mode 100644
index 8131aa70..00000000
--- a/bitget-goland-sdk-open-api/model_trader_profit_his_detail_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderProfitHisDetailListResult struct for TraderProfitHisDetailListResult
-type TraderProfitHisDetailListResult struct {
- NextFlag *bool `json:"nextFlag,omitempty"`
- ResultList []TraderProfitHisDetailResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderProfitHisDetailListResult TraderProfitHisDetailListResult
-
-// NewTraderProfitHisDetailListResult instantiates a new TraderProfitHisDetailListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderProfitHisDetailListResult() *TraderProfitHisDetailListResult {
- this := TraderProfitHisDetailListResult{}
- return &this
-}
-
-// NewTraderProfitHisDetailListResultWithDefaults instantiates a new TraderProfitHisDetailListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderProfitHisDetailListResultWithDefaults() *TraderProfitHisDetailListResult {
- this := TraderProfitHisDetailListResult{}
- return &this
-}
-
-// GetNextFlag returns the NextFlag field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailListResult) GetNextFlag() bool {
- if o == nil || isNil(o.NextFlag) {
- var ret bool
- return ret
- }
- return *o.NextFlag
-}
-
-// GetNextFlagOk returns a tuple with the NextFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailListResult) GetNextFlagOk() (*bool, bool) {
- if o == nil || isNil(o.NextFlag) {
- return nil, false
- }
- return o.NextFlag, true
-}
-
-// HasNextFlag returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailListResult) HasNextFlag() bool {
- if o != nil && !isNil(o.NextFlag) {
- return true
- }
-
- return false
-}
-
-// SetNextFlag gets a reference to the given bool and assigns it to the NextFlag field.
-func (o *TraderProfitHisDetailListResult) SetNextFlag(v bool) {
- o.NextFlag = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailListResult) GetResultList() []TraderProfitHisDetailResult {
- if o == nil || isNil(o.ResultList) {
- var ret []TraderProfitHisDetailResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailListResult) GetResultListOk() ([]TraderProfitHisDetailResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailListResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []TraderProfitHisDetailResult and assigns it to the ResultList field.
-func (o *TraderProfitHisDetailListResult) SetResultList(v []TraderProfitHisDetailResult) {
- o.ResultList = v
-}
-
-func (o TraderProfitHisDetailListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.NextFlag) {
- toSerialize["nextFlag"] = o.NextFlag
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderProfitHisDetailListResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderProfitHisDetailListResult := _TraderProfitHisDetailListResult{}
-
- if err = json.Unmarshal(bytes, &varTraderProfitHisDetailListResult); err == nil {
- *o = TraderProfitHisDetailListResult(varTraderProfitHisDetailListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "nextFlag")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderProfitHisDetailListResult struct {
- value *TraderProfitHisDetailListResult
- isSet bool
-}
-
-func (v NullableTraderProfitHisDetailListResult) Get() *TraderProfitHisDetailListResult {
- return v.value
-}
-
-func (v *NullableTraderProfitHisDetailListResult) Set(val *TraderProfitHisDetailListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderProfitHisDetailListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderProfitHisDetailListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderProfitHisDetailListResult(val *TraderProfitHisDetailListResult) *NullableTraderProfitHisDetailListResult {
- return &NullableTraderProfitHisDetailListResult{value: val, isSet: true}
-}
-
-func (v NullableTraderProfitHisDetailListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderProfitHisDetailListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_profit_his_detail_result.go b/bitget-goland-sdk-open-api/model_trader_profit_his_detail_result.go
deleted file mode 100644
index 5faa5e51..00000000
--- a/bitget-goland-sdk-open-api/model_trader_profit_his_detail_result.go
+++ /dev/null
@@ -1,323 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderProfitHisDetailResult struct for TraderProfitHisDetailResult
-type TraderProfitHisDetailResult struct {
- CoinName *string `json:"coinName,omitempty"`
- DistributeRatio *string `json:"distributeRatio,omitempty"`
- HeadPic *string `json:"headPic,omitempty"`
- NickName *string `json:"nickName,omitempty"`
- Profit *string `json:"profit,omitempty"`
- TracerNickName *string `json:"tracerNickName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderProfitHisDetailResult TraderProfitHisDetailResult
-
-// NewTraderProfitHisDetailResult instantiates a new TraderProfitHisDetailResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderProfitHisDetailResult() *TraderProfitHisDetailResult {
- this := TraderProfitHisDetailResult{}
- return &this
-}
-
-// NewTraderProfitHisDetailResultWithDefaults instantiates a new TraderProfitHisDetailResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderProfitHisDetailResultWithDefaults() *TraderProfitHisDetailResult {
- this := TraderProfitHisDetailResult{}
- return &this
-}
-
-// GetCoinName returns the CoinName field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetCoinName() string {
- if o == nil || isNil(o.CoinName) {
- var ret string
- return ret
- }
- return *o.CoinName
-}
-
-// GetCoinNameOk returns a tuple with the CoinName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetCoinNameOk() (*string, bool) {
- if o == nil || isNil(o.CoinName) {
- return nil, false
- }
- return o.CoinName, true
-}
-
-// HasCoinName returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasCoinName() bool {
- if o != nil && !isNil(o.CoinName) {
- return true
- }
-
- return false
-}
-
-// SetCoinName gets a reference to the given string and assigns it to the CoinName field.
-func (o *TraderProfitHisDetailResult) SetCoinName(v string) {
- o.CoinName = &v
-}
-
-// GetDistributeRatio returns the DistributeRatio field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetDistributeRatio() string {
- if o == nil || isNil(o.DistributeRatio) {
- var ret string
- return ret
- }
- return *o.DistributeRatio
-}
-
-// GetDistributeRatioOk returns a tuple with the DistributeRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetDistributeRatioOk() (*string, bool) {
- if o == nil || isNil(o.DistributeRatio) {
- return nil, false
- }
- return o.DistributeRatio, true
-}
-
-// HasDistributeRatio returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasDistributeRatio() bool {
- if o != nil && !isNil(o.DistributeRatio) {
- return true
- }
-
- return false
-}
-
-// SetDistributeRatio gets a reference to the given string and assigns it to the DistributeRatio field.
-func (o *TraderProfitHisDetailResult) SetDistributeRatio(v string) {
- o.DistributeRatio = &v
-}
-
-// GetHeadPic returns the HeadPic field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetHeadPic() string {
- if o == nil || isNil(o.HeadPic) {
- var ret string
- return ret
- }
- return *o.HeadPic
-}
-
-// GetHeadPicOk returns a tuple with the HeadPic field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetHeadPicOk() (*string, bool) {
- if o == nil || isNil(o.HeadPic) {
- return nil, false
- }
- return o.HeadPic, true
-}
-
-// HasHeadPic returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasHeadPic() bool {
- if o != nil && !isNil(o.HeadPic) {
- return true
- }
-
- return false
-}
-
-// SetHeadPic gets a reference to the given string and assigns it to the HeadPic field.
-func (o *TraderProfitHisDetailResult) SetHeadPic(v string) {
- o.HeadPic = &v
-}
-
-// GetNickName returns the NickName field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetNickName() string {
- if o == nil || isNil(o.NickName) {
- var ret string
- return ret
- }
- return *o.NickName
-}
-
-// GetNickNameOk returns a tuple with the NickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetNickNameOk() (*string, bool) {
- if o == nil || isNil(o.NickName) {
- return nil, false
- }
- return o.NickName, true
-}
-
-// HasNickName returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasNickName() bool {
- if o != nil && !isNil(o.NickName) {
- return true
- }
-
- return false
-}
-
-// SetNickName gets a reference to the given string and assigns it to the NickName field.
-func (o *TraderProfitHisDetailResult) SetNickName(v string) {
- o.NickName = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *TraderProfitHisDetailResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-// GetTracerNickName returns the TracerNickName field value if set, zero value otherwise.
-func (o *TraderProfitHisDetailResult) GetTracerNickName() string {
- if o == nil || isNil(o.TracerNickName) {
- var ret string
- return ret
- }
- return *o.TracerNickName
-}
-
-// GetTracerNickNameOk returns a tuple with the TracerNickName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisDetailResult) GetTracerNickNameOk() (*string, bool) {
- if o == nil || isNil(o.TracerNickName) {
- return nil, false
- }
- return o.TracerNickName, true
-}
-
-// HasTracerNickName returns a boolean if a field has been set.
-func (o *TraderProfitHisDetailResult) HasTracerNickName() bool {
- if o != nil && !isNil(o.TracerNickName) {
- return true
- }
-
- return false
-}
-
-// SetTracerNickName gets a reference to the given string and assigns it to the TracerNickName field.
-func (o *TraderProfitHisDetailResult) SetTracerNickName(v string) {
- o.TracerNickName = &v
-}
-
-func (o TraderProfitHisDetailResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.CoinName) {
- toSerialize["coinName"] = o.CoinName
- }
- if !isNil(o.DistributeRatio) {
- toSerialize["distributeRatio"] = o.DistributeRatio
- }
- if !isNil(o.HeadPic) {
- toSerialize["headPic"] = o.HeadPic
- }
- if !isNil(o.NickName) {
- toSerialize["nickName"] = o.NickName
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
- if !isNil(o.TracerNickName) {
- toSerialize["tracerNickName"] = o.TracerNickName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderProfitHisDetailResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderProfitHisDetailResult := _TraderProfitHisDetailResult{}
-
- if err = json.Unmarshal(bytes, &varTraderProfitHisDetailResult); err == nil {
- *o = TraderProfitHisDetailResult(varTraderProfitHisDetailResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coinName")
- delete(additionalProperties, "distributeRatio")
- delete(additionalProperties, "headPic")
- delete(additionalProperties, "nickName")
- delete(additionalProperties, "profit")
- delete(additionalProperties, "tracerNickName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderProfitHisDetailResult struct {
- value *TraderProfitHisDetailResult
- isSet bool
-}
-
-func (v NullableTraderProfitHisDetailResult) Get() *TraderProfitHisDetailResult {
- return v.value
-}
-
-func (v *NullableTraderProfitHisDetailResult) Set(val *TraderProfitHisDetailResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderProfitHisDetailResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderProfitHisDetailResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderProfitHisDetailResult(val *TraderProfitHisDetailResult) *NullableTraderProfitHisDetailResult {
- return &NullableTraderProfitHisDetailResult{value: val, isSet: true}
-}
-
-func (v NullableTraderProfitHisDetailResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderProfitHisDetailResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_profit_his_list_result.go b/bitget-goland-sdk-open-api/model_trader_profit_his_list_result.go
deleted file mode 100644
index 8bb89d75..00000000
--- a/bitget-goland-sdk-open-api/model_trader_profit_his_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderProfitHisListResult struct for TraderProfitHisListResult
-type TraderProfitHisListResult struct {
- NextFlag *bool `json:"nextFlag,omitempty"`
- ResultList []TraderProfitHisResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderProfitHisListResult TraderProfitHisListResult
-
-// NewTraderProfitHisListResult instantiates a new TraderProfitHisListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderProfitHisListResult() *TraderProfitHisListResult {
- this := TraderProfitHisListResult{}
- return &this
-}
-
-// NewTraderProfitHisListResultWithDefaults instantiates a new TraderProfitHisListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderProfitHisListResultWithDefaults() *TraderProfitHisListResult {
- this := TraderProfitHisListResult{}
- return &this
-}
-
-// GetNextFlag returns the NextFlag field value if set, zero value otherwise.
-func (o *TraderProfitHisListResult) GetNextFlag() bool {
- if o == nil || isNil(o.NextFlag) {
- var ret bool
- return ret
- }
- return *o.NextFlag
-}
-
-// GetNextFlagOk returns a tuple with the NextFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisListResult) GetNextFlagOk() (*bool, bool) {
- if o == nil || isNil(o.NextFlag) {
- return nil, false
- }
- return o.NextFlag, true
-}
-
-// HasNextFlag returns a boolean if a field has been set.
-func (o *TraderProfitHisListResult) HasNextFlag() bool {
- if o != nil && !isNil(o.NextFlag) {
- return true
- }
-
- return false
-}
-
-// SetNextFlag gets a reference to the given bool and assigns it to the NextFlag field.
-func (o *TraderProfitHisListResult) SetNextFlag(v bool) {
- o.NextFlag = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *TraderProfitHisListResult) GetResultList() []TraderProfitHisResult {
- if o == nil || isNil(o.ResultList) {
- var ret []TraderProfitHisResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisListResult) GetResultListOk() ([]TraderProfitHisResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *TraderProfitHisListResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []TraderProfitHisResult and assigns it to the ResultList field.
-func (o *TraderProfitHisListResult) SetResultList(v []TraderProfitHisResult) {
- o.ResultList = v
-}
-
-func (o TraderProfitHisListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.NextFlag) {
- toSerialize["nextFlag"] = o.NextFlag
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderProfitHisListResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderProfitHisListResult := _TraderProfitHisListResult{}
-
- if err = json.Unmarshal(bytes, &varTraderProfitHisListResult); err == nil {
- *o = TraderProfitHisListResult(varTraderProfitHisListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "nextFlag")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderProfitHisListResult struct {
- value *TraderProfitHisListResult
- isSet bool
-}
-
-func (v NullableTraderProfitHisListResult) Get() *TraderProfitHisListResult {
- return v.value
-}
-
-func (v *NullableTraderProfitHisListResult) Set(val *TraderProfitHisListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderProfitHisListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderProfitHisListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderProfitHisListResult(val *TraderProfitHisListResult) *NullableTraderProfitHisListResult {
- return &NullableTraderProfitHisListResult{value: val, isSet: true}
-}
-
-func (v NullableTraderProfitHisListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderProfitHisListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_profit_his_result.go b/bitget-goland-sdk-open-api/model_trader_profit_his_result.go
deleted file mode 100644
index 83ea5f81..00000000
--- a/bitget-goland-sdk-open-api/model_trader_profit_his_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderProfitHisResult struct for TraderProfitHisResult
-type TraderProfitHisResult struct {
- CoinName *string `json:"coinName,omitempty"`
- Date *string `json:"date,omitempty"`
- Profit *string `json:"profit,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderProfitHisResult TraderProfitHisResult
-
-// NewTraderProfitHisResult instantiates a new TraderProfitHisResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderProfitHisResult() *TraderProfitHisResult {
- this := TraderProfitHisResult{}
- return &this
-}
-
-// NewTraderProfitHisResultWithDefaults instantiates a new TraderProfitHisResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderProfitHisResultWithDefaults() *TraderProfitHisResult {
- this := TraderProfitHisResult{}
- return &this
-}
-
-// GetCoinName returns the CoinName field value if set, zero value otherwise.
-func (o *TraderProfitHisResult) GetCoinName() string {
- if o == nil || isNil(o.CoinName) {
- var ret string
- return ret
- }
- return *o.CoinName
-}
-
-// GetCoinNameOk returns a tuple with the CoinName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisResult) GetCoinNameOk() (*string, bool) {
- if o == nil || isNil(o.CoinName) {
- return nil, false
- }
- return o.CoinName, true
-}
-
-// HasCoinName returns a boolean if a field has been set.
-func (o *TraderProfitHisResult) HasCoinName() bool {
- if o != nil && !isNil(o.CoinName) {
- return true
- }
-
- return false
-}
-
-// SetCoinName gets a reference to the given string and assigns it to the CoinName field.
-func (o *TraderProfitHisResult) SetCoinName(v string) {
- o.CoinName = &v
-}
-
-// GetDate returns the Date field value if set, zero value otherwise.
-func (o *TraderProfitHisResult) GetDate() string {
- if o == nil || isNil(o.Date) {
- var ret string
- return ret
- }
- return *o.Date
-}
-
-// GetDateOk returns a tuple with the Date field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisResult) GetDateOk() (*string, bool) {
- if o == nil || isNil(o.Date) {
- return nil, false
- }
- return o.Date, true
-}
-
-// HasDate returns a boolean if a field has been set.
-func (o *TraderProfitHisResult) HasDate() bool {
- if o != nil && !isNil(o.Date) {
- return true
- }
-
- return false
-}
-
-// SetDate gets a reference to the given string and assigns it to the Date field.
-func (o *TraderProfitHisResult) SetDate(v string) {
- o.Date = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *TraderProfitHisResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderProfitHisResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *TraderProfitHisResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *TraderProfitHisResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-func (o TraderProfitHisResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.CoinName) {
- toSerialize["coinName"] = o.CoinName
- }
- if !isNil(o.Date) {
- toSerialize["date"] = o.Date
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderProfitHisResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderProfitHisResult := _TraderProfitHisResult{}
-
- if err = json.Unmarshal(bytes, &varTraderProfitHisResult); err == nil {
- *o = TraderProfitHisResult(varTraderProfitHisResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coinName")
- delete(additionalProperties, "date")
- delete(additionalProperties, "profit")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderProfitHisResult struct {
- value *TraderProfitHisResult
- isSet bool
-}
-
-func (v NullableTraderProfitHisResult) Get() *TraderProfitHisResult {
- return v.value
-}
-
-func (v *NullableTraderProfitHisResult) Set(val *TraderProfitHisResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderProfitHisResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderProfitHisResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderProfitHisResult(val *TraderProfitHisResult) *NullableTraderProfitHisResult {
- return &NullableTraderProfitHisResult{value: val, isSet: true}
-}
-
-func (v NullableTraderProfitHisResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderProfitHisResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_setting_lables_result.go b/bitget-goland-sdk-open-api/model_trader_setting_lables_result.go
deleted file mode 100644
index d8d47fdd..00000000
--- a/bitget-goland-sdk-open-api/model_trader_setting_lables_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderSettingLablesResult struct for TraderSettingLablesResult
-type TraderSettingLablesResult struct {
- Id *string `json:"id,omitempty"`
- Name *string `json:"name,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderSettingLablesResult TraderSettingLablesResult
-
-// NewTraderSettingLablesResult instantiates a new TraderSettingLablesResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderSettingLablesResult() *TraderSettingLablesResult {
- this := TraderSettingLablesResult{}
- return &this
-}
-
-// NewTraderSettingLablesResultWithDefaults instantiates a new TraderSettingLablesResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderSettingLablesResultWithDefaults() *TraderSettingLablesResult {
- this := TraderSettingLablesResult{}
- return &this
-}
-
-// GetId returns the Id field value if set, zero value otherwise.
-func (o *TraderSettingLablesResult) GetId() string {
- if o == nil || isNil(o.Id) {
- var ret string
- return ret
- }
- return *o.Id
-}
-
-// GetIdOk returns a tuple with the Id field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingLablesResult) GetIdOk() (*string, bool) {
- if o == nil || isNil(o.Id) {
- return nil, false
- }
- return o.Id, true
-}
-
-// HasId returns a boolean if a field has been set.
-func (o *TraderSettingLablesResult) HasId() bool {
- if o != nil && !isNil(o.Id) {
- return true
- }
-
- return false
-}
-
-// SetId gets a reference to the given string and assigns it to the Id field.
-func (o *TraderSettingLablesResult) SetId(v string) {
- o.Id = &v
-}
-
-// GetName returns the Name field value if set, zero value otherwise.
-func (o *TraderSettingLablesResult) GetName() string {
- if o == nil || isNil(o.Name) {
- var ret string
- return ret
- }
- return *o.Name
-}
-
-// GetNameOk returns a tuple with the Name field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingLablesResult) GetNameOk() (*string, bool) {
- if o == nil || isNil(o.Name) {
- return nil, false
- }
- return o.Name, true
-}
-
-// HasName returns a boolean if a field has been set.
-func (o *TraderSettingLablesResult) HasName() bool {
- if o != nil && !isNil(o.Name) {
- return true
- }
-
- return false
-}
-
-// SetName gets a reference to the given string and assigns it to the Name field.
-func (o *TraderSettingLablesResult) SetName(v string) {
- o.Name = &v
-}
-
-func (o TraderSettingLablesResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Id) {
- toSerialize["id"] = o.Id
- }
- if !isNil(o.Name) {
- toSerialize["name"] = o.Name
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderSettingLablesResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderSettingLablesResult := _TraderSettingLablesResult{}
-
- if err = json.Unmarshal(bytes, &varTraderSettingLablesResult); err == nil {
- *o = TraderSettingLablesResult(varTraderSettingLablesResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "id")
- delete(additionalProperties, "name")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderSettingLablesResult struct {
- value *TraderSettingLablesResult
- isSet bool
-}
-
-func (v NullableTraderSettingLablesResult) Get() *TraderSettingLablesResult {
- return v.value
-}
-
-func (v *NullableTraderSettingLablesResult) Set(val *TraderSettingLablesResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderSettingLablesResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderSettingLablesResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderSettingLablesResult(val *TraderSettingLablesResult) *NullableTraderSettingLablesResult {
- return &NullableTraderSettingLablesResult{value: val, isSet: true}
-}
-
-func (v NullableTraderSettingLablesResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderSettingLablesResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_setting_result.go b/bitget-goland-sdk-open-api/model_trader_setting_result.go
deleted file mode 100644
index db12d46d..00000000
--- a/bitget-goland-sdk-open-api/model_trader_setting_result.go
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderSettingResult struct for TraderSettingResult
-type TraderSettingResult struct {
- Labels []TraderSettingLablesResult `json:"labels,omitempty"`
- OpenProduct *bool `json:"openProduct,omitempty"`
- ShowAssetsMap *bool `json:"showAssetsMap,omitempty"`
- ShowEquity *bool `json:"showEquity,omitempty"`
- SupportProductCodes []TraderSettingSupportProductResult `json:"supportProductCodes,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderSettingResult TraderSettingResult
-
-// NewTraderSettingResult instantiates a new TraderSettingResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderSettingResult() *TraderSettingResult {
- this := TraderSettingResult{}
- return &this
-}
-
-// NewTraderSettingResultWithDefaults instantiates a new TraderSettingResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderSettingResultWithDefaults() *TraderSettingResult {
- this := TraderSettingResult{}
- return &this
-}
-
-// GetLabels returns the Labels field value if set, zero value otherwise.
-func (o *TraderSettingResult) GetLabels() []TraderSettingLablesResult {
- if o == nil || isNil(o.Labels) {
- var ret []TraderSettingLablesResult
- return ret
- }
- return o.Labels
-}
-
-// GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingResult) GetLabelsOk() ([]TraderSettingLablesResult, bool) {
- if o == nil || isNil(o.Labels) {
- return nil, false
- }
- return o.Labels, true
-}
-
-// HasLabels returns a boolean if a field has been set.
-func (o *TraderSettingResult) HasLabels() bool {
- if o != nil && !isNil(o.Labels) {
- return true
- }
-
- return false
-}
-
-// SetLabels gets a reference to the given []TraderSettingLablesResult and assigns it to the Labels field.
-func (o *TraderSettingResult) SetLabels(v []TraderSettingLablesResult) {
- o.Labels = v
-}
-
-// GetOpenProduct returns the OpenProduct field value if set, zero value otherwise.
-func (o *TraderSettingResult) GetOpenProduct() bool {
- if o == nil || isNil(o.OpenProduct) {
- var ret bool
- return ret
- }
- return *o.OpenProduct
-}
-
-// GetOpenProductOk returns a tuple with the OpenProduct field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingResult) GetOpenProductOk() (*bool, bool) {
- if o == nil || isNil(o.OpenProduct) {
- return nil, false
- }
- return o.OpenProduct, true
-}
-
-// HasOpenProduct returns a boolean if a field has been set.
-func (o *TraderSettingResult) HasOpenProduct() bool {
- if o != nil && !isNil(o.OpenProduct) {
- return true
- }
-
- return false
-}
-
-// SetOpenProduct gets a reference to the given bool and assigns it to the OpenProduct field.
-func (o *TraderSettingResult) SetOpenProduct(v bool) {
- o.OpenProduct = &v
-}
-
-// GetShowAssetsMap returns the ShowAssetsMap field value if set, zero value otherwise.
-func (o *TraderSettingResult) GetShowAssetsMap() bool {
- if o == nil || isNil(o.ShowAssetsMap) {
- var ret bool
- return ret
- }
- return *o.ShowAssetsMap
-}
-
-// GetShowAssetsMapOk returns a tuple with the ShowAssetsMap field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingResult) GetShowAssetsMapOk() (*bool, bool) {
- if o == nil || isNil(o.ShowAssetsMap) {
- return nil, false
- }
- return o.ShowAssetsMap, true
-}
-
-// HasShowAssetsMap returns a boolean if a field has been set.
-func (o *TraderSettingResult) HasShowAssetsMap() bool {
- if o != nil && !isNil(o.ShowAssetsMap) {
- return true
- }
-
- return false
-}
-
-// SetShowAssetsMap gets a reference to the given bool and assigns it to the ShowAssetsMap field.
-func (o *TraderSettingResult) SetShowAssetsMap(v bool) {
- o.ShowAssetsMap = &v
-}
-
-// GetShowEquity returns the ShowEquity field value if set, zero value otherwise.
-func (o *TraderSettingResult) GetShowEquity() bool {
- if o == nil || isNil(o.ShowEquity) {
- var ret bool
- return ret
- }
- return *o.ShowEquity
-}
-
-// GetShowEquityOk returns a tuple with the ShowEquity field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingResult) GetShowEquityOk() (*bool, bool) {
- if o == nil || isNil(o.ShowEquity) {
- return nil, false
- }
- return o.ShowEquity, true
-}
-
-// HasShowEquity returns a boolean if a field has been set.
-func (o *TraderSettingResult) HasShowEquity() bool {
- if o != nil && !isNil(o.ShowEquity) {
- return true
- }
-
- return false
-}
-
-// SetShowEquity gets a reference to the given bool and assigns it to the ShowEquity field.
-func (o *TraderSettingResult) SetShowEquity(v bool) {
- o.ShowEquity = &v
-}
-
-// GetSupportProductCodes returns the SupportProductCodes field value if set, zero value otherwise.
-func (o *TraderSettingResult) GetSupportProductCodes() []TraderSettingSupportProductResult {
- if o == nil || isNil(o.SupportProductCodes) {
- var ret []TraderSettingSupportProductResult
- return ret
- }
- return o.SupportProductCodes
-}
-
-// GetSupportProductCodesOk returns a tuple with the SupportProductCodes field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingResult) GetSupportProductCodesOk() ([]TraderSettingSupportProductResult, bool) {
- if o == nil || isNil(o.SupportProductCodes) {
- return nil, false
- }
- return o.SupportProductCodes, true
-}
-
-// HasSupportProductCodes returns a boolean if a field has been set.
-func (o *TraderSettingResult) HasSupportProductCodes() bool {
- if o != nil && !isNil(o.SupportProductCodes) {
- return true
- }
-
- return false
-}
-
-// SetSupportProductCodes gets a reference to the given []TraderSettingSupportProductResult and assigns it to the SupportProductCodes field.
-func (o *TraderSettingResult) SetSupportProductCodes(v []TraderSettingSupportProductResult) {
- o.SupportProductCodes = v
-}
-
-func (o TraderSettingResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.Labels) {
- toSerialize["labels"] = o.Labels
- }
- if !isNil(o.OpenProduct) {
- toSerialize["openProduct"] = o.OpenProduct
- }
- if !isNil(o.ShowAssetsMap) {
- toSerialize["showAssetsMap"] = o.ShowAssetsMap
- }
- if !isNil(o.ShowEquity) {
- toSerialize["showEquity"] = o.ShowEquity
- }
- if !isNil(o.SupportProductCodes) {
- toSerialize["supportProductCodes"] = o.SupportProductCodes
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderSettingResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderSettingResult := _TraderSettingResult{}
-
- if err = json.Unmarshal(bytes, &varTraderSettingResult); err == nil {
- *o = TraderSettingResult(varTraderSettingResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "labels")
- delete(additionalProperties, "openProduct")
- delete(additionalProperties, "showAssetsMap")
- delete(additionalProperties, "showEquity")
- delete(additionalProperties, "supportProductCodes")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderSettingResult struct {
- value *TraderSettingResult
- isSet bool
-}
-
-func (v NullableTraderSettingResult) Get() *TraderSettingResult {
- return v.value
-}
-
-func (v *NullableTraderSettingResult) Set(val *TraderSettingResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderSettingResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderSettingResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderSettingResult(val *TraderSettingResult) *NullableTraderSettingResult {
- return &NullableTraderSettingResult{value: val, isSet: true}
-}
-
-func (v NullableTraderSettingResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderSettingResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_setting_support_product_result.go b/bitget-goland-sdk-open-api/model_trader_setting_support_product_result.go
deleted file mode 100644
index 0e503feb..00000000
--- a/bitget-goland-sdk-open-api/model_trader_setting_support_product_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderSettingSupportProductResult struct for TraderSettingSupportProductResult
-type TraderSettingSupportProductResult struct {
- OpenCopyTrace *bool `json:"openCopyTrace,omitempty"`
- ProductCode *string `json:"productCode,omitempty"`
- ProductName *string `json:"productName,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderSettingSupportProductResult TraderSettingSupportProductResult
-
-// NewTraderSettingSupportProductResult instantiates a new TraderSettingSupportProductResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderSettingSupportProductResult() *TraderSettingSupportProductResult {
- this := TraderSettingSupportProductResult{}
- return &this
-}
-
-// NewTraderSettingSupportProductResultWithDefaults instantiates a new TraderSettingSupportProductResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderSettingSupportProductResultWithDefaults() *TraderSettingSupportProductResult {
- this := TraderSettingSupportProductResult{}
- return &this
-}
-
-// GetOpenCopyTrace returns the OpenCopyTrace field value if set, zero value otherwise.
-func (o *TraderSettingSupportProductResult) GetOpenCopyTrace() bool {
- if o == nil || isNil(o.OpenCopyTrace) {
- var ret bool
- return ret
- }
- return *o.OpenCopyTrace
-}
-
-// GetOpenCopyTraceOk returns a tuple with the OpenCopyTrace field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingSupportProductResult) GetOpenCopyTraceOk() (*bool, bool) {
- if o == nil || isNil(o.OpenCopyTrace) {
- return nil, false
- }
- return o.OpenCopyTrace, true
-}
-
-// HasOpenCopyTrace returns a boolean if a field has been set.
-func (o *TraderSettingSupportProductResult) HasOpenCopyTrace() bool {
- if o != nil && !isNil(o.OpenCopyTrace) {
- return true
- }
-
- return false
-}
-
-// SetOpenCopyTrace gets a reference to the given bool and assigns it to the OpenCopyTrace field.
-func (o *TraderSettingSupportProductResult) SetOpenCopyTrace(v bool) {
- o.OpenCopyTrace = &v
-}
-
-// GetProductCode returns the ProductCode field value if set, zero value otherwise.
-func (o *TraderSettingSupportProductResult) GetProductCode() string {
- if o == nil || isNil(o.ProductCode) {
- var ret string
- return ret
- }
- return *o.ProductCode
-}
-
-// GetProductCodeOk returns a tuple with the ProductCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingSupportProductResult) GetProductCodeOk() (*string, bool) {
- if o == nil || isNil(o.ProductCode) {
- return nil, false
- }
- return o.ProductCode, true
-}
-
-// HasProductCode returns a boolean if a field has been set.
-func (o *TraderSettingSupportProductResult) HasProductCode() bool {
- if o != nil && !isNil(o.ProductCode) {
- return true
- }
-
- return false
-}
-
-// SetProductCode gets a reference to the given string and assigns it to the ProductCode field.
-func (o *TraderSettingSupportProductResult) SetProductCode(v string) {
- o.ProductCode = &v
-}
-
-// GetProductName returns the ProductName field value if set, zero value otherwise.
-func (o *TraderSettingSupportProductResult) GetProductName() string {
- if o == nil || isNil(o.ProductName) {
- var ret string
- return ret
- }
- return *o.ProductName
-}
-
-// GetProductNameOk returns a tuple with the ProductName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderSettingSupportProductResult) GetProductNameOk() (*string, bool) {
- if o == nil || isNil(o.ProductName) {
- return nil, false
- }
- return o.ProductName, true
-}
-
-// HasProductName returns a boolean if a field has been set.
-func (o *TraderSettingSupportProductResult) HasProductName() bool {
- if o != nil && !isNil(o.ProductName) {
- return true
- }
-
- return false
-}
-
-// SetProductName gets a reference to the given string and assigns it to the ProductName field.
-func (o *TraderSettingSupportProductResult) SetProductName(v string) {
- o.ProductName = &v
-}
-
-func (o TraderSettingSupportProductResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.OpenCopyTrace) {
- toSerialize["openCopyTrace"] = o.OpenCopyTrace
- }
- if !isNil(o.ProductCode) {
- toSerialize["productCode"] = o.ProductCode
- }
- if !isNil(o.ProductName) {
- toSerialize["productName"] = o.ProductName
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderSettingSupportProductResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderSettingSupportProductResult := _TraderSettingSupportProductResult{}
-
- if err = json.Unmarshal(bytes, &varTraderSettingSupportProductResult); err == nil {
- *o = TraderSettingSupportProductResult(varTraderSettingSupportProductResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "openCopyTrace")
- delete(additionalProperties, "productCode")
- delete(additionalProperties, "productName")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderSettingSupportProductResult struct {
- value *TraderSettingSupportProductResult
- isSet bool
-}
-
-func (v NullableTraderSettingSupportProductResult) Get() *TraderSettingSupportProductResult {
- return v.value
-}
-
-func (v *NullableTraderSettingSupportProductResult) Set(val *TraderSettingSupportProductResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderSettingSupportProductResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderSettingSupportProductResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderSettingSupportProductResult(val *TraderSettingSupportProductResult) *NullableTraderSettingSupportProductResult {
- return &NullableTraderSettingSupportProductResult{value: val, isSet: true}
-}
-
-func (v NullableTraderSettingSupportProductResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderSettingSupportProductResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_total_profit_list_result.go b/bitget-goland-sdk-open-api/model_trader_total_profit_list_result.go
deleted file mode 100644
index 88cffd78..00000000
--- a/bitget-goland-sdk-open-api/model_trader_total_profit_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderTotalProfitListResult struct for TraderTotalProfitListResult
-type TraderTotalProfitListResult struct {
- ProductCode *string `json:"productCode,omitempty"`
- Profit *string `json:"profit,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderTotalProfitListResult TraderTotalProfitListResult
-
-// NewTraderTotalProfitListResult instantiates a new TraderTotalProfitListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderTotalProfitListResult() *TraderTotalProfitListResult {
- this := TraderTotalProfitListResult{}
- return &this
-}
-
-// NewTraderTotalProfitListResultWithDefaults instantiates a new TraderTotalProfitListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderTotalProfitListResultWithDefaults() *TraderTotalProfitListResult {
- this := TraderTotalProfitListResult{}
- return &this
-}
-
-// GetProductCode returns the ProductCode field value if set, zero value otherwise.
-func (o *TraderTotalProfitListResult) GetProductCode() string {
- if o == nil || isNil(o.ProductCode) {
- var ret string
- return ret
- }
- return *o.ProductCode
-}
-
-// GetProductCodeOk returns a tuple with the ProductCode field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitListResult) GetProductCodeOk() (*string, bool) {
- if o == nil || isNil(o.ProductCode) {
- return nil, false
- }
- return o.ProductCode, true
-}
-
-// HasProductCode returns a boolean if a field has been set.
-func (o *TraderTotalProfitListResult) HasProductCode() bool {
- if o != nil && !isNil(o.ProductCode) {
- return true
- }
-
- return false
-}
-
-// SetProductCode gets a reference to the given string and assigns it to the ProductCode field.
-func (o *TraderTotalProfitListResult) SetProductCode(v string) {
- o.ProductCode = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *TraderTotalProfitListResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitListResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *TraderTotalProfitListResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *TraderTotalProfitListResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-func (o TraderTotalProfitListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.ProductCode) {
- toSerialize["productCode"] = o.ProductCode
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderTotalProfitListResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderTotalProfitListResult := _TraderTotalProfitListResult{}
-
- if err = json.Unmarshal(bytes, &varTraderTotalProfitListResult); err == nil {
- *o = TraderTotalProfitListResult(varTraderTotalProfitListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "productCode")
- delete(additionalProperties, "profit")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderTotalProfitListResult struct {
- value *TraderTotalProfitListResult
- isSet bool
-}
-
-func (v NullableTraderTotalProfitListResult) Get() *TraderTotalProfitListResult {
- return v.value
-}
-
-func (v *NullableTraderTotalProfitListResult) Set(val *TraderTotalProfitListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderTotalProfitListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderTotalProfitListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderTotalProfitListResult(val *TraderTotalProfitListResult) *NullableTraderTotalProfitListResult {
- return &NullableTraderTotalProfitListResult{value: val, isSet: true}
-}
-
-func (v NullableTraderTotalProfitListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderTotalProfitListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_total_profit_result.go b/bitget-goland-sdk-open-api/model_trader_total_profit_result.go
deleted file mode 100644
index d27fecf1..00000000
--- a/bitget-goland-sdk-open-api/model_trader_total_profit_result.go
+++ /dev/null
@@ -1,249 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderTotalProfitResult struct for TraderTotalProfitResult
-type TraderTotalProfitResult struct {
- SumProfit *string `json:"sumProfit,omitempty"`
- WaitProfit *string `json:"waitProfit,omitempty"`
- YesterdaySplitProfit *string `json:"yesterdaySplitProfit,omitempty"`
- YesterdayTimeStamp *string `json:"yesterdayTimeStamp,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderTotalProfitResult TraderTotalProfitResult
-
-// NewTraderTotalProfitResult instantiates a new TraderTotalProfitResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderTotalProfitResult() *TraderTotalProfitResult {
- this := TraderTotalProfitResult{}
- return &this
-}
-
-// NewTraderTotalProfitResultWithDefaults instantiates a new TraderTotalProfitResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderTotalProfitResultWithDefaults() *TraderTotalProfitResult {
- this := TraderTotalProfitResult{}
- return &this
-}
-
-// GetSumProfit returns the SumProfit field value if set, zero value otherwise.
-func (o *TraderTotalProfitResult) GetSumProfit() string {
- if o == nil || isNil(o.SumProfit) {
- var ret string
- return ret
- }
- return *o.SumProfit
-}
-
-// GetSumProfitOk returns a tuple with the SumProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitResult) GetSumProfitOk() (*string, bool) {
- if o == nil || isNil(o.SumProfit) {
- return nil, false
- }
- return o.SumProfit, true
-}
-
-// HasSumProfit returns a boolean if a field has been set.
-func (o *TraderTotalProfitResult) HasSumProfit() bool {
- if o != nil && !isNil(o.SumProfit) {
- return true
- }
-
- return false
-}
-
-// SetSumProfit gets a reference to the given string and assigns it to the SumProfit field.
-func (o *TraderTotalProfitResult) SetSumProfit(v string) {
- o.SumProfit = &v
-}
-
-// GetWaitProfit returns the WaitProfit field value if set, zero value otherwise.
-func (o *TraderTotalProfitResult) GetWaitProfit() string {
- if o == nil || isNil(o.WaitProfit) {
- var ret string
- return ret
- }
- return *o.WaitProfit
-}
-
-// GetWaitProfitOk returns a tuple with the WaitProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitResult) GetWaitProfitOk() (*string, bool) {
- if o == nil || isNil(o.WaitProfit) {
- return nil, false
- }
- return o.WaitProfit, true
-}
-
-// HasWaitProfit returns a boolean if a field has been set.
-func (o *TraderTotalProfitResult) HasWaitProfit() bool {
- if o != nil && !isNil(o.WaitProfit) {
- return true
- }
-
- return false
-}
-
-// SetWaitProfit gets a reference to the given string and assigns it to the WaitProfit field.
-func (o *TraderTotalProfitResult) SetWaitProfit(v string) {
- o.WaitProfit = &v
-}
-
-// GetYesterdaySplitProfit returns the YesterdaySplitProfit field value if set, zero value otherwise.
-func (o *TraderTotalProfitResult) GetYesterdaySplitProfit() string {
- if o == nil || isNil(o.YesterdaySplitProfit) {
- var ret string
- return ret
- }
- return *o.YesterdaySplitProfit
-}
-
-// GetYesterdaySplitProfitOk returns a tuple with the YesterdaySplitProfit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitResult) GetYesterdaySplitProfitOk() (*string, bool) {
- if o == nil || isNil(o.YesterdaySplitProfit) {
- return nil, false
- }
- return o.YesterdaySplitProfit, true
-}
-
-// HasYesterdaySplitProfit returns a boolean if a field has been set.
-func (o *TraderTotalProfitResult) HasYesterdaySplitProfit() bool {
- if o != nil && !isNil(o.YesterdaySplitProfit) {
- return true
- }
-
- return false
-}
-
-// SetYesterdaySplitProfit gets a reference to the given string and assigns it to the YesterdaySplitProfit field.
-func (o *TraderTotalProfitResult) SetYesterdaySplitProfit(v string) {
- o.YesterdaySplitProfit = &v
-}
-
-// GetYesterdayTimeStamp returns the YesterdayTimeStamp field value if set, zero value otherwise.
-func (o *TraderTotalProfitResult) GetYesterdayTimeStamp() string {
- if o == nil || isNil(o.YesterdayTimeStamp) {
- var ret string
- return ret
- }
- return *o.YesterdayTimeStamp
-}
-
-// GetYesterdayTimeStampOk returns a tuple with the YesterdayTimeStamp field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderTotalProfitResult) GetYesterdayTimeStampOk() (*string, bool) {
- if o == nil || isNil(o.YesterdayTimeStamp) {
- return nil, false
- }
- return o.YesterdayTimeStamp, true
-}
-
-// HasYesterdayTimeStamp returns a boolean if a field has been set.
-func (o *TraderTotalProfitResult) HasYesterdayTimeStamp() bool {
- if o != nil && !isNil(o.YesterdayTimeStamp) {
- return true
- }
-
- return false
-}
-
-// SetYesterdayTimeStamp gets a reference to the given string and assigns it to the YesterdayTimeStamp field.
-func (o *TraderTotalProfitResult) SetYesterdayTimeStamp(v string) {
- o.YesterdayTimeStamp = &v
-}
-
-func (o TraderTotalProfitResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.SumProfit) {
- toSerialize["sumProfit"] = o.SumProfit
- }
- if !isNil(o.WaitProfit) {
- toSerialize["waitProfit"] = o.WaitProfit
- }
- if !isNil(o.YesterdaySplitProfit) {
- toSerialize["yesterdaySplitProfit"] = o.YesterdaySplitProfit
- }
- if !isNil(o.YesterdayTimeStamp) {
- toSerialize["yesterdayTimeStamp"] = o.YesterdayTimeStamp
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderTotalProfitResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderTotalProfitResult := _TraderTotalProfitResult{}
-
- if err = json.Unmarshal(bytes, &varTraderTotalProfitResult); err == nil {
- *o = TraderTotalProfitResult(varTraderTotalProfitResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "sumProfit")
- delete(additionalProperties, "waitProfit")
- delete(additionalProperties, "yesterdaySplitProfit")
- delete(additionalProperties, "yesterdayTimeStamp")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderTotalProfitResult struct {
- value *TraderTotalProfitResult
- isSet bool
-}
-
-func (v NullableTraderTotalProfitResult) Get() *TraderTotalProfitResult {
- return v.value
-}
-
-func (v *NullableTraderTotalProfitResult) Set(val *TraderTotalProfitResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderTotalProfitResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderTotalProfitResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderTotalProfitResult(val *TraderTotalProfitResult) *NullableTraderTotalProfitResult {
- return &NullableTraderTotalProfitResult{value: val, isSet: true}
-}
-
-func (v NullableTraderTotalProfitResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderTotalProfitResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_list_result.go b/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_list_result.go
deleted file mode 100644
index 3a92a987..00000000
--- a/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_list_result.go
+++ /dev/null
@@ -1,175 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderWaitProfitDetailListResult struct for TraderWaitProfitDetailListResult
-type TraderWaitProfitDetailListResult struct {
- NextFlag *bool `json:"nextFlag,omitempty"`
- ResultList []TraderWaitProfitDetailResult `json:"resultList,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderWaitProfitDetailListResult TraderWaitProfitDetailListResult
-
-// NewTraderWaitProfitDetailListResult instantiates a new TraderWaitProfitDetailListResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderWaitProfitDetailListResult() *TraderWaitProfitDetailListResult {
- this := TraderWaitProfitDetailListResult{}
- return &this
-}
-
-// NewTraderWaitProfitDetailListResultWithDefaults instantiates a new TraderWaitProfitDetailListResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderWaitProfitDetailListResultWithDefaults() *TraderWaitProfitDetailListResult {
- this := TraderWaitProfitDetailListResult{}
- return &this
-}
-
-// GetNextFlag returns the NextFlag field value if set, zero value otherwise.
-func (o *TraderWaitProfitDetailListResult) GetNextFlag() bool {
- if o == nil || isNil(o.NextFlag) {
- var ret bool
- return ret
- }
- return *o.NextFlag
-}
-
-// GetNextFlagOk returns a tuple with the NextFlag field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderWaitProfitDetailListResult) GetNextFlagOk() (*bool, bool) {
- if o == nil || isNil(o.NextFlag) {
- return nil, false
- }
- return o.NextFlag, true
-}
-
-// HasNextFlag returns a boolean if a field has been set.
-func (o *TraderWaitProfitDetailListResult) HasNextFlag() bool {
- if o != nil && !isNil(o.NextFlag) {
- return true
- }
-
- return false
-}
-
-// SetNextFlag gets a reference to the given bool and assigns it to the NextFlag field.
-func (o *TraderWaitProfitDetailListResult) SetNextFlag(v bool) {
- o.NextFlag = &v
-}
-
-// GetResultList returns the ResultList field value if set, zero value otherwise.
-func (o *TraderWaitProfitDetailListResult) GetResultList() []TraderWaitProfitDetailResult {
- if o == nil || isNil(o.ResultList) {
- var ret []TraderWaitProfitDetailResult
- return ret
- }
- return o.ResultList
-}
-
-// GetResultListOk returns a tuple with the ResultList field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderWaitProfitDetailListResult) GetResultListOk() ([]TraderWaitProfitDetailResult, bool) {
- if o == nil || isNil(o.ResultList) {
- return nil, false
- }
- return o.ResultList, true
-}
-
-// HasResultList returns a boolean if a field has been set.
-func (o *TraderWaitProfitDetailListResult) HasResultList() bool {
- if o != nil && !isNil(o.ResultList) {
- return true
- }
-
- return false
-}
-
-// SetResultList gets a reference to the given []TraderWaitProfitDetailResult and assigns it to the ResultList field.
-func (o *TraderWaitProfitDetailListResult) SetResultList(v []TraderWaitProfitDetailResult) {
- o.ResultList = v
-}
-
-func (o TraderWaitProfitDetailListResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.NextFlag) {
- toSerialize["nextFlag"] = o.NextFlag
- }
- if !isNil(o.ResultList) {
- toSerialize["resultList"] = o.ResultList
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderWaitProfitDetailListResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderWaitProfitDetailListResult := _TraderWaitProfitDetailListResult{}
-
- if err = json.Unmarshal(bytes, &varTraderWaitProfitDetailListResult); err == nil {
- *o = TraderWaitProfitDetailListResult(varTraderWaitProfitDetailListResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "nextFlag")
- delete(additionalProperties, "resultList")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderWaitProfitDetailListResult struct {
- value *TraderWaitProfitDetailListResult
- isSet bool
-}
-
-func (v NullableTraderWaitProfitDetailListResult) Get() *TraderWaitProfitDetailListResult {
- return v.value
-}
-
-func (v *NullableTraderWaitProfitDetailListResult) Set(val *TraderWaitProfitDetailListResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderWaitProfitDetailListResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderWaitProfitDetailListResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderWaitProfitDetailListResult(val *TraderWaitProfitDetailListResult) *NullableTraderWaitProfitDetailListResult {
- return &NullableTraderWaitProfitDetailListResult{value: val, isSet: true}
-}
-
-func (v NullableTraderWaitProfitDetailListResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderWaitProfitDetailListResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_result.go b/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_result.go
deleted file mode 100644
index 2df50950..00000000
--- a/bitget-goland-sdk-open-api/model_trader_wait_profit_detail_result.go
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// TraderWaitProfitDetailResult struct for TraderWaitProfitDetailResult
-type TraderWaitProfitDetailResult struct {
- CoinName *string `json:"coinName,omitempty"`
- DistributeRatio *string `json:"distributeRatio,omitempty"`
- Profit *string `json:"profit,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _TraderWaitProfitDetailResult TraderWaitProfitDetailResult
-
-// NewTraderWaitProfitDetailResult instantiates a new TraderWaitProfitDetailResult object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewTraderWaitProfitDetailResult() *TraderWaitProfitDetailResult {
- this := TraderWaitProfitDetailResult{}
- return &this
-}
-
-// NewTraderWaitProfitDetailResultWithDefaults instantiates a new TraderWaitProfitDetailResult object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewTraderWaitProfitDetailResultWithDefaults() *TraderWaitProfitDetailResult {
- this := TraderWaitProfitDetailResult{}
- return &this
-}
-
-// GetCoinName returns the CoinName field value if set, zero value otherwise.
-func (o *TraderWaitProfitDetailResult) GetCoinName() string {
- if o == nil || isNil(o.CoinName) {
- var ret string
- return ret
- }
- return *o.CoinName
-}
-
-// GetCoinNameOk returns a tuple with the CoinName field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderWaitProfitDetailResult) GetCoinNameOk() (*string, bool) {
- if o == nil || isNil(o.CoinName) {
- return nil, false
- }
- return o.CoinName, true
-}
-
-// HasCoinName returns a boolean if a field has been set.
-func (o *TraderWaitProfitDetailResult) HasCoinName() bool {
- if o != nil && !isNil(o.CoinName) {
- return true
- }
-
- return false
-}
-
-// SetCoinName gets a reference to the given string and assigns it to the CoinName field.
-func (o *TraderWaitProfitDetailResult) SetCoinName(v string) {
- o.CoinName = &v
-}
-
-// GetDistributeRatio returns the DistributeRatio field value if set, zero value otherwise.
-func (o *TraderWaitProfitDetailResult) GetDistributeRatio() string {
- if o == nil || isNil(o.DistributeRatio) {
- var ret string
- return ret
- }
- return *o.DistributeRatio
-}
-
-// GetDistributeRatioOk returns a tuple with the DistributeRatio field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderWaitProfitDetailResult) GetDistributeRatioOk() (*string, bool) {
- if o == nil || isNil(o.DistributeRatio) {
- return nil, false
- }
- return o.DistributeRatio, true
-}
-
-// HasDistributeRatio returns a boolean if a field has been set.
-func (o *TraderWaitProfitDetailResult) HasDistributeRatio() bool {
- if o != nil && !isNil(o.DistributeRatio) {
- return true
- }
-
- return false
-}
-
-// SetDistributeRatio gets a reference to the given string and assigns it to the DistributeRatio field.
-func (o *TraderWaitProfitDetailResult) SetDistributeRatio(v string) {
- o.DistributeRatio = &v
-}
-
-// GetProfit returns the Profit field value if set, zero value otherwise.
-func (o *TraderWaitProfitDetailResult) GetProfit() string {
- if o == nil || isNil(o.Profit) {
- var ret string
- return ret
- }
- return *o.Profit
-}
-
-// GetProfitOk returns a tuple with the Profit field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *TraderWaitProfitDetailResult) GetProfitOk() (*string, bool) {
- if o == nil || isNil(o.Profit) {
- return nil, false
- }
- return o.Profit, true
-}
-
-// HasProfit returns a boolean if a field has been set.
-func (o *TraderWaitProfitDetailResult) HasProfit() bool {
- if o != nil && !isNil(o.Profit) {
- return true
- }
-
- return false
-}
-
-// SetProfit gets a reference to the given string and assigns it to the Profit field.
-func (o *TraderWaitProfitDetailResult) SetProfit(v string) {
- o.Profit = &v
-}
-
-func (o TraderWaitProfitDetailResult) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.CoinName) {
- toSerialize["coinName"] = o.CoinName
- }
- if !isNil(o.DistributeRatio) {
- toSerialize["distributeRatio"] = o.DistributeRatio
- }
- if !isNil(o.Profit) {
- toSerialize["profit"] = o.Profit
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *TraderWaitProfitDetailResult) UnmarshalJSON(bytes []byte) (err error) {
- varTraderWaitProfitDetailResult := _TraderWaitProfitDetailResult{}
-
- if err = json.Unmarshal(bytes, &varTraderWaitProfitDetailResult); err == nil {
- *o = TraderWaitProfitDetailResult(varTraderWaitProfitDetailResult)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "coinName")
- delete(additionalProperties, "distributeRatio")
- delete(additionalProperties, "profit")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableTraderWaitProfitDetailResult struct {
- value *TraderWaitProfitDetailResult
- isSet bool
-}
-
-func (v NullableTraderWaitProfitDetailResult) Get() *TraderWaitProfitDetailResult {
- return v.value
-}
-
-func (v *NullableTraderWaitProfitDetailResult) Set(val *TraderWaitProfitDetailResult) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTraderWaitProfitDetailResult) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTraderWaitProfitDetailResult) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTraderWaitProfitDetailResult(val *TraderWaitProfitDetailResult) *NullableTraderWaitProfitDetailResult {
- return &NullableTraderWaitProfitDetailResult{value: val, isSet: true}
-}
-
-func (v NullableTraderWaitProfitDetailResult) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableTraderWaitProfitDetailResult) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_update_tpsl_request.go b/bitget-goland-sdk-open-api/model_update_tpsl_request.go
deleted file mode 100644
index 0659e9fa..00000000
--- a/bitget-goland-sdk-open-api/model_update_tpsl_request.go
+++ /dev/null
@@ -1,194 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// UpdateTpslRequest struct for UpdateTpslRequest
-type UpdateTpslRequest struct {
- // stopLossPrice
- StopLossPrice string `json:"stopLossPrice"`
- // stopProfitPrice
- StopProfitPrice string `json:"stopProfitPrice"`
- // trackingNo
- TrackingNo string `json:"trackingNo"`
- AdditionalProperties map[string]interface{}
-}
-
-type _UpdateTpslRequest UpdateTpslRequest
-
-// NewUpdateTpslRequest instantiates a new UpdateTpslRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewUpdateTpslRequest(stopLossPrice string, stopProfitPrice string, trackingNo string) *UpdateTpslRequest {
- this := UpdateTpslRequest{}
- this.StopLossPrice = stopLossPrice
- this.StopProfitPrice = stopProfitPrice
- this.TrackingNo = trackingNo
- return &this
-}
-
-// NewUpdateTpslRequestWithDefaults instantiates a new UpdateTpslRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewUpdateTpslRequestWithDefaults() *UpdateTpslRequest {
- this := UpdateTpslRequest{}
- return &this
-}
-
-// GetStopLossPrice returns the StopLossPrice field value
-func (o *UpdateTpslRequest) GetStopLossPrice() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.StopLossPrice
-}
-
-// GetStopLossPriceOk returns a tuple with the StopLossPrice field value
-// and a boolean to check if the value has been set.
-func (o *UpdateTpslRequest) GetStopLossPriceOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.StopLossPrice, true
-}
-
-// SetStopLossPrice sets field value
-func (o *UpdateTpslRequest) SetStopLossPrice(v string) {
- o.StopLossPrice = v
-}
-
-// GetStopProfitPrice returns the StopProfitPrice field value
-func (o *UpdateTpslRequest) GetStopProfitPrice() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.StopProfitPrice
-}
-
-// GetStopProfitPriceOk returns a tuple with the StopProfitPrice field value
-// and a boolean to check if the value has been set.
-func (o *UpdateTpslRequest) GetStopProfitPriceOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.StopProfitPrice, true
-}
-
-// SetStopProfitPrice sets field value
-func (o *UpdateTpslRequest) SetStopProfitPrice(v string) {
- o.StopProfitPrice = v
-}
-
-// GetTrackingNo returns the TrackingNo field value
-func (o *UpdateTpslRequest) GetTrackingNo() string {
- if o == nil {
- var ret string
- return ret
- }
-
- return o.TrackingNo
-}
-
-// GetTrackingNoOk returns a tuple with the TrackingNo field value
-// and a boolean to check if the value has been set.
-func (o *UpdateTpslRequest) GetTrackingNoOk() (*string, bool) {
- if o == nil {
- return nil, false
- }
- return &o.TrackingNo, true
-}
-
-// SetTrackingNo sets field value
-func (o *UpdateTpslRequest) SetTrackingNo(v string) {
- o.TrackingNo = v
-}
-
-func (o UpdateTpslRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if true {
- toSerialize["stopLossPrice"] = o.StopLossPrice
- }
- if true {
- toSerialize["stopProfitPrice"] = o.StopProfitPrice
- }
- if true {
- toSerialize["trackingNo"] = o.TrackingNo
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *UpdateTpslRequest) UnmarshalJSON(bytes []byte) (err error) {
- varUpdateTpslRequest := _UpdateTpslRequest{}
-
- if err = json.Unmarshal(bytes, &varUpdateTpslRequest); err == nil {
- *o = UpdateTpslRequest(varUpdateTpslRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "stopLossPrice")
- delete(additionalProperties, "stopProfitPrice")
- delete(additionalProperties, "trackingNo")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableUpdateTpslRequest struct {
- value *UpdateTpslRequest
- isSet bool
-}
-
-func (v NullableUpdateTpslRequest) Get() *UpdateTpslRequest {
- return v.value
-}
-
-func (v *NullableUpdateTpslRequest) Set(val *UpdateTpslRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableUpdateTpslRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableUpdateTpslRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableUpdateTpslRequest(val *UpdateTpslRequest) *NullableUpdateTpslRequest {
- return &NullableUpdateTpslRequest{value: val, isSet: true}
-}
-
-func (v NullableUpdateTpslRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableUpdateTpslRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/model_wait_profit_detail_list_request.go b/bitget-goland-sdk-open-api/model_wait_profit_detail_list_request.go
deleted file mode 100644
index dd764632..00000000
--- a/bitget-goland-sdk-open-api/model_wait_profit_detail_list_request.go
+++ /dev/null
@@ -1,177 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
-)
-
-// WaitProfitDetailListRequest struct for WaitProfitDetailListRequest
-type WaitProfitDetailListRequest struct {
- // pageNo
- PageNo *string `json:"pageNo,omitempty"`
- // pageSize
- PageSize *string `json:"pageSize,omitempty"`
- AdditionalProperties map[string]interface{}
-}
-
-type _WaitProfitDetailListRequest WaitProfitDetailListRequest
-
-// NewWaitProfitDetailListRequest instantiates a new WaitProfitDetailListRequest object
-// This constructor will assign default values to properties that have it defined,
-// and makes sure properties required by API are set, but the set of arguments
-// will change when the set of required properties is changed
-func NewWaitProfitDetailListRequest() *WaitProfitDetailListRequest {
- this := WaitProfitDetailListRequest{}
- return &this
-}
-
-// NewWaitProfitDetailListRequestWithDefaults instantiates a new WaitProfitDetailListRequest object
-// This constructor will only assign default values to properties that have it defined,
-// but it doesn't guarantee that properties required by API are set
-func NewWaitProfitDetailListRequestWithDefaults() *WaitProfitDetailListRequest {
- this := WaitProfitDetailListRequest{}
- return &this
-}
-
-// GetPageNo returns the PageNo field value if set, zero value otherwise.
-func (o *WaitProfitDetailListRequest) GetPageNo() string {
- if o == nil || isNil(o.PageNo) {
- var ret string
- return ret
- }
- return *o.PageNo
-}
-
-// GetPageNoOk returns a tuple with the PageNo field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *WaitProfitDetailListRequest) GetPageNoOk() (*string, bool) {
- if o == nil || isNil(o.PageNo) {
- return nil, false
- }
- return o.PageNo, true
-}
-
-// HasPageNo returns a boolean if a field has been set.
-func (o *WaitProfitDetailListRequest) HasPageNo() bool {
- if o != nil && !isNil(o.PageNo) {
- return true
- }
-
- return false
-}
-
-// SetPageNo gets a reference to the given string and assigns it to the PageNo field.
-func (o *WaitProfitDetailListRequest) SetPageNo(v string) {
- o.PageNo = &v
-}
-
-// GetPageSize returns the PageSize field value if set, zero value otherwise.
-func (o *WaitProfitDetailListRequest) GetPageSize() string {
- if o == nil || isNil(o.PageSize) {
- var ret string
- return ret
- }
- return *o.PageSize
-}
-
-// GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise
-// and a boolean to check if the value has been set.
-func (o *WaitProfitDetailListRequest) GetPageSizeOk() (*string, bool) {
- if o == nil || isNil(o.PageSize) {
- return nil, false
- }
- return o.PageSize, true
-}
-
-// HasPageSize returns a boolean if a field has been set.
-func (o *WaitProfitDetailListRequest) HasPageSize() bool {
- if o != nil && !isNil(o.PageSize) {
- return true
- }
-
- return false
-}
-
-// SetPageSize gets a reference to the given string and assigns it to the PageSize field.
-func (o *WaitProfitDetailListRequest) SetPageSize(v string) {
- o.PageSize = &v
-}
-
-func (o WaitProfitDetailListRequest) MarshalJSON() ([]byte, error) {
- toSerialize := map[string]interface{}{}
- if !isNil(o.PageNo) {
- toSerialize["pageNo"] = o.PageNo
- }
- if !isNil(o.PageSize) {
- toSerialize["pageSize"] = o.PageSize
- }
-
- for key, value := range o.AdditionalProperties {
- toSerialize[key] = value
- }
-
- return json.Marshal(toSerialize)
-}
-
-func (o *WaitProfitDetailListRequest) UnmarshalJSON(bytes []byte) (err error) {
- varWaitProfitDetailListRequest := _WaitProfitDetailListRequest{}
-
- if err = json.Unmarshal(bytes, &varWaitProfitDetailListRequest); err == nil {
- *o = WaitProfitDetailListRequest(varWaitProfitDetailListRequest)
- }
-
- additionalProperties := make(map[string]interface{})
-
- if err = json.Unmarshal(bytes, &additionalProperties); err == nil {
- delete(additionalProperties, "pageNo")
- delete(additionalProperties, "pageSize")
- o.AdditionalProperties = additionalProperties
- }
-
- return err
-}
-
-type NullableWaitProfitDetailListRequest struct {
- value *WaitProfitDetailListRequest
- isSet bool
-}
-
-func (v NullableWaitProfitDetailListRequest) Get() *WaitProfitDetailListRequest {
- return v.value
-}
-
-func (v *NullableWaitProfitDetailListRequest) Set(val *WaitProfitDetailListRequest) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableWaitProfitDetailListRequest) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableWaitProfitDetailListRequest) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableWaitProfitDetailListRequest(val *WaitProfitDetailListRequest) *NullableWaitProfitDetailListRequest {
- return &NullableWaitProfitDetailListRequest{value: val, isSet: true}
-}
-
-func (v NullableWaitProfitDetailListRequest) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableWaitProfitDetailListRequest) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
diff --git a/bitget-goland-sdk-open-api/response.go b/bitget-goland-sdk-open-api/response.go
deleted file mode 100644
index 328753f6..00000000
--- a/bitget-goland-sdk-open-api/response.go
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "net/http"
-)
-
-// APIResponse stores the API response returned by the server.
-type APIResponse struct {
- *http.Response `json:"-"`
- Message string `json:"message,omitempty"`
- // Operation is the name of the OpenAPI operation.
- Operation string `json:"operation,omitempty"`
- // RequestURL is the request URL. This value is always available, even if the
- // embedded *http.Response is nil.
- RequestURL string `json:"url,omitempty"`
- // Method is the HTTP method used for the request. This value is always
- // available, even if the embedded *http.Response is nil.
- Method string `json:"method,omitempty"`
- // Payload holds the contents of the response body (which may be nil or empty).
- // This is provided here as the raw response.Body() reader will have already
- // been drained.
- Payload []byte `json:"-"`
-}
-
-// NewAPIResponse returns a new APIResponse object.
-func NewAPIResponse(r *http.Response) *APIResponse {
-
- response := &APIResponse{Response: r}
- return response
-}
-
-// NewAPIResponseWithError returns a new APIResponse object with the provided error message.
-func NewAPIResponseWithError(errorMessage string) *APIResponse {
-
- response := &APIResponse{Message: errorMessage}
- return response
-}
diff --git a/bitget-goland-sdk-open-api/sign_utils.go b/bitget-goland-sdk-open-api/sign_utils.go
deleted file mode 100644
index 9cb58ee0..00000000
--- a/bitget-goland-sdk-open-api/sign_utils.go
+++ /dev/null
@@ -1,35 +0,0 @@
-package openapi
-
-import (
- "crypto/hmac"
- "crypto/sha256"
- "encoding/base64"
- "strconv"
- "strings"
- "time"
-)
-
-func Sign(method string, path string, query string, body string, timesStamp string, secretKey string) string {
-
- var payload strings.Builder
- payload.WriteString(timesStamp)
- payload.WriteString(method)
- if query != "" {
- payload.WriteString(path)
- payload.WriteString("?")
- payload.WriteString(query)
- } else {
- payload.WriteString(path)
- }
- payload.WriteString(body)
-
- hash := hmac.New(sha256.New, []byte(secretKey))
- hash.Write([]byte(payload.String()))
- result := base64.StdEncoding.EncodeToString(hash.Sum(nil))
- return result
-}
-
-func GetTimesStamp() string {
- timesStamp := time.Now().Unix() * 1000
- return strconv.FormatInt(timesStamp, 10)
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_account_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_account_test.go
deleted file mode 100644
index 0e55c9ad..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_account_test.go
+++ /dev/null
@@ -1,170 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossAccountApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossAccountApiService(t *testing.T) {
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountAssets", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountAssets(context.Background()).Coin("USDT").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
-
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAvailable())
- assert.NotEmpty(t, item.GetBorrow())
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetInterest())
- assert.NotEmpty(t, item.GetTotalAmount())
- }
-
- })
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountBorrow", func(t *testing.T) {
-
- param := *openapiclient.NewMarginCrossLimitRequestWithDefaults() // NewMarginCrossLimitRequestWithDefaults | param
- param.SetCoin("USDT")
- param.SetBorrowAmount("1")
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountBorrow(context.Background()).MarginCrossLimitRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetBorrowAmount())
- assert.NotNil(t, data.Coin)
-
- })
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountMaxBorrowableAmount", func(t *testing.T) {
-
- param := *openapiclient.NewMarginCrossMaxBorrowRequestWithDefaults() // NewMarginCrossMaxBorrowRequestWithDefaults | param
- param.SetCoin("USDT")
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountMaxBorrowableAmount(context.Background()).MarginCrossMaxBorrowRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetMaxBorrowableAmount())
- assert.NotNil(t, data.Coin)
-
- })
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountMaxTransferOutAmount", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountMaxTransferOutAmount(context.Background()).Coin("USDT").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetMaxTransferOutAmount())
- assert.NotNil(t, data.Coin)
-
- })
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountRepay", func(t *testing.T) {
-
- param := *openapiclient.NewMarginCrossRepayRequestWithDefaults() // NewMarginCrossRepayRequestWithDefaults | param
- param.SetCoin("USDT")
- param.SetRepayAmount("1")
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountRepay(context.Background()).MarginCrossRepayRequest(param).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetRepayAmount())
- assert.NotNil(t, data.Coin)
-
- })
-
- t.Run("Test MarginCrossAccountApiService MarginCrossAccountRiskRate", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossAccountApi.MarginCrossAccountRiskRate(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetRiskRate())
-
- })
-
- t.Run("Test MarginCrossAccountApiService Void", func(t *testing.T) {
-
- t.Skip("skip test") // remove to run test
-
- resp, httpRes, err := apiClient.MarginCrossAccountApi.Void(context.Background()).Execute()
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_borrow_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_borrow_test.go
deleted file mode 100644
index de0c69d4..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_borrow_test.go
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossBorrowApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossBorrowApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossBorrowApiService CrossLoanList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossBorrowApi.CrossLoanList(context.Background()).StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- }
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_finflow_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_finflow_test.go
deleted file mode 100644
index ba7eb06e..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_finflow_test.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossFinflowApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossFinflowApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossFinflowApiService CrossFinList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossFinflowApi.CrossFinList(context.Background()).StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetBalance())
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetMarginType())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_interest_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_interest_test.go
deleted file mode 100644
index 3fafe593..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_interest_test.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossInterestApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossInterestApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossInterestApiService CrossInterestList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossInterestApi.CrossInterestList(context.Background()).StartTime("1677274167003").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetLoanCoin())
- assert.NotEmpty(t, item.GetInterestCoin())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_liquidation_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_liquidation_test.go
deleted file mode 100644
index 8633187b..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_liquidation_test.go
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossLiquidationApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossLiquidationApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossLiquidationApiService CrossLiquidationList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossLiquidationApi.CrossLiquidationList(context.Background()).StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetLiqFee())
- assert.NotEmpty(t, item.GetLiqEndTime())
- assert.NotEmpty(t, item.GetLiqStartTime())
- assert.NotEmpty(t, item.GetLiqRisk())
- assert.NotEmpty(t, item.GetTotalAssets())
- assert.NotEmpty(t, item.GetTotalDebt())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_order_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_order_test.go
deleted file mode 100644
index cb8baef3..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_order_test.go
+++ /dev/null
@@ -1,262 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossOrderApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossOrderApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossOrderApiService MarginCrossBatchCancelOrder", func(t *testing.T) {
-
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // MarginOrderRequest | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("limit")
- param.SetPrice("17000")
- param.SetBaseQuantity("0.01")
- param.SetTimeInForce("gtc")
- param.SetQuoteAmount("10")
- param.SetLoanType("normal")
- orderResp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- request := *openapiclient.NewMarginBatchCancelOrderRequestWithDefaults() // MarginOrderRequest | param
- itemArray := []string{*orderResp.GetData().OrderId}
- request.SetOrderIds(itemArray)
- request.SetSymbol("BTCUSDT")
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossBatchCancelOrder(context.Background()).MarginBatchCancelOrderRequest(request).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData().ResultList {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossBatchPlaceOrder", func(t *testing.T) {
-
- item := *openapiclient.NewMarginOrderRequestWithDefaults() // MarginOrderRequest | param
- item.SetSymbol("BTCUSDT")
- item.SetSide("buy")
- item.SetPrice("14000")
- item.SetOrderType("limit")
- item.SetTimeInForce("gtc")
- item.SetBaseQuantity("0.01")
- item.SetLoanType("normal")
- var itemArray = []openapiclient.MarginOrderRequest{item}
-
- param := *openapiclient.NewMarginBatchOrdersRequestWithDefaults() // MarginOrderRequest | param
- param.SetSymbol("BTCUSDT")
- param.SetOrderList(itemArray)
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossBatchPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossCancelOrder", func(t *testing.T) {
-
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // NewMarginCrossLimitRequestWithDefaults | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("limit")
- param.SetPrice("14000")
- param.SetTimeInForce("gtc")
- param.SetBaseQuantity("0.01")
- param.SetLoanType("normal")
- orderResp, httpRes, _ := apiClient.MarginCrossOrderApi.MarginCrossPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- bs1, _ := json.Marshal(orderResp)
- var out1 bytes.Buffer
- json.Indent(&out1, bs1, "", "\t")
- fmt.Printf("result=%v\n", out1.String())
-
- cancelOrderParam := *openapiclient.NewMarginCancelOrderRequestWithDefaults()
- cancelOrderParam.SetSymbol("BTCUSDT")
- cancelOrderParam.SetOrderId(*orderResp.GetData().OrderId)
- resp, httpRes, _ := apiClient.MarginCrossOrderApi.MarginCrossCancelOrder(context.Background()).MarginCancelOrderRequest(cancelOrderParam).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
-
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossFills", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossFills(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetFills() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetFillQuantity())
- }
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossHistoryOrders", func(t *testing.T) {
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossHistoryOrders(context.Background()).Symbol("BTCUSDT").StartTime("1679133422000").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("student=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData().OrderList)
-
- for i, item := range resp.GetData().OrderList {
- fmt.Printf("%d %v\n", i, item)
- assert.Equal(t, "BTCUSDT", item.GetSymbol())
- assert.NotEmpty(t, item.GetOrderId())
- assert.NotEmpty(t, item.GetStatus())
- assert.NotEmpty(t, item.GetSource())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetLoanType())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetBaseQuantity())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetQuoteAmount())
- assert.NotEmpty(t, item.GetPrice())
- }
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossOpenOrders", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossOpenOrders(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetOrderList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetLoanType())
- assert.NotEmpty(t, item.GetPrice())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetSource())
- assert.NotEmpty(t, item.GetStatus())
- }
- })
-
- t.Run("Test MarginCrossOrderApiService MarginCrossPlaceOrder", func(t *testing.T) {
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // MarginOrderRequest | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("market")
- param.SetTimeInForce("gtc")
- param.SetQuoteAmount("10")
- param.SetLoanType("normal")
- resp, httpRes, err := apiClient.MarginCrossOrderApi.MarginCrossPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("student=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- assert.NotNil(t, data.OrderId)
- assert.NotNil(t, data.ClientOid)
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_public_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_public_test.go
deleted file mode 100644
index 13464844..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_public_test.go
+++ /dev/null
@@ -1,94 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossPublicApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossPublicApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossPublicApiService MarginCrossPublicInterestRateAndLimit", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossPublicApi.MarginCrossPublicInterestRateAndLimit(context.Background()).Coin("USDT").Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetLeverage())
- assert.NotEmpty(t, item.GetTransferInAble())
- assert.NotEmpty(t, item.GetBorrowAble())
- assert.NotEmpty(t, item.GetDailyInterestRate())
- assert.NotEmpty(t, item.GetYearlyInterestRate())
- assert.NotEmpty(t, item.GetMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetVips())
- for i, item := range item.GetVips() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetLevel())
- assert.NotEmpty(t, item.GetDailyInterestRate())
- assert.NotEmpty(t, item.GetYearlyInterestRate())
- assert.NotEmpty(t, item.GetDiscountRate())
- }
- }
-
- })
-
- t.Run("Test MarginCrossPublicApiService MarginCrossPublicTierData", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossPublicApi.MarginCrossPublicTierData(context.Background()).Coin("USDT").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetTier())
- assert.NotEmpty(t, item.GetLeverage())
- assert.NotEmpty(t, item.GetMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetMaintainMarginRate())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_cross_repay_test.go b/bitget-goland-sdk-open-api/test/api_margin_cross_repay_test.go
deleted file mode 100644
index 59c262c9..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_cross_repay_test.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginCrossRepayApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginCrossRepayApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginCrossRepayApiService CrossRepayList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginCrossRepayApi.CrossRepayList(context.Background()).StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetInterest())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetTotalAmount())
- }
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_account_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_account_test.go
deleted file mode 100644
index ddbcb702..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_account_test.go
+++ /dev/null
@@ -1,165 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedAccountApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedAccountApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountAssets", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountAssets(context.Background()).Symbol("BTCUSDT").Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
-
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAvailable())
- assert.NotEmpty(t, item.GetBorrow())
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetInterest())
- assert.NotEmpty(t, item.GetTotalAmount())
- }
-
- })
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountBorrow", func(t *testing.T) {
-
- param := *openapiclient.NewMarginIsolatedLimitRequestWithDefaults()
- param.SetCoin("USDT")
- param.SetBorrowAmount("1")
- param.SetSymbol("BTCUSDT")
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountBorrow(context.Background()).MarginIsolatedLimitRequest(param).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetBorrowAmount())
- assert.NotNil(t, data.Coin)
- assert.NotNil(t, data.Symbol)
-
- })
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountMaxBorrowableAmount", func(t *testing.T) {
-
- param := *openapiclient.NewMarginIsolatedMaxBorrowRequestWithDefaults()
- param.SetCoin("USDT")
- param.SetSymbol("BTCUSDT")
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountMaxBorrowableAmount(context.Background()).MarginIsolatedMaxBorrowRequest(param).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetMaxBorrowableAmount())
- assert.NotNil(t, data.Coin)
- assert.NotNil(t, data.Symbol)
-
- })
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountMaxTransferOutAmount", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountMaxTransferOutAmount(context.Background()).Symbol("BTCUSDT").Coin("USDT").Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.MaxTransferOutAmount)
- assert.NotNil(t, data.Coin)
- assert.NotNil(t, data.Symbol)
-
- })
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountRepay", func(t *testing.T) {
-
- param := *openapiclient.NewMarginIsolatedRepayRequestWithDefaults()
- param.SetCoin("USDT")
- param.SetSymbol("BTCUSDT")
- param.SetRepayAmount("1")
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountRepay(context.Background()).MarginIsolatedRepayRequest(param).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.RepayAmount)
- assert.NotNil(t, data.Coin)
- assert.NotNil(t, data.Symbol)
-
- })
-
- t.Run("Test MarginIsolatedAccountApiService MarginIsolatedAccountRiskRate", func(t *testing.T) {
-
- param := *openapiclient.NewMarginIsolatedAssetsRiskRequestWithDefaults()
- param.SetSymbol("BTCUSDT")
-
- resp, httpRes, err := apiClient.MarginIsolatedAccountApi.MarginIsolatedAccountRiskRate(context.Background()).MarginIsolatedAssetsRiskRequest(param).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.Symbol)
- assert.NotEmpty(t, item.RiskRate)
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_borrow_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_borrow_test.go
deleted file mode 100644
index 43fbb1a0..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_borrow_test.go
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedBorrowApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "context"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedBorrowApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedBorrowApiService IsolatedLoanList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedBorrowApi.IsolatedLoanList(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_finflow_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_finflow_test.go
deleted file mode 100644
index a391ae13..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_finflow_test.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedFinflowApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedFinflowApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedFinflowApiService IsolatedFinList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedFinflowApi.IsolatedFinList(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetBalance())
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetMarginType())
- assert.NotEmpty(t, item.GetSymbol())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_interest_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_interest_test.go
deleted file mode 100644
index 0595d7c7..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_interest_test.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedInterestApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedInterestApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedInterestApiService IsolatedInterestList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedInterestApi.IsolatedInterestList(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetLoanCoin())
- assert.NotEmpty(t, item.GetInterestCoin())
- assert.NotEmpty(t, item.GetSymbol())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_liquidation_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_liquidation_test.go
deleted file mode 100644
index 00368b11..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_liquidation_test.go
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedLiquidationApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedLiquidationApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedLiquidationApiService IsolatedLiquidationList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedLiquidationApi.IsolatedLiquidationList(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetLiqFee())
- assert.NotEmpty(t, item.GetLiqEndTime())
- assert.NotEmpty(t, item.GetLiqStartTime())
- assert.NotEmpty(t, item.GetLiqRisk())
- assert.NotEmpty(t, item.GetTotalAssets())
- assert.NotEmpty(t, item.GetTotalDebt())
- assert.NotEmpty(t, item.GetSymbol())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_order_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_order_test.go
deleted file mode 100644
index 7075255c..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_order_test.go
+++ /dev/null
@@ -1,257 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedOrderApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedOrderApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedBatchCancelOrder", func(t *testing.T) {
-
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // MarginOrderRequest | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("limit")
- param.SetPrice("17000")
- param.SetBaseQuantity("0.01")
- param.SetTimeInForce("gtc")
- param.SetQuoteAmount("10")
- param.SetLoanType("normal")
- orderResp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- item := *openapiclient.NewMarginBatchCancelOrderRequestWithDefaults() // MarginOrderRequest | param
- itemArray := []string{*orderResp.GetData().OrderId}
- item.SetOrderIds(itemArray)
- item.SetSymbol("BTCUSDT")
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedBatchCancelOrder(context.Background()).MarginBatchCancelOrderRequest(item).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData().ResultList {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
-
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedBatchPlaceOrder", func(t *testing.T) {
-
- item := *openapiclient.NewMarginOrderRequestWithDefaults() // MarginOrderRequest | param
- item.SetSymbol("BTCUSDT")
- item.SetSide("buy")
- item.SetPrice("14000")
- item.SetOrderType("limit")
- item.SetTimeInForce("gtc")
- item.SetBaseQuantity("0.01")
- item.SetLoanType("normal")
- var itemArray = []openapiclient.MarginOrderRequest{item}
-
- param := *openapiclient.NewMarginBatchOrdersRequestWithDefaults() // MarginOrderRequest | param
- param.SetSymbol("BTCUSDT")
- param.SetOrderList(itemArray)
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedBatchPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
-
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedCancelOrder", func(t *testing.T) {
-
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // NewMarginCrossLimitRequestWithDefaults | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("limit")
- param.SetPrice("14000")
- param.SetTimeInForce("gtc")
- param.SetBaseQuantity("0.01")
- param.SetLoanType("normal")
- orderResp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
- orderData := orderResp.GetData()
-
- cancelOrderParam := *openapiclient.NewMarginCancelOrderRequestWithDefaults()
- cancelOrderParam.SetSymbol("BTCUSDT")
- cancelOrderParam.SetOrderId(orderData.GetOrderId())
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedCancelOrder(context.Background()).MarginCancelOrderRequest(cancelOrderParam).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
-
- }
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedFills", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedFills(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetFills() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetOrderId())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetFillQuantity())
- }
-
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedHistoryOrders", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedHistoryOrders(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetOrderList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetLoanType())
- assert.NotEmpty(t, item.GetPrice())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetSource())
- assert.NotEmpty(t, item.GetStatus())
- }
-
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedOpenOrders", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedOpenOrders(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetOrderList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetOrderType())
- assert.NotEmpty(t, item.GetLoanType())
- assert.NotEmpty(t, item.GetPrice())
- assert.NotEmpty(t, item.GetFillPrice())
- assert.NotEmpty(t, item.GetFillTotalAmount())
- assert.NotEmpty(t, item.GetSide())
- assert.NotEmpty(t, item.GetSource())
- assert.NotEmpty(t, item.GetStatus())
- }
-
- })
-
- t.Run("Test MarginIsolatedOrderApiService MarginIsolatedPlaceOrder", func(t *testing.T) {
-
- param := *openapiclient.NewMarginOrderRequestWithDefaults() // NewMarginCrossLimitRequestWithDefaults | param
- param.SetSymbol("BTCUSDT")
- param.SetSide("buy")
- param.SetOrderType("limit")
- param.SetPrice("14000")
- param.SetTimeInForce("gtc")
- param.SetBaseQuantity("0.01")
- param.SetLoanType("normal")
- resp, httpRes, err := apiClient.MarginIsolatedOrderApi.MarginIsolatedPlaceOrder(context.Background()).MarginOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- data := resp.GetData()
- assert.NotNil(t, data.GetOrderId())
- assert.NotNil(t, data.GetClientOid())
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_public_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_public_test.go
deleted file mode 100644
index eb653b3b..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_public_test.go
+++ /dev/null
@@ -1,111 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedPublicApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedPublicApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedPublicApiService MarginIsolatedPublicInterestRateAndLimit", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedPublicApi.MarginIsolatedPublicInterestRateAndLimit(context.Background()).Symbol("BTCUSDT").Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetLeverage())
- assert.NotEmpty(t, item.GetBaseCoin())
- assert.NotEmpty(t, item.GetBaseTransferInAble())
- assert.NotEmpty(t, item.GetBaseBorrowAble())
- assert.NotEmpty(t, item.GetBaseDailyInterestRate())
- assert.NotEmpty(t, item.GetBaseYearlyInterestRate())
- assert.NotEmpty(t, item.GetBaseMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetBaseVips())
- for i, item := range item.GetBaseVips() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetLevel())
- assert.NotEmpty(t, item.GetDailyInterestRate())
- assert.NotEmpty(t, item.GetYearlyInterestRate())
- assert.NotEmpty(t, item.GetDiscountRate())
- }
- assert.NotEmpty(t, item.GetQuoteCoin())
- assert.NotEmpty(t, item.GetQuoteBorrowAble())
- assert.NotEmpty(t, item.GetQuoteDailyInterestRate())
- assert.NotEmpty(t, item.GetQuoteMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetQuoteTransferInAble())
- assert.NotEmpty(t, item.GetQuoteYearlyInterestRate())
- assert.NotEmpty(t, item.GetQuoteVips())
- for i, item := range item.GetQuoteVips() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetLevel())
- assert.NotEmpty(t, item.GetDailyInterestRate())
- assert.NotEmpty(t, item.GetYearlyInterestRate())
- assert.NotEmpty(t, item.GetDiscountRate())
- }
- }
- })
-
- t.Run("Test MarginIsolatedPublicApiService MarginIsolatedPublicTierData", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedPublicApi.MarginIsolatedPublicTierData(context.Background()).Symbol("BTCUSDT").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData())
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetTier())
- assert.NotEmpty(t, item.GetLeverage())
- assert.NotEmpty(t, item.GetBaseCoin())
- assert.NotEmpty(t, item.GetQuoteCoin())
- assert.NotEmpty(t, item.GetBaseMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetQuoteMaxBorrowableAmount())
- assert.NotEmpty(t, item.GetMaintainMarginRate())
- assert.NotEmpty(t, item.GetInitRate())
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_isolated_repay_test.go b/bitget-goland-sdk-open-api/test/api_margin_isolated_repay_test.go
deleted file mode 100644
index c02fe293..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_isolated_repay_test.go
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginIsolatedRepayApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginIsolatedRepayApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginIsolatedRepayApiService IsolateRepayList", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginIsolatedRepayApi.IsolateRepayList(context.Background()).Symbol("BTCUSDT").StartTime("1677274167003").EndTime("1680057356760").PageSize("10").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetInterest())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetTotalAmount())
- assert.NotEmpty(t, item.GetSymbol())
- }
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_margin_public_test.go b/bitget-goland-sdk-open-api/test/api_margin_public_test.go
deleted file mode 100644
index 9af34f18..00000000
--- a/bitget-goland-sdk-open-api/test/api_margin_public_test.go
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
-Bitget Open API
-
-Testing MarginPublicApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_MarginPublicApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test MarginPublicApiService MarginPublicCurrencies", func(t *testing.T) {
-
- resp, httpRes, err := apiClient.MarginPublicApi.MarginPublicCurrencies(context.Background()).Execute()
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, httpRes)
- require.NotNil(t, resp)
-
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotNil(t, resp.GetData())
-
- for i, item := range resp.GetData() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetSymbol())
- assert.NotEmpty(t, item.GetBaseCoin())
- assert.NotEmpty(t, item.GetQuoteCoin())
- assert.NotEmpty(t, item.GetMaxCrossLeverage())
- assert.NotEmpty(t, item.GetMaxIsolatedLeverage())
- assert.NotEmpty(t, item.GetWarningRiskRatio())
- assert.NotEmpty(t, item.GetLiquidationRiskRatio())
- assert.NotEmpty(t, item.GetMinTradeAmount())
- assert.NotEmpty(t, item.GetMaxTradeAmount())
- assert.NotEmpty(t, item.GetTakerFeeRate())
- assert.NotEmpty(t, item.GetMakerFeeRate())
- assert.NotEmpty(t, item.GetPriceScale())
- assert.NotEmpty(t, item.GetQuantityScale())
- assert.NotEmpty(t, item.GetMinTradeUSDT())
- assert.NotEmpty(t, item.GetIsBorrowable())
- assert.NotEmpty(t, item.GetUserMinBorrow())
- assert.NotEmpty(t, item.GetStatus())
-
- }
-
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_p2p_merchant_test.go b/bitget-goland-sdk-open-api/test/api_p2p_merchant_test.go
deleted file mode 100644
index 2bed07b5..00000000
--- a/bitget-goland-sdk-open-api/test/api_p2p_merchant_test.go
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
-Bitget Open API
-
-Testing P2pMerchantApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_P2pMerchantApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test P2pMerchantApiService MerchantAdvList", func(t *testing.T) {
- resp, httpRes, err := apiClient.P2pMerchantApi.MerchantAdvList(context.Background()).StartTime("1676260773000").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetAdvList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetAdvNo())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetFiatCode())
- assert.NotEmpty(t, item.GetPrice())
- }
- })
-
- t.Run("Test P2pMerchantApiService MerchantInfo", func(t *testing.T) {
- resp, httpRes, err := apiClient.P2pMerchantApi.MerchantInfo(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- assert.NotEmpty(t, resp.GetData().Email)
- assert.NotEmpty(t, resp.GetData().AveragePayment)
- assert.NotEmpty(t, resp.GetData().Mobile)
- assert.NotEmpty(t, resp.GetData().NickName)
- })
-
- t.Run("Test P2pMerchantApiService MerchantList", func(t *testing.T) {
- resp, httpRes, err := apiClient.P2pMerchantApi.MerchantList(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetMerchantId())
- assert.NotEmpty(t, item.GetIsOnline())
- assert.NotEmpty(t, item.GetNickName())
- }
- })
-
- t.Run("Test P2pMerchantApiService MerchantOrderList", func(t *testing.T) {
- resp, httpRes, err := apiClient.P2pMerchantApi.MerchantOrderList(context.Background()).StartTime("1680598302000").Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetOrderList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoin())
- assert.NotEmpty(t, item.GetAmount())
- assert.NotEmpty(t, item.GetAdvNo())
- assert.NotEmpty(t, item.GetType())
- assert.NotEmpty(t, item.GetOrderId())
- assert.NotEmpty(t, item.GetPrice())
- }
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_spot_trace_order_test.go b/bitget-goland-sdk-open-api/test/api_spot_trace_order_test.go
deleted file mode 100644
index 69e71db9..00000000
--- a/bitget-goland-sdk-open-api/test/api_spot_trace_order_test.go
+++ /dev/null
@@ -1,318 +0,0 @@
-/*
-Bitget Open API
-
-Testing SpotTraceOrderApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_SpotTraceOrderApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test SpotTraceOrderApiService SpotTraceCloseTrackingOrder", func(t *testing.T) {
- param := *openapiclient.NewCloseTrackingOrderRequestWithDefaults()
- param.SetSymbolId("BTCUSDT_SPBL")
- itemArray := []string{"1032884851114008576"}
- param.SetTrackingOrderNos(itemArray)
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceCloseTrackingOrder(context.Background()).CloseTrackingOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceEndOrder", func(t *testing.T) {
- param := *openapiclient.NewEndOrderRequestWithDefaults()
- itemArray := []string{"1032884851114008576"}
- param.SetTrackingOrderNos(itemArray)
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceEndOrder(context.Background()).EndOrderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
-
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceGetTraceSettings", func(t *testing.T) {
- param := *openapiclient.NewTraceSettingsRequestWithDefaults()
- param.SetTraderUserId("2856507104")
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceGetTraceSettings(context.Background()).TraceSettingsRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetTraceProductConfigs() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetMinTraceAmount())
- assert.NotEmpty(t, item.GetMaxTraceRation())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceGetTraderSettings", func(t *testing.T) {
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceGetTraderSettings(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetSupportProductCodes() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetProductCode())
- assert.NotEmpty(t, item.GetProductName())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceMyTracers", func(t *testing.T) {
- param := *openapiclient.NewMyTracersRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceMyTracers(context.Background()).MyTracersRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotNil(t, item.GetTracerHeadPic())
- assert.NotEmpty(t, item.GetTracerNickName())
- assert.NotEmpty(t, item.GetTracerUserId())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceMyTraders", func(t *testing.T) {
- param := *openapiclient.NewMyTradersRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceMyTraders(context.Background()).MyTradersRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotNil(t, item.GetTraderUid())
- assert.NotEmpty(t, item.GetTraceTotalAmount())
- assert.NotEmpty(t, item.GetTraceTotalProfit())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceOrderCurrentList", func(t *testing.T) {
- param := *openapiclient.NewCurrentOrderListRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceOrderCurrentList(context.Background()).CurrentOrderListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotNil(t, item.GetBuyDelegateCount())
- assert.NotEmpty(t, item.GetSymbolId())
- assert.NotEmpty(t, item.GetTrackingNo())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceOrderHistoryList", func(t *testing.T) {
- param := *openapiclient.NewHistoryOrderListRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceOrderHistoryList(context.Background()).HistoryOrderListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotNil(t, item.GetTrackingNo())
- assert.NotEmpty(t, item.GetSymbolId())
- assert.NotEmpty(t, item.GetProfit())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceRemoveTrader", func(t *testing.T) {
- param := *openapiclient.NewRemoveTraderRequestWithDefaults()
- param.SetTraderUserId("1682406073417")
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceRemoveTrader(context.Background()).RemoveTraderRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceSetProductCode", func(t *testing.T) {
- param := *openapiclient.NewProductCodeRequestWithDefaults()
- itemArray := []string{"BTCUSDT_SPBL", "ETHUSDT_SPBL", "BGBUSDT_SPBL"}
- param.SetSymbolIds(itemArray)
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceSetProductCode(context.Background()).ProductCodeRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceSetTraceConfig", func(t *testing.T) {
- item := *openapiclient.NewTraceConfigSettingRequestWithDefaults() // MarginOrderRequest | param
- item.SetSymbolId("ETHUSDT_SPBL")
- item.SetStopLossRation("10")
- item.SetStopProfitRation("10")
- item.SetMaxHoldCount("50000")
- item.SetTraceValue("1000")
- item.SetTraceType("2")
- var itemArray = []openapiclient.TraceConfigSettingRequest{item}
-
- param := *openapiclient.NewTraceConfigRequestWithDefaults()
- param.SetTraderUserId("2856507104")
- param.SetSettingType("0")
- param.SetSetting(itemArray)
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceSetTraceConfig(context.Background()).TraceConfigRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceSpotInfoList", func(t *testing.T) {
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceSpotInfoList(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data {
- fmt.Printf("%d %v\n", i, item)
- assert.NotNil(t, item.GetMaxCount())
- assert.NotEmpty(t, item.GetSymbolId())
- assert.NotEmpty(t, item.GetSurplusCount())
- }
- })
-
- t.Run("Test SpotTraceOrderApiService SpotTraceUpdateTpsl", func(t *testing.T) {
- param := *openapiclient.NewUpdateTpslRequestWithDefaults()
- param.SetTrackingNo("1032830954928365568")
- param.SetStopLossPrice("32100")
- param.SetStopProfitPrice("32600")
- resp, httpRes, err := apiClient.SpotTraceOrderApi.SpotTraceUpdateTpsl(context.Background()).UpdateTpslRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
-}
diff --git a/bitget-goland-sdk-open-api/test/api_spot_trace_profit_test.go b/bitget-goland-sdk-open-api/test/api_spot_trace_profit_test.go
deleted file mode 100644
index f6e88253..00000000
--- a/bitget-goland-sdk-open-api/test/api_spot_trace_profit_test.go
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
-Bitget Open API
-
-Testing SpotTraceProfitApiService
-
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech);
-
-package openapi
-
-import (
- "bytes"
- "context"
- "encoding/json"
- "fmt"
- openapiclient "github.com/bitget/openapi"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "testing"
-)
-
-func Test_openapi_SpotTraceProfitApiService(t *testing.T) {
-
- apiClient := openapiclient.NewAPIClient(openapiclient.NewDefaultConfiguration())
-
- t.Run("Test SpotTraceProfitApiService SpotTraceProfitHisDetailList", func(t *testing.T) {
- param := *openapiclient.NewTotalProfitHisDetailListRequestWithDefaults()
- param.SetCoinName("USDT")
- param.SetDate("1681985100000")
- resp, httpRes, err := apiClient.SpotTraceProfitApi.SpotTraceProfitHisDetailList(context.Background()).TotalProfitHisDetailListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoinName())
- assert.NotEmpty(t, item.GetNickName())
- assert.NotEmpty(t, item.GetProfit())
- }
- })
-
- t.Run("Test SpotTraceProfitApiService SpotTraceProfitHisList", func(t *testing.T) {
- param := *openapiclient.NewTotalProfitHisListRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceProfitApi.SpotTraceProfitHisList(context.Background()).TotalProfitHisListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoinName())
- assert.NotEmpty(t, item.GetDate())
- assert.NotEmpty(t, item.GetProfit())
- }
- })
-
- t.Run("Test SpotTraceProfitApiService SpotTraceTotalProfitInfo", func(t *testing.T) {
- resp, httpRes, err := apiClient.SpotTraceProfitApi.SpotTraceTotalProfitInfo(context.Background()).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- })
-
- t.Run("Test SpotTraceProfitApiService SpotTraceTotalProfitList", func(t *testing.T) {
- param := *openapiclient.NewTotalProfitListRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceProfitApi.SpotTraceTotalProfitList(context.Background()).TotalProfitListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetProductCode())
- assert.NotEmpty(t, item.GetProfit())
- }
- })
-
- t.Run("Test SpotTraceProfitApiService SpotTraceWaitProfitDetailList", func(t *testing.T) {
- param := *openapiclient.NewWaitProfitDetailListRequestWithDefaults()
- resp, httpRes, err := apiClient.SpotTraceProfitApi.SpotTraceWaitProfitDetailList(context.Background()).WaitProfitDetailListRequest(param).Execute()
-
- bs, _ := json.Marshal(resp)
- var out bytes.Buffer
- json.Indent(&out, bs, "", "\t")
- fmt.Printf("result=%v\n", out.String())
-
- require.Nil(t, err)
- require.NotNil(t, resp)
- assert.Equal(t, 200, httpRes.StatusCode)
- assert.Equal(t, "00000", resp.GetCode())
- assert.Equal(t, "success", resp.GetMsg())
- assert.NotNil(t, resp.GetData())
- data := resp.GetData()
- for i, item := range data.GetResultList() {
- fmt.Printf("%d %v\n", i, item)
- assert.NotEmpty(t, item.GetCoinName())
- assert.NotEmpty(t, item.GetDistributeRatio())
- assert.NotEmpty(t, item.GetProfit())
- }
- })
-}
diff --git a/bitget-goland-sdk-open-api/utils.go b/bitget-goland-sdk-open-api/utils.go
deleted file mode 100644
index 2c8e3c86..00000000
--- a/bitget-goland-sdk-open-api/utils.go
+++ /dev/null
@@ -1,343 +0,0 @@
-/*
-Bitget Open API
-
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-API version: 2.0.0
-*/
-
-// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
-
-package openapi
-
-import (
- "encoding/json"
- "reflect"
- "time"
-)
-
-// PtrBool is a helper routine that returns a pointer to given boolean value.
-func PtrBool(v bool) *bool { return &v }
-
-// PtrInt is a helper routine that returns a pointer to given integer value.
-func PtrInt(v int) *int { return &v }
-
-// PtrInt32 is a helper routine that returns a pointer to given integer value.
-func PtrInt32(v int32) *int32 { return &v }
-
-// PtrInt64 is a helper routine that returns a pointer to given integer value.
-func PtrInt64(v int64) *int64 { return &v }
-
-// PtrFloat32 is a helper routine that returns a pointer to given float value.
-func PtrFloat32(v float32) *float32 { return &v }
-
-// PtrFloat64 is a helper routine that returns a pointer to given float value.
-func PtrFloat64(v float64) *float64 { return &v }
-
-// PtrString is a helper routine that returns a pointer to given string value.
-func PtrString(v string) *string { return &v }
-
-// PtrTime is helper routine that returns a pointer to given Time value.
-func PtrTime(v time.Time) *time.Time { return &v }
-
-type NullableBool struct {
- value *bool
- isSet bool
-}
-
-func (v NullableBool) Get() *bool {
- return v.value
-}
-
-func (v *NullableBool) Set(val *bool) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableBool) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableBool) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableBool(val *bool) *NullableBool {
- return &NullableBool{value: val, isSet: true}
-}
-
-func (v NullableBool) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableBool) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableInt struct {
- value *int
- isSet bool
-}
-
-func (v NullableInt) Get() *int {
- return v.value
-}
-
-func (v *NullableInt) Set(val *int) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableInt) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableInt) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableInt(val *int) *NullableInt {
- return &NullableInt{value: val, isSet: true}
-}
-
-func (v NullableInt) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableInt) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableInt32 struct {
- value *int32
- isSet bool
-}
-
-func (v NullableInt32) Get() *int32 {
- return v.value
-}
-
-func (v *NullableInt32) Set(val *int32) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableInt32) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableInt32) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableInt32(val *int32) *NullableInt32 {
- return &NullableInt32{value: val, isSet: true}
-}
-
-func (v NullableInt32) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableInt32) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableInt64 struct {
- value *int64
- isSet bool
-}
-
-func (v NullableInt64) Get() *int64 {
- return v.value
-}
-
-func (v *NullableInt64) Set(val *int64) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableInt64) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableInt64) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableInt64(val *int64) *NullableInt64 {
- return &NullableInt64{value: val, isSet: true}
-}
-
-func (v NullableInt64) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableInt64) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableFloat32 struct {
- value *float32
- isSet bool
-}
-
-func (v NullableFloat32) Get() *float32 {
- return v.value
-}
-
-func (v *NullableFloat32) Set(val *float32) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableFloat32) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableFloat32) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableFloat32(val *float32) *NullableFloat32 {
- return &NullableFloat32{value: val, isSet: true}
-}
-
-func (v NullableFloat32) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableFloat32) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableFloat64 struct {
- value *float64
- isSet bool
-}
-
-func (v NullableFloat64) Get() *float64 {
- return v.value
-}
-
-func (v *NullableFloat64) Set(val *float64) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableFloat64) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableFloat64) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableFloat64(val *float64) *NullableFloat64 {
- return &NullableFloat64{value: val, isSet: true}
-}
-
-func (v NullableFloat64) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableFloat64) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableString struct {
- value *string
- isSet bool
-}
-
-func (v NullableString) Get() *string {
- return v.value
-}
-
-func (v *NullableString) Set(val *string) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableString) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableString) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableString(val *string) *NullableString {
- return &NullableString{value: val, isSet: true}
-}
-
-func (v NullableString) MarshalJSON() ([]byte, error) {
- return json.Marshal(v.value)
-}
-
-func (v *NullableString) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-type NullableTime struct {
- value *time.Time
- isSet bool
-}
-
-func (v NullableTime) Get() *time.Time {
- return v.value
-}
-
-func (v *NullableTime) Set(val *time.Time) {
- v.value = val
- v.isSet = true
-}
-
-func (v NullableTime) IsSet() bool {
- return v.isSet
-}
-
-func (v *NullableTime) Unset() {
- v.value = nil
- v.isSet = false
-}
-
-func NewNullableTime(val *time.Time) *NullableTime {
- return &NullableTime{value: val, isSet: true}
-}
-
-func (v NullableTime) MarshalJSON() ([]byte, error) {
- return v.value.MarshalJSON()
-}
-
-func (v *NullableTime) UnmarshalJSON(src []byte) error {
- v.isSet = true
- return json.Unmarshal(src, &v.value)
-}
-
-// isNil checks if an input is nil
-func isNil(i interface{}) bool {
- if i == nil {
- return true
- }
- switch reflect.TypeOf(i).Kind() {
- case reflect.Chan, reflect.Func, reflect.Map, reflect.Ptr, reflect.UnsafePointer, reflect.Interface, reflect.Slice:
- return reflect.ValueOf(i).IsNil()
- case reflect.Array:
- return reflect.ValueOf(i).IsZero()
- }
- return false
-}
\ No newline at end of file
diff --git a/bitget-golang-sdk-api/README.md b/bitget-golang-sdk-api/README.md
new file mode 100644
index 00000000..46684dfb
--- /dev/null
+++ b/bitget-golang-sdk-api/README.md
@@ -0,0 +1,150 @@
+# Bitget Go
+
+使用此sdk前请阅读api文档 [Bitget API](https://bitgetlimited.github.io/apidoc/en/mix/)
+
+## Supported API Endpoints:
+- pkg/client/v1: `*client.go`
+- pkg/client/v2: `*client.go`
+- pkg/client/ws: `bitgetwsclient.go`
+
+
+## 下载
+```shell
+git clone git@github.com:BitgetLimited/v3-bitget-api-sdk.git
+```
+
+## REST API Demo
+
+```go
+package test
+
+import (
+ "bitget/internal"
+ "bitget/pkg/client"
+ "bitget/pkg/client/v1"
+ "fmt"
+ "testing"
+)
+
+func Test_PlaceOrder(t *testing.T) {
+ client := new(v1.MixOrderClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.PlaceOrder(params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_post(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.Post("/api/mix/v1/order/placeOrder", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["productType"] = "umcbl"
+
+ resp, err := client.Get("/api/mix/v1/account/accounts", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get_with_params(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+
+ resp, err := client.Get("/api/spot/v1/account/getInfo", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+```
+
+## Websocket Demo
+```go
+package test
+
+import (
+ "bitget/internal/model"
+ "bitget/pkg/client/ws"
+ "fmt"
+ "testing"
+)
+
+func TestBitgetWsClient_New(t *testing.T) {
+
+ client := new(ws.BitgetWsClient).Init(true, func(message string) {
+ fmt.Println("default error:" + message)
+ }, func(message string) {
+ fmt.Println("default error:" + message)
+ })
+
+ var channelsDef []model.SubscribeReq
+ subReqDef1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channelsDef = append(channelsDef, subReqDef1)
+ client.SubscribeDef(channelsDef)
+
+ var channels []model.SubscribeReq
+ subReq1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channels = append(channels, subReq1)
+ client.Subscribe(channels, func(message string) {
+ fmt.Println("appoint:" + message)
+ })
+ client.Connect()
+}
+```
+
+## RSA
+如果你的apikey是RSA类型则主动设置签名类型为RSA
+```go
+// config.go
+const (
+ BaseUrl = "https://api.bitget.com"
+ WsUrl = "wss://ws.bitget.com/mix/v1/stream"
+
+ ApiKey = ""
+ SecretKey = "" // 如果是RSA类型则设置RSA私钥
+ PASSPHRASE = ""
+ TimeoutSecond = 30
+ SignType = constants.RSA // 如果你的apikey是RSA类型则主动设置签名类型为RSA
+)
+```
+
diff --git a/bitget-golang-sdk-api/README_EN.md b/bitget-golang-sdk-api/README_EN.md
new file mode 100644
index 00000000..e1b2c241
--- /dev/null
+++ b/bitget-golang-sdk-api/README_EN.md
@@ -0,0 +1,149 @@
+# Bitget Go
+
+This is a lightweight library that works as a connector to [Bitget API](https://bitgetlimited.github.io/apidoc/en/mix/)
+
+## Supported API Endpoints:
+- pkg/client/v1: `*client.go`
+- pkg/client/v2: `*client.go`
+- pkg/client/ws: `bitgetwsclient.go`
+
+
+## Installation
+```shell
+git clone git@github.com:BitgetLimited/v3-bitget-api-sdk.git
+```
+
+## REST API Demo
+```go
+package test
+
+import (
+ "bitget/internal"
+ "bitget/pkg/client"
+ "bitget/pkg/client/v1"
+ "fmt"
+ "testing"
+)
+
+func Test_PlaceOrder(t *testing.T) {
+ client := new(v1.MixOrderClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.PlaceOrder(params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_post(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.Post("/api/mix/v1/order/placeOrder", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["productType"] = "umcbl"
+
+ resp, err := client.Get("/api/mix/v1/account/accounts", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get_with_params(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+
+ resp, err := client.Get("/api/spot/v1/account/getInfo", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+```
+
+## Websocket Demo
+```go
+package test
+
+import (
+ "bitget/internal/model"
+ "bitget/pkg/client/ws"
+ "fmt"
+ "testing"
+)
+
+func TestBitgetWsClient_New(t *testing.T) {
+
+ client := new(ws.BitgetWsClient).Init(true, func(message string) {
+ fmt.Println("default error:" + message)
+ }, func(message string) {
+ fmt.Println("default error:" + message)
+ })
+
+ var channelsDef []model.SubscribeReq
+ subReqDef1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channelsDef = append(channelsDef, subReqDef1)
+ client.SubscribeDef(channelsDef)
+
+ var channels []model.SubscribeReq
+ subReq1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channels = append(channels, subReq1)
+ client.Subscribe(channels, func(message string) {
+ fmt.Println("appoint:" + message)
+ })
+ client.Connect()
+}
+
+```
+
+## RSA
+If your apikey is of RSA type, actively set the signature type to RSA
+```go
+// config.go
+const (
+ BaseUrl = "https://api.bitget.com"
+ WsUrl = "wss://ws.bitget.com/mix/v1/stream"
+
+ ApiKey = ""
+ SecretKey = "" // If it is RSA type, set the RSA private key
+ PASSPHRASE = ""
+ TimeoutSecond = 30
+ SignType = constants.RSA // If your apikey is of RSA type, actively set the signature type to RSA
+)
+```
diff --git a/bitget-golang-sdk-api/config/config.go b/bitget-golang-sdk-api/config/config.go
index 30e530f0..8aa5eab7 100644
--- a/bitget-golang-sdk-api/config/config.go
+++ b/bitget-golang-sdk-api/config/config.go
@@ -1,13 +1,14 @@
package config
+import "bitget/constants"
+
const (
- //restApi config
- BaseUrl = "https://api.bitget.com"
+ BaseUrl = "https://api.bitget.com"
+ WsUrl = "wss://ws.bitget.com/mix/v1/stream"
+
ApiKey = ""
SecretKey = ""
PASSPHRASE = ""
TimeoutSecond = 30
-
- //websocket config
- WsUrl = "wss://ws.bitget.com/spot/v1/stream"
+ SignType = constants.SHA256
)
diff --git a/bitget-golang-sdk-api/constants/constants.go b/bitget-golang-sdk-api/constants/constants.go
index 4ff0f7ba..d47c235f 100644
--- a/bitget-golang-sdk-api/constants/constants.go
+++ b/bitget-golang-sdk-api/constants/constants.go
@@ -2,8 +2,8 @@ package constants
const (
/*
- http headers
- */
+ * http headers
+ */
ContentType = "Content-Type"
BgAccessKey = "ACCESS-KEY"
BgAccessSign = "ACCESS-SIGN"
@@ -16,46 +16,14 @@ const (
LOCALE = "locale="
/*
- http methods
- */
- GET = "GET"
- POST = "POST"
- DELETE = "DELETE"
-
- /*
- others
- */
- ResultDataJsonString = "resultDataJsonString"
- ResultPageJsonString = "resultPageJsonString"
-
- /**
- * SPOT URL
- */
- SpotPublic = "/api/spot/v1/public"
- SpotMarket = "/api/spot/v1/market"
- SpotAccount = "/api/spot/v1/account"
- SpotTrade = "/api/spot/v1/trade"
- SpotPlan = "/api/spot/v1/plan"
- SpotWallet = "/api/spot/v1/wallet"
-
- /**
- * MIX URL
+ * http methods
*/
- MixPlan = "/api/mix/v1/plan"
- MixMarket = "/api/mix/v1/market"
- MixAccount = "/api/mix/v1/account"
- MixOrder = "/api/mix/v1/order"
- MixPosition = "/api/mix/v1/position"
- MixTrace = "/api/mix/v1/trace"
+ GET = "GET"
+ POST = "POST"
- /**
- * broker url
+ /*
+ * websocket
*/
- BrokerAccount = "/api/broker/v1/account"
-
- /**
- websocket
- */
WsAuthMethod = "GET"
WsAuthPath = "/user/verify"
WsOpLogin = "login"
@@ -63,4 +31,10 @@ const (
WsOpSubscribe = "subscribe"
TimerIntervalSecond = 5
ReconnectWaitSecond = 60
+
+ /*
+ * SignType
+ */
+ RSA = "RSA"
+ SHA256 = "SHA256"
)
diff --git a/bitget-golang-sdk-api/internal/common/bitgetrestclient.go b/bitget-golang-sdk-api/internal/common/bitgetrestclient.go
index 4594976c..5797e9e2 100644
--- a/bitget-golang-sdk-api/internal/common/bitgetrestclient.go
+++ b/bitget-golang-sdk-api/internal/common/bitgetrestclient.go
@@ -36,6 +36,9 @@ func (p *BitgetRestClient) DoPost(uri string, params string) (string, error) {
//body, _ := internal.BuildJsonParams(params)
sign := p.Signer.Sign(constants.POST, uri, params, timesStamp)
+ if constants.RSA == config.SignType {
+ sign = p.Signer.SignByRSA(constants.POST, uri, params, timesStamp)
+ }
requestUrl := config.BaseUrl + uri
buffer := strings.NewReader(params)
@@ -65,6 +68,7 @@ func (p *BitgetRestClient) DoPost(uri string, params string) (string, error) {
func (p *BitgetRestClient) DoGet(uri string, params map[string]string) (string, error) {
timesStamp := internal.TimesStamp()
body := internal.BuildGetParams(params)
+ //fmt.Println(body)
sign := p.Signer.Sign(constants.GET, uri, body, timesStamp)
diff --git a/bitget-golang-sdk-api/internal/common/bitgetrestclient_test.go b/bitget-golang-sdk-api/internal/common/bitgetrestclient_test.go
deleted file mode 100644
index dd492bbc..00000000
--- a/bitget-golang-sdk-api/internal/common/bitgetrestclient_test.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package common
-
-import (
- "bitget/internal"
- "testing"
-)
-
-func TestBitgetRestClient_HttpExecuter(t *testing.T) {
- restClient := new(BitgetRestClient).Init()
- params := internal.NewParams()
- params["productType"] = "umcbl"
- resp, _ := restClient.DoGet("/api/mix/v1/account/accounts", params)
-
- println(resp)
-}
diff --git a/bitget-golang-sdk-api/internal/common/bitgetwsclient.go b/bitget-golang-sdk-api/internal/common/bitgetwsclient.go
index 8b4cce81..7a5fa75b 100644
--- a/bitget-golang-sdk-api/internal/common/bitgetwsclient.go
+++ b/bitget-golang-sdk-api/internal/common/bitgetwsclient.go
@@ -26,7 +26,6 @@ type BitgetBaseWsClient struct {
AllSuribe *model.Set
Signer *Signer
ScribeMap map[model.SubscribeReq]OnReceive
- BooksMap map[model.SubscribeReq]model.BookInfo
}
func (p *BitgetBaseWsClient) Init() *BitgetBaseWsClient {
@@ -34,7 +33,6 @@ func (p *BitgetBaseWsClient) Init() *BitgetBaseWsClient {
p.AllSuribe = model.NewSet()
p.Signer = new(Signer).Init(config.SecretKey)
p.ScribeMap = make(map[model.SubscribeReq]OnReceive)
- p.BooksMap = make(map[model.SubscribeReq]model.BookInfo)
p.SendMutex = &sync.Mutex{}
p.Ticker = time.NewTicker(constants.TimerIntervalSecond * time.Second)
p.LastReceivedTime = time.Now()
@@ -68,6 +66,9 @@ func (p *BitgetBaseWsClient) ConnectWebSocket() {
func (p *BitgetBaseWsClient) Login() {
timesStamp := internal.TimesStampSec()
sign := p.Signer.Sign(constants.WsAuthMethod, constants.WsAuthPath, "", timesStamp)
+ if constants.RSA == config.SignType {
+ sign = p.Signer.SignByRSA(constants.WsAuthMethod, constants.WsAuthPath, "", timesStamp)
+ }
loginReq := model.WsLoginReq{
ApiKey: config.ApiKey,
@@ -165,6 +166,8 @@ func (p *BitgetBaseWsClient) ReadLoop() {
p.LastReceivedTime = time.Now()
message := string(buf)
+ applogger.Info("rev:" + message)
+
if message == "pong" {
applogger.Info("Keep connected:" + message)
continue
@@ -185,14 +188,9 @@ func (p *BitgetBaseWsClient) ReadLoop() {
continue
}
- if !p.CheckSum(jsonMap) {
- continue
- }
-
v, e = jsonMap["data"]
if e {
listener := p.GetListener(jsonMap["arg"])
-
listener(message)
continue
}
@@ -201,56 +199,6 @@ func (p *BitgetBaseWsClient) ReadLoop() {
}
-func (p *BitgetBaseWsClient) CheckSum(jsonMap map[string]interface{}) bool {
- argV, argE := jsonMap["arg"]
- actionV, actionE := jsonMap["action"]
-
- if !argE || !actionE {
- return true
- }
- channelV, _ := argV.(map[string]interface{})["channel"]
- if channelV != "books" {
- return true
- }
- dataV, _ := jsonMap["data"]
- if dataV == nil {
- return true
- }
- data := dataV.([]interface{})[0]
-
- asks := data.(map[string]interface{})["asks"].([]interface{})
- bids := data.(map[string]interface{})["bids"].([]interface{})
- checksum := data.(map[string]interface{})["checksum"].(float64)
- bookInfo := model.BookInfo{
- Asks: asks,
- Bids: bids,
- Checksum: fmt.Sprintf("%f", checksum),
- }
-
- mapData := argV.(map[string]interface{})
- subscribeReq := model.SubscribeReq{
- InstType: fmt.Sprintf("%v", mapData["instType"]),
- Channel: fmt.Sprintf("%v", mapData["channel"]),
- InstId: fmt.Sprintf("%v", mapData["instId"]),
- }
-
- if actionV == "snapshot" {
- p.BooksMap[subscribeReq] = bookInfo
- return true
- }
- if actionV == "update" {
- allBookInfo, subE := p.BooksMap[subscribeReq]
-
- if !subE {
- return true
- }
- newBoooks := allBookInfo.Merge(bookInfo)
- p.BooksMap[subscribeReq] = newBoooks
- return newBoooks.CheckSum(uint32(checksum))
- }
- return true
-}
-
func (p *BitgetBaseWsClient) GetListener(argJson interface{}) OnReceive {
mapData := argJson.(map[string]interface{})
diff --git a/bitget-golang-sdk-api/internal/common/bitgetwsclient_test.go b/bitget-golang-sdk-api/internal/common/bitgetwsclient_test.go
deleted file mode 100644
index 0b75debc..00000000
--- a/bitget-golang-sdk-api/internal/common/bitgetwsclient_test.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package common
-
-import (
- "testing"
-)
-
-func TestBitgetWsClient_Init(t *testing.T) {
- //client := new(BitgetWsClient).Init(true)
- //
- //client.Connect()
- ////client.Login()
- //fmt.Println("aaaaaaaaaa")
-}
diff --git a/bitget-golang-sdk-api/internal/common/signer.go b/bitget-golang-sdk-api/internal/common/signer.go
index 642cfb02..423b20d1 100644
--- a/bitget-golang-sdk-api/internal/common/signer.go
+++ b/bitget-golang-sdk-api/internal/common/signer.go
@@ -1,9 +1,15 @@
package common
import (
+ "crypto"
"crypto/hmac"
+ "crypto/rand"
+ "crypto/rsa"
"crypto/sha256"
+ "crypto/x509"
"encoding/base64"
+ "encoding/pem"
+ "errors"
"strings"
)
@@ -17,7 +23,6 @@ func (p *Signer) Init(key string) *Signer {
}
func (p *Signer) Sign(method string, requestPath string, body string, timesStamp string) string {
-
var payload strings.Builder
payload.WriteString(timesStamp)
payload.WriteString(method)
@@ -30,3 +35,46 @@ func (p *Signer) Sign(method string, requestPath string, body string, timesStamp
result := base64.StdEncoding.EncodeToString(hash.Sum(nil))
return result
}
+
+func (p *Signer) SignByRSA(method string, requestPath string, body string, timesStamp string) string {
+ var payload strings.Builder
+ payload.WriteString(timesStamp)
+ payload.WriteString(method)
+ payload.WriteString(requestPath)
+ if body != "" && body != "?" {
+ payload.WriteString(body)
+ }
+
+ sign, _ := RSASign([]byte(payload.String()), p.secretKey, crypto.SHA256)
+ result := base64.StdEncoding.EncodeToString(sign)
+ return result
+}
+
+func RSASign(src []byte, priKey []byte, hash crypto.Hash) ([]byte, error) {
+ block, _ := pem.Decode(priKey)
+ if block == nil {
+ return nil, errors.New("key is invalid format")
+ }
+
+ var pkixPrivateKey interface{}
+ var err error
+ if block.Type == "RSA PRIVATE KEY" {
+ pkixPrivateKey, err = x509.ParsePKCS1PrivateKey(block.Bytes)
+ } else if block.Type == "PRIVATE KEY" {
+ pkixPrivateKey, err = x509.ParsePKCS8PrivateKey(block.Bytes)
+ }
+
+ h := hash.New()
+ _, err = h.Write(src)
+ if err != nil {
+ return nil, err
+ }
+
+ bytes := h.Sum(nil)
+ sign, err := rsa.SignPKCS1v15(rand.Reader, pkixPrivateKey.(*rsa.PrivateKey), hash, bytes)
+ if err != nil {
+ return nil, err
+ }
+
+ return sign, nil
+}
diff --git a/bitget-golang-sdk-api/internal/common/signer_test.go b/bitget-golang-sdk-api/internal/common/signer_test.go
deleted file mode 100644
index 39c365cb..00000000
--- a/bitget-golang-sdk-api/internal/common/signer_test.go
+++ /dev/null
@@ -1,13 +0,0 @@
-package common
-
-import (
- "bitget/internal"
- "fmt"
- "testing"
-)
-
-func TestSigner_Sign(t *testing.T) {
- signer := new(Signer)
- result := signer.Sign("GET", "www.bitget.com", "aaaa", internal.TimesStamp())
- fmt.Print(result)
-}
diff --git a/bitget-golang-sdk-api/internal/model/BookInfo.go b/bitget-golang-sdk-api/internal/model/BookInfo.go
deleted file mode 100644
index 48e78519..00000000
--- a/bitget-golang-sdk-api/internal/model/BookInfo.go
+++ /dev/null
@@ -1,99 +0,0 @@
-package model
-
-import (
- "bitget/logging/applogger"
- "hash/crc32"
- "sort"
- "strconv"
- "strings"
-)
-
-type BookInfo struct {
- Asks []interface{} `json:"asks"`
- Bids []interface{} `json:"bids"`
- Checksum string `json:"checksum"`
-}
-
-func (p BookInfo) Merge(bookinfo BookInfo) BookInfo {
- p.Asks = p.innerMerge(p.Asks, bookinfo.Asks, false)
- p.Bids = p.innerMerge(p.Bids, bookinfo.Bids, true)
- return p
-}
-func (p *BookInfo) innerMerge(allList []interface{}, updateList []interface{}, isReverse bool) []interface{} {
- var priceAndValue = make(map[float64][]interface{})
-
- var result []interface{}
-
- for i := 0; i < len(allList); i++ {
- var v = allList[i].([]interface{})[0]
- key, _ := strconv.ParseFloat(v.(string), 2)
- priceAndValue[key] = allList[i].([]interface{})
- }
-
- for i := 0; i < len(updateList); i++ {
- var v = updateList[i].([]interface{})[0]
- key, _ := strconv.ParseFloat(v.(string), 2)
- if updateList[i].([]interface{})[1] == "0" {
- delete(priceAndValue, key)
- continue
- }
- priceAndValue[key] = updateList[i].([]interface{})
- }
-
- for _, v := range priceAndValue {
- result = append(result, v)
- }
-
- //for key := range keys {
- // i,e := priceAndValue[sortKeys[key]]
- // if e {
- // result = append(result, i)
- // }
- //}
-
- sort.Slice(result, func(i, j int) bool {
-
- o1 := result[i].([]interface{})[0].(string)
- o2 := result[j].([]interface{})[0].(string)
- o1F, _ := strconv.ParseFloat(o1, 2)
- o2F, _ := strconv.ParseFloat(o2, 2)
- if isReverse {
- return o1F > o2F
- } else {
- return o1F < o2F
- }
- })
- return result
-}
-
-func (p *BookInfo) CheckSum(checksum uint32) bool {
-
- var payload strings.Builder
- for i := 0; i < 25; i++ {
-
- bidsLen := len(p.Bids)
- asksLen := len(p.Asks)
-
- if bidsLen > i {
- payload.WriteString(p.Bids[i].([]interface{})[0].(string))
- payload.WriteString(":")
- payload.WriteString(p.Bids[i].([]interface{})[1].(string))
- payload.WriteString(":")
- }
- if asksLen > i {
- payload.WriteString(p.Asks[i].([]interface{})[0].(string))
- payload.WriteString(":")
- payload.WriteString(p.Asks[i].([]interface{})[1].(string))
- payload.WriteString(":")
- }
-
- asksLen--
- bidsLen--
- }
- var resultStr = payload.String()[0 : payload.Len()-1]
-
- applogger.Info("mergeStr:" + resultStr)
- var allCheckSum = crc32.ChecksumIEEE([]byte(resultStr))
- applogger.Info("mergeVal:" + strconv.Itoa(int(allCheckSum)) + ",checkSum:" + strconv.Itoa(int(checksum)))
- return allCheckSum == checksum
-}
diff --git a/bitget-golang-sdk-api/internal/model/subscribereq.go b/bitget-golang-sdk-api/internal/model/subscribereq.go
index d24cf26d..0a1879de 100644
--- a/bitget-golang-sdk-api/internal/model/subscribereq.go
+++ b/bitget-golang-sdk-api/internal/model/subscribereq.go
@@ -4,4 +4,5 @@ type SubscribeReq struct {
InstType string `json:"instType"`
Channel string `json:"channel"`
InstId string `json:"instId"`
+ Coin string `json:"coin"`
}
diff --git a/bitget-golang-sdk-api/internal/utils.go b/bitget-golang-sdk-api/internal/utils.go
index a05dae30..4e819c9e 100644
--- a/bitget-golang-sdk-api/internal/utils.go
+++ b/bitget-golang-sdk-api/internal/utils.go
@@ -4,10 +4,10 @@ import (
"bitget/constants"
"encoding/json"
"errors"
- "math"
"net/http"
- "net/url"
+ "sort"
"strconv"
+ "strings"
"time"
)
@@ -45,13 +45,35 @@ func BuildJsonParams(params map[string]string) (string, error) {
}
func BuildGetParams(params map[string]string) string {
- urlParams := url.Values{}
- if params != nil && len(params) > 0 {
- for k := range params {
- urlParams.Add(k, params[k])
- }
+ //urlParams := url.Values{}
+ //if params != nil && len(params) > 0 {
+ // for k := range params {
+ // urlParams.Add(k, params[k])
+ // }
+ //}
+ //return "?" + urlParams.Encode()
+ if len(params) == 0 {
+ return ""
}
- return "?" + urlParams.Encode()
+ return "?" + SortParams(params)
+}
+
+func SortParams(params map[string]string) string {
+ keys := make([]string, len(params))
+ i := 0
+ for k, _ := range params {
+ keys[i] = k
+ i++
+ }
+ sort.Strings(keys)
+ sorted := make([]string, len(params))
+ i = 0
+ for _, k := range keys {
+ //sorted[i] = k + "=" + url.QueryEscape(params[k])
+ sorted[i] = k + "=" + params[k]
+ i++
+ }
+ return strings.Join(sorted, "&")
}
func JSONToMap(str string) map[string]interface{} {
@@ -78,24 +100,3 @@ func ToJson(v interface{}) (string, error) {
}
return string(result), nil
}
-func powerf(x float64, n int) float64 {
- ans := 1.0
- for n != 0 {
- if n%2 == 1 {
- ans *= x
- }
- x *= x
- n /= 2
- }
- return ans
-}
-
-func GetSignedInt(checksum string) string {
- c, _ := strconv.ParseUint(checksum, 10, 64)
-
- if c > math.MaxInt32 {
- a := c - (1<<31-1)*2 - 2
- return strconv.FormatUint(a, 10)
- }
- return checksum
-}
diff --git a/bitget-golang-sdk-api/pkg/client/BitgetApiclient.go b/bitget-golang-sdk-api/pkg/client/BitgetApiclient.go
new file mode 100644
index 00000000..8906d5ce
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/BitgetApiclient.go
@@ -0,0 +1,29 @@
+package client
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type BitgetApiClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *BitgetApiClient) Init() *BitgetApiClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *BitgetApiClient) Post(url string, params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost(url, postBody)
+ return resp, err
+}
+
+func (p *BitgetApiClient) Get(url string, params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet(url, params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/broker/brokeraccountclient.go b/bitget-golang-sdk-api/pkg/client/broker/brokeraccountclient.go
deleted file mode 100644
index 17d3b401..00000000
--- a/bitget-golang-sdk-api/pkg/client/broker/brokeraccountclient.go
+++ /dev/null
@@ -1,225 +0,0 @@
-package broker
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/broker"
-)
-
-type BrokerAccountClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *BrokerAccountClient) Init() *BrokerAccountClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Get broker information
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) info() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.BrokerAccount + "/account"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get broker information
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubCreate(params broker.SubCreateReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-create"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Get sub list
- * @param symbol
- * @param marginCoin
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubList(pageSize string, lastEndId string, status string) (string, error) {
-
- params := internal.NewParams()
- params["pageSize"] = pageSize
- params["lastEndId"] = lastEndId
- params["status"] = status
-
- uri := constants.BrokerAccount + "/sub-list"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * broker modify sub info
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubModify(params broker.SubModifyReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-modify"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * broker modify sub email
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubModifyEmail(params broker.SubModifyEmailReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-modify-email"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Get sub email
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubEmail(subUid string) (string, error) {
-
- params := internal.NewParams()
- params["subUid"] = subUid
-
- uri := constants.BrokerAccount + "/sub-email"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get sub spot assets
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubSpotAssets(subUid string) (string, error) {
-
- params := internal.NewParams()
- params["subUid"] = subUid
-
- uri := constants.BrokerAccount + "/sub-spot-assets"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get sub spot assets
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubFutureAssets(subUid string) (string, error) {
-
- params := internal.NewParams()
- params["subUid"] = subUid
-
- uri := constants.BrokerAccount + "/sub-future-assets"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * broker modify sub email
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubAddress(params broker.SubAddressReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-address"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * broker sub withdrawal
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubWithdrawal(params broker.SubWithdrawalReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-withdrawal"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * broker sub auto transfer
- * @return ResponseResult
- */
-func (p *BrokerAccountClient) SubAutoTransfer(params broker.SubAutoTransferReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.BrokerAccount + "/sub-auto-transfer"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient.go
deleted file mode 100644
index 1f082438..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient.go
+++ /dev/null
@@ -1,133 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/mix/account"
-)
-
-type MixAccountClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixAccountClient) Init() *MixAccountClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Get account information
- * @param symbol
- * @param marginCoin
- * @return ResponseResult
- */
-func (p *MixAccountClient) Account(symbol string, marginCoin string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["marginCoin"] = marginCoin
-
- uri := constants.MixAccount + "/account"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get account information list
- * @param productType
- * @return ResponseResult
- */
-func (p *MixAccountClient) Accounts(productType string) (string, error) {
-
- params := internal.NewParams()
- params["productType"] = productType
-
- uri := constants.MixAccount + "/accounts"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * set lever
- * @param SetLeveragerReq
- * @return ResponseResult
- */
-func (p *MixAccountClient) SetLeverage(params account.SetLeveragerReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixAccount + "/setLeverage"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Adjustment margin
- * @param SetMarginReq
- * @return ResponseResult
- */
-func (p *MixAccountClient) SetMargin(params account.SetMarginReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixAccount + "/setMargin"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Adjust margin mode
- * @param SetMarginModeReq
- * @return ResponseResult
- */
-func (p *MixAccountClient) SetMarginMode(params account.SetMarginModeReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixAccount + "/setMarginMode"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Get the openable quantity
- * @param OpenCountReq
- * @return ResponseResult
- */
-func (p *MixAccountClient) OpenCount(params account.OpenCountReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixAccount + "/open-count"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient_test.go
deleted file mode 100644
index feb4c462..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixaccountclient_test.go
+++ /dev/null
@@ -1,71 +0,0 @@
-package mix
-
-import (
- "bitget/pkg/model/mix/account"
- "fmt"
- "testing"
-)
-
-func TestMixAccountClient_GetAccount(t *testing.T) {
- client := new(MixAccountClient).Init()
- resp, err := client.Account("BTCUSDT_UMCBL", "USDT")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixAccountClient_GetAccounts(t *testing.T) {
- client := new(MixAccountClient).Init()
- resp, err := client.Accounts("umcbl")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-func TestMixAccountClient_SetLeverage(t *testing.T) {
- client := new(MixAccountClient).Init()
- req := account.SetLeveragerReq{Symbol: "BTCUSDT_UMCBL", MarginCoin: "USDT", Leverage: "10"}
-
- resp, err := client.SetLeverage(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixAccountClient_SetMargin(t *testing.T) {
- client := new(MixAccountClient).Init()
- req := account.SetMarginReq{Symbol: "BTCUSDT_UMCBL", MarginCoin: "USDT", HoldSide: "long", Amount: "10"}
-
- resp, err := client.SetMargin(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-func TestMixAccountClient_SetMarginMode(t *testing.T) {
- client := new(MixAccountClient).Init()
- req := account.SetMarginModeReq{Symbol: "BTCUSDT_UMCBL", MarginCoin: "USDT", MarginMode: "fixed"}
-
- resp, err := client.SetMarginMode(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixAccountClient_OpenCount(t *testing.T) {
- client := new(MixAccountClient).Init()
- req := account.OpenCountReq{Symbol: "BTCUSDT_UMCBL", MarginCoin: "USDT", OpenPrice: "3000", OpenAmount: "99999", Leverage: "20"}
-
- resp, err := client.OpenCount(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient.go
deleted file mode 100644
index 7e9c7ee0..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient.go
+++ /dev/null
@@ -1,241 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
-)
-
-type MixMarketClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixMarketClient) Init() *MixMarketClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Contract information
- * @param productType
- * @return ResponseResult
- */
-func (p *MixMarketClient) Contracts(productType string) (string, error) {
-
- params := internal.NewParams()
- params["productType"] = productType
-
- uri := constants.MixMarket + "/contracts"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Deep market
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
-func (p *MixMarketClient) Depth(symbol string, limit string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["limit"] = limit
-
- uri := constants.MixMarket + "/depth"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Acquisition of single ticker market
- * @param productType
- * @return ResponseResult
- */
-func (p *MixMarketClient) Tickers(productType string) (string, error) {
-
- params := internal.NewParams()
- params["productType"] = productType
-
- uri := constants.MixMarket + "/tickers"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Deep market
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixMarketClient) Ticker(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/ticker"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Obtain transaction details
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
-func (p *MixMarketClient) Fills(symbol string, limit string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["limit"] = limit
-
- uri := constants.MixMarket + "/fills"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Obtain K line data
- * @param symbol
- * @param granularity (Category of k line)
- * @param startTime
- * @param endTime
- * @return ResponseResult
- */
-func (p *MixMarketClient) Candles(symbol string, granularity string, startTime string, endTime string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["granularity"] = granularity
- params["startTime"] = startTime
- params["endTime"] = endTime
-
- uri := constants.MixMarket + "/candles"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
-获取币种指数。
-*/
-func (p *MixMarketClient) Index(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/index"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get the next settlement time of the contract
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixMarketClient) FundingTime(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/funding-time"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get contract tag price
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixMarketClient) MarkPrice(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/mark-price"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get historical fund rate
- * @param symbol
- * @param pageSize
- * @param pageNo
- * @param nextPage
- * @return ResponseResult
- */
-func (p *MixMarketClient) HistoryFundRate(symbol string, pageSize string, pageNo string, nextPage string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
- if len(nextPage) > 0 {
- params["nextPage"] = nextPage
- }
-
- uri := constants.MixMarket + "/history-fundRate"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get the current fund rate
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixMarketClient) CurrentFundRate(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/current-fundRate"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Obtain the total position of the platform
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixMarketClient) OpenInterest(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixMarket + "/open-interest"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient_test.go
deleted file mode 100644
index ca0820d9..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixmarketclient_test.go
+++ /dev/null
@@ -1,131 +0,0 @@
-package mix
-
-import (
- "fmt"
- "testing"
-)
-
-func TestMixMarketClient_Contracts(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Contracts("sdmcbl")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Depth(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Depth("BTCUSDT_UMCBL", "20")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Ticker(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Ticker("BTCUSDT_UMCBL")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Tickers(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Tickers("sdmcbl")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Fills(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Fills("BTCUSDT_UMCBL", "20")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Candles(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Candles("BTCUSDT_UMCBL", "60", "1629177891000", "1629181491000")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_Index(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.Index("BTCUSDT_UMCBL")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_FundingTime(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.FundingTime("BTCUSDT_UMCBL")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_HistoryFundRate(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.HistoryFundRate("BTCUSDT_UMCBL", "10", "1", "true")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_CurrentFundRate(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.CurrentFundRate("BTCUSDT_UMCBL")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_OpenInterest(t *testing.T) {
- client := new(MixMarketClient).Init()
-
- resp, err := client.OpenInterest("BTCUSDT_UMCBL")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixMarketClient_MarkPrice(t *testing.T) {
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixorderclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixorderclient.go
deleted file mode 100644
index f82117ab..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixorderclient.go
+++ /dev/null
@@ -1,188 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/mix/order"
-)
-
-type MixOrderClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixOrderClient) Init() *MixOrderClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * place an order
- * @param PlaceOrderReq
- * @return ResponseResult
- */
-func (p *MixOrderClient) PlaceOrder(params order.PlaceOrderReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixOrder + "/placeOrder"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Place orders in batches
- * @param BatchOrdersReq
- * @return ResponseResult
- */
-func (p *MixOrderClient) BatchOrders(params order.BatchOrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixOrder + "/batch-orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * cancel the order
- * @param CancelOrderReq
- * @return ResponseResult
- */
-func (p *MixOrderClient) CancelOrder(params order.CancelOrderReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixOrder + "/cancel-order"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Batch cancellation
- * @param CancelBatchOrdersReq
- * @return ResponseResult
- */
-func (p *MixOrderClient) CancelBatchOrders(params order.CancelBatchOrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixOrder + "/cancel-batch-orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Get Historical Delegation
- * @param symbol
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param lastEndId
- * @param isPre
- * @return ResponseResult
- */
-func (p *MixOrderClient) History(symbol string, startTime string, endTime string, pageSize string, lastEndId string, isPre string) (string, error) {
- params := internal.NewParams()
- params["symbol"] = symbol
- params["startTime"] = startTime
- params["endTime"] = endTime
- params["pageSize"] = pageSize
-
- if len(lastEndId) > 0 {
- params["lastEndId"] = lastEndId
- }
- if len(isPre) > 0 {
- params["isPre"] = isPre
- }
-
- uri := constants.MixOrder + "/history"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get the current delegate
- * @param symbol
- * @return ResponseResult
- */
-func (p *MixOrderClient) Current(symbol string) (string, error) {
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.MixOrder + "/current"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get order details
- * @param symbol
- * @param orderId
- * @return ResponseResult
- */
-func (p *MixOrderClient) Detail(symbol string, orderId string) (string, error) {
- params := internal.NewParams()
- params["symbol"] = symbol
- params["orderId"] = orderId
-
- uri := constants.MixOrder + "/detail"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Query transaction details
- * @param symbol
- * @param orderId
- * @return ResponseResult
- */
-func (p *MixOrderClient) Fills(symbol string, orderId string) (string, error) {
- params := internal.NewParams()
- params["symbol"] = symbol
- params["orderId"] = orderId
-
- uri := constants.MixOrder + "/fills"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixorderclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixorderclient_test.go
deleted file mode 100644
index e3247820..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixorderclient_test.go
+++ /dev/null
@@ -1,133 +0,0 @@
-package mix
-
-import (
- "bitget/internal"
- "bitget/pkg/model/mix/order"
- "fmt"
- "testing"
-)
-
-func TestMixOrderClient_PlaceOrder(t *testing.T) {
- client := new(MixOrderClient).Init()
-
- req := order.PlaceOrderReq{
- ClientOid: internal.TimesStamp(),
- Symbol: "SBTCSUSDT_SUMCBL",
- Price: "44067.0",
- Size: "1",
- MarginCoin: "SUSDT",
- Side: "open_long",
- TimeInForceValue: "normal",
- OrderType: "limit",
- }
-
- resp, err := client.PlaceOrder(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_BatchOrders(t *testing.T) {
- client := new(MixOrderClient).Init()
-
- oneOrder := order.PlaceOrderBaseParam{
- ClientOid: internal.TimesStamp(),
- Size: "1",
- Side: "open_long",
- OrderType: "limit",
- Price: "23789.30",
- TimeInForceValue: "normal",
- }
-
- towOrder := order.PlaceOrderBaseParam{
- ClientOid: internal.TimesStamp(),
- Size: "1",
- Side: "open_long",
- OrderType: "limit",
- Price: "23888.30",
- TimeInForceValue: "normal",
- }
-
- var params []order.PlaceOrderBaseParam
- params = append(params, oneOrder)
- params = append(params, towOrder)
-
- req := order.BatchOrdersReq{
- OrderDataList: params,
- Symbol: "SBTCSUSDT_SUMCBL",
- MarginCoin: "SUSDT",
- }
-
- resp, err := client.BatchOrders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_CancelOrder(t *testing.T) {
- client := new(MixOrderClient).Init()
-
- req := order.CancelOrderReq{
- Symbol: "SBTCSUSDT_SUMCBL",
- MarginCoin: "SUSDT",
- OrderId: "811489712408248322",
- }
- resp, err := client.CancelOrder(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_CancelBatchOrders(t *testing.T) {
- client := new(MixOrderClient).Init()
-
- req := order.CancelBatchOrdersReq{
- Symbol: "SBTCSUSDT_SUMCBL",
- MarginCoin: "SUSDT",
- OrderIds: []string{"811489712408248322"},
- }
- resp, err := client.CancelBatchOrders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_History(t *testing.T) {
- client := new(MixOrderClient).Init()
- resp, err := client.History("SBTCSUSDT_SUMCBL", "1629113823000", "1629513368000", "20", "", "false")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_Current(t *testing.T) {
- client := new(MixOrderClient).Init()
- resp, err := client.Current("SBTCSUSDT_SUMCBL")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_Detail(t *testing.T) {
- client := new(MixOrderClient).Init()
- resp, err := client.Detail("SBTCSUSDT_SUMCBL", "811489712408248322")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixOrderClient_Fills(t *testing.T) {
- client := new(MixOrderClient).Init()
- resp, err := client.Fills("SBTCSUSDT_SUMCBL", "811489712408248322")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixplanclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixplanclient.go
deleted file mode 100644
index 7a4a15f8..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixplanclient.go
+++ /dev/null
@@ -1,244 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/mix/plan"
-)
-
-type MixPlanClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixPlanClient) Init() *MixPlanClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Plan Entrusted Order
- * @param PlacePlanReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) PlacePlan(params plan.PlacePlanReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/placePlan"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Modify Plan Delegation
- * @param ModifyPlanReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) ModifyPlan(params plan.ModifyPlanReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/modifyPlan"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Modify the preset profit and loss stop of plan entrustment
- * @param ModifyPlanPresetReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) ModifyPlanPreset(params plan.ModifyPlanPresetReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/modifyPlanPreset"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Modify profit and loss stop
- * @param ModifyTPSLPlanReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) ModifyTPSLPlan(params plan.ModifyTPSLPlanReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/modifyTPSLPlan"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Stop profit and stop loss Order
- * @param PlaceTPSLReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) PlaceTPSL(params plan.PlaceTPSLReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/placeTPSL"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Stop profit and stop loss Order
- * @param PlaceTPSLReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) PlaceTrailStop(params plan.PlaceTPSLReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/placeTrailStop"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Planned entrustment (profit and loss stop) cancellation
- * @param CancelPlanReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) CancelPlan(params plan.CancelPlanReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/cancelPlan"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Planned entrustment (profit and loss stop) cancellation
- * @param CancelPlanReq
- * @return ResponseResult
- */
-func (p *MixPlanClient) CancelAllPlan(params plan.CancelAllPlanReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixPlan + "/cancelAllPlan"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * Get the current plan commission (profit stop and loss stop) list
- * @param symbol
- * @param isPlan
- * @return ResponseResult
- */
-func (p *MixPlanClient) CurrentPlan(symbol string, isPlan string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- if len(isPlan) > 0 {
- params["isPlan"] = isPlan
- }
-
- uri := constants.MixPlan + "/currentPlan"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Obtain the list of historical plan commissions (profit and loss stop)
- * @param symbol
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param isPre
- * @param isPlan
- * @return ResponseResult
- */
-func (p *MixPlanClient) HistoryPlan(symbol string, startTime string, endTime string, pageSize string, isPre string, isPlan string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["startTime"] = startTime
- params["endTime"] = endTime
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
-
- if len(isPre) > 0 {
- params["isPre"] = isPre
- }
- if len(isPre) > 0 {
- params["isPlan"] = isPlan
- }
-
- uri := constants.MixPlan + "/historyPlan"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixplanclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixplanclient_test.go
deleted file mode 100644
index 2807ba27..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixplanclient_test.go
+++ /dev/null
@@ -1,133 +0,0 @@
-package mix
-
-import (
- "bitget/internal"
- "bitget/pkg/model/mix/plan"
- "fmt"
- "testing"
-)
-
-func TestMixPlanClient_PlacePlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.PlacePlanReq{
- Symbol: "BTCUSDT_UMCBL",
- MarginCoin: "USDT",
- ClientOid: internal.TimesStamp(),
- TriggerPrice: "45000.3",
- ExecutePrice: "38923.1",
- Size: "1",
- Side: "open_long",
- OrderType: "limit",
- TriggerType: "fill_price",
- }
- resp, err := client.PlacePlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_ModifyPlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.ModifyPlanReq{
- OrderId: "826353122748112896",
- Symbol: "BTCUSDT_UMCBL",
- TriggerPrice: "55000.0",
- ExecutePrice: "38923.1",
- MarginCoin: "USDT",
- TriggerType: "fill_price",
- OrderType: "limit",
- }
- resp, err := client.ModifyPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_ModifyPlanPreset(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.ModifyPlanPresetReq{
- OrderId: "826353122748112896",
- Symbol: "BTCUSDT_UMCBL",
- MarginCoin: "USDT",
- PresetStopLossPrice: "66000.01",
- }
- resp, err := client.ModifyPlanPreset(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_PlaceTPSL(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.PlaceTPSLReq{
- Symbol: "BTCUSDT_UMCBL",
- MarginCoin: "USDT",
- PlanType: "profit_plan",
- TriggerPrice: "30000.01",
- HoldSide: "short",
- }
- resp, err := client.PlaceTPSL(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_ModifyTPSLPlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.ModifyTPSLPlanReq{
- Symbol: "BTCUSDT_UMCBL",
- MarginCoin: "USDT",
- TriggerPrice: "30000.01",
- OrderId: "826353122748112896",
- }
- resp, err := client.ModifyTPSLPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_CancelPlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- req := plan.CancelPlanReq{
- Symbol: "BTCUSDT_UMCBL",
- MarginCoin: "USDT",
- OrderId: "826353122748112896",
- PlanType: "normal_plan",
- }
- resp, err := client.CancelPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_CurrentPlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- resp, err := client.CurrentPlan("BTCUSDT_UMCBL", "plan")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPlanClient_HistoryPlan(t *testing.T) {
- client := new(MixPlanClient).Init()
-
- resp, err := client.HistoryPlan("BTCUSDT_UMCBL", "1627210955000", "1627383755000", "100", "false", "plan")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient.go
deleted file mode 100644
index c9a72d1a..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient.go
+++ /dev/null
@@ -1,56 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
-)
-
-type MixPositionClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixPositionClient) Init() *MixPositionClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Obtain single contract position information
- * @param symbol
- * @param marginCoin
- * @return ResponseResult
- */
-func (p *MixPositionClient) SinglePosition(symbol string, marginCoin string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["marginCoin"] = marginCoin
-
- uri := constants.MixPosition + "/singlePosition"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Obtain all contract position information
- * @param productType
- * @param marginCoin
- * @return ResponseResult
- */
-func (p *MixPositionClient) AllPosition(productType string, marginCoin string) (string, error) {
-
- params := internal.NewParams()
- params["productType"] = productType
- params["marginCoin"] = marginCoin
-
- uri := constants.MixPosition + "/allPosition"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient_test.go
deleted file mode 100644
index 9e2caf17..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixpostitionclient_test.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package mix
-
-import (
- "fmt"
- "testing"
-)
-
-func TestMixPositionClient_SinglePosition(t *testing.T) {
- client := new(MixPositionClient).Init()
-
- resp, err := client.SinglePosition("BTCUSDT_UMCBL", "USDT")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixPositionClient_AllPosition(t *testing.T) {
- client := new(MixPositionClient).Init()
-
- resp, err := client.AllPosition("umcbl", "USDT")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient.go b/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient.go
deleted file mode 100644
index 343ac845..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient.go
+++ /dev/null
@@ -1,304 +0,0 @@
-package mix
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/mix/trace"
-)
-
-type MixTraceClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *MixTraceClient) Init() *MixTraceClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Dealer closing interface
- * @param CloseTrackOrderReq
- * @return ResponseResult
- */
-func (p *MixTraceClient) CloseTrackOrder(params trace.CloseTrackOrderReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixTrace + "/closeTrackOrder"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-
-}
-
-/**
- * The trader obtains the current order
- * @param symbol
- * @param productType
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
-func (p *MixTraceClient) CurrentTrack(symbol string, productType string, pageSize string, pageNo string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["productType"] = productType
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
-
- uri := constants.MixTrace + "/currentTrack"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * The trader obtains the historical order
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
-func (p *MixTraceClient) HistoryTrack(startTime string, endTime string, pageSize string, pageNo string) (string, error) {
-
- params := internal.NewParams()
- params["startTime"] = startTime
- params["endTime"] = endTime
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
-
- uri := constants.MixTrace + "/historyTrack"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Summary of traders' profit sharing
- * @return ResponseResult
- */
-func (p *MixTraceClient) Summary() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.MixTrace + "/summary"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Historical profit sharing summary of traders (by settlement currency)
- * @return ResponseResult
- */
-func (p *MixTraceClient) ProfitSettleTokenIdGroup() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.MixTrace + "/profitSettleTokenIdGroup"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Historical profit sharing summary of traders (by settlement currency and date)
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
-func (p *MixTraceClient) ProfitDateGroupList(pageSize string, pageNo string) (string, error) {
-
- params := internal.NewParams()
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
-
- uri := constants.MixTrace + "/profitDateGroupList"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Historical profit distribution details of traders
- * @param marginCoin
- * @param date
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
-func (p *MixTraceClient) ProfitDateList(marginCoin string, date string, pageSize string, pageNo string) (string, error) {
-
- params := internal.NewParams()
- params["marginCoin"] = marginCoin
- params["date"] = date
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
-
- uri := constants.MixTrace + "/profitDateList"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Details of traders to be distributed
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
-func (p *MixTraceClient) WaitProfitDateList(pageSize string, pageNo string) (string, error) {
-
- params := internal.NewParams()
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
-
- uri := constants.MixTrace + "/waitProfitDateList"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Followers obtain documentary information
- * @param pageSize
- * @param pageNo
- * @param startTime
- * @param endTime
- * @return ResponseResult
- */
-func (p *MixTraceClient) FollowerHistoryOrders(pageSize string, pageNo string, startTime string, endTime string) (string, error) {
- params := internal.NewParams()
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
- if len(startTime) > 0 {
- params["startTime"] = startTime
- }
- if len(endTime) > 0 {
- params["endTime"] = endTime
- }
- uri := constants.MixTrace + "/followerHistoryOrders"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Trader get copyTader symbol
- * @return ResponseResult
- */
-func (p *MixTraceClient) TraderSymbols() (string, error) {
- params := internal.NewParams()
-
- uri := constants.MixTrace + "/traderSymbols"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Trader set copyTader symbol
- * @return ResponseResult
- */
-func (p *MixTraceClient) SetUpCopySymbols(params trace.CloseTrackOrderReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixTrace + "/setUpCopySymbols"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Trader modify tpsl order
- * @return ResponseResult
- */
-func (p *MixTraceClient) ModifyTPSL(params trace.TraderModifyTPSLOrderReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.MixTrace + "/modifyTPSL"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * trader get copytrade symbol
- * @param pageSize
- * @param pageNo
- * @param startTime
- * @param endTime
- * @return ResponseResult
- */
-func (p *MixTraceClient) followerOrder(symbol string, productType string, pageSize string, pageNo string) (string, error) {
- params := internal.NewParams()
-
- if len(pageSize) > 0 {
- params["pageSize"] = pageSize
- }
- if len(pageNo) > 0 {
- params["pageNo"] = pageNo
- }
- params["symbol"] = symbol
- params["productType"] = productType
- uri := constants.MixTrace + "/followerOrder"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient_test.go b/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient_test.go
deleted file mode 100644
index d4f294e2..00000000
--- a/bitget-golang-sdk-api/pkg/client/mix/mixtraceclient_test.go
+++ /dev/null
@@ -1,117 +0,0 @@
-package mix
-
-import (
- "bitget/pkg/model/mix/trace"
- "bytes"
- "fmt"
- "hash/crc32"
- "testing"
-)
-
-func TestMixTraceClient_CloseTrackOrder(t *testing.T) {
- client := new(MixTraceClient).Init()
- req := trace.CloseTrackOrderReq{Symbol: "BTCUSDT_UMCBL", TrackingNo: "0"}
-
- resp, err := client.CloseTrackOrder(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_CurrentTrack(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.CurrentTrack("BTCUSDT_UMCBL", "umcbl", "10", "1")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_HistoryTrack(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.HistoryTrack("", "", "10", "1")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_Summary(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.Summary()
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_ProfitSettleTokenIdGroup(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.ProfitSettleTokenIdGroup()
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_ProfitDateGroupList(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.ProfitDateGroupList("", "")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_ProfitDateList(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.ProfitDateList("USDT", "", "10", "1")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_WaitProfitDateList(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.WaitProfitDateList("10", "1")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestMixTraceClient_FollowerHistoryOrders(t *testing.T) {
- crc32BaseBuffer := bytes.Buffer{}
- crc32BaseBuffer.WriteString("63249.5:15.499:63251.5:0.594:63248.5:0.811:63252.5:1.249:63246.5:4.255:63255.5:0.519:63245.5:5.336:63256.5:3.283:63243.5:10.800:63257.5:16.313:63242.5:2.443:63260.0:0.527:63241.5:1.067:63261.0:0.511:63240.5:0.519:63261.5:0.529:63239.5:1.044:63262.5:0.509:63238.5:0.548:63263.0:0.543:63237.5:48.015:63264.5:1.275:63237.0:0.534:63265.5:0.512:63236.5:0.002:63266.5:1.080:63236.0:0.516:63268.5:0.528:63235.5:5.945:63269.0:1.431:63234.0:7.138:63269.5:0.951:63233.5:0.036:63270.0:0.511:63232.5:4.898:63270.5:0.772:63231.5:1.620:63271.0:7.414:63230.0:8.888:63271.5:0.522:63229.5:2.527:63272.5:13.025:63228.5:0.502:63273.0:0.713:63227.5:0.521:63273.5:10.173:63226.5:6.480:63274.0:0.540:63225.0:0.545:63274.5:0.643")
-
- i := int32(crc32.ChecksumIEEE(crc32BaseBuffer.Bytes()))
- fmt.Println(i)
-}
-
-func TestMixTraceClient_followerOrder(t *testing.T) {
- client := new(MixTraceClient).Init()
-
- resp, err := client.followerOrder("BTCUSDT_UMCBL", "umcbl", "10", "1")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient.go
deleted file mode 100644
index aaaf30ab..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient.go
+++ /dev/null
@@ -1,91 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/spot/account"
-)
-
-type SpotAccountClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotAccountClient) Init() *SpotAccountClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Obtain account assets
- * @return ResponseResult
- */
-func (p *SpotAccountClient) Assets(coin string) (string, error) {
-
- params := internal.NewParams()
- if len(coin) > 0 {
- params["coin"] = coin
- }
- uri := constants.SpotAccount + "/assets-lite"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Obtain transfer records
- * @param coinId
- * @param fromType
- * @param limit
- * @param after
- * @param before
- * @return ResponseResult
- */
-func (p *SpotAccountClient) TransferRecords(coinId string, fromType string, limit string, after string, before string) (string, error) {
-
- params := internal.NewParams()
- if len(coinId) > 0 {
- params["coinId"] = coinId
- }
- if len(fromType) > 0 {
- params["fromType"] = fromType
- }
- if len(limit) > 0 {
- params["limit"] = limit
- }
- if len(after) > 0 {
- params["after"] = after
- }
- if len(before) > 0 {
- params["before"] = before
- }
-
- uri := constants.SpotAccount + "/transferRecords"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get the bill flow
- * @param BillsReq
- * @return ResponseResult
- */
-func (p *SpotAccountClient) Bills(params account.BillsReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotAccount + "/bills"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient_test.go b/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient_test.go
deleted file mode 100644
index d9946e28..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotaccountclient_test.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package spot
-
-import (
- "bitget/pkg/model/spot/account"
- "fmt"
- "testing"
-)
-
-func TestSpotAccountClient_Assets(t *testing.T) {
- client := new(SpotAccountClient).Init()
-
- resp, err := client.Assets("")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotAccountClient_Bills(t *testing.T) {
- client := new(SpotAccountClient).Init()
-
- req := account.BillsReq{CoinId: "1", Before: "777031099461570560"}
-
- resp, err := client.Bills(req)
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotAccountClient_TransferRecords(t *testing.T) {
- client := new(SpotAccountClient).Init()
-
- resp, err := client.TransferRecords("2", "USDT_MIX", "10", "", "")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient.go
deleted file mode 100644
index 48f1171e..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient.go
+++ /dev/null
@@ -1,125 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
-)
-
-type SpotMarketClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotMarketClient) Init() *SpotMarketClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Obtain transaction data
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
-func (p *SpotMarketClient) Fills(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- uri := constants.SpotMarket + "/fills"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get depth data
- * @param symbol
- * @param limit
- * @param tp
- * @return ResponseResult
- */
-func (p *SpotMarketClient) Depth(symbol string, limit string, tp string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- if len(limit) > 0 {
- params["limit"] = limit
- }
- if len(tp) > 0 {
- params["type"] = tp
- }
-
- uri := constants.SpotMarket + "/depth"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get a Ticker Information
- * @param symbol
- * @return ResponseResult
- */
-func (p *SpotMarketClient) Ticker(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
-
- uri := constants.SpotMarket + "/ticker"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Get all Ticker information
- * @return ResponseResult
- */
-func (p *SpotMarketClient) Tickers() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.SpotMarket + "/tickers"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
-
-/**
- * Obtain K line data
- * @param symbol
- * @param period (Time unit and granularity of K line (refer to the following list for values))
- * @param after
- * @param before
- * @param limit
- * @return ResponseResult
- */
-func (p *SpotMarketClient) Candles(symbol string, period string, after string, before string, limit string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- params["period"] = period
- if len(after) > 0 {
- params["after"] = after
- }
- if len(before) > 0 {
- params["before"] = before
- }
- if len(limit) > 0 {
- params["limit"] = limit
- }
- uri := constants.SpotMarket + "/candles"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient_test.go b/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient_test.go
deleted file mode 100644
index 39de96aa..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotmarketclient_test.go
+++ /dev/null
@@ -1,61 +0,0 @@
-package spot
-
-import (
- "fmt"
- "testing"
-)
-
-func TestSpotMarketClient_Fills(t *testing.T) {
- client := new(SpotMarketClient).Init()
-
- resp, err := client.Fills("btcusdt_spbl")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotMarketClient_Depth(t *testing.T) {
- client := new(SpotMarketClient).Init()
-
- resp, err := client.Depth("btcusdt_spbl", "10", "")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotMarketClient_Ticker(t *testing.T) {
- client := new(SpotMarketClient).Init()
-
- resp, err := client.Ticker("btcusdt_spbl")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotMarketClient_Tickers(t *testing.T) {
- client := new(SpotMarketClient).Init()
-
- resp, err := client.Tickers()
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotMarketClient_Candles(t *testing.T) {
- client := new(SpotMarketClient).Init()
-
- resp, err := client.Candles("btcusdt_spbl", "1min", "1624929806000", "1624933406000", "50")
-
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotorderclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotorderclient.go
deleted file mode 100644
index febc9dc1..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotorderclient.go
+++ /dev/null
@@ -1,195 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/spot/order"
-)
-
-type SpotOrderClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotOrderClient) Init() *SpotOrderClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * place an order
- * @param OrdersReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) Orders(params order.OrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Place orders in batches
- * @param BatchOrdersReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) BatchOrders(params order.BatchOrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/batch-orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * cancel the order
- * @param CancelOrderReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) CancelOrder(params order.CancelOrderReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/cancel-order"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Batch cancellation
- * @param CancelBatchOrdersReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) CancelBatchOrders(params order.CancelBatchOrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/cancel-batch-orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Get order details
- * @param OrderInfoReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) OrderInfo(params order.OrderInfoReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/orderInfo"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Obtain orders that have not been closed or partially closed but not cancelled
- * @param OpenOrdersReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) OpenOrders(params order.OpenOrdersReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/open-orders"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Get historical delegation list
- * @param HistoryReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) History(params order.HistoryReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/history"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
- * Obtain transaction details
- * @param FillsReq
- * @return ResponseResult
- */
-func (p *SpotOrderClient) Fills(params order.FillsReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/fills"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
-
-/**
-获取账单流水
-*/
-/*func (p *SpotOrderClient) ChangeDepth(params order.ChangeDepthReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotTrade + "/changeDepth"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}*/
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotorderclient_test.go b/bitget-golang-sdk-api/pkg/client/spot/spotorderclient_test.go
deleted file mode 100644
index f2fc79b3..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotorderclient_test.go
+++ /dev/null
@@ -1,150 +0,0 @@
-package spot
-
-import (
- "bitget/pkg/model/spot/order"
- "fmt"
- "testing"
-)
-
-func TestSpotOrderClient_Orders(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.OrdersReq{
- Symbol: "bftusdt_spbl",
- Price: "2.68111",
- Quantity: "10",
- Side: "buy",
- OrderType: "limit",
- Force: "normal",
- }
-
- resp, err := client.Orders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_BatchOrders(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- oneOrder := order.SpotOrdersReq{
- Price: "2.60222",
- Quantity: "1",
- Side: "buy",
- OrderType: "limit",
- Force: "normal",
- ClientOrderId: "spot#1625039618000",
- }
-
- towOrder := order.SpotOrdersReq{
- Price: "2.60111",
- Quantity: "1",
- Side: "buy",
- OrderType: "limit",
- Force: "normal",
- ClientOrderId: "spot#1625039618122",
- }
-
- var params []order.SpotOrdersReq
- params = append(params, oneOrder)
- params = append(params, towOrder)
-
- req := order.BatchOrdersReq{
- OrderList: params,
- Symbol: "BTCUSDT_SPBL",
- }
-
- resp, err := client.BatchOrders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_CancelOrder(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.CancelOrderReq{
- Symbol: "bftusdt_spbl",
- OrderId: "213123",
- }
-
- resp, err := client.CancelOrder(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_CancelBatchOrders(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.CancelBatchOrdersReq{
- Symbol: "bftusdt_spbl",
- OrderIds: []string{"213123", "213123"},
- }
-
- resp, err := client.CancelBatchOrders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_OrderInfo(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.OrderInfoReq{
- OrderId: "123",
- }
-
- resp, err := client.OrderInfo(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_OpenOrders(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.OpenOrdersReq{
- Symbol: "bftusdt_spbl",
- }
-
- resp, err := client.OpenOrders(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_History(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.HistoryReq{
- Symbol: "bftusdt_spbl",
- Limit: "100",
- }
-
- resp, err := client.History(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotOrderClient_Fills(t *testing.T) {
- client := new(SpotOrderClient).Init()
-
- req := order.FillsReq{
- Symbol: "bftusdt_spbl",
- }
-
- resp, err := client.Fills(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotplanclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotplanclient.go
deleted file mode 100644
index ac615337..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotplanclient.go
+++ /dev/null
@@ -1,72 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/spot/plan"
-)
-
-type SpotPlanClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotPlanClient) Init() *SpotPlanClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-func (p *SpotPlanClient) PlacePlan(params plan.SpotPlanReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotPlan + "/placePlan"
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
- return resp, err
-}
-
-func (p *SpotPlanClient) ModifyPlan(params plan.SpotModifyPlanReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotPlan + "/modifyPlan"
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
- return resp, err
-}
-
-func (p *SpotPlanClient) CancelPlan(params plan.SpotCancelPlanReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotPlan + "/cancelPlan"
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
- return resp, err
-}
-
-func (p *SpotPlanClient) CurrentPlan(params plan.SpotQueryPlanReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotPlan + "/currentPlan"
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
- return resp, err
-}
-
-func (p *SpotPlanClient) HistoryPlan(params plan.SpotQueryPlanReq) (string, error) {
- postBody, jsonErr := internal.ToJson(params)
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotPlan + "/historyPlan"
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotplanclient_test.go b/bitget-golang-sdk-api/pkg/client/spot/spotplanclient_test.go
deleted file mode 100644
index 7c55cf2e..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotplanclient_test.go
+++ /dev/null
@@ -1,92 +0,0 @@
-package spot
-
-import (
- "bitget/pkg/model/spot/plan"
- "fmt"
- "testing"
-)
-
-func TestSpotPlanClient_PlacePlan(t *testing.T) {
- client := new(SpotPlanClient).Init()
-
- req := plan.SpotPlanReq{
- Symbol: "BTCUSDT_SPBL",
- Side: "buy",
- TriggerPrice: "22031",
- ExecutePrice: "22031",
- Size: "100",
- TriggerType: "market_price",
- OrderType: "market",
- TimeInForceValue: "normal",
- }
-
- resp, err := client.PlacePlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPlanClient_ModifyPlan(t *testing.T) {
- client := new(SpotPlanClient).Init()
-
- req := plan.SpotModifyPlanReq{
- OrderId: "987136018723487744",
- TriggerPrice: "16000",
- ExecutePrice: "16000",
- Size: "50",
- OrderType: "market",
- }
-
- resp, err := client.ModifyPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPlanClient_CancelPlan(t *testing.T) {
- client := new(SpotPlanClient).Init()
-
- req := plan.SpotCancelPlanReq{
- OrderId: "987136018723487744",
- }
-
- resp, err := client.CancelPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPlanClient_CurrentPlan(t *testing.T) {
- client := new(SpotPlanClient).Init()
-
- req := plan.SpotQueryPlanReq{
- Symbol: "BTCUSDT_SPBL",
- PageSize: "5",
- }
-
- resp, err := client.CurrentPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPlanClient_HistoryPlan(t *testing.T) {
- client := new(SpotPlanClient).Init()
-
- req := plan.SpotQueryPlanReq{
- Symbol: "BTCUSDT_SPBL",
- PageSize: "5",
- StartTime: "1671005531000",
- EndTime: "16710856520005",
- }
-
- resp, err := client.HistoryPlan(req)
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient.go
deleted file mode 100644
index ef231a8a..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient.go
+++ /dev/null
@@ -1,77 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
-)
-
-type SpotPublicClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotPublicClient) Init() *SpotPublicClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * Get server time
- * @return ResponseResult
- */
-func (p *SpotPublicClient) Time() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.SpotPublic + "/time"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Basic information of currency
- * @return ResponseResult
- */
-func (p *SpotPublicClient) Currencies() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.SpotPublic + "/currencies"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get all product information
- * @return ResponseResult
- */
-func (p *SpotPublicClient) Products() (string, error) {
-
- params := internal.NewParams()
-
- uri := constants.SpotPublic + "/products"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
-
-/**
- * Get single product information
- * @param symbol
- * @return ResponseResult
- */
-func (p *SpotPublicClient) Product(symbol string) (string, error) {
-
- params := internal.NewParams()
- params["symbol"] = symbol
- uri := constants.SpotPublic + "/product"
-
- resp, err := p.BitgetRestClient.DoGet(uri, params)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient_test.go b/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient_test.go
deleted file mode 100644
index 8657679d..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotpublicclient_test.go
+++ /dev/null
@@ -1,46 +0,0 @@
-package spot
-
-import (
- "fmt"
- "testing"
-)
-
-func TestSpotPublicClient_Time(t *testing.T) {
- client := new(SpotPublicClient).Init()
-
- resp, err := client.Time()
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPublicClient_Currencies(t *testing.T) {
- client := new(SpotPublicClient).Init()
-
- resp, err := client.Currencies()
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPublicClient_Product(t *testing.T) {
- client := new(SpotPublicClient).Init()
-
- resp, err := client.Product("ETHUSDT_SPBL")
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
-
-func TestSpotPublicClient_Products(t *testing.T) {
- client := new(SpotPublicClient).Init()
-
- resp, err := client.Products()
- if err != nil {
- println(err.Error())
- }
- fmt.Println(resp)
-}
diff --git a/bitget-golang-sdk-api/pkg/client/spot/spotwalletclient.go b/bitget-golang-sdk-api/pkg/client/spot/spotwalletclient.go
deleted file mode 100644
index d4f9943d..00000000
--- a/bitget-golang-sdk-api/pkg/client/spot/spotwalletclient.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package spot
-
-import (
- "bitget/constants"
- "bitget/internal"
- "bitget/internal/common"
- "bitget/pkg/model/spot/wallet"
-)
-
-type SpotWalletClient struct {
- BitgetRestClient *common.BitgetRestClient
-}
-
-func (p *SpotWalletClient) Init() *SpotWalletClient {
- p.BitgetRestClient = new(common.BitgetRestClient).Init()
- return p
-}
-
-/**
- * withdrawal
- * @param BillsReq
- * @return ResponseResult
- */
-func (p *SpotWalletClient) withdrawal(params wallet.WithdrawalReq) (string, error) {
-
- postBody, jsonErr := internal.ToJson(params)
-
- if jsonErr != nil {
- return "", jsonErr
- }
-
- uri := constants.SpotWallet + "/withdrawal"
-
- resp, err := p.BitgetRestClient.DoPost(uri, postBody)
-
- return resp, err
-}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/mixaccountclient.go b/bitget-golang-sdk-api/pkg/client/v1/mixaccountclient.go
new file mode 100644
index 00000000..cc933647
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/mixaccountclient.go
@@ -0,0 +1,72 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type MixAccountClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixAccountClient) Init() *MixAccountClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *MixAccountClient) Account(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/account/account", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) Accounts(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/account/accounts", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetLeverage(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/account/setLeverage", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetMargin(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/account/setMargin", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetMarginMode(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/account/setMarginMode", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetPositionMode(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/account/setPositionMode", postBody)
+ return resp, err
+}
+
+// position
+func (p *MixAccountClient) SinglePosition(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/position/singlePosition", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) AllPosition(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/position/allPosition", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/mixmarketclient.go b/bitget-golang-sdk-api/pkg/client/v1/mixmarketclient.go
new file mode 100644
index 00000000..51c87b1f
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/mixmarketclient.go
@@ -0,0 +1,44 @@
+package v1
+
+import (
+ "bitget/internal/common"
+)
+
+type MixMarketClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixMarketClient) Init() *MixMarketClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *MixMarketClient) Contracts(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/contracts", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Depth(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/depth", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Ticker(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/ticker", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Tickers(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/tickers", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/fills", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Candles(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/market/candles", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/mixorderclient.go b/bitget-golang-sdk-api/pkg/client/v1/mixorderclient.go
new file mode 100644
index 00000000..d73533a2
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/mixorderclient.go
@@ -0,0 +1,135 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type MixOrderClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixOrderClient) Init() *MixOrderClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+// normal order
+func (p *MixOrderClient) PlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/order/placeOrder", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) BatchPlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/order/batch-orders", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) CancelOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/order/cancel-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) BatchCancelOrders(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/order/cancel-batch-orders", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/order/history", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/order/current", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/fills", params)
+ return resp, err
+}
+
+// plan
+func (p *MixOrderClient) PlacePlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/plan/placePlan", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) CancelPlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/plan/cancelPlan", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPlanPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/plan/currentPlan", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPlanHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/plan/historyPlan", params)
+ return resp, err
+}
+
+// trader
+func (p *MixOrderClient) TraderOrderClosePositions(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/trace/closeTrackOrder", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) TraderOrderCurrentTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/trace/currentTrack", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) TraderOrderHistoryTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/trace/historyTrack", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerClosePositions(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/mix/v1/trace/followerCloseByTrackingNo", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerQueryCurrentOrders(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/trace/followerOrder", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerQueryHistoryOrders(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/mix/v1/trace/followerHistoryOrders", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/spotaccountclient.go b/bitget-golang-sdk-api/pkg/client/v1/spotaccountclient.go
new file mode 100644
index 00000000..5e05aa92
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/spotaccountclient.go
@@ -0,0 +1,36 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotAccountClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotAccountClient) Init() *SpotAccountClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *SpotAccountClient) Info() (string, error) {
+ params := internal.NewParams()
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/account/getInfo", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) Assets(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/account/assets-lite", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) Bills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/account/bills", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) TransferRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/account/transferRecords", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/spotmarketclient.go b/bitget-golang-sdk-api/pkg/client/v1/spotmarketclient.go
new file mode 100644
index 00000000..e986f2ab
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/spotmarketclient.go
@@ -0,0 +1,56 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotMarketClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotMarketClient) Init() *SpotMarketClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *SpotMarketClient) Currencies() (string, error) {
+ params := internal.NewParams()
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/public/currencies", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Products(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/public/products", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Product(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/public/product", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/market/fills", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Depth(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/market/depth", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Tickers(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/market/tickers", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Ticker(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/market/ticker", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Candles(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/market/candles", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/spotorderclient.go b/bitget-golang-sdk-api/pkg/client/v1/spotorderclient.go
new file mode 100644
index 00000000..1ab9b5e0
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/spotorderclient.go
@@ -0,0 +1,132 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotOrderClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotOrderClient) Init() *SpotOrderClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+// normal order
+func (p *SpotOrderClient) PlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trade/orders", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) BatchPlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trade/batch-orders", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) CancelOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trade/cancel-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) BatchCancelOrders(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trade/cancel-batch-orders", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/trade/history", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/trade/open-orders", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/spot/v1/trade/fills", params)
+ return resp, err
+}
+
+// plan
+func (p *SpotOrderClient) PlacePlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/plan/placePlan", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) CancelPlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/plan/cancelPlan", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPlanPending(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/plan/currentPlan", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPlanHistory(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/plan/historyPlan", postBody)
+ return resp, err
+}
+
+// trader
+func (p *SpotOrderClient) TraderOrderCloseTracking(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trace/order/closeTrackingOrder", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) TraderOrderCurrentTrack(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trace/order/orderCurrentList", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) TraderOrderHistoryTrack(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/spot/v1/trace/order/orderHistoryList", postBody)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v1/spotwalletclient.go b/bitget-golang-sdk-api/pkg/client/v1/spotwalletclient.go
new file mode 100644
index 00000000..77bccb53
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v1/spotwalletclient.go
@@ -0,0 +1,43 @@
+package v1
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotWalletApi struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotWalletApi) Transfer(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/wallet/transfer", postBody)
+ return resp, err
+}
+
+func (p *SpotWalletApi) DepositAddress(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/deposit-address", params)
+ return resp, err
+}
+
+func (p *SpotWalletApi) Withdrawal(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/wallet/withdrawal", postBody)
+ return resp, err
+}
+
+func (p *SpotWalletApi) WithdrawalRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/withdrawal-records", params)
+ return resp, err
+}
+
+func (p *SpotWalletApi) DepositRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/deposit-records", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/mixaccountclient.go b/bitget-golang-sdk-api/pkg/client/v2/mixaccountclient.go
new file mode 100644
index 00000000..e37cc3d2
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/mixaccountclient.go
@@ -0,0 +1,72 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type MixAccountClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixAccountClient) Init() *MixAccountClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *MixAccountClient) Account(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/account/account", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) Accounts(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/account/accounts", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetLeverage(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/account/set-leverage", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetMargin(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/account/set-margin", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SetMarginMode(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/account/set-margin-mode", postBody)
+ return resp, err
+}
+
+// position
+func (p *MixAccountClient) SetPositionMode(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/account/set-position-mode", postBody)
+ return resp, err
+}
+
+func (p *MixAccountClient) SinglePosition(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/position/single-position", params)
+ return resp, err
+}
+
+func (p *MixAccountClient) AllPosition(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/position/all-position", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/mixmarketclient.go b/bitget-golang-sdk-api/pkg/client/v2/mixmarketclient.go
new file mode 100644
index 00000000..4e3850d5
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/mixmarketclient.go
@@ -0,0 +1,39 @@
+package v2
+
+import (
+ "bitget/internal/common"
+)
+
+type MixMarketClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixMarketClient) Init() *MixMarketClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *MixMarketClient) Contracts(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/market/contracts", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Orderbook(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/market/orderbook", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Ticker(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/market/ticker", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/market/fills", params)
+ return resp, err
+}
+
+func (p *MixMarketClient) Candles(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/market/candles", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/mixorderclient.go b/bitget-golang-sdk-api/pkg/client/v2/mixorderclient.go
new file mode 100644
index 00000000..8d339539
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/mixorderclient.go
@@ -0,0 +1,135 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type MixOrderClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *MixOrderClient) Init() *MixOrderClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+// normal order
+func (p *MixOrderClient) PlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/place-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) BatchPlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/batch-place-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) CancelOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/cancel-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) BatchCancelOrders(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/batch-cancel-orders", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/orders-history", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/orders-pending", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/fills", params)
+ return resp, err
+}
+
+// plan
+func (p *MixOrderClient) PlacePlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/place-plan-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) CancelPlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/mix/order/cancel-plan-order", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPlanPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/orders-plan-pending", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) OrdersPlanHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/mix/order/orders-plan-history", params)
+ return resp, err
+}
+
+// trader
+func (p *MixOrderClient) TraderOrderClosePositions(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/copy/mix-trader/order-close-positions", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) TraderOrderCurrentTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/mix-trader/order-current-track", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) TraderOrderHistoryTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/mix-trader/order-history-track", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerClosePositions(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/copy/mix-follower/close-positions", postBody)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerQueryCurrentOrders(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/mix-follower/query-current-orders", params)
+ return resp, err
+}
+
+func (p *MixOrderClient) FollowerQueryHistoryOrders(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/mix-follower/query-history-orders", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/spotaccountclient.go b/bitget-golang-sdk-api/pkg/client/v2/spotaccountclient.go
new file mode 100644
index 00000000..828b4a22
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/spotaccountclient.go
@@ -0,0 +1,36 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotAccountClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotAccountClient) Init() *SpotAccountClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *SpotAccountClient) Info() (string, error) {
+ params := internal.NewParams()
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/account/info", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) Assets(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/account/assets", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) Bills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/account/bills", params)
+ return resp, err
+}
+
+func (p *SpotAccountClient) TransferRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/account/transferRecords", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/spotmarketclient.go b/bitget-golang-sdk-api/pkg/client/v2/spotmarketclient.go
new file mode 100644
index 00000000..c076090b
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/spotmarketclient.go
@@ -0,0 +1,46 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotMarketClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotMarketClient) Init() *SpotMarketClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+func (p *SpotMarketClient) Coins() (string, error) {
+ params := internal.NewParams()
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/public/coins", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Symbols(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/public/symbols", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/market/fills", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Orderbook(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/market/orderbook", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Tickers(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/market/tickers", params)
+ return resp, err
+}
+
+func (p *SpotMarketClient) Candles(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/market/candles", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/spotorderclient.go b/bitget-golang-sdk-api/pkg/client/v2/spotorderclient.go
new file mode 100644
index 00000000..1e71c8b7
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/spotorderclient.go
@@ -0,0 +1,116 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotOrderClient struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotOrderClient) Init() *SpotOrderClient {
+ p.BitgetRestClient = new(common.BitgetRestClient).Init()
+ return p
+}
+
+// normal order
+func (p *SpotOrderClient) PlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/place-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) BatchPlaceOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/batch-orders", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) CancelOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/cancel-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) BatchCancelOrders(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/batch-cancel-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/trade/history-orders", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/trade/unfilled-orders", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) Fills(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/trade/fills", params)
+ return resp, err
+}
+
+// plan
+func (p *SpotOrderClient) PlacePlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/place-plan-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) CancelPlanOrder(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/trade/cancel-plan-order", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPlanPending(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/trade/current-plan-order", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) OrdersPlanHistory(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/trade/history-plan-order", params)
+ return resp, err
+}
+
+// trader
+func (p *SpotOrderClient) TraderOrderCloseTracking(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/copy/spot-trader/order-close-tracking", postBody)
+ return resp, err
+}
+
+func (p *SpotOrderClient) TraderOrderCurrentTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/spot-trader/order-current-track", params)
+ return resp, err
+}
+
+func (p *SpotOrderClient) TraderOrderHistoryTrack(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/copy/spot-trader/order-history-track", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/v2/spotwalletclient.go b/bitget-golang-sdk-api/pkg/client/v2/spotwalletclient.go
new file mode 100644
index 00000000..09ab32a2
--- /dev/null
+++ b/bitget-golang-sdk-api/pkg/client/v2/spotwalletclient.go
@@ -0,0 +1,43 @@
+package v2
+
+import (
+ "bitget/internal"
+ "bitget/internal/common"
+)
+
+type SpotWalletApi struct {
+ BitgetRestClient *common.BitgetRestClient
+}
+
+func (p *SpotWalletApi) Transfer(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/wallet/transfer", postBody)
+ return resp, err
+}
+
+func (p *SpotWalletApi) DepositAddress(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/deposit-address", params)
+ return resp, err
+}
+
+func (p *SpotWalletApi) Withdrawal(params map[string]string) (string, error) {
+ postBody, jsonErr := internal.ToJson(params)
+ if jsonErr != nil {
+ return "", jsonErr
+ }
+ resp, err := p.BitgetRestClient.DoPost("/api/v2/spot/wallet/withdrawal", postBody)
+ return resp, err
+}
+
+func (p *SpotWalletApi) WithdrawalRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/withdrawal-records", params)
+ return resp, err
+}
+
+func (p *SpotWalletApi) DepositRecords(params map[string]string) (string, error) {
+ resp, err := p.BitgetRestClient.DoGet("/api/v2/spot/wallet/deposit-records", params)
+ return resp, err
+}
diff --git a/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient.go b/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient.go
index 9d9a349a..b4e86a69 100644
--- a/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient.go
+++ b/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient.go
@@ -78,6 +78,9 @@ func toUpperReq(req model.SubscribeReq) model.SubscribeReq {
req.InstType = strings.ToUpper(req.InstType)
req.InstId = strings.ToUpper(req.InstId)
req.Channel = strings.ToLower(req.Channel)
+ if "" == req.Coin {
+ req.Coin = strings.ToLower(req.InstId)
+ }
return req
}
diff --git a/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient_test.go b/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient_test.go
deleted file mode 100644
index 86d40876..00000000
--- a/bitget-golang-sdk-api/pkg/client/ws/bitgetwsclient_test.go
+++ /dev/null
@@ -1,38 +0,0 @@
-package ws
-
-import (
- "bitget/internal/model"
- "fmt"
- "testing"
-)
-
-func TestBitgetWsClient_New(t *testing.T) {
-
- client := new(BitgetWsClient).Init(false, func(message string) {
- fmt.Println("success:" + message)
- }, func(message string) {
- fmt.Println("error:" + message)
- })
-
- var channelsDef []model.SubscribeReq
- subReqDef1 := model.SubscribeReq{
- InstType: "UMCBL",
- Channel: "account",
- InstId: "default",
- }
- channelsDef = append(channelsDef, subReqDef1)
- client.SubscribeDef(channelsDef)
-
- var channels []model.SubscribeReq
- subReq1 := model.SubscribeReq{
- InstType: "UMCBL",
- Channel: "account",
- InstId: "default",
- }
- channels = append(channels, subReq1)
- client.Subscribe(channels, func(message string) {
- fmt.Println("appoint:" + message)
- })
- client.Connect()
-
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/subaddressreq.go b/bitget-golang-sdk-api/pkg/model/broker/subaddressreq.go
deleted file mode 100644
index 5e824c34..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/subaddressreq.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package broker
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type SubAddressReq struct {
- /**
- * subName
- */
- SubUid string `json:"subUid"`
- /**
- * remark
- */
- Coin string `json:"coin"`
-
- Chain string `json:"chain"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/subautotransferreq.go b/bitget-golang-sdk-api/pkg/model/broker/subautotransferreq.go
deleted file mode 100644
index 87e2f17e..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/subautotransferreq.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package broker
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type SubAutoTransferReq struct {
- /**
- * subName
- */
- SubUid string `json:"subUid"`
- /**
- * remark
- */
- Coin string `json:"coin"`
-
- ToAccountType string `json:"toAccountType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/subcreatereq.go b/bitget-golang-sdk-api/pkg/model/broker/subcreatereq.go
deleted file mode 100644
index 649e6ead..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/subcreatereq.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package broker
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type SubCreateReq struct {
- /**
- * subName
- */
- SubName string `json:"subName"`
- /**
- * remark
- */
- Remark string `json:"remark"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/submodifyemailreq.go b/bitget-golang-sdk-api/pkg/model/broker/submodifyemailreq.go
deleted file mode 100644
index a3765831..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/submodifyemailreq.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package broker
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type SubModifyEmailReq struct {
- /**
- * subName
- */
- SubUid string `json:"subUid"`
- /**
- */
- Email string `json:"email"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/submodifyreq.go b/bitget-golang-sdk-api/pkg/model/broker/submodifyreq.go
deleted file mode 100644
index 9dc65f97..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/submodifyreq.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package broker
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type SubModifyReq struct {
- /**
- * subName
- */
- SubUid string `json:"subUid"`
- /**
- *
- withdraw 提币权限
- transfer 划转
- spot_trade 只能现货交易
- contract_trade 只能合约交易
- readonly 只读权限
-
- eg:
- readonly,spot_trade,withdraw
- */
- Perm string `json:"perm"`
-
- /**
- status
- normal 正常
- freeze 冻结
- del 删除
- */
- Status string `json:"status"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/broker/subwithdrawalreq.go b/bitget-golang-sdk-api/pkg/model/broker/subwithdrawalreq.go
deleted file mode 100644
index b79dbb4f..00000000
--- a/bitget-golang-sdk-api/pkg/model/broker/subwithdrawalreq.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package broker
-
-/*
-* @Author: bitget-sdk-team
-* @Date: 2022-09-30 10:46
-* @DES: place an order request
- */
-type SubWithdrawalReq struct {
- /**
- * subName
- */
- SubUid string `json:"subUid"`
- /**
- * remark
- */
- Coin string `json:"coin"`
-
- Chain string `json:"chain"`
-
- Address string `json:"address"`
-
- Amount string `json:"amount"`
-
- Tag string `json:"tag"`
-
- ClientOid string `json:"clientOid"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/account/opencountreq.go b/bitget-golang-sdk-api/pkg/model/mix/account/opencountreq.go
deleted file mode 100644
index 2ce620f2..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/account/opencountreq.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package account
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Get the openable request
- */
-type OpenCountReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * open price
- */
- OpenPrice string `json:"openPrice"`
- /**
- * open amount
- */
- OpenAmount string `json:"openAmount"`
- /**
- * Default leverage 20
- */
- Leverage string `json:"leverage"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/account/setleveragereq.go b/bitget-golang-sdk-api/pkg/model/mix/account/setleveragereq.go
deleted file mode 100644
index 7cfe576f..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/account/setleveragereq.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package account
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: set lever request
- */
-type SetLeveragerReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Leverage ratio
- */
- Leverage string `json:"leverage"`
- /**
- * The whole warehouse lever can not transfer this parameter
- * Position direction: long multi position short short position,
- * MixHoldSideEnum
- */
- HoldSide string `json:"holdSide"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/account/setmarginmodereq.go b/bitget-golang-sdk-api/pkg/model/mix/account/setmarginmodereq.go
deleted file mode 100644
index 6018bf8a..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/account/setmarginmodereq.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package account
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Adjust margin mode request
- */
-type SetMarginModeReq struct {
- /**
- * Margin mode
- */
- MarginMode string `json:"marginMode"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/account/setmarginreq.go b/bitget-golang-sdk-api/pkg/model/mix/account/setmarginreq.go
deleted file mode 100644
index a50e93bc..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/account/setmarginreq.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package account
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Adjustment margin request
- */
-type SetMarginReq struct {
- /**
- * Position direction (all positions are not transferred)
- */
- HoldSide string `json:"holdSide"`
- /**
- * Amount greater than 0 increases less than 0 decreases
- */
- Amount string `json:"amount"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/account/setpositionmodereq.go b/bitget-golang-sdk-api/pkg/model/mix/account/setpositionmodereq.go
deleted file mode 100644
index 3a45366e..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/account/setpositionmodereq.go
+++ /dev/null
@@ -1,7 +0,0 @@
-package account
-
-type SetPositionModeReq struct {
- HoldMode string `json:"holdMode"`
- Symbol string `json:"symbol"`
- MarginCoin string `json:"marginCoin"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/market/HistoryFundRateReq.go b/bitget-golang-sdk-api/pkg/model/mix/market/HistoryFundRateReq.go
deleted file mode 100644
index b3211744..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/market/HistoryFundRateReq.go
+++ /dev/null
@@ -1,8 +0,0 @@
-package market
-
-type HistoryFundRate struct {
- symbol string
- pageSize string
- pageNo string
- nextPage string
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/order/batchordersreq.go b/bitget-golang-sdk-api/pkg/model/mix/order/batchordersreq.go
deleted file mode 100644
index 3b0ca057..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/order/batchordersreq.go
+++ /dev/null
@@ -1,44 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place batch order request
- */
-type BatchOrdersReq struct {
- /**
- * Order data list
- */
- OrderDataList []PlaceOrderBaseParam `json:"orderDataList"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
-}
-type PlaceOrderBaseParam struct {
- /**
- * Client ID
- */
- ClientOid string `json:"clientOid"`
- /**
- * Amount of currency placed
- */
- Size string `json:"size"`
- /**
- * 1: Kaiduo 2: Kaikong 3: Pingduo 4: Pingkong
- */
- Side string `json:"side"`
- /**
- * Order Type
- */
- OrderType string `json:"orderType"`
- /**
- * Entrusted price
- */
- Price string `json:"price"`
- TimeInForceValue string `json:"timeInForceValue"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/order/cancelbatchordersreq.go b/bitget-golang-sdk-api/pkg/model/mix/order/cancelbatchordersreq.go
deleted file mode 100644
index 3031db14..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/order/cancelbatchordersreq.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Batch cancellation request
- */
-type CancelBatchOrdersReq struct {
- /**
- * Order Id list
- */
- OrderIds []string `json:"orderIds"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/order/cancelorderreq.go b/bitget-golang-sdk-api/pkg/model/mix/order/cancelorderreq.go
deleted file mode 100644
index 9b27fa7e..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/order/cancelorderreq.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: cancel the order request
- */
-type CancelOrderReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Order Id
- */
- OrderId string `json:"orderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/order/placeorderreq.go b/bitget-golang-sdk-api/pkg/model/mix/order/placeorderreq.go
deleted file mode 100644
index 71274f3b..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/order/placeorderreq.go
+++ /dev/null
@@ -1,49 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type PlaceOrderReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Open more, open more, empty more, empty more
- */
- Side string `json:"side"`
- /**
- * Client ID
- */
- ClientOid string `json:"clientOid"`
- /**
- * Amount of currency placed
- */
- Size string `json:"size"`
- /**
- * Order Type Market Price Limit
- */
- OrderType string `json:"orderType"`
- /**
- * Entrusted price
- */
- Price string `json:"price"`
- /**
- * Order validity
- */
- TimeInForceValue string `json:"timeInForceValue"`
- /**
- * Default stop profit price
- */
- PresetTakeProfitPrice string `json:"presetTakeProfitPrice"`
- /**
- * Preset stop loss price
- */
- PresetStopLossPrice string `json:"presetStopLossPrice"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/cancelallplanreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/cancelallplanreq.go
deleted file mode 100644
index 3b001181..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/cancelallplanreq.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: cancel plan request
- */
-type CancelAllPlanReq struct {
- /**
- * Plan type
- */
- PlanType string `json:"planType"`
-
- ProductType string `json:"productType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/cancelplanreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/cancelplanreq.go
deleted file mode 100644
index d56e6b1a..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/cancelplanreq.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: cancel plan request
- */
-type CancelPlanReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Order Id
- */
- OrderId string `json:"orderId"`
- /**
- * Plan type
- */
- PlanType string `json:"planType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanpresetreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanpresetreq.go
deleted file mode 100644
index 77d385cd..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanpresetreq.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: modify plan request
- */
-type ModifyPlanPresetReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * If the profit stop price is blank, cancel the profit stop
- */
- PresetTakeProfitPrice string `json:"presetTakeProfitPrice"`
- /**
- * If the stop loss price is blank, cancel the stop loss
- */
- PresetStopLossPrice string `json:"presetStopLossPrice"`
- /**
- * order id
- */
- OrderId string `json:"orderId"`
- /**
- * plan type
- */
- PlanType string `json:"planType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanreq.go
deleted file mode 100644
index 8b874ce7..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/modifyplanreq.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: placePlan request
- */
-type ModifyPlanReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Planned entrusted order No
- */
- OrderId string `json:"orderId"`
- /**
- * Execution price
- */
- ExecutePrice string `json:"executePrice"`
- /**
- * Trigger Price
- */
- TriggerPrice string `json:"triggerPrice"`
- /**
- * Trigger Type
- */
- TriggerType string `json:"triggerType"`
- /**
- * Order Type
- */
- OrderType string `json:"orderType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/modifytpslplanreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/modifytpslplanreq.go
deleted file mode 100644
index 367c782c..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/modifytpslplanreq.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: modify plan request
- */
-type ModifyTPSLPlanReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Order id
- */
- OrderId string `json:"orderId"`
- /**
- * Trigger price
- */
- TriggerPrice string `json:"triggerPrice"`
- /**
- * plan type
- */
- PlanType string `json:"planType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/placeplanreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/placeplanreq.go
deleted file mode 100644
index 7c981f63..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/placeplanreq.go
+++ /dev/null
@@ -1,55 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: placePlan request
- */
-type PlacePlanReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Amount of currency placed
- */
- Size string `json:"size"`
- /**
- * Entrusted price
- */
- ExecutePrice string `json:"executePrice"`
- /**
- * Trigger Price
- */
- TriggerPrice string `json:"triggerPrice"`
- /**
- * Entrusting direction
- */
- Side string `json:"side"`
- /**
- * Transaction Type
- */
- OrderType string `json:"orderType"`
- /**
- * Trigger Type Transaction Price Trigger Flag Price Trigger
- */
- TriggerType string `json:"triggerType"`
- /**
- * Client ID
- */
- ClientOid string `json:"clientOid"`
- /**
- * Default stop profit price
- */
- PresetTakeProfitPrice string `json:"presetTakeProfitPrice"`
- /**
- * Preset stop loss price
- */
- PresetStopLossPrice string `json:"presetStopLossPrice"`
-
- ReduceOnly bool `json:"reduceOnly"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/placetpslreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/placetpslreq.go
deleted file mode 100644
index 659200f1..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/placetpslreq.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: modify plan request
- */
-type PlaceTPSLReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Plan type
- */
- PlanType string `json:"planType"`
- /**
- * Trigger price
- */
- TriggerPrice string `json:"triggerPrice"`
- /**
- * Is this position long or short
- */
- HoldSide string `json:"holdSide"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/plan/placetrailstopreq.go b/bitget-golang-sdk-api/pkg/model/mix/plan/placetrailstopreq.go
deleted file mode 100644
index d57875bd..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/plan/placetrailstopreq.go
+++ /dev/null
@@ -1,44 +0,0 @@
-package plan
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: modify plan request
- */
-type PlaceTrailStopReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Deposit currency
- */
- MarginCoin string `json:"marginCoin"`
- /**
- * Plan type
- */
- PlanType string `json:"planType"`
- /**
- * Trigger price
- */
- TriggerPrice string `json:"triggerPrice"`
-
- /**
- * Trigger price
- */
- TriggerType string `json:"triggerType"`
- /**
- * Is this position long or short
- */
- Side string `json:"side"`
-
- Size string `json:"size"`
-
- RangeRate string `json:"rangeRate"`
-
- PresetTakeProfitPrice string `json:"presetTakeProfitPrice"`
-
- PresetStopLossPrice string `json:"presetStopLossPrice"`
-
- ReduceOnly string `json:"reduceOnly"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/trace/closetrackorderreq.go b/bitget-golang-sdk-api/pkg/model/mix/trace/closetrackorderreq.go
deleted file mode 100644
index 2d8c0225..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/trace/closetrackorderreq.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package trace
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Dealer closing request
- */
-type CloseTrackOrderReq struct {
- /**
- * The tracking order number comes from the trackingNo of the current interface with the order
- */
- TrackingNo string `json:"trackingNo"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/trace/tracesetupsymbolreq.go b/bitget-golang-sdk-api/pkg/model/mix/trace/tracesetupsymbolreq.go
deleted file mode 100644
index 518edaf6..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/trace/tracesetupsymbolreq.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package trace
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Dealer closing request
- */
-type TraceSetUpSymbolReq struct {
- /**
- * add/del
- */
- Operation string `json:"operation"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/mix/trace/tradermodifytpslorderreq.go b/bitget-golang-sdk-api/pkg/model/mix/trace/tradermodifytpslorderreq.go
deleted file mode 100644
index b85cc0bc..00000000
--- a/bitget-golang-sdk-api/pkg/model/mix/trace/tradermodifytpslorderreq.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package trace
-
-type TraderModifyTPSLOrderReq struct {
-
- /**
- * The tracking order number comes from the trackingNo of the current interface with the order
- */
- TrackingNo string `json:"trackingNo"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-
- StopProfitPrice string `json:"stopProfitPrice"`
-
- StopLossPrice string `json:"stopLossPrice"`
-
- ClientOid string `json:"clientOid"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/account/billsreq.go b/bitget-golang-sdk-api/pkg/model/spot/account/billsreq.go
deleted file mode 100644
index 5bd8a007..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/account/billsreq.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package account
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot bill request
- */
-type BillsReq struct {
- /**
- * Currency ID
- */
- CoinId string `json:"coinId"`
- /**
- * Group Type
- */
- GroupType string `json:"groupType"`
- /**
- * Business Type
- */
- BizType string `json:"bizType"`
- /**
- * Pass in billId to query previous data
- */
- After string `json:"after"`
- /**
- * Pass in billId to check the subsequent data
- */
- Before string `json:"before"`
- /**
- * Default 100, maximum 500
- */
- Limit string `json:"limit"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/batchordersreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/batchordersreq.go
deleted file mode 100644
index 317c6706..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/batchordersreq.go
+++ /dev/null
@@ -1,44 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot batch order request
- */
-type BatchOrdersReq struct {
-
- /**
- * order list
- */
- OrderList []SpotOrdersReq `json:"orderList"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
-type SpotOrdersReq struct {
- /**
- * Order direction
- */
- Side string `json:"side"`
- /**
- * Order type
- */
- OrderType string `json:"orderType"`
- /**
- * Order Control Type
- */
- Force string `json:"force"`
- /**
- * Entrusted price, only applicable to price limit order
- */
- Price string `json:"price"`
- /**
- * quantity
- */
- Quantity string `json:"quantity"`
- /**
- * Client order ID
- */
- ClientOrderId string `json:"clientOrderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/cancelbatchordersreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/cancelbatchordersreq.go
deleted file mode 100644
index 863e6a6e..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/cancelbatchordersreq.go
+++ /dev/null
@@ -1,18 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Batch cancellation request
- */
-type CancelBatchOrdersReq struct {
-
- /**
- * Order ids
- */
- OrderIds []string `json:"orderIds"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/cancelorderreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/cancelorderreq.go
deleted file mode 100644
index 4e00aa3e..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/cancelorderreq.go
+++ /dev/null
@@ -1,17 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: cancel the order request
- */
-type CancelOrderReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Order Id
- */
- OrderId string `json:"orderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/changedepthreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/changedepthreq.go
deleted file mode 100644
index 978c1ecf..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/changedepthreq.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package order
-
-type ChangeDepthReq struct {
- SymbolId string `json:"symbolId"`
- BusinessLine string `json:"businessLine"`
- SecondBusinessLine string `json:"secondBusinessLine"`
- RequestTime string `json:"requestTime"`
- CycleId string `json:"cycleId"`
- AskTolerateValue string `json:"askTolerateValue"`
- AskNegativeTolerateValue string `json:"askNegativeTolerateValue"`
- BidTolerateValue string `json:"bidTolerateValue"`
- BidNegativeTolerateValue string `json:"bidNegativeTolerateValue"`
- Asks string `json:"asks"`
- Bids string `json:"bids"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/fillsreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/fillsreq.go
deleted file mode 100644
index f22fe8ba..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/fillsreq.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Obtain transaction details request
- */
-type FillsReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Order Id
- */
- OrderId string `json:"orderId"`
- /**
- * The orderId is passed in. The data before the orderId desc
- */
- After string `json:"after"`
- /**
- * Pass in the data after the orderId asc
- */
- Before string `json:"before"`
- /**
- * Number of returned results Default 100, maximum 500
- */
- Limit string `json:"limit"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/historyreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/historyreq.go
deleted file mode 100644
index 93631150..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/historyreq.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Get historical delegation list request
- */
-type HistoryReq struct {
- /**
- * The orderId is passed in. The data before the orderId desc
- */
- After string `json:"after"`
- /**
- * Pass in the data after the orderId asc
- */
- Before string `json:"before"`
- /**
- * Number of returned results Default 100, maximum 500
- */
- Limit string `json:"limit"`
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/openordersreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/openordersreq.go
deleted file mode 100644
index 0f669275..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/openordersreq.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Obtain orders that have not been closed or partially closed but not cancelled request
- */
-type OpenOrdersReq struct {
-
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/orderinforeq.go b/bitget-golang-sdk-api/pkg/model/spot/order/orderinforeq.go
deleted file mode 100644
index 43cea628..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/orderinforeq.go
+++ /dev/null
@@ -1,21 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Get order details request
- */
-type OrderInfoReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Order Id
- */
- OrderId string `json:"orderId"`
- /**
- * Client Order Id
- */
- ClientOrderId string `json:"clientOrderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/order/ordersreq.go b/bitget-golang-sdk-api/pkg/model/spot/order/ordersreq.go
deleted file mode 100644
index 0494ad8d..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/order/ordersreq.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package order
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: place an order request
- */
-type OrdersReq struct {
- /**
- * Currency pair
- */
- Symbol string `json:"symbol"`
- /**
- * Order direction
- */
- Side string `json:"side"`
- /**
- * Order type
- */
- OrderType string `json:"orderType"`
- /**
- * Order Control Type
- */
- Force string `json:"force"`
- /**
- * Entrusted price, only applicable to price limit order
- */
- Price string `json:"price"`
- /**
- * quantity
- */
- Quantity string `json:"quantity"`
- /**
- * Client order ID
- */
- ClientOrderId string `json:"clientOrderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/plan/spotcancelplanreq.go b/bitget-golang-sdk-api/pkg/model/spot/plan/spotcancelplanreq.go
deleted file mode 100644
index f45167af..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/plan/spotcancelplanreq.go
+++ /dev/null
@@ -1,5 +0,0 @@
-package plan
-
-type SpotCancelPlanReq struct {
- OrderId string `json:"orderId"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/plan/spotmodifyplanreq.go b/bitget-golang-sdk-api/pkg/model/spot/plan/spotmodifyplanreq.go
deleted file mode 100644
index 5e9517e5..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/plan/spotmodifyplanreq.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package plan
-
-type SpotModifyPlanReq struct {
- OrderId string `json:"orderId"`
- Size string `json:"size"`
- ExecutePrice string `json:"executePrice"`
- TriggerPrice string `json:"triggerPrice"`
- OrderType string `json:"orderType"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/plan/spotplanreq.go b/bitget-golang-sdk-api/pkg/model/spot/plan/spotplanreq.go
deleted file mode 100644
index 89a58bcf..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/plan/spotplanreq.go
+++ /dev/null
@@ -1,14 +0,0 @@
-package plan
-
-type SpotPlanReq struct {
- Symbol string `json:"symbol"`
- Size string `json:"size"`
- ExecutePrice string `json:"executePrice"`
- TriggerPrice string `json:"triggerPrice"`
- Side string `json:"side"`
- OrderType string `json:"orderType"`
- TriggerType string `json:"triggerType"`
- TimeInForceValue string `json:"timeInForceValue"`
- ClientOid string `json:"clientOid"`
- ChannelApiCode string `json:"channelApiCode"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/plan/spotqueryplanreq.go b/bitget-golang-sdk-api/pkg/model/spot/plan/spotqueryplanreq.go
deleted file mode 100644
index 3fa4bac8..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/plan/spotqueryplanreq.go
+++ /dev/null
@@ -1,10 +0,0 @@
-package plan
-
-type SpotQueryPlanReq struct {
- Symbol string `json:"symbol"`
- StartTime string `json:"startTime"`
- EndTime string `json:"endTime"`
- PageSize string `json:"pageSize"`
- LastEndId string `json:"lastEndId"`
- IsPre string `json:"isPre"`
-}
diff --git a/bitget-golang-sdk-api/pkg/model/spot/wallet/withdrawal.go b/bitget-golang-sdk-api/pkg/model/spot/wallet/withdrawal.go
deleted file mode 100644
index 752bd770..00000000
--- a/bitget-golang-sdk-api/pkg/model/spot/wallet/withdrawal.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package wallet
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot withdrawal request
- */
-type WithdrawalReq struct {
- /**
- * coin
- */
- Coin string `json:"coin"`
- /**
- * address
- */
- Address string `json:"address"`
- /**
- * chain
- */
- Chain string `json:"chain"`
- /**
- * tag
- */
- Tag string `json:"tag"`
- /**
- * amount
- */
- Amount string `json:"amount"`
- /**
- * remark
- */
- Remark string `json:"remark"`
- /**
- * clientOid
- */
- ClientOid string `json:"clientOid"`
-}
diff --git a/bitget-golang-sdk-api/test/apiclient_test.go b/bitget-golang-sdk-api/test/apiclient_test.go
new file mode 100644
index 00000000..ea3a601d
--- /dev/null
+++ b/bitget-golang-sdk-api/test/apiclient_test.go
@@ -0,0 +1,86 @@
+package test
+
+import (
+ "bitget/internal"
+ "bitget/pkg/client"
+ "bitget/pkg/client/v1"
+ "fmt"
+ "testing"
+)
+
+func Test_PlaceOrder(t *testing.T) {
+ client := new(v1.MixOrderClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.PlaceOrder(params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_post(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "BTCUSDT_UMCBL"
+ params["marginCoin"] = "USDT"
+ params["side"] = "open_long"
+ params["orderType"] = "limit"
+ params["price"] = "27012"
+ params["size"] = "0.01"
+ params["timInForceValue"] = "normal"
+
+ resp, err := client.Post("/api/mix/v1/order/placeOrder", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["productType"] = "umcbl"
+
+ resp, err := client.Get("/api/mix/v1/account/accounts", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get_with_params(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+
+ resp, err := client.Get("/api/spot/v1/account/getInfo", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
+
+func Test_get_with_encode_params(t *testing.T) {
+ client := new(client.BitgetApiClient).Init()
+
+ params := internal.NewParams()
+ params["symbol"] = "$AIUSDT"
+ params["businessType"] = "spot"
+
+ resp, err := client.Get("/api/v2/common/trade-rate", params)
+ if err != nil {
+ println(err.Error())
+ }
+ fmt.Println(resp)
+}
diff --git a/bitget-golang-sdk-api/test/bitgetwsclient_test.go b/bitget-golang-sdk-api/test/bitgetwsclient_test.go
new file mode 100644
index 00000000..ebb2b03c
--- /dev/null
+++ b/bitget-golang-sdk-api/test/bitgetwsclient_test.go
@@ -0,0 +1,39 @@
+package test
+
+import (
+ "bitget/internal/model"
+ "bitget/pkg/client/ws"
+ "fmt"
+ "testing"
+)
+
+func TestBitgetWsClient_New(t *testing.T) {
+
+ client := new(ws.BitgetWsClient).Init(true, func(message string) {
+ fmt.Println("default error:" + message)
+ }, func(message string) {
+ fmt.Println("default error:" + message)
+ })
+
+ var channelsDef []model.SubscribeReq
+ subReqDef1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channelsDef = append(channelsDef, subReqDef1)
+ client.SubscribeDef(channelsDef)
+
+ var channels []model.SubscribeReq
+ subReq1 := model.SubscribeReq{
+ InstType: "UMCBL",
+ Channel: "account",
+ InstId: "default",
+ }
+ channels = append(channels, subReq1)
+ client.Subscribe(channels, func(message string) {
+ fmt.Println("appoint:" + message)
+ })
+ client.Connect()
+
+}
diff --git a/bitget-java-sdk-api/README.md b/bitget-java-sdk-api/README.md
index dd53dfc9..c2b57a1e 100755
--- a/bitget-java-sdk-api/README.md
+++ b/bitget-java-sdk-api/README.md
@@ -1,56 +1,154 @@
# bitget-java-sdk-api
A Java sdk for bitget exchange API
-# api sdk 使用说明
-1. 请自行下载源代码,并在JDK8环境下运行以下命令:
-```shell
-#jdk8
-cd v3-bitget-api-sdk/bitget-java-sdk-api
-mvn clean install
-```
-将打包后的代码导入项目中使用
-
+- Supported APIs:
+ - /api/spot/v1/*
+ - /api/mix/v1/*
+ - Supports custom expansion of any URL
+# Installation
+- git clone https://github.com/BitgetLimited/v3-bitget-api-sdk.git
+- mvn clean
+- mvn install
+- add sdk dependency to your project
+```xml
+
+ com.bitget.openapi
+ bitget-java-sdk-api
+ ${you install version}
+
+```
-2. 创建 BitgetRestClient
+# SDK Run Example
+Before running the examples, set up your apiKey、 secretKey and passphrase.
+This configuration file is only used for examples.
+## Add Config
```java
+@Configuration
+@EnableAsync
+public class SdkConfig {
- /**
- * 用户 apiKey,需用户填写,在 https://www.bitget.com 中创建apikey
- */
- String apiKey = "";
- /**
- * 用户 secretKey,需用户填写,在 https://www.bitget.com/user api 中获取
- */
- String secretKey = "";
- /**
- * 口令,需用户填写,在 https://www.bitget.com/user api 中获取(创建时由用户设定)
- */
- String passphrase = "";
- /**
- * open api 根路径
- */
- String baseUrl = "http://127.0.0.1:8081/api/swap/v3/";
+ private final String apiKey = "your apiKey";
+ private final String secretKey = "your secretKey";
+ private final String passphrase = "your passphrase";
+ private final String baseUrl = "https://api.bitget.com";
+ @Bean
+ public BitgetRestClient bitgetRestClient() throws Exception {
ClientParameter parameter = ClientParameter.builder()
.apiKey(apiKey)
- .secretKey(secretKey)
+ .secretKey(secretKey) // 如果是RSA类型则设置为RSA私钥
.passphrase(passphrase)
.baseUrl(baseUrl)
- .build();
+ //.signType(SignTypeEnum.RSA) // 如果你的apikey是RSA类型则主动设置签名类型为RSA
+ .locale(SupportedLocaleEnum.ZH_CN.getName()).build();
+ return BitgetRestClient.builder().configuration(parameter).build();
+ }
+}
+```
- bitgetRestClient bitgetClient = bitgetRestClient.builder()
- .configuration(parameter)
- .build();
+## Add dependencies
+```java
+@Resource
+private BitgetRestClient bitgetRestClient;
+```
+## Demo 1: place order
+```java
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("marginCoin", "USDT");
+paramMap.put("side", "open_long");
+paramMap.put("orderType", "limit");
+paramMap.put("price", "27012.1");
+paramMap.put("size", "0.01");
+paramMap.put("timInForceValue", "normal");
+ResponseResult result = bitgetRestClient.bitget().v1().mixOrder().placeOrder(paramMap);
+System.out.println(JSON.toJSONString(result));
```
-3. 接口调用
-- 创建 bitgetClient 后便可以调用服务接口,以获取币对信息为例
+
+## Demo 2: send post request directly If the interface is not defined in the sdk
+```java
+Map paramMap = Maps.newHashMap();
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("marginCoin", "USDT");
+paramMap.put("side", "open_long");
+paramMap.put("orderType", "limit");
+paramMap.put("price", "27012.1");
+paramMap.put("size", "0.01");
+paramMap.put("timInForceValue", "normal");
+ResponseResult result = bitgetRestClient.bitget().v1().request().post("/api/mix/v1/order/placeOrder", paramMap);
+System.out.println(JSON.toJSONString(result));
+```
+
+## Demo 3: send get request directly If the interface is not defined in the sdk
```java
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("startTime", "1695632659703");
+paramMap.put("endTime", "1695635659703");
+ResponseResult result = bitgetRestClient.bitget().v1().request().get("/api/mix/v1/order/history", paramMap);
+System.out.println(JSON.toJSONString(result));
+```
+
+## Other things to note
+
+## Base URL
+It's recommended to pass in the `baseUrl` parameter.
+If not provided, the default baseUrl is `https://api.bitget.com`
-ServerTime serverTime = this.bitgetClient.contract().market().getTime()
+## Optional parameters
+
+All parameters are read from a `HashMap` object where `String` is the name of the parameter and `String` is the value of the parameter.
+The parameters should follow their exact naming as in the API documentation.
+```java
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol","BTCUSDT_UMCBL");
+paramMap.put("marginCoin","USDT");
+paramMap.put("side","open_long");
+paramMap.put("orderType","limit");
+paramMap.put("price","27012.1");
+paramMap.put("size","0.01");
+paramMap.put("timInForceValue","normal");
```
-- 其他接口调用参照测试用例,另外由于bitget-java-sdk-api使用了lombok,请在编译器中安装lombok插件
+
+
+# Websocket Run Example
+
+## Demo 1:
+```java
+public class BitgetWsClientTest {
+ public static final String PUSH_URL = "wss://ws.bitget.com/spot/v1/stream"; // or wss://ws.bitget.com/mix/v1/stream
+ public static final String API_KEY = "";
+ public static final String SECRET_KEY = "";
+ public static final String PASS_PHRASE = "";
+
+ public static void main(String[] args) {
+ BitgetWsClient client = BitgetWsHandle.builder()
+ .pushUrl(PUSH_URL)
+ .apiKey(API_KEY)
+ .secretKey(SECRET_KEY) // 如果是RSA类型则设置RSA私钥
+ .passPhrase(PASS_PHRASE)
+ //.signType(SignTypeEnum.RSA) // 如果你的apikey是RSA类型则主动设置签名类型为RSA
+ .isLogin(true)
+ //默认监听处理,如订阅时指定监听,默认不再接收该channel订阅信息
+ .listener(response -> {
+ JSONObject json = JSONObject.parseObject(response);
+ System.out.println("def:" + json);
+ //失败消息的逻辑处理,如:订阅失败
+ }).errorListener(response -> {
+ JSONObject json = JSONObject.parseObject(response);
+ System.out.println("error:" + json);
+ }).build();
+
+ List list = new ArrayList() {{
+ add(SubscribeReq.builder().instType("SP").channel("candle1W").instId("BTCUSDT").build());
+ }};
+ client.subscribe(list);
+ }
+}
+```
\ No newline at end of file
diff --git a/bitget-java-sdk-api/README_EN.md b/bitget-java-sdk-api/README_EN.md
index 0563645c..fa5e2142 100755
--- a/bitget-java-sdk-api/README_EN.md
+++ b/bitget-java-sdk-api/README_EN.md
@@ -1,73 +1,152 @@
# bitget-java-sdk-api
-
A Java sdk for bitget exchange API
-
-中文
-
-
-## api sdk Instructions
+- Supported APIs:
+ - /api/spot/v1/*
+ - /api/mix/v1/*
+ - Supports custom expansion of any URL
+
+# Installation
+- git clone https://github.com/BitgetLimited/v3-bitget-api-sdk.git
+- mvn clean
+- mvn install
+- add sdk dependency to your project
+```xml
+
+ com.bitget.openapi
+ bitget-java-sdk-api
+ ${you install version}
+
+```
-1. Download the java project, then run below command with JDK8
+# SDK Run Example
-```shell
-#jdk8
-cd v3-bitget-api-sdk/bitget-java-sdk-api
-mvn clean install
+Before running the examples, set up your apiKey、 secretKey and passphrase.
+This configuration file is only used for examples.
+## Add Config
+```java
+@Configuration
+@EnableAsync
+public class SdkConfig {
+
+ private final String apiKey = "your apiKey";
+ private final String secretKey = "your secretKey";
+ private final String passphrase = "your passphrase";
+ private final String baseUrl = "https://api.bitget.com";
+
+ @Bean
+ public BitgetRestClient bitgetRestClient() throws Exception {
+ ClientParameter parameter = ClientParameter.builder()
+ .apiKey(apiKey)
+ .secretKey(secretKey)
+ .passphrase(passphrase)
+ .baseUrl(baseUrl)
+ .locale(SupportedLocaleEnum.ZH_CN.getName()).build();
+ return BitgetRestClient.builder().configuration(parameter).build();
+ }
+}
```
-Import the output jar into your project
-
+## Add dependencies
+```java
+@Resource
+private BitgetRestClient bitgetRestClient;
+```
+## Demo 1: place order
+```java
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("marginCoin", "USDT");
+paramMap.put("side", "open_long");
+paramMap.put("orderType", "limit");
+paramMap.put("price", "27012.1");
+paramMap.put("size", "0.01");
+paramMap.put("timInForceValue", "normal");
+ResponseResult result = bitgetRestClient.bitget().v1().mixOrder().placeOrder(paramMap);
+System.out.println(JSON.toJSONString(result));
+```
-2. Create BitgetRestClient
+## Demo 2: send post request directly If the interface is not defined in the sdk
+```java
+Map paramMap = Maps.newHashMap();
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("marginCoin", "USDT");
+paramMap.put("side", "open_long");
+paramMap.put("orderType", "limit");
+paramMap.put("price", "27012.1");
+paramMap.put("size", "0.01");
+paramMap.put("timInForceValue", "normal");
+ResponseResult result = bitgetRestClient.bitget().v1().request().post("/api/mix/v1/order/placeOrder", paramMap);
+System.out.println(JSON.toJSONString(result));
+```
+## Demo 3: send get request directly If the interface is not defined in the sdk
```java
- /**
- * User apiKey, which needs to be filled in by the user,
- * create apikey in https://www.bitget.com
- */
- String apiKey = "";
-
- /**
- * User secretKey, which needs to be filled in by the user,
- * and can be obtained from https://www.bitget.com/user api part
- */
- String secretKey = "";
-
- /**
- * Passwphrase, which needs to be filled in by the user, obtained from
- * https://www.bitget.com/user api part(set by the user when created)
- */
- String passphrase = "";
-
- /**
- * open api Root path
- */
- String baseUrl = "http://127.0.0.1:8081/api/swap/v3/";
-
- ClientParameter parameter = ClientParameter.builder()
- .apiKey(apiKey)
- .secretKey(secretKey)
- .passphrase(passphrase)
- .baseUrl(baseUrl)
- .build();
-
- bitgetRestClient bitgetClient = bitgetRestClient.builder()
- .configuration(parameter)
- .build();
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol", "BTCUSDT_UMCBL");
+paramMap.put("startTime", "1695632659703");
+paramMap.put("endTime", "1695635659703");
+ResponseResult result = bitgetRestClient.bitget().v1().request().get("/api/mix/v1/order/history", paramMap);
+System.out.println(JSON.toJSONString(result));
```
+## Other things to note
+## Base URL
+It's recommended to pass in the `baseUrl` parameter.
+If not provided, the default baseUrl is `https://api.bitget.com`
-3. Interface call
-- After creating bitgetClient, you can call the service interface to obtain trading pair information as an example
+## Optional parameters
+All parameters are read from a `HashMap` object where `String` is the name of the parameter and `String` is the value of the parameter.
+The parameters should follow their exact naming as in the API documentation.
```java
-ServerTime serverTime = this.bitgetClient.contract().market().getTime()
+Map paramMap = Maps.newHashMap();
+paramMap.put("symbol","BTCUSDT_UMCBL");
+paramMap.put("marginCoin","USDT");
+paramMap.put("side","open_long");
+paramMap.put("orderType","limit");
+paramMap.put("price","27012.1");
+paramMap.put("size","0.01");
+paramMap.put("timInForceValue","normal");
```
-- Refer to the test case for other interface calls. In addition, because bitget-java-sdk-api uses lombok, please install the lombok plug-in in the compiler
-
+
+# Websocket Run Example
+
+## Demo 1:
+```java
+public class BitgetWsClientTest {
+ public static final String PUSH_URL = "wss://ws.bitget.com/spot/v1/stream"; // or wss://ws.bitget.com/mix/v1/stream
+ public static final String API_KEY = "";
+ public static final String SECRET_KEY = "";
+ public static final String PASS_PHRASE = "";
+
+ public static void main(String[] args) {
+ BitgetWsClient client = BitgetWsHandle.builder()
+ .pushUrl(PUSH_URL)
+ .apiKey(API_KEY)
+ .secretKey(SECRET_KEY)
+ .passPhrase(PASS_PHRASE)
+ .isLogin(true)
+ //默认监听处理,如订阅时指定监听,默认不再接收该channel订阅信息
+ .listener(response -> {
+ JSONObject json = JSONObject.parseObject(response);
+ System.out.println("def:" + json);
+ //失败消息的逻辑处理,如:订阅失败
+ }).errorListener(response -> {
+ JSONObject json = JSONObject.parseObject(response);
+ System.out.println("error:" + json);
+ }).build();
+
+ List list = new ArrayList() {{
+ add(SubscribeReq.builder().instType("SP").channel("candle1W").instId("BTCUSDT").build());
+ }};
+ client.subscribe(list);
+ }
+}
+```
\ No newline at end of file
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BitgetApiFacade.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BitgetApiFacade.java
new file mode 100644
index 00000000..a239032d
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BitgetApiFacade.java
@@ -0,0 +1,167 @@
+package com.bitget.openapi;
+
+import com.bitget.openapi.common.client.ApiClient;
+import com.bitget.openapi.service.BitgetService;
+import com.bitget.openapi.service.v1.mix.MixAccountService;
+import com.bitget.openapi.service.v1.mix.MixMarketService;
+import com.bitget.openapi.service.v1.mix.MixOrderService;
+import com.bitget.openapi.service.v1.spot.SpotAccountService;
+import com.bitget.openapi.service.v1.spot.SpotMarketService;
+import com.bitget.openapi.service.v1.spot.SpotOrderService;
+import com.bitget.openapi.service.v1.spot.SpotWalletService;
+
+public class BitgetApiFacade {
+
+ private final ApiClient apiClient;
+
+ public BitgetApiFacade(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * REST API Endpoint
+ */
+ public BitgetApiFacade.BgEndpoint v1() {
+ return new BitgetApiFacade.BgEndpoint(apiClient);
+ }
+
+ public BitgetApiFacade.BgEndpointV2 v2() {
+ return new BitgetApiFacade.BgEndpointV2(apiClient);
+ }
+
+ public static class BgEndpoint {
+ private final ApiClient apiClient;
+
+ BgEndpoint(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ public T createRetrofit(Class clazz) {
+ return apiClient.create(clazz);
+ }
+
+ /**
+ * bitget service
+ */
+ public BitgetService request() {
+ return new BitgetService(apiClient);
+ }
+
+ /**
+ * market service
+ */
+ public MixMarketService mixMarket() {
+ return new MixMarketService(apiClient);
+ }
+
+ /**
+ * account service
+ */
+ public MixAccountService mixAccount() {
+ return new MixAccountService(apiClient);
+ }
+
+ /**
+ * order service
+ */
+ public MixOrderService mixOrder() {
+ return new MixOrderService(apiClient);
+ }
+
+ /**
+ * account service
+ */
+ public SpotAccountService spotAccount() {
+ return new SpotAccountService(apiClient);
+ }
+
+ /**
+ * market service
+ */
+ public SpotMarketService spotMarket() {
+ return new SpotMarketService(apiClient);
+ }
+
+ /**
+ * order service
+ */
+ public SpotOrderService spotOrder() {
+ return new SpotOrderService(apiClient);
+ }
+
+ /**
+ * wallet service
+ */
+ public SpotWalletService spotWallet() {
+ return new SpotWalletService(apiClient);
+ }
+ }
+
+ public static class BgEndpointV2 {
+ private final ApiClient apiClient;
+
+ BgEndpointV2(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ public T createRetrofit(Class clazz) {
+ return apiClient.create(clazz);
+ }
+
+ /**
+ * bitget service
+ */
+ public BitgetService request() {
+ return new BitgetService(apiClient);
+ }
+
+ /**
+ * market service
+ */
+ public com.bitget.openapi.service.v2.mix.MixMarketService mixMarket() {
+ return new com.bitget.openapi.service.v2.mix.MixMarketService(apiClient);
+ }
+
+ /**
+ * account service
+ */
+ public com.bitget.openapi.service.v2.mix.MixAccountService mixAccount() {
+ return new com.bitget.openapi.service.v2.mix.MixAccountService(apiClient);
+ }
+
+ /**
+ * order service
+ */
+ public com.bitget.openapi.service.v2.mix.MixOrderService mixOrder() {
+ return new com.bitget.openapi.service.v2.mix.MixOrderService(apiClient);
+ }
+
+ /**
+ * account service
+ */
+ public com.bitget.openapi.service.v2.spot.SpotAccountService spotAccount() {
+ return new com.bitget.openapi.service.v2.spot.SpotAccountService(apiClient);
+ }
+
+ /**
+ * market service
+ */
+ public com.bitget.openapi.service.v2.spot.SpotMarketService spotMarket() {
+ return new com.bitget.openapi.service.v2.spot.SpotMarketService(apiClient);
+ }
+
+ /**
+ * order service
+ */
+ public com.bitget.openapi.service.v2.spot.SpotOrderService spotOrder() {
+ return new com.bitget.openapi.service.v2.spot.SpotOrderService(apiClient);
+ }
+
+ /**
+ * wallet service
+ */
+ public com.bitget.openapi.service.v2.spot.SpotWalletService spotWallet() {
+ return new com.bitget.openapi.service.v2.spot.SpotWalletService(apiClient);
+ }
+ }
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BrokerApiFacade.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BrokerApiFacade.java
deleted file mode 100644
index 65537222..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/BrokerApiFacade.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package com.bitget.openapi;
-
-import com.bitget.openapi.common.client.ApiClient;
-import com.bitget.openapi.service.broker.BrokerAccountService;
-import com.bitget.openapi.service.broker.BrokerManageService;
-import com.bitget.openapi.service.broker.impl.BrokerAccountServiceImpl;
-import com.bitget.openapi.service.broker.impl.BrokerManageServiceImpl;
-import com.bitget.openapi.service.spot.SpotAccountService;
-import com.bitget.openapi.service.spot.impl.SpotAccountServiceImpl;
-
-public class BrokerApiFacade {
-
-
- private final ApiClient apiClient;
-
- public BrokerApiFacade(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * REST API Endpoint
- *
- * @return SpotEndpoint
- */
- public BrokerApiFacade.BrokerEndpoint bitget() {
- return new BrokerApiFacade.BrokerEndpoint(apiClient);
- }
-
-
- public static class BrokerEndpoint {
- private final ApiClient apiClient;
-
- BrokerEndpoint(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * sub account service
- */
- public BrokerAccountService account() {
- return new BrokerAccountServiceImpl(apiClient);
- }
-
- /**
- * sub api manage service
- */
- public BrokerManageService manage() {
- return new BrokerManageServiceImpl(apiClient);
- }
- }
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/MixApiFacade.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/MixApiFacade.java
deleted file mode 100644
index 12de0fb2..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/MixApiFacade.java
+++ /dev/null
@@ -1,78 +0,0 @@
-package com.bitget.openapi;
-
-import com.bitget.openapi.common.client.ApiClient;
-import com.bitget.openapi.service.mix.*;
-import com.bitget.openapi.service.mix.impl.*;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: mix api facade
- */
-public class MixApiFacade {
-
- private final ApiClient apiClient;
-
- public MixApiFacade(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * REST API Endpoint
- *
- * @return SpotEndpoint
- */
- public MixApiFacade.MixEndpoint bitget() {
- return new MixApiFacade.MixEndpoint(apiClient);
- }
-
- public static class MixEndpoint {
- private final ApiClient apiClient;
-
- MixEndpoint(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * market service
- * @return
- */
- public MixMarketService market() {
- return new MixMarketServiceImpl(apiClient);
- }
- /**
- * account service
- */
- public MixAccountService account() {
- return new MixAccountServiceImpl(apiClient);
- }
- /**
- * position service
- * @return
- */
- public MixPositionService position() {
- return new MixPositionServiceImpl(apiClient);
- }
- /**
- * order service
- * @return
- */
- public MixOrderService order() {
- return new MixOrderServiceImpl(apiClient);
- }
- /**
- * plan service
- * @return
- */
- public MixPlanService plan(){ return new MixPlanServiceImpl(apiClient); };
- /**
- * trace service
- * @return
- */
- public MixTraceService trace(){ return new MixTraceServiceImpl(apiClient); };
-
-
-
-
- }
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/SpotApiFacade.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/SpotApiFacade.java
deleted file mode 100644
index 3715457f..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/SpotApiFacade.java
+++ /dev/null
@@ -1,82 +0,0 @@
-package com.bitget.openapi;
-
-import com.bitget.openapi.api.spot.SpotWalletApi;
-import com.bitget.openapi.common.client.ApiClient;
-import com.bitget.openapi.service.spot.*;
-import com.bitget.openapi.service.spot.impl.*;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot api facade
- */
-public class SpotApiFacade {
-
- private final ApiClient apiClient;
-
- public SpotApiFacade(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * REST API Endpoint
- *
- * @return SpotEndpoint
- */
- public SpotApiFacade.SpotEndpoint bitget() {
- return new SpotApiFacade.SpotEndpoint(apiClient);
- }
-
- public static class SpotEndpoint {
- private final ApiClient apiClient;
-
- SpotEndpoint(ApiClient apiClient) {
- this.apiClient = apiClient;
- }
-
- /**
- * account service
- */
- public SpotAccountService account() {
- return new SpotAccountServiceImpl(apiClient);
- }
-
- /**
- * common service
- */
- public SpotPublicService common() {
- return new SpotPublicServiceImpl(apiClient);
- }
-
- /**
- * market service
- */
- public SpotMarketService market() {
- return new SpotMarketServiceImpl(apiClient);
- }
-
- /**
- * order service
- */
- public SpotOrderService order() {
- return new SpotOrderServiceImpl(apiClient);
- }
-
- /**
- * order service
- */
- public SpotWalletService wallet() {
- return new SpotWalletServiceImpl(apiClient);
- }
-
- /**
- * plan service
- */
- public SpotPlanService plan() {
- return new SpotPlanServiceImpl(apiClient);
- }
-
-
-
- }
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/BitgetApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/BitgetApi.java
new file mode 100644
index 00000000..e9f5384c
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/BitgetApi.java
@@ -0,0 +1,16 @@
+package com.bitget.openapi.api;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.*;
+
+import java.util.Map;
+
+public interface BitgetApi {
+
+ @GET
+ Call sendGetRequest(@Url String url, @QueryMap Map paramMap);
+
+ @POST
+ Call sendPostRequest(@Url String url, @Body Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerAccountApi.java
deleted file mode 100644
index 9cb563fb..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerAccountApi.java
+++ /dev/null
@@ -1,102 +0,0 @@
-package com.bitget.openapi.api.broker;
-
-import com.bitget.openapi.dto.request.broker.*;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-public interface BrokerAccountApi {
-
- /**
- * get broker info
- * @return ResponseResult
- */
- @GET("/api/broker/v1/account/info")
- Call info();
-
- /**
- * sub create
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-create")
- Call subCreate(@Body BrokerSubCreateReq req);
-
-
- /**
- * get sub info list
- * @return ResponseResult
- */
- @GET("/api/broker/v1/account/sub-list")
- Call subList(@Query("pageSize")int pageSize,
- @Query("lastEndId") String lastEndId,
- @Query("status")String status);
-
-
- /**
- * sub modify
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-modify")
- Call subModify(@Body BrokerSubModifyReq req);
-
-
- /**
- * sub bind email
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-modify-email")
- Call subModifyEmail(@Body BrokerSubModifyEmailReq req);
-
-
- /**
- * get sub email
- * @return ResponseResult
- */
- @GET("/api/broker/v1/account/sub-email")
- Call subEmail(@Query("subUid") String subUid);
-
- /**
- * get sub spot account list
- * @return ResponseResult
- */
- @GET("/api/broker/v1/account/sub-spot-assets")
- Call subSpotAssets(@Query("subUid") String subUid);
-
-
- /**
- * get sub future account list
- * @return ResponseResult
- */
- @GET("/api/broker/v1/account/sub-future-assets")
- Call subFutureAssets(@Query("subUid") String subUid,
- @Query("productType") String productType);
-
-
- /**
- * get sub deposit address
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-address")
- Call subDepositAddress(@Body BrokerSubAddressReq req);
-
- /**
- * sub withdraw
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-withdrawal")
- Call subWithdraw(@Body BrokerSubWithdrawReq req);
-
-
- /**
- * sub config auto transfer
- * @return ResponseResult
- */
- @POST("/api/broker/v1/account/sub-auto-transfer")
- Call subAutoTransfer(@Body BrokerSubTransferReq req);
-
-
-
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerManageApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerManageApi.java
deleted file mode 100644
index 99e5c070..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/broker/BrokerManageApi.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package com.bitget.openapi.api.broker;
-
-import com.bitget.openapi.dto.request.broker.BrokerSubApiReq;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-
-public interface BrokerManageApi {
-
- /**
- * sub create api
- * @return ResponseResult
- */
- @POST("/api/broker/v1/manage/sub-api-create")
- Call subApiCreate(@Body BrokerSubApiReq req);
-
- /**
- * sub api list
- * @return ResponseResult
- */
- @GET("/api/broker/v1/manage/sub-api-list")
- Call subApiList(@Query("subUid")String subUid);
-
-
- /**
- * sub modify api
- * @return ResponseResult
- */
- @POST("/api/broker/v1/manage/sub-api-modify")
- Call subApiModify(@Body BrokerSubApiReq req);
-
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixAccountApi.java
deleted file mode 100644
index 29a65b01..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixAccountApi.java
+++ /dev/null
@@ -1,101 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-import com.bitget.openapi.dto.request.mix.*;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Contract account api
- */
-public interface MixAccountApi {
-
- /**
- * Get account information
- * @param symbol
- * @param marginCoin
- * @return ResponseResult
- */
- @GET("/api/mix/v1/account/account")
- Call account(@Query("symbol") String symbol,
- @Query("marginCoin") String marginCoin);
- /**
- * Get account information list
- * @param productType
- * @return ResponseResult
- */
- @GET("/api/mix/v1/account/accounts")
- Call accounts(@Query("productType") String productType);
-
- /**
- * set lever
- * @param mixChangeLeverageReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/account/setLeverage")
- Call leverage(@Body MixChangeLeverageReq mixChangeLeverageReq);
-
- /**
- * Adjustment margin
- * @param mixAdjustMarginFixReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/account/setMargin")
- Call margin(@Body MixAdjustMarginFixReq mixAdjustMarginFixReq);
-
- /**
- * Adjust margin mode
- * @param adjustMarginModeReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/account/setMarginMode")
- Call marginMode(@Body AdjustMarginModeReq adjustMarginModeReq);
-
- /**
- * Adjust hold mode
- * @param adjustHoldModeReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/account/setPositionMode")
- Call positionMode(@Body AdjustHoldModeReq adjustHoldModeReq);
-
- /**
- * Get the openable quantity
- * @param mixOpenCountReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/account/open-count")
- Call openCount(@Body MixOpenCountReq mixOpenCountReq);
-
-
- /**
- * Get Account Bill
- * @return ResponseResult
- */
- @GET("/api/mix/v1/account/accountBill")
- Call accountBill(@Query("symbol") String symbol,
- @Query("marginCoin") String marginCoin,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageSize") int pageSize,
- @Query("lastEndId") String lastEndId,
- @Query("next") boolean next);
-
-
- /**
- * Get Account Bill
- * @return ResponseResult
- */
- @GET("/api/mix/v1/account/accountBusinessBill")
- Call accountBusinessBill(@Query("productType") String productType,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageSize") int pageSize,
- @Query("lastEndId") String lastEndId,
- @Query("next") boolean next);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixMarketApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixMarketApi.java
deleted file mode 100644
index ebc64cbb..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixMarketApi.java
+++ /dev/null
@@ -1,139 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.GET;
-import retrofit2.http.Query;
-import java.util.List;
-
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Contract quotation api
- */
-public interface MixMarketApi {
-
- /**
- * Contract information
- * @param productType
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/contracts")
- Call contracts(@Query("productType") String productType);
-
- /**
- * Deep market
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/depth")
- Call depth(@Query("symbol") String symbol,
- @Query("limit") int limit);
-
- /**
- * Deep market
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/ticker")
- Call ticker(@Query("symbol") String symbol);
-
- /**
- * Acquisition of single ticker market
- * @param productType
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/tickers")
- Call tickers(@Query("productType") String productType);
-
- /**
- * Obtain transaction details
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/fills")
- Call fills(@Query("symbol") String symbol,
- @Query("limit") int limit);
-
- /**
- * Obtain K line data
- * @param symbol
- * @param granularity (Category of k line)
- * @param startTime
- * @param endTime
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/candles")
- Call> candles(@Query("symbol") String symbol,
- @Query("granularity") String granularity,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime);
-
- /**
- * Get currency index
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/index")
- Call index(@Query("symbol") String symbol);
-
- /**
- * Get the next settlement time of the contract
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/funding-time")
- Call fundingTime(@Query("symbol") String symbol);
-
- /**
- * Get historical fund rate
- * @param symbol
- * @param pageSize
- * @param pageNo
- * @param nextPage
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/history-fundRate")
- Call historyFundRate(@Query("symbol") String symbol,
- @Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo,
- @Query("nextPage") boolean nextPage);
-
- /**
- * Get the current fund rate
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/current-fundRate")
- Call currentFundRate(@Query("symbol") String symbol);
-
- /**
- * Obtain the total position of the platform
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/open-interest")
- Call openInterest(@Query("symbol") String symbol);
-
- /**
- * Get contract tag price
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/mark-price")
- Call markPrice(@Query("symbol") String symbol);
-
- /**
- * Get symbol leverage
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/market/symbol-leverage")
- Call symbolLeverage(@Query("symbol") String symbol);
-
-
-}
-
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixOrderApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixOrderApi.java
deleted file mode 100644
index 3acb48ab..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixOrderApi.java
+++ /dev/null
@@ -1,144 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-
-import com.bitget.openapi.dto.request.mix.MixCancelBatchOrdersReq;
-import com.bitget.openapi.dto.request.mix.MixCancelOrderReq;
-import com.bitget.openapi.dto.request.mix.MixPlaceOrderReq;
-import com.bitget.openapi.dto.request.mix.PlaceBatchOrderReq;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Contract order api
- */
-public interface MixOrderApi {
-
- /**
- * place an order
- * @param mixPlaceOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/order/placeOrder")
- Call placeOrder(@Body MixPlaceOrderReq mixPlaceOrderReq);
-
- /**
- * place an order
- * @param mixPlaceOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/order/proportionOrder")
- Call proportionOrder(@Body MixPlaceOrderReq mixPlaceOrderReq);
-
- /**
- * Place orders in batches
- * @param placeBatchOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/order/batch-orders")
- Call batchOrders(@Body PlaceBatchOrderReq placeBatchOrderReq);
-
- /**
- * cancel the order
- * @param mixCancelOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/order/cancel-order")
- Call cancelOrder(@Body MixCancelOrderReq mixCancelOrderReq);
-
- /**
- * Batch cancellation
- * @param mixCancelBatchOrdersReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/order/cancel-batch-orders")
- Call cancelBatchOrder(@Body MixCancelBatchOrdersReq mixCancelBatchOrdersReq);
-
- /**
- * Get Historical Delegation
- * @param symbol
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param lastEndId
- * @param isPre
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/history")
- Call history(@Query("symbol")String symbol,
- @Query("startTime")String startTime,
- @Query("endTime")String endTime,
- @Query("pageSize") int pageSize,
- @Query("lastEndId")String lastEndId,
- @Query("isPre") boolean isPre);
-
- /**
- * Get all Historical Delegation
- * @param productType
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param lastEndId
- * @param isPre
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/historyProductType")
- Call historyProductType(@Query("productType")String productType,
- @Query("startTime")String startTime,
- @Query("endTime")String endTime,
- @Query("pageSize") int pageSize,
- @Query("lastEndId")String lastEndId,
- @Query("isPre") boolean isPre);
-
- /**
- * Get the current delegate
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/current")
- Call current(@Query("symbol")String symbol);
-
- /**
- * Get the all current delegate
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/marginCoinCurrent")
- Call marginCoinCurrent(@Query("productType")String productType,
- @Query("symbol")String symbol);
-
- /**
- * Get order details
- * @param symbol
- * @param orderId
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/detail")
- Call detail(@Query("symbol")String symbol,
- @Query("orderId")String orderId);
-
- /**
- * Query transaction details
- * @param symbol
- * @param orderId
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/fills")
- Call fills(@Query("symbol")String symbol,
- @Query("orderId")String orderId);
-
- /**
- * Query productType transaction details
- * @return ResponseResult
- */
- @GET("/api/mix/v1/order/allFills")
- Call allFills(@Query("productType")String productType,
- @Query("startTime")String startTime,
- @Query("endTime")String endTime,
- @Query("lastEndId")String lastEndId);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPlanApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPlanApi.java
deleted file mode 100644
index bd3f1af9..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPlanApi.java
+++ /dev/null
@@ -1,118 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-import com.bitget.openapi.dto.request.mix.*;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Contract plan api
- */
-public interface MixPlanApi {
-
- /**
- * Plan Entrusted Order
- * @param mixPlanOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/placePlan")
- Call placePlan(@Body MixPlanOrderReq mixPlanOrderReq);
-
- /**
- * Modify Plan Delegation
- * @param mixModifyPlanReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/modifyPlan")
- Call modifyPlan(@Body MixModifyPlanReq mixModifyPlanReq);
-
- /**
- * Modify the preset profit and loss stop of plan entrustment
- * @param mixModifyPresetReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/modifyPlanPreset")
- Call modifyPlanPreset(@Body MixModifyPresetReq mixModifyPresetReq);
-
- /**
- * Modify profit and loss stop
- * @param mixModifyTPSLReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/modifyTPSLPlan")
- Call modifyTPSLPlan(@Body MixModifyTPSLReq mixModifyTPSLReq);
-
- /**
- * Stop profit and stop loss Order
- * @param mixTPSLOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/placeTPSL")
- Call placeTPSL(@Body MixTPSLOrderReq mixTPSLOrderReq);
-
- /**
- * trail order
- * @param mixTrailOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/placeTrailStop")
- Call placeTrailStop(@Body MixTrailOrderReq mixTrailOrderReq);
-
-
- /**
- * position tpsl order
- * @param mixTPSLPositionsReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/placePositionsTPSL")
- Call placePositionsTPSL(@Body MixTPSLPositionsReq mixTPSLPositionsReq);
-
- /**
- * Planned entrustment (profit and loss stop) cancellation
- * @param mixCancelPlanReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/cancelPlan")
- Call cancelPlan(@Body MixCancelPlanReq mixCancelPlanReq);
-
- /**
- * cancel all trigger order
- * @param mixCancelAllPlanReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/plan/cancelAllPlan")
- Call cancelAllPlan(@Body MixCancelAllPlanReq mixCancelAllPlanReq);
-
- /**
- * Get the current plan commission (profit stop and loss stop) list
- * @param symbol
- * @param isPlan
- * @return ResponseResult
- */
- @GET("/api/mix/v1/plan/currentPlan")
- Call currentPlan(@Query("symbol") String symbol,
- @Query("isPlan") String isPlan);
-
- /**
- * Obtain the list of historical plan commissions (profit and loss stop)
- * @param symbol
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param isPre
- * @param isPlan
- * @return ResponseResult
- */
- @GET("/api/mix/v1/plan/historyPlan")
- Call historyPlan(@Query("symbol") String symbol,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageSize") int pageSize,
- @Query("isPre") boolean isPre,
- @Query("isPlan") String isPlan);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPositionApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPositionApi.java
deleted file mode 100644
index 6bc328c8..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixPositionApi.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.GET;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: Contract position api
- */
-public interface MixPositionApi {
-
- /**
- * Obtain single contract position information
- * @param symbol
- * @param marginCoin
- * @return ResponseResult
- */
- @GET("/api/mix/v1/position/singlePosition")
- Call singlePosition(@Query("symbol") String symbol,
- @Query("marginCoin") String marginCoin);
-
- /**
- * Obtain all contract position information
- * @param productType
- * @param marginCoin
- * @return ResponseResult
- */
- @GET("/api/mix/v1/position/allPosition")
- Call allPosition(@Query("productType") String productType,
- @Query("marginCoin") String marginCoin);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixTraceApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixTraceApi.java
deleted file mode 100644
index 3451e877..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/mix/MixTraceApi.java
+++ /dev/null
@@ -1,152 +0,0 @@
-package com.bitget.openapi.api.mix;
-
-import com.bitget.openapi.dto.request.mix.MixCloseTrackOrderReq;
-import com.bitget.openapi.dto.request.mix.MixTraceModifyTPSLOrderReq;
-import com.bitget.openapi.dto.request.mix.MixTraceSetCopyTradeSymbolReq;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: mix trace api
- */
-public interface MixTraceApi {
-
- /**
- * Dealer closing interface
- * @param mixCloseTrackOrderReq
- * @return ResponseResult
- */
- @POST("/api/mix/v1/trace/closeTrackOrder")
- Call closeTraceOrder(@Body MixCloseTrackOrderReq mixCloseTrackOrderReq);
-
- /**
- * The trader obtains the current order
- * @param symbol
- * @param productType
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/currentTrack")
- Call currentTrack(@Query("symbol") String symbol,
- @Query("productType") String productType,
- @Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
- /**
- * The trader obtains the historical order
- * @param startTime
- * @param endTime
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/historyTrack")
- Call historyTrack(@Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
- /**
- * Summary of traders' profit sharing
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/summary")
- Call summary();
-
- /**
- * Historical profit sharing summary of traders (by settlement currency)
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/profitSettleTokenIdGroup")
- Call profitSettleTokenIdGroup();
-
- /**
- * Historical profit sharing summary of traders (by settlement currency and date)
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/profitDateGroupList")
- Call profitDateGroupList(@Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
-
- /**
- * Historical profit distribution details of traders
- * @param marginCoin
- * @param date
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/profitDateList")
- Call profitDateList(@Query("marginCoin") String marginCoin,
- @Query("date") String date,
- @Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
- /**
- * Details of traders to be distributed
- * @param pageSize
- * @param pageNo
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/waitProfitDateList")
- Call waitProfitDateList(@Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
- /**
- * Followers obtain documentary information
- * @param pageSize
- * @param pageNo
- * @param startTime
- * @param endTime
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/followerHistoryOrders")
- Call followerHistoryOrders(@Query("pageSize") String pageSize,
- @Query("pageNo") String pageNo,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime);
-
- /**
- * trader get copytrade symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/traderSymbols")
- Call traderSymbols();
-
- /**
- * trader set copytrade symbol
- * @return ResponseResult
- */
- @POST("/api/mix/v1/trace/setUpCopySymbols")
- Call setUpCopySymbols(@Body MixTraceSetCopyTradeSymbolReq mixTraceSetCopyTradeSymbol);
-
- /**
- * trader modify tpsl order
- * @return ResponseResult
- */
- @POST("/api/mix/v1/trace/modifyTPSL")
- Call modifyTPSL(@Body MixTraceModifyTPSLOrderReq mixTraceModifyTPSLOrderReq);
-
-
-
- /**
- * trader get copytrade symbol
- * @return ResponseResult
- */
- @GET("/api/mix/v1/trace/followerOrder")
- Call followerOrder(@Query("symbol") String symbol,
- @Query("productType") String productType,
- @Query("pageSize") int pageSize,
- @Query("pageNo") int pageNo);
-
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotAccountApi.java
deleted file mode 100644
index c9f08608..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotAccountApi.java
+++ /dev/null
@@ -1,48 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.request.spot.SpotBillQueryReq;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot account api
- */
-public interface SpotAccountApi {
-
- /**
- * Obtain account assets
- * @return ResponseResult
- */
- @GET("/api/spot/v1/account/assets-lite")
- Call assets(@Query("coin") String coin);
-
- /**
- * Get the bill flow
- * @param spotBillQueryReq
- * @return ResponseResult
- */
- @POST("/api/spot/v1/account/bills")
- Call bills(@Body SpotBillQueryReq spotBillQueryReq);
-
- /**
- * Obtain transfer records
- * @param coinId
- * @param fromType
- * @param limit
- * @param after
- * @param before
- * @return ResponseResult
- */
- @GET("/api/spot/v1/account/transferRecords")
- Call transferRecords(@Query("coinId") String coinId,
- @Query("fromType") String fromType,
- @Query("limit") String limit,
- @Query("after") String after,
- @Query("before") String before);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotMarketApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotMarketApi.java
deleted file mode 100644
index bbc569fa..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotMarketApi.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.GET;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot market api
- */
-public interface SpotMarketApi {
-
- /**
- * Obtain transaction data
- * @param symbol
- * @param limit
- * @return ResponseResult
- */
- @GET("/api/spot/v1/market/fills")
- Call fills(@Query("symbol") String symbol,@Query("limit") Integer limit);
-
- /**
- * Get depth data
- * @param symbol
- * @param limit
- * @param type
- * @return ResponseResult
- */
- @GET("/api/spot/v1/market/depth")
- Call depth(@Query("symbol") String symbol,
- @Query("limit") Integer limit,
- @Query("type") String type);
-
- /**
- * Get a Ticker Information
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/spot/v1/market/ticker")
- Call ticker(@Query("symbol") String symbol);
-
- /**
- * Get all Ticker information
- * @return ResponseResult
- */
- @GET("/api/spot/v1/market/tickers")
- Call tickers();
-
- /**
- * Obtain K line data
- * @param symbol
- * @param period (Time unit and granularity of K line (refer to the following list for values))
- * @param after
- * @param before
- * @param limit
- * @return ResponseResult
- */
- @GET("/api/spot/v1/market/candles")
- Call candles(@Query("symbol") String symbol,
- @Query("period") String period,
- @Query("after") String after,
- @Query("before") String before,
- @Query("limit") Integer limit);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotOrderApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotOrderApi.java
deleted file mode 100644
index 1f79459b..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotOrderApi.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.request.spot.*;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.POST;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot order api
- */
-public interface SpotOrderApi {
-
- /**
- * place an order
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/orders")
- Call orders(@Body SpotOrderReq body);
-
- /**
- * Place orders in batches
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/batch-orders")
- Call batchOrders(@Body SpotBatchOrdersReq body);
-
- /**
- * cancel the order
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/cancel-order")
- Call cancelOrder(@Body SpotCancelOrderReq body);
-
- /**
- * Batch cancellation
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/cancel-batch-orders")
- Call cancelBatchOrder(@Body SpotCancelBatchOrderReq body);
-
- /**
- * Get order details
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/orderInfo")
- Call orderInfo(@Body SpotOrderInfoReq body);
-
- /**
- * Obtain orders that have not been closed or partially closed but not cancelled
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/open-orders")
- Call openOrders(@Body SpotOpenOrderReq body);
-
- /**
- * Get historical delegation list
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/history")
- Call history(@Body SpotHistoryOrderReq body);
-
- /**
- * Obtain transaction details
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/trade/fills")
- Call fills(@Body SpotFillsOrderReq body);
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPlanApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPlanApi.java
deleted file mode 100644
index 286d533a..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPlanApi.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.request.spot.*;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.POST;
-
-public interface SpotPlanApi {
-
- @POST("/api/spot/v1/plan/placePlan")
- Call placePlan(@Body SpotPlanOrderReq body);
-
- @POST("/api/spot/v1/plan/modifyPlan")
- Call modifyPlan(@Body SpotModifyPlanReq body);
-
- @POST("/api/spot/v1/plan/cancelPlan")
- Call cancelPlan(@Body SpotCancelPlanOrderReq body);
-
- @POST("/api/spot/v1/plan/currentPlan")
- Call currentPlan(@Body SpotPlanOpenOrderReq body);
-
- @POST("/api/spot/v1/plan/historyPlan")
- Call historyPlan(@Body SpotPlanOpenOrderReq body);
-}
\ No newline at end of file
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPublicApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPublicApi.java
deleted file mode 100644
index 55e50e7b..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotPublicApi.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.GET;
-import retrofit2.http.Query;
-
-/**
- * @Author: bitget-sdk-team
- * @Date: 2022-09-30 10:46
- * @DES: spot public api
- */
-public interface SpotPublicApi {
-
- /**
- * Get server time
- * @return ResponseResult
- */
- @GET("/api/spot/v1/public/time")
- Call time();
-
- /**
- * Basic information of currency
- * @return ResponseResult
- */
- @GET("/api/spot/v1/public/currencies")
- Call currencies();
-
- /**
- * Get all product information
- * @return ResponseResult
- */
- @GET("/api/spot/v1/public/products")
- Call products();
-
- /**
- * Get single product information
- * @param symbol
- * @return ResponseResult
- */
- @GET("/api/spot/v1/public/product")
- Call product(@Query("symbol") String symbol);
-
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotWalletApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotWalletApi.java
deleted file mode 100644
index 274622d1..00000000
--- a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/spot/SpotWalletApi.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package com.bitget.openapi.api.spot;
-
-import com.bitget.openapi.dto.request.spot.SpotSubTransferReq;
-import com.bitget.openapi.dto.request.spot.SpotTransferReq;
-import com.bitget.openapi.dto.request.spot.SpotWithdrawalInnerReq;
-import com.bitget.openapi.dto.request.spot.SpotWithdrawalReq;
-import com.bitget.openapi.dto.response.ResponseResult;
-import retrofit2.Call;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.POST;
-import retrofit2.http.Query;
-
-public interface SpotWalletApi {
-
- /**
- * transfer
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/wallet/transfer")
- Call transfer(@Body SpotTransferReq body);
-
-
- /**
- * subTransfer
- * @param body
- * @return ResponseResult
- */
- @POST("/api/spot/v1/wallet/subTransfer")
- Call subTransfer(@Body SpotSubTransferReq body);
-
- /**
- * get deposit address
- * @return ResponseResult
- */
- @GET("/api/spot/v1/wallet/deposit-address")
- Call depositAddress(@Query("coin")String coin,
- @Query("chain")String chain);
-
- /**
- * withdrawal
- * @return ResponseResult
- */
- @POST("/api/spot/v1/wallet/withdrawal")
- Call withdrawal(@Body SpotWithdrawalReq body);
-
- /**
- * withdrawal-inner
- * @return ResponseResult
- */
- @POST("/api/spot/v1/wallet/withdrawal-inner")
- Call withdrawalInner(@Body SpotWithdrawalInnerReq body);
-
-
- /**
- * get withdrawal record list
- * @return ResponseResult
- */
- @GET("/api/spot/v1/wallet/withdrawal-list")
- Call withdrawalList(@Query("coin")String coin,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageNo") Integer pageNo,
- @Query("pageSize") Integer pageSize);
-
- /**
- * get deposit record list
- * @return ResponseResult
- */
- @GET("/api/spot/v1/wallet/deposit-list")
- Call depositList(@Query("coin")String coin,
- @Query("startTime") String startTime,
- @Query("endTime") String endTime,
- @Query("pageNo") Integer pageNo,
- @Query("pageSize") Integer pageSize);
-
-
-}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixAccountApi.java
new file mode 100644
index 00000000..7f7a785d
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixAccountApi.java
@@ -0,0 +1,39 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.POST;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface MixAccountApi {
+
+ @GET("/api/mix/v1/account/account")
+ Call account(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/account/accounts")
+ Call accounts(@QueryMap Map paramMap);
+
+ @POST("/api/mix/v1/account/setLeverage")
+ Call setLeverage(@Body Map paramMap);
+
+ @POST("/api/mix/v1/account/setMargin")
+ Call setMargin(@Body Map paramMap);
+
+ @POST("/api/mix/v1/account/setMarginMode")
+ Call setMarginMode(@Body Map paramMap);
+
+ @POST("/api/mix/v1/account/setPositionMode")
+ Call setPositionMode(@Body Map paramMap);
+
+
+ // position
+ @GET("/api/mix/v1/position/singlePosition")
+ Call singlePosition(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/position/allPosition")
+ Call allPosition(@QueryMap Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixMarketApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixMarketApi.java
new file mode 100644
index 00000000..fec11a5b
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixMarketApi.java
@@ -0,0 +1,31 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.GET;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface MixMarketApi {
+
+ @GET("/api/mix/v1/market/contracts")
+ Call contracts(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/market/depth")
+ Call depth(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/market/ticker")
+ Call ticker(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/market/tickers")
+ Call tickers(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/market/fills")
+ Call fills(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/market/candles")
+ Call candles(@QueryMap Map paramMap);
+
+}
+
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixOrderApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixOrderApi.java
new file mode 100644
index 00000000..3c3ee3b3
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/MixOrderApi.java
@@ -0,0 +1,66 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.*;
+
+import java.util.Map;
+
+public interface MixOrderApi {
+
+ // normal order
+ @POST("/api/mix/v1/order/placeOrder")
+ Call placeOrder(@Body Map paramMap);
+
+ @POST("/api/mix/v1/order/batch-orders")
+ Call batchOrders(@Body Map paramMap);
+
+ @POST("/api/mix/v1/order/cancel-order")
+ Call cancelOrder(@Body Map paramMap);
+
+ @POST("/api/mix/v1/order/cancel-batch-orders")
+ Call cancelBatchOrder(@Body Map paramMap);
+
+ @GET("/api/mix/v1/order/history")
+ Call history(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/order/current")
+ Call current(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/order/fills")
+ Call fills(@QueryMap Map paramMap);
+
+
+ // plan
+ @POST("/api/mix/v1/plan/placePlan")
+ Call placePlan(@Body Map paramMap);
+
+ @POST("/api/mix/v1/plan/cancelPlan")
+ Call cancelPlan(@Body Map paramMap);
+
+ @GET("/api/mix/v1/plan/currentPlan")
+ Call currentPlan(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/plan/historyPlan")
+ Call historyPlan(@QueryMap Map paramMap);
+
+
+ // trader
+ @POST("/api/mix/v1/trace/closeTrackOrder")
+ Call traderCloseOrder(@Body Map paramMap);
+
+ @GET("/api/mix/v1/trace/currentTrack")
+ Call traderCurrentOrders(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/trace/historyTrack")
+ Call traderHistoryTrack(@QueryMap Map paramMap);
+
+ @POST("/api/mix/v1/trace/followerCloseByTrackingNo")
+ Call followerCloseByTrackingNo(@Body Map paramMap);
+
+ @GET("/api/mix/v1/trace/followerOrder")
+ Call followerOrder(@QueryMap Map paramMap);
+
+ @GET("/api/mix/v1/trace/followerHistoryOrders")
+ Call followerHistoryOrders(@QueryMap Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotAccountApi.java
new file mode 100644
index 00000000..9f3d46ec
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotAccountApi.java
@@ -0,0 +1,25 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.POST;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface SpotAccountApi {
+
+ @GET("/api/spot/v1/account/getInfo")
+ Call getInfo(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/account/assets-lite")
+ Call assetsLite(@QueryMap Map paramMap);
+
+ @POST("/api/spot/v1/account/bills")
+ Call bills(@Body Map paramMap);
+
+ @GET("/api/spot/v1/account/transferRecords")
+ Call transferRecords(@QueryMap Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotMarketApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotMarketApi.java
new file mode 100644
index 00000000..840e3919
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotMarketApi.java
@@ -0,0 +1,36 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.GET;
+import retrofit2.http.Query;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface SpotMarketApi {
+
+ @GET("/api/spot/v1/public/currencies")
+ Call currencies();
+
+ @GET("/api/spot/v1/public/products")
+ Call products();
+
+ @GET("/api/spot/v1/public/product")
+ Call product(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/market/fills")
+ Call fills(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/market/depth")
+ Call depth(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/market/ticker")
+ Call ticker(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/market/tickers")
+ Call tickers();
+
+ @GET("/api/spot/v1/market/candles")
+ Call candles(@QueryMap Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotOrderApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotOrderApi.java
new file mode 100644
index 00000000..b05ba539
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotOrderApi.java
@@ -0,0 +1,58 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.Body;
+import retrofit2.http.POST;
+
+import java.util.Map;
+
+public interface SpotOrderApi {
+
+ // order
+ @POST("/api/spot/v1/trade/orders")
+ Call orders(@Body Map body);
+
+ @POST("/api/spot/v1/trade/batch-orders")
+ Call batchOrders(@Body Map body);
+
+ @POST("/api/spot/v1/trade/cancel-order")
+ Call cancelOrder(@Body Map body);
+
+ @POST("/api/spot/v1/trade/cancel-batch-orders")
+ Call cancelBatchOrder(@Body Map body);
+
+ @POST("/api/spot/v1/trade/open-orders")
+ Call openOrders(@Body Map body);
+
+ @POST("/api/spot/v1/trade/history")
+ Call history(@Body Map body);
+
+ @POST("/api/spot/v1/trade/fills")
+ Call fills(@Body Map body);
+
+
+ // plan
+ @POST("/api/spot/v1/plan/placePlan")
+ Call placePlan(@Body Map body);
+
+ @POST("/api/spot/v1/plan/cancelPlan")
+ Call cancelPlan(@Body Map body);
+
+ @POST("/api/spot/v1/plan/currentPlan")
+ Call currentPlan(@Body Map body);
+
+ @POST("/api/spot/v1/plan/historyPlan")
+ Call historyPlan(@Body Map body);
+
+
+ // trace
+ @POST("/api/spot/v1/trace/order/closeTrackingOrder")
+ Call traderCloseTrackingOrder(@Body Map body);
+
+ @POST("/api/spot/v1/trace/order/orderCurrentList")
+ Call traderOrderCurrentList(@Body Map body);
+
+ @POST("/api/spot/v1/trace/order/orderHistoryList")
+ Call traderOrderHistoryList(@Body Map body);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotWalletApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotWalletApi.java
new file mode 100644
index 00000000..2fc13e91
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v1/SpotWalletApi.java
@@ -0,0 +1,28 @@
+package com.bitget.openapi.api.v1;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.POST;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface SpotWalletApi {
+
+ @POST("/api/spot/v1/wallet/transfer")
+ Call transfer(@Body Map paramMap);
+
+ @GET("/api/spot/v1/wallet/deposit-address")
+ Call depositAddress(@QueryMap Map paramMap);
+
+ @POST("/api/spot/v1/wallet/withdrawal")
+ Call withdrawal(@Body Map paramMap);
+
+ @GET("/api/spot/v1/wallet/withdrawal-list")
+ Call withdrawalList(@QueryMap Map paramMap);
+
+ @GET("/api/spot/v1/wallet/deposit-list")
+ Call depositList(@QueryMap Map paramMap);
+}
diff --git a/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v2/MixAccountApi.java b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v2/MixAccountApi.java
new file mode 100644
index 00000000..ae439c8b
--- /dev/null
+++ b/bitget-java-sdk-api/src/main/java/com/bitget/openapi/api/v2/MixAccountApi.java
@@ -0,0 +1,39 @@
+package com.bitget.openapi.api.v2;
+
+import com.bitget.openapi.dto.response.ResponseResult;
+import retrofit2.Call;
+import retrofit2.http.Body;
+import retrofit2.http.GET;
+import retrofit2.http.POST;
+import retrofit2.http.QueryMap;
+
+import java.util.Map;
+
+public interface MixAccountApi {
+
+ @GET("/api/v2/mix/account/account")
+ Call account(@QueryMap Map paramMap);
+
+ @GET("/api/v2/mix/account/accounts")
+ Call accounts(@QueryMap Map