Browse Source

Generated 2019-02-14 for Ons.

sdk-team 6 years ago
parent
commit
6e77539860
71 changed files with 302 additions and 242 deletions
  1. 4 0
      ChangeLog.txt
  2. 53 5
      services/ons/client.go
  3. 51 0
      services/ons/endpoint.go
  4. 3 4
      services/ons/ons_consumer_accumulate.go
  5. 2 3
      services/ons/ons_consumer_get_connection.go
  6. 2 3
      services/ons/ons_consumer_reset_offset.go
  7. 4 5
      services/ons/ons_consumer_status.go
  8. 3 4
      services/ons/ons_consumer_time_span.go
  9. 3 4
      services/ons/ons_dlq_message_get_by_id.go
  10. 7 8
      services/ons/ons_dlq_message_page_query_by_group_id.go
  11. 3 4
      services/ons/ons_dlq_message_resend_by_id.go
  12. 3 4
      services/ons/ons_group_consumer_update.go
  13. 3 4
      services/ons/ons_group_create.go
  14. 2 3
      services/ons/ons_group_delete.go
  15. 2 3
      services/ons/ons_group_list.go
  16. 2 3
      services/ons/ons_group_sub_detail.go
  17. 1 2
      services/ons/ons_instance_base_info.go
  18. 2 3
      services/ons/ons_instance_create.go
  19. 1 2
      services/ons/ons_instance_delete.go
  20. 0 1
      services/ons/ons_instance_in_service_list.go
  21. 3 4
      services/ons/ons_instance_update.go
  22. 3 4
      services/ons/ons_message_get_by_key.go
  23. 3 4
      services/ons/ons_message_get_by_msg_id.go
  24. 7 8
      services/ons/ons_message_page_query_by_topic.go
  25. 5 6
      services/ons/ons_message_push.go
  26. 5 6
      services/ons/ons_message_send.go
  27. 3 4
      services/ons/ons_message_trace.go
  28. 3 4
      services/ons/ons_mqtt_group_id_create.go
  29. 2 3
      services/ons/ons_mqtt_group_id_delete.go
  30. 1 2
      services/ons/ons_mqtt_group_id_list.go
  31. 2 3
      services/ons/ons_mqtt_query_client_by_client_id.go
  32. 2 3
      services/ons/ons_mqtt_query_client_by_group_id.go
  33. 3 4
      services/ons/ons_mqtt_query_client_by_topic.go
  34. 4 5
      services/ons/ons_mqtt_query_history_online.go
  35. 9 10
      services/ons/ons_mqtt_query_msg_trans_trend.go
  36. 0 1
      services/ons/ons_region_list.go
  37. 4 5
      services/ons/ons_topic_create.go
  38. 2 3
      services/ons/ons_topic_delete.go
  39. 2 3
      services/ons/ons_topic_list.go
  40. 2 3
      services/ons/ons_topic_status.go
  41. 2 3
      services/ons/ons_topic_sub_detail.go
  42. 3 4
      services/ons/ons_topic_update.go
  43. 1 2
      services/ons/ons_trace_get_result.go
  44. 5 6
      services/ons/ons_trace_query_by_msg_id.go
  45. 5 6
      services/ons/ons_trace_query_by_msg_key.go
  46. 7 8
      services/ons/ons_trend_group_output_tps.go
  47. 6 7
      services/ons/ons_trend_topic_input_tps.go
  48. 9 10
      services/ons/ons_warn_create.go
  49. 3 4
      services/ons/ons_warn_delete.go
  50. 1 0
      services/ons/struct_connection_do.go
  51. 2 2
      services/ons/struct_consumer_connection_info_do.go
  52. 1 1
      services/ons/struct_consumer_running_data_do.go
  53. 11 11
      services/ons/struct_data.go
  54. 3 3
      services/ons/struct_detail_in_topic_do.go
  55. 2 1
      services/ons/struct_instance_base_info.go
  56. 1 1
      services/ons/struct_instance_vo.go
  57. 1 1
      services/ons/struct_mqtt_client_info_do.go
  58. 2 2
      services/ons/struct_mqtt_client_set_do.go
  59. 3 3
      services/ons/struct_mqtt_group_id_do.go
  60. 2 2
      services/ons/struct_msg_found_do.go
  61. 2 2
      services/ons/struct_ons_rest_message_do.go
  62. 1 1
      services/ons/struct_publish_info_do.go
  63. 3 3
      services/ons/struct_region_do.go
  64. 1 1
      services/ons/struct_stats_data_do.go
  65. 1 1
      services/ons/struct_sub_client_info_do.go
  66. 2 1
      services/ons/struct_subscribe_info_do.go
  67. 1 1
      services/ons/struct_subscription_data.go
  68. 1 1
      services/ons/struct_subscription_data_list_in_ons_group_sub_detail.go
  69. 1 1
      services/ons/struct_subscription_data_list_in_ons_topic_sub_detail.go
  70. 2 2
      services/ons/struct_trace_data.go
  71. 1 1
      services/ons/struct_trace_map_do.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2019-12-20 Version: v1.60.299
+- Generated 2019-02-14 for `Ons`.
+- Add result value for OnsConsumerStatus.
+
 2019-12-19 Version: v1.60.298
 - Generated 2017-08-01 for `polardb`.
 - Add DescribeSlowLogRecords,DescribeSlowLogs for SlowLog.

+ 53 - 5
services/ons/client.go

@@ -16,8 +16,11 @@ package ons
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -25,10 +28,40 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -37,45 +70,60 @@ func NewClient() (client *Client, err error) {
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 51 - 0
services/ons/endpoint.go

@@ -0,0 +1,51 @@
+package ons
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "regional"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{
+			"cn-shanghai-internal-test-1": "ons.aliyuncs.com",
+			"cn-beijing-gov-1":            "ons.aliyuncs.com",
+			"cn-shenzhen-su18-b01":        "ons.aliyuncs.com",
+			"cn-shanghai-inner":           "ons.aliyuncs.com",
+			"cn-shenzhen-st4-d01":         "ons.aliyuncs.com",
+			"cn-haidian-cm12-c01":         "ons.aliyuncs.com",
+			"cn-hangzhou-internal-prod-1": "ons.aliyuncs.com",
+			"cn-yushanfang":               "ons.aliyuncs.com",
+			"cn-hongkong-finance-pop":     "ons.aliyuncs.com",
+			"cn-qingdao-nebula":           "ons.aliyuncs.com",
+			"cn-beijing-finance-pop":      "ons.aliyuncs.com",
+			"cn-wuhan":                    "ons.aliyuncs.com",
+			"cn-zhengzhou-nebula-1":       "ons.aliyuncs.com",
+			"rus-west-1-pop":              "ons.ap-northeast-1.aliyuncs.com",
+			"cn-shanghai-et15-b01":        "ons.aliyuncs.com",
+			"cn-hangzhou-bj-b01":          "ons.aliyuncs.com",
+			"cn-hangzhou-internal-test-1": "ons.aliyuncs.com",
+			"eu-west-1-oxs":               "ons.ap-northeast-1.aliyuncs.com",
+			"cn-zhangbei-na61-b01":        "ons.aliyuncs.com",
+			"cn-beijing-finance-1":        "ons.aliyuncs.com",
+			"cn-hangzhou-internal-test-3": "ons.aliyuncs.com",
+			"cn-hangzhou-internal-test-2": "ons.aliyuncs.com",
+			"cn-hangzhou-test-306":        "ons.aliyuncs.com",
+			"cn-shanghai-et2-b01":         "ons.aliyuncs.com",
+			"cn-beijing-nu16-b01":         "ons.aliyuncs.com",
+			"cn-edge-1":                   "ons.aliyuncs.com",
+			"cn-fujian":                   "ons.aliyuncs.com",
+			"ap-northeast-2-pop":          "ons.ap-northeast-1.aliyuncs.com",
+			"cn-shenzhen-inner":           "ons.aliyuncs.com",
+			"cn-zhangjiakou-na62-a01":     "ons.aliyuncs.com",
+		}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 3 - 4
services/ons/ons_consumer_accumulate.go

@@ -76,10 +76,9 @@ func (client *Client) OnsConsumerAccumulateWithCallback(request *OnsConsumerAccu
 // OnsConsumerAccumulateRequest is the request struct for api OnsConsumerAccumulate
 type OnsConsumerAccumulateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Detail       requests.Boolean `position:"Query" name:"Detail"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Detail     requests.Boolean `position:"Query" name:"Detail"`
 }
 
 // OnsConsumerAccumulateResponse is the response struct for api OnsConsumerAccumulate

+ 2 - 3
services/ons/ons_consumer_get_connection.go

@@ -76,9 +76,8 @@ func (client *Client) OnsConsumerGetConnectionWithCallback(request *OnsConsumerG
 // OnsConsumerGetConnectionRequest is the request struct for api OnsConsumerGetConnection
 type OnsConsumerGetConnectionRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsConsumerGetConnectionResponse is the response struct for api OnsConsumerGetConnection

+ 2 - 3
services/ons/ons_consumer_reset_offset.go

@@ -76,12 +76,11 @@ func (client *Client) OnsConsumerResetOffsetWithCallback(request *OnsConsumerRes
 // OnsConsumerResetOffsetRequest is the request struct for api OnsConsumerResetOffset
 type OnsConsumerResetOffsetRequest struct {
 	*requests.RpcRequest
-	PreventCache   requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId     string           `position:"Query" name:"InstanceId"`
 	GroupId        string           `position:"Query" name:"GroupId"`
-	Topic          string           `position:"Query" name:"Topic"`
 	ResetTimestamp requests.Integer `position:"Query" name:"ResetTimestamp"`
 	Type           requests.Integer `position:"Query" name:"Type"`
+	InstanceId     string           `position:"Query" name:"InstanceId"`
+	Topic          string           `position:"Query" name:"Topic"`
 }
 
 // OnsConsumerResetOffsetResponse is the response struct for api OnsConsumerResetOffset

+ 4 - 5
services/ons/ons_consumer_status.go

@@ -76,11 +76,10 @@ func (client *Client) OnsConsumerStatusWithCallback(request *OnsConsumerStatusRe
 // OnsConsumerStatusRequest is the request struct for api OnsConsumerStatus
 type OnsConsumerStatusRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	NeedJstack   requests.Boolean `position:"Query" name:"NeedJstack"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Detail       requests.Boolean `position:"Query" name:"Detail"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	NeedJstack requests.Boolean `position:"Query" name:"NeedJstack"`
+	Detail     requests.Boolean `position:"Query" name:"Detail"`
 }
 
 // OnsConsumerStatusResponse is the response struct for api OnsConsumerStatus

+ 3 - 4
services/ons/ons_consumer_time_span.go

@@ -76,10 +76,9 @@ func (client *Client) OnsConsumerTimeSpanWithCallback(request *OnsConsumerTimeSp
 // OnsConsumerTimeSpanRequest is the request struct for api OnsConsumerTimeSpan
 type OnsConsumerTimeSpanRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsConsumerTimeSpanResponse is the response struct for api OnsConsumerTimeSpan

+ 3 - 4
services/ons/ons_dlq_message_get_by_id.go

@@ -76,10 +76,9 @@ func (client *Client) OnsDLQMessageGetByIdWithCallback(request *OnsDLQMessageGet
 // OnsDLQMessageGetByIdRequest is the request struct for api OnsDLQMessageGetById
 type OnsDLQMessageGetByIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	MsgId        string           `position:"Query" name:"MsgId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	MsgId      string `position:"Query" name:"MsgId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsDLQMessageGetByIdResponse is the response struct for api OnsDLQMessageGetById

+ 7 - 8
services/ons/ons_dlq_message_page_query_by_group_id.go

@@ -76,14 +76,13 @@ func (client *Client) OnsDLQMessagePageQueryByGroupIdWithCallback(request *OnsDL
 // OnsDLQMessagePageQueryByGroupIdRequest is the request struct for api OnsDLQMessagePageQueryByGroupId
 type OnsDLQMessagePageQueryByGroupIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
-	TaskId       string           `position:"Query" name:"TaskId"`
+	GroupId     string           `position:"Query" name:"GroupId"`
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime   requests.Integer `position:"Query" name:"BeginTime"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	TaskId      string           `position:"Query" name:"TaskId"`
 }
 
 // OnsDLQMessagePageQueryByGroupIdResponse is the response struct for api OnsDLQMessagePageQueryByGroupId

+ 3 - 4
services/ons/ons_dlq_message_resend_by_id.go

@@ -76,10 +76,9 @@ func (client *Client) OnsDLQMessageResendByIdWithCallback(request *OnsDLQMessage
 // OnsDLQMessageResendByIdRequest is the request struct for api OnsDLQMessageResendById
 type OnsDLQMessageResendByIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	MsgId        string           `position:"Query" name:"MsgId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	MsgId      string `position:"Query" name:"MsgId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsDLQMessageResendByIdResponse is the response struct for api OnsDLQMessageResendById

+ 3 - 4
services/ons/ons_group_consumer_update.go

@@ -76,10 +76,9 @@ func (client *Client) OnsGroupConsumerUpdateWithCallback(request *OnsGroupConsum
 // OnsGroupConsumerUpdateRequest is the request struct for api OnsGroupConsumerUpdate
 type OnsGroupConsumerUpdateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	ReadEnable   requests.Boolean `position:"Query" name:"ReadEnable"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	ReadEnable requests.Boolean `position:"Query" name:"ReadEnable"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
 }
 
 // OnsGroupConsumerUpdateResponse is the response struct for api OnsGroupConsumerUpdate

+ 3 - 4
services/ons/ons_group_create.go

@@ -76,10 +76,9 @@ func (client *Client) OnsGroupCreateWithCallback(request *OnsGroupCreateRequest,
 // OnsGroupCreateRequest is the request struct for api OnsGroupCreate
 type OnsGroupCreateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Remark       string           `position:"Query" name:"Remark"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	Remark     string `position:"Query" name:"Remark"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsGroupCreateResponse is the response struct for api OnsGroupCreate

+ 2 - 3
services/ons/ons_group_delete.go

@@ -76,9 +76,8 @@ func (client *Client) OnsGroupDeleteWithCallback(request *OnsGroupDeleteRequest,
 // OnsGroupDeleteRequest is the request struct for api OnsGroupDelete
 type OnsGroupDeleteRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsGroupDeleteResponse is the response struct for api OnsGroupDelete

+ 2 - 3
services/ons/ons_group_list.go

@@ -76,9 +76,8 @@ func (client *Client) OnsGroupListWithCallback(request *OnsGroupListRequest, cal
 // OnsGroupListRequest is the request struct for api OnsGroupList
 type OnsGroupListRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsGroupListResponse is the response struct for api OnsGroupList

+ 2 - 3
services/ons/ons_group_sub_detail.go

@@ -76,9 +76,8 @@ func (client *Client) OnsGroupSubDetailWithCallback(request *OnsGroupSubDetailRe
 // OnsGroupSubDetailRequest is the request struct for api OnsGroupSubDetail
 type OnsGroupSubDetailRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsGroupSubDetailResponse is the response struct for api OnsGroupSubDetail

+ 1 - 2
services/ons/ons_instance_base_info.go

@@ -76,8 +76,7 @@ func (client *Client) OnsInstanceBaseInfoWithCallback(request *OnsInstanceBaseIn
 // OnsInstanceBaseInfoRequest is the request struct for api OnsInstanceBaseInfo
 type OnsInstanceBaseInfoRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsInstanceBaseInfoResponse is the response struct for api OnsInstanceBaseInfo

+ 2 - 3
services/ons/ons_instance_create.go

@@ -76,9 +76,8 @@ func (client *Client) OnsInstanceCreateWithCallback(request *OnsInstanceCreateRe
 // OnsInstanceCreateRequest is the request struct for api OnsInstanceCreate
 type OnsInstanceCreateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceName string           `position:"Query" name:"InstanceName"`
-	Remark       string           `position:"Query" name:"Remark"`
+	Remark       string `position:"Query" name:"Remark"`
+	InstanceName string `position:"Query" name:"InstanceName"`
 }
 
 // OnsInstanceCreateResponse is the response struct for api OnsInstanceCreate

+ 1 - 2
services/ons/ons_instance_delete.go

@@ -76,8 +76,7 @@ func (client *Client) OnsInstanceDeleteWithCallback(request *OnsInstanceDeleteRe
 // OnsInstanceDeleteRequest is the request struct for api OnsInstanceDelete
 type OnsInstanceDeleteRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsInstanceDeleteResponse is the response struct for api OnsInstanceDelete

+ 0 - 1
services/ons/ons_instance_in_service_list.go

@@ -76,7 +76,6 @@ func (client *Client) OnsInstanceInServiceListWithCallback(request *OnsInstanceI
 // OnsInstanceInServiceListRequest is the request struct for api OnsInstanceInServiceList
 type OnsInstanceInServiceListRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
 }
 
 // OnsInstanceInServiceListResponse is the response struct for api OnsInstanceInServiceList

+ 3 - 4
services/ons/ons_instance_update.go

@@ -76,10 +76,9 @@ func (client *Client) OnsInstanceUpdateWithCallback(request *OnsInstanceUpdateRe
 // OnsInstanceUpdateRequest is the request struct for api OnsInstanceUpdate
 type OnsInstanceUpdateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceName string           `position:"Query" name:"InstanceName"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Remark       string           `position:"Query" name:"Remark"`
+	Remark       string `position:"Query" name:"Remark"`
+	InstanceName string `position:"Query" name:"InstanceName"`
+	InstanceId   string `position:"Query" name:"InstanceId"`
 }
 
 // OnsInstanceUpdateResponse is the response struct for api OnsInstanceUpdate

+ 3 - 4
services/ons/ons_message_get_by_key.go

@@ -76,10 +76,9 @@ func (client *Client) OnsMessageGetByKeyWithCallback(request *OnsMessageGetByKey
 // OnsMessageGetByKeyRequest is the request struct for api OnsMessageGetByKey
 type OnsMessageGetByKeyRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	Key          string           `position:"Query" name:"Key"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
+	Key        string `position:"Query" name:"Key"`
 }
 
 // OnsMessageGetByKeyResponse is the response struct for api OnsMessageGetByKey

+ 3 - 4
services/ons/ons_message_get_by_msg_id.go

@@ -76,10 +76,9 @@ func (client *Client) OnsMessageGetByMsgIdWithCallback(request *OnsMessageGetByM
 // OnsMessageGetByMsgIdRequest is the request struct for api OnsMessageGetByMsgId
 type OnsMessageGetByMsgIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	MsgId        string           `position:"Query" name:"MsgId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	MsgId      string `position:"Query" name:"MsgId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsMessageGetByMsgIdResponse is the response struct for api OnsMessageGetByMsgId

+ 7 - 8
services/ons/ons_message_page_query_by_topic.go

@@ -76,14 +76,13 @@ func (client *Client) OnsMessagePageQueryByTopicWithCallback(request *OnsMessage
 // OnsMessagePageQueryByTopicRequest is the request struct for api OnsMessagePageQueryByTopic
 type OnsMessagePageQueryByTopicRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	PageSize     requests.Integer `position:"Query" name:"PageSize"`
-	Topic        string           `position:"Query" name:"Topic"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	CurrentPage  requests.Integer `position:"Query" name:"CurrentPage"`
-	TaskId       string           `position:"Query" name:"TaskId"`
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime   requests.Integer `position:"Query" name:"BeginTime"`
+	CurrentPage requests.Integer `position:"Query" name:"CurrentPage"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	PageSize    requests.Integer `position:"Query" name:"PageSize"`
+	Topic       string           `position:"Query" name:"Topic"`
+	TaskId      string           `position:"Query" name:"TaskId"`
 }
 
 // OnsMessagePageQueryByTopicResponse is the response struct for api OnsMessagePageQueryByTopic

+ 5 - 6
services/ons/ons_message_push.go

@@ -76,12 +76,11 @@ func (client *Client) OnsMessagePushWithCallback(request *OnsMessagePushRequest,
 // OnsMessagePushRequest is the request struct for api OnsMessagePush
 type OnsMessagePushRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	ClientId     string           `position:"Query" name:"ClientId"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	MsgId        string           `position:"Query" name:"MsgId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	ClientId   string `position:"Query" name:"ClientId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	MsgId      string `position:"Query" name:"MsgId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsMessagePushResponse is the response struct for api OnsMessagePush

+ 5 - 6
services/ons/ons_message_send.go

@@ -76,12 +76,11 @@ func (client *Client) OnsMessageSendWithCallback(request *OnsMessageSendRequest,
 // OnsMessageSendRequest is the request struct for api OnsMessageSend
 type OnsMessageSendRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	Tag          string           `position:"Query" name:"Tag"`
-	Message      string           `position:"Query" name:"Message"`
-	Key          string           `position:"Query" name:"Key"`
+	Message    string `position:"Query" name:"Message"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
+	Tag        string `position:"Query" name:"Tag"`
+	Key        string `position:"Query" name:"Key"`
 }
 
 // OnsMessageSendResponse is the response struct for api OnsMessageSend

+ 3 - 4
services/ons/ons_message_trace.go

@@ -76,10 +76,9 @@ func (client *Client) OnsMessageTraceWithCallback(request *OnsMessageTraceReques
 // OnsMessageTraceRequest is the request struct for api OnsMessageTrace
 type OnsMessageTraceRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	MsgId        string           `position:"Query" name:"MsgId"`
+	MsgId      string `position:"Query" name:"MsgId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsMessageTraceResponse is the response struct for api OnsMessageTrace

+ 3 - 4
services/ons/ons_mqtt_group_id_create.go

@@ -76,10 +76,9 @@ func (client *Client) OnsMqttGroupIdCreateWithCallback(request *OnsMqttGroupIdCr
 // OnsMqttGroupIdCreateRequest is the request struct for api OnsMqttGroupIdCreate
 type OnsMqttGroupIdCreateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsMqttGroupIdCreateResponse is the response struct for api OnsMqttGroupIdCreate

+ 2 - 3
services/ons/ons_mqtt_group_id_delete.go

@@ -76,9 +76,8 @@ func (client *Client) OnsMqttGroupIdDeleteWithCallback(request *OnsMqttGroupIdDe
 // OnsMqttGroupIdDeleteRequest is the request struct for api OnsMqttGroupIdDelete
 type OnsMqttGroupIdDeleteRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsMqttGroupIdDeleteResponse is the response struct for api OnsMqttGroupIdDelete

+ 1 - 2
services/ons/ons_mqtt_group_id_list.go

@@ -76,8 +76,7 @@ func (client *Client) OnsMqttGroupIdListWithCallback(request *OnsMqttGroupIdList
 // OnsMqttGroupIdListRequest is the request struct for api OnsMqttGroupIdList
 type OnsMqttGroupIdListRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsMqttGroupIdListResponse is the response struct for api OnsMqttGroupIdList

+ 2 - 3
services/ons/ons_mqtt_query_client_by_client_id.go

@@ -76,9 +76,8 @@ func (client *Client) OnsMqttQueryClientByClientIdWithCallback(request *OnsMqttQ
 // OnsMqttQueryClientByClientIdRequest is the request struct for api OnsMqttQueryClientByClientId
 type OnsMqttQueryClientByClientIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	ClientId     string           `position:"Query" name:"ClientId"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
+	ClientId   string `position:"Query" name:"ClientId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsMqttQueryClientByClientIdResponse is the response struct for api OnsMqttQueryClientByClientId

+ 2 - 3
services/ons/ons_mqtt_query_client_by_group_id.go

@@ -76,9 +76,8 @@ func (client *Client) OnsMqttQueryClientByGroupIdWithCallback(request *OnsMqttQu
 // OnsMqttQueryClientByGroupIdRequest is the request struct for api OnsMqttQueryClientByGroupId
 type OnsMqttQueryClientByGroupIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
 }
 
 // OnsMqttQueryClientByGroupIdResponse is the response struct for api OnsMqttQueryClientByGroupId

+ 3 - 4
services/ons/ons_mqtt_query_client_by_topic.go

@@ -76,10 +76,9 @@ func (client *Client) OnsMqttQueryClientByTopicWithCallback(request *OnsMqttQuer
 // OnsMqttQueryClientByTopicRequest is the request struct for api OnsMqttQueryClientByTopic
 type OnsMqttQueryClientByTopicRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	ParentTopic  string           `position:"Query" name:"ParentTopic"`
-	SubTopic     string           `position:"Query" name:"SubTopic"`
+	ParentTopic string `position:"Query" name:"ParentTopic"`
+	InstanceId  string `position:"Query" name:"InstanceId"`
+	SubTopic    string `position:"Query" name:"SubTopic"`
 }
 
 // OnsMqttQueryClientByTopicResponse is the response struct for api OnsMqttQueryClientByTopic

+ 4 - 5
services/ons/ons_mqtt_query_history_online.go

@@ -76,11 +76,10 @@ func (client *Client) OnsMqttQueryHistoryOnlineWithCallback(request *OnsMqttQuer
 // OnsMqttQueryHistoryOnlineRequest is the request struct for api OnsMqttQueryHistoryOnline
 type OnsMqttQueryHistoryOnlineRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime  requests.Integer `position:"Query" name:"BeginTime"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
 }
 
 // OnsMqttQueryHistoryOnlineResponse is the response struct for api OnsMqttQueryHistoryOnline

+ 9 - 10
services/ons/ons_mqtt_query_msg_trans_trend.go

@@ -76,16 +76,15 @@ func (client *Client) OnsMqttQueryMsgTransTrendWithCallback(request *OnsMqttQuer
 // OnsMqttQueryMsgTransTrendRequest is the request struct for api OnsMqttQueryMsgTransTrend
 type OnsMqttQueryMsgTransTrendRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Qos          requests.Integer `position:"Query" name:"Qos"`
-	TransType    string           `position:"Query" name:"TransType"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	TpsType      string           `position:"Query" name:"TpsType"`
-	ParentTopic  string           `position:"Query" name:"ParentTopic"`
-	MsgType      string           `position:"Query" name:"MsgType"`
-	SubTopic     string           `position:"Query" name:"SubTopic"`
+	TransType   string           `position:"Query" name:"TransType"`
+	EndTime     requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime   requests.Integer `position:"Query" name:"BeginTime"`
+	TpsType     string           `position:"Query" name:"TpsType"`
+	ParentTopic string           `position:"Query" name:"ParentTopic"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	Qos         requests.Integer `position:"Query" name:"Qos"`
+	MsgType     string           `position:"Query" name:"MsgType"`
+	SubTopic    string           `position:"Query" name:"SubTopic"`
 }
 
 // OnsMqttQueryMsgTransTrendResponse is the response struct for api OnsMqttQueryMsgTransTrend

+ 0 - 1
services/ons/ons_region_list.go

@@ -76,7 +76,6 @@ func (client *Client) OnsRegionListWithCallback(request *OnsRegionListRequest, c
 // OnsRegionListRequest is the request struct for api OnsRegionList
 type OnsRegionListRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
 }
 
 // OnsRegionListResponse is the response struct for api OnsRegionList

+ 4 - 5
services/ons/ons_topic_create.go

@@ -76,11 +76,10 @@ func (client *Client) OnsTopicCreateWithCallback(request *OnsTopicCreateRequest,
 // OnsTopicCreateRequest is the request struct for api OnsTopicCreate
 type OnsTopicCreateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	MessageType  requests.Integer `position:"Query" name:"MessageType"`
-	Topic        string           `position:"Query" name:"Topic"`
-	Remark       string           `position:"Query" name:"Remark"`
+	MessageType requests.Integer `position:"Query" name:"MessageType"`
+	Remark      string           `position:"Query" name:"Remark"`
+	InstanceId  string           `position:"Query" name:"InstanceId"`
+	Topic       string           `position:"Query" name:"Topic"`
 }
 
 // OnsTopicCreateResponse is the response struct for api OnsTopicCreate

+ 2 - 3
services/ons/ons_topic_delete.go

@@ -76,9 +76,8 @@ func (client *Client) OnsTopicDeleteWithCallback(request *OnsTopicDeleteRequest,
 // OnsTopicDeleteRequest is the request struct for api OnsTopicDelete
 type OnsTopicDeleteRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsTopicDeleteResponse is the response struct for api OnsTopicDelete

+ 2 - 3
services/ons/ons_topic_list.go

@@ -76,9 +76,8 @@ func (client *Client) OnsTopicListWithCallback(request *OnsTopicListRequest, cal
 // OnsTopicListRequest is the request struct for api OnsTopicList
 type OnsTopicListRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsTopicListResponse is the response struct for api OnsTopicList

+ 2 - 3
services/ons/ons_topic_status.go

@@ -76,9 +76,8 @@ func (client *Client) OnsTopicStatusWithCallback(request *OnsTopicStatusRequest,
 // OnsTopicStatusRequest is the request struct for api OnsTopicStatus
 type OnsTopicStatusRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsTopicStatusResponse is the response struct for api OnsTopicStatus

+ 2 - 3
services/ons/ons_topic_sub_detail.go

@@ -76,9 +76,8 @@ func (client *Client) OnsTopicSubDetailWithCallback(request *OnsTopicSubDetailRe
 // OnsTopicSubDetailRequest is the request struct for api OnsTopicSubDetail
 type OnsTopicSubDetailRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsTopicSubDetailResponse is the response struct for api OnsTopicSubDetail

+ 3 - 4
services/ons/ons_topic_update.go

@@ -76,10 +76,9 @@ func (client *Client) OnsTopicUpdateWithCallback(request *OnsTopicUpdateRequest,
 // OnsTopicUpdateRequest is the request struct for api OnsTopicUpdate
 type OnsTopicUpdateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Perm         requests.Integer `position:"Query" name:"Perm"`
-	Topic        string           `position:"Query" name:"Topic"`
+	Perm       requests.Integer `position:"Query" name:"Perm"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Topic      string           `position:"Query" name:"Topic"`
 }
 
 // OnsTopicUpdateResponse is the response struct for api OnsTopicUpdate

+ 1 - 2
services/ons/ons_trace_get_result.go

@@ -76,8 +76,7 @@ func (client *Client) OnsTraceGetResultWithCallback(request *OnsTraceGetResultRe
 // OnsTraceGetResultRequest is the request struct for api OnsTraceGetResult
 type OnsTraceGetResultRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	QueryId      string           `position:"Query" name:"QueryId"`
+	QueryId string `position:"Query" name:"QueryId"`
 }
 
 // OnsTraceGetResultResponse is the response struct for api OnsTraceGetResult

+ 5 - 6
services/ons/ons_trace_query_by_msg_id.go

@@ -76,12 +76,11 @@ func (client *Client) OnsTraceQueryByMsgIdWithCallback(request *OnsTraceQueryByM
 // OnsTraceQueryByMsgIdRequest is the request struct for api OnsTraceQueryByMsgId
 type OnsTraceQueryByMsgIdRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	MsgId        string           `position:"Query" name:"MsgId"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
+	MsgId      string           `position:"Query" name:"MsgId"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime  requests.Integer `position:"Query" name:"BeginTime"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Topic      string           `position:"Query" name:"Topic"`
 }
 
 // OnsTraceQueryByMsgIdResponse is the response struct for api OnsTraceQueryByMsgId

+ 5 - 6
services/ons/ons_trace_query_by_msg_key.go

@@ -76,12 +76,11 @@ func (client *Client) OnsTraceQueryByMsgKeyWithCallback(request *OnsTraceQueryBy
 // OnsTraceQueryByMsgKeyRequest is the request struct for api OnsTraceQueryByMsgKey
 type OnsTraceQueryByMsgKeyRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	MsgKey       string           `position:"Query" name:"MsgKey"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime  requests.Integer `position:"Query" name:"BeginTime"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Topic      string           `position:"Query" name:"Topic"`
+	MsgKey     string           `position:"Query" name:"MsgKey"`
 }
 
 // OnsTraceQueryByMsgKeyResponse is the response struct for api OnsTraceQueryByMsgKey

+ 7 - 8
services/ons/ons_trend_group_output_tps.go

@@ -76,14 +76,13 @@ func (client *Client) OnsTrendGroupOutputTpsWithCallback(request *OnsTrendGroupO
 // OnsTrendGroupOutputTpsRequest is the request struct for api OnsTrendGroupOutputTps
 type OnsTrendGroupOutputTpsRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	Period       requests.Integer `position:"Query" name:"Period"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	Type         requests.Integer `position:"Query" name:"Type"`
+	Period     requests.Integer `position:"Query" name:"Period"`
+	GroupId    string           `position:"Query" name:"GroupId"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime  requests.Integer `position:"Query" name:"BeginTime"`
+	Type       requests.Integer `position:"Query" name:"Type"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Topic      string           `position:"Query" name:"Topic"`
 }
 
 // OnsTrendGroupOutputTpsResponse is the response struct for api OnsTrendGroupOutputTps

+ 6 - 7
services/ons/ons_trend_topic_input_tps.go

@@ -76,13 +76,12 @@ func (client *Client) OnsTrendTopicInputTpsWithCallback(request *OnsTrendTopicIn
 // OnsTrendTopicInputTpsRequest is the request struct for api OnsTrendTopicInputTps
 type OnsTrendTopicInputTpsRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	Period       requests.Integer `position:"Query" name:"Period"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	Topic        string           `position:"Query" name:"Topic"`
-	EndTime      requests.Integer `position:"Query" name:"EndTime"`
-	BeginTime    requests.Integer `position:"Query" name:"BeginTime"`
-	Type         requests.Integer `position:"Query" name:"Type"`
+	Period     requests.Integer `position:"Query" name:"Period"`
+	EndTime    requests.Integer `position:"Query" name:"EndTime"`
+	BeginTime  requests.Integer `position:"Query" name:"BeginTime"`
+	Type       requests.Integer `position:"Query" name:"Type"`
+	InstanceId string           `position:"Query" name:"InstanceId"`
+	Topic      string           `position:"Query" name:"Topic"`
 }
 
 // OnsTrendTopicInputTpsResponse is the response struct for api OnsTrendTopicInputTps

+ 9 - 10
services/ons/ons_warn_create.go

@@ -76,16 +76,15 @@ func (client *Client) OnsWarnCreateWithCallback(request *OnsWarnCreateRequest, c
 // OnsWarnCreateRequest is the request struct for api OnsWarnCreate
 type OnsWarnCreateRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	BlockTime    string           `position:"Query" name:"BlockTime"`
-	Level        string           `position:"Query" name:"Level"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	DelayTime    string           `position:"Query" name:"DelayTime"`
-	Topic        string           `position:"Query" name:"Topic"`
-	Threshold    string           `position:"Query" name:"Threshold"`
-	AlertTime    string           `position:"Query" name:"AlertTime"`
-	Contacts     string           `position:"Query" name:"Contacts"`
+	Level      string `position:"Query" name:"Level"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	DelayTime  string `position:"Query" name:"DelayTime"`
+	Threshold  string `position:"Query" name:"Threshold"`
+	AlertTime  string `position:"Query" name:"AlertTime"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	BlockTime  string `position:"Query" name:"BlockTime"`
+	Topic      string `position:"Query" name:"Topic"`
+	Contacts   string `position:"Query" name:"Contacts"`
 }
 
 // OnsWarnCreateResponse is the response struct for api OnsWarnCreate

+ 3 - 4
services/ons/ons_warn_delete.go

@@ -76,10 +76,9 @@ func (client *Client) OnsWarnDeleteWithCallback(request *OnsWarnDeleteRequest, c
 // OnsWarnDeleteRequest is the request struct for api OnsWarnDelete
 type OnsWarnDeleteRequest struct {
 	*requests.RpcRequest
-	PreventCache requests.Integer `position:"Query" name:"PreventCache"`
-	InstanceId   string           `position:"Query" name:"InstanceId"`
-	GroupId      string           `position:"Query" name:"GroupId"`
-	Topic        string           `position:"Query" name:"Topic"`
+	GroupId    string `position:"Query" name:"GroupId"`
+	InstanceId string `position:"Query" name:"InstanceId"`
+	Topic      string `position:"Query" name:"Topic"`
 }
 
 // OnsWarnDeleteResponse is the response struct for api OnsWarnDelete

+ 1 - 0
services/ons/struct_connection_do.go

@@ -21,4 +21,5 @@ type ConnectionDo struct {
 	ClientId   string `json:"ClientId" xml:"ClientId"`
 	Version    string `json:"Version" xml:"Version"`
 	Language   string `json:"Language" xml:"Language"`
+	RemoteIP   string `json:"RemoteIP" xml:"RemoteIP"`
 }

+ 2 - 2
services/ons/struct_consumer_connection_info_do.go

@@ -24,8 +24,8 @@ type ConsumerConnectionInfoDo struct {
 	ConsumeModel    string          `json:"ConsumeModel" xml:"ConsumeModel"`
 	ConsumeType     string          `json:"ConsumeType" xml:"ConsumeType"`
 	ThreadCount     int             `json:"ThreadCount" xml:"ThreadCount"`
-	StartTimeStamp  int             `json:"StartTimeStamp" xml:"StartTimeStamp"`
-	LastTimeStamp   int             `json:"LastTimeStamp" xml:"LastTimeStamp"`
+	StartTimeStamp  int64           `json:"StartTimeStamp" xml:"StartTimeStamp"`
+	LastTimeStamp   int64           `json:"LastTimeStamp" xml:"LastTimeStamp"`
 	SubscriptionSet SubscriptionSet `json:"SubscriptionSet" xml:"SubscriptionSet"`
 	RunningDataList RunningDataList `json:"RunningDataList" xml:"RunningDataList"`
 	Jstack          Jstack          `json:"Jstack" xml:"Jstack"`

+ 1 - 1
services/ons/struct_consumer_running_data_do.go

@@ -22,5 +22,5 @@ type ConsumerRunningDataDo struct {
 	Rt                 float64 `json:"Rt" xml:"Rt"`
 	OkTps              float64 `json:"OkTps" xml:"OkTps"`
 	FailedTps          float64 `json:"FailedTps" xml:"FailedTps"`
-	FailedCountPerHour int     `json:"FailedCountPerHour" xml:"FailedCountPerHour"`
+	FailedCountPerHour int64   `json:"FailedCountPerHour" xml:"FailedCountPerHour"`
 }

+ 11 - 11
services/ons/struct_data.go

@@ -17,44 +17,44 @@ package ons
 
 // Data is a nested struct in ons response
 type Data struct {
-	DelayTime                  int                                      `json:"DelayTime" xml:"DelayTime"`
+	DelayTime                  int64                                    `json:"DelayTime" xml:"DelayTime"`
 	ConsumeModel               string                                   `json:"ConsumeModel" xml:"ConsumeModel"`
 	Title                      string                                   `json:"Title" xml:"Title"`
 	Online                     bool                                     `json:"Online" xml:"Online"`
 	Flag                       int                                      `json:"Flag" xml:"Flag"`
-	BornTimestamp              int                                      `json:"BornTimestamp" xml:"BornTimestamp"`
+	BornTimestamp              int64                                    `json:"BornTimestamp" xml:"BornTimestamp"`
 	RebalanceOK                bool                                     `json:"RebalanceOK" xml:"RebalanceOK"`
 	XUnit                      string                                   `json:"XUnit" xml:"XUnit"`
 	OffsetId                   string                                   `json:"OffsetId" xml:"OffsetId"`
 	SubscriptionSame           bool                                     `json:"SubscriptionSame" xml:"SubscriptionSame"`
-	MaxTimeStamp               int                                      `json:"MaxTimeStamp" xml:"MaxTimeStamp"`
+	MaxTimeStamp               int64                                    `json:"MaxTimeStamp" xml:"MaxTimeStamp"`
 	InstanceId                 string                                   `json:"InstanceId" xml:"InstanceId"`
 	ConsumeTps                 float64                                  `json:"ConsumeTps" xml:"ConsumeTps"`
 	GroupId                    string                                   `json:"GroupId" xml:"GroupId"`
 	Topic                      string                                   `json:"Topic" xml:"Topic"`
-	ConsumeTimeStamp           int                                      `json:"ConsumeTimeStamp" xml:"ConsumeTimeStamp"`
-	TotalCount                 int                                      `json:"TotalCount" xml:"TotalCount"`
+	ConsumeTimeStamp           int64                                    `json:"ConsumeTimeStamp" xml:"ConsumeTimeStamp"`
+	TotalCount                 int64                                    `json:"TotalCount" xml:"TotalCount"`
+	TotalDiff                  int64                                    `json:"TotalDiff" xml:"TotalDiff"`
 	ReconsumeTimes             int                                      `json:"ReconsumeTimes" xml:"ReconsumeTimes"`
-	TotalDiff                  int                                      `json:"TotalDiff" xml:"TotalDiff"`
 	Body                       string                                   `json:"Body" xml:"Body"`
 	BornHost                   string                                   `json:"BornHost" xml:"BornHost"`
-	MinTimeStamp               int                                      `json:"MinTimeStamp" xml:"MinTimeStamp"`
-	LastTimeStamp              int                                      `json:"LastTimeStamp" xml:"LastTimeStamp"`
+	MinTimeStamp               int64                                    `json:"MinTimeStamp" xml:"MinTimeStamp"`
+	LastTimeStamp              int64                                    `json:"LastTimeStamp" xml:"LastTimeStamp"`
 	MessageModel               string                                   `json:"MessageModel" xml:"MessageModel"`
 	InstanceType               int                                      `json:"InstanceType" xml:"InstanceType"`
 	BodyCRC                    int                                      `json:"BodyCRC" xml:"BodyCRC"`
 	MsgId                      string                                   `json:"MsgId" xml:"MsgId"`
-	StoreTimestamp             int                                      `json:"StoreTimestamp" xml:"StoreTimestamp"`
+	StoreTimestamp             int64                                    `json:"StoreTimestamp" xml:"StoreTimestamp"`
 	StoreSize                  int                                      `json:"StoreSize" xml:"StoreSize"`
 	StoreHost                  string                                   `json:"StoreHost" xml:"StoreHost"`
 	YUnit                      string                                   `json:"YUnit" xml:"YUnit"`
-	LastTimestamp              int                                      `json:"LastTimestamp" xml:"LastTimestamp"`
+	LastTimestamp              int64                                    `json:"LastTimestamp" xml:"LastTimestamp"`
 	Perm                       int                                      `json:"Perm" xml:"Perm"`
-	ConnectionSet              ConnectionSet                            `json:"ConnectionSet" xml:"ConnectionSet"`
 	PropertyList               PropertyListInOnsDLQMessageGetById       `json:"PropertyList" xml:"PropertyList"`
 	Records                    RecordsInOnsMqttQueryHistoryOnline       `json:"Records" xml:"Records"`
 	ConsumerConnectionInfoList ConsumerConnectionInfoList               `json:"ConsumerConnectionInfoList" xml:"ConsumerConnectionInfoList"`
 	DetailInTopicList          DetailInTopicListInOnsConsumerAccumulate `json:"DetailInTopicList" xml:"DetailInTopicList"`
 	SubscriptionDataList       SubscriptionDataListInOnsGroupSubDetail  `json:"SubscriptionDataList" xml:"SubscriptionDataList"`
+	ConnectionSet              ConnectionSet                            `json:"ConnectionSet" xml:"ConnectionSet"`
 	ConnectionList             ConnectionList                           `json:"ConnectionList" xml:"ConnectionList"`
 }

+ 3 - 3
services/ons/struct_detail_in_topic_do.go

@@ -17,8 +17,8 @@ package ons
 
 // DetailInTopicDo is a nested struct in ons response
 type DetailInTopicDo struct {
-	DelayTime     int    `json:"DelayTime" xml:"DelayTime"`
-	TotalDiff     int    `json:"TotalDiff" xml:"TotalDiff"`
+	DelayTime     int64  `json:"DelayTime" xml:"DelayTime"`
+	TotalDiff     int64  `json:"TotalDiff" xml:"TotalDiff"`
 	Topic         string `json:"Topic" xml:"Topic"`
-	LastTimestamp int    `json:"LastTimestamp" xml:"LastTimestamp"`
+	LastTimestamp int64  `json:"LastTimestamp" xml:"LastTimestamp"`
 }

+ 2 - 1
services/ons/struct_instance_base_info.go

@@ -19,9 +19,10 @@ package ons
 type InstanceBaseInfo struct {
 	InstanceId        string    `json:"InstanceId" xml:"InstanceId"`
 	InstanceStatus    int       `json:"InstanceStatus" xml:"InstanceStatus"`
-	ReleaseTime       int       `json:"ReleaseTime" xml:"ReleaseTime"`
+	ReleaseTime       int64     `json:"ReleaseTime" xml:"ReleaseTime"`
 	InstanceType      int       `json:"InstanceType" xml:"InstanceType"`
 	InstanceName      string    `json:"InstanceName" xml:"InstanceName"`
 	IndependentNaming bool      `json:"IndependentNaming" xml:"IndependentNaming"`
+	Remark            string    `json:"Remark" xml:"Remark"`
 	Endpoints         Endpoints `json:"Endpoints" xml:"Endpoints"`
 }

+ 1 - 1
services/ons/struct_instance_vo.go

@@ -19,7 +19,7 @@ package ons
 type InstanceVO struct {
 	InstanceId        string `json:"InstanceId" xml:"InstanceId"`
 	InstanceStatus    int    `json:"InstanceStatus" xml:"InstanceStatus"`
-	ReleaseTime       int    `json:"ReleaseTime" xml:"ReleaseTime"`
+	ReleaseTime       int64  `json:"ReleaseTime" xml:"ReleaseTime"`
 	InstanceType      int    `json:"InstanceType" xml:"InstanceType"`
 	InstanceName      string `json:"InstanceName" xml:"InstanceName"`
 	IndependentNaming bool   `json:"IndependentNaming" xml:"IndependentNaming"`

+ 1 - 1
services/ons/struct_mqtt_client_info_do.go

@@ -20,6 +20,6 @@ type MqttClientInfoDo struct {
 	Online          bool            `json:"Online" xml:"Online"`
 	ClientId        string          `json:"ClientId" xml:"ClientId"`
 	SocketChannel   string          `json:"SocketChannel" xml:"SocketChannel"`
-	LastTouch       int             `json:"LastTouch" xml:"LastTouch"`
+	LastTouch       int64           `json:"LastTouch" xml:"LastTouch"`
 	SubScriptonData SubScriptonData `json:"SubScriptonData" xml:"SubScriptonData"`
 }

+ 2 - 2
services/ons/struct_mqtt_client_set_do.go

@@ -17,6 +17,6 @@ package ons
 
 // MqttClientSetDo is a nested struct in ons response
 type MqttClientSetDo struct {
-	OnlineCount  int `json:"OnlineCount" xml:"OnlineCount"`
-	PersistCount int `json:"PersistCount" xml:"PersistCount"`
+	OnlineCount  int64 `json:"OnlineCount" xml:"OnlineCount"`
+	PersistCount int64 `json:"PersistCount" xml:"PersistCount"`
 }

+ 3 - 3
services/ons/struct_mqtt_group_id_do.go

@@ -17,14 +17,14 @@ package ons
 
 // MqttGroupIdDo is a nested struct in ons response
 type MqttGroupIdDo struct {
-	Id                int    `json:"Id" xml:"Id"`
+	Id                int64  `json:"Id" xml:"Id"`
 	ChannelId         int    `json:"ChannelId" xml:"ChannelId"`
 	Owner             string `json:"Owner" xml:"Owner"`
 	GroupId           string `json:"GroupId" xml:"GroupId"`
 	Topic             string `json:"Topic" xml:"Topic"`
 	Status            int    `json:"Status" xml:"Status"`
-	CreateTime        int    `json:"CreateTime" xml:"CreateTime"`
-	UpdateTime        int    `json:"UpdateTime" xml:"UpdateTime"`
+	CreateTime        int64  `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime        int64  `json:"UpdateTime" xml:"UpdateTime"`
 	InstanceId        string `json:"InstanceId" xml:"InstanceId"`
 	IndependentNaming bool   `json:"IndependentNaming" xml:"IndependentNaming"`
 }

+ 2 - 2
services/ons/struct_msg_found_do.go

@@ -18,7 +18,7 @@ package ons
 // MsgFoundDo is a nested struct in ons response
 type MsgFoundDo struct {
 	TaskId       string                                        `json:"TaskId" xml:"TaskId"`
-	MaxPageCount int                                           `json:"MaxPageCount" xml:"MaxPageCount"`
-	CurrentPage  int                                           `json:"CurrentPage" xml:"CurrentPage"`
+	MaxPageCount int64                                         `json:"MaxPageCount" xml:"MaxPageCount"`
+	CurrentPage  int64                                         `json:"CurrentPage" xml:"CurrentPage"`
 	MsgFoundList MsgFoundListInOnsDLQMessagePageQueryByGroupId `json:"MsgFoundList" xml:"MsgFoundList"`
 }

+ 2 - 2
services/ons/struct_ons_rest_message_do.go

@@ -19,13 +19,13 @@ package ons
 type OnsRestMessageDo struct {
 	ReconsumeTimes int                                           `json:"ReconsumeTimes" xml:"ReconsumeTimes"`
 	Flag           int                                           `json:"Flag" xml:"Flag"`
-	BornTimestamp  int                                           `json:"BornTimestamp" xml:"BornTimestamp"`
+	BornTimestamp  int64                                         `json:"BornTimestamp" xml:"BornTimestamp"`
 	Body           string                                        `json:"Body" xml:"Body"`
 	BornHost       string                                        `json:"BornHost" xml:"BornHost"`
 	OffsetId       string                                        `json:"OffsetId" xml:"OffsetId"`
 	BodyCRC        int                                           `json:"BodyCRC" xml:"BodyCRC"`
 	MsgId          string                                        `json:"MsgId" xml:"MsgId"`
-	StoreTimestamp int                                           `json:"StoreTimestamp" xml:"StoreTimestamp"`
+	StoreTimestamp int64                                         `json:"StoreTimestamp" xml:"StoreTimestamp"`
 	InstanceId     string                                        `json:"InstanceId" xml:"InstanceId"`
 	StoreSize      int                                           `json:"StoreSize" xml:"StoreSize"`
 	StoreHost      string                                        `json:"StoreHost" xml:"StoreHost"`

+ 1 - 1
services/ons/struct_publish_info_do.go

@@ -21,7 +21,7 @@ type PublishInfoDo struct {
 	Owner             string `json:"Owner" xml:"Owner"`
 	Relation          int    `json:"Relation" xml:"Relation"`
 	RelationName      string `json:"RelationName" xml:"RelationName"`
-	CreateTime        int    `json:"CreateTime" xml:"CreateTime"`
+	CreateTime        int64  `json:"CreateTime" xml:"CreateTime"`
 	Remark            string `json:"Remark" xml:"Remark"`
 	MessageType       int    `json:"MessageType" xml:"MessageType"`
 	InstanceId        string `json:"InstanceId" xml:"InstanceId"`

+ 3 - 3
services/ons/struct_region_do.go

@@ -17,11 +17,11 @@ package ons
 
 // RegionDo is a nested struct in ons response
 type RegionDo struct {
-	Id          int    `json:"Id" xml:"Id"`
+	Id          int64  `json:"Id" xml:"Id"`
 	OnsRegionId string `json:"OnsRegionId" xml:"OnsRegionId"`
 	RegionName  string `json:"RegionName" xml:"RegionName"`
 	ChannelId   int    `json:"ChannelId" xml:"ChannelId"`
 	ChannelName string `json:"ChannelName" xml:"ChannelName"`
-	CreateTime  int    `json:"CreateTime" xml:"CreateTime"`
-	UpdateTime  int    `json:"UpdateTime" xml:"UpdateTime"`
+	CreateTime  int64  `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime  int64  `json:"UpdateTime" xml:"UpdateTime"`
 }

+ 1 - 1
services/ons/struct_stats_data_do.go

@@ -17,6 +17,6 @@ package ons
 
 // StatsDataDo is a nested struct in ons response
 type StatsDataDo struct {
-	X int     `json:"X" xml:"X"`
+	X int64   `json:"X" xml:"X"`
 	Y float64 `json:"Y" xml:"Y"`
 }

+ 1 - 1
services/ons/struct_sub_client_info_do.go

@@ -18,7 +18,7 @@ package ons
 // SubClientInfoDo is a nested struct in ons response
 type SubClientInfoDo struct {
 	SubGroupName   string `json:"SubGroupName" xml:"SubGroupName"`
-	SubTime        int    `json:"SubTime" xml:"SubTime"`
+	SubTime        int64  `json:"SubTime" xml:"SubTime"`
 	ClientHost     string `json:"ClientHost" xml:"ClientHost"`
 	ReconsumeTimes int    `json:"ReconsumeTimes" xml:"ReconsumeTimes"`
 	CostTime       int    `json:"CostTime" xml:"CostTime"`

+ 2 - 1
services/ons/struct_subscribe_info_do.go

@@ -19,8 +19,9 @@ package ons
 type SubscribeInfoDo struct {
 	Owner             string `json:"Owner" xml:"Owner"`
 	GroupId           string `json:"GroupId" xml:"GroupId"`
-	UpdateTime        int    `json:"UpdateTime" xml:"UpdateTime"`
+	UpdateTime        int64  `json:"UpdateTime" xml:"UpdateTime"`
 	Remark            string `json:"Remark" xml:"Remark"`
 	InstanceId        string `json:"InstanceId" xml:"InstanceId"`
 	IndependentNaming bool   `json:"IndependentNaming" xml:"IndependentNaming"`
+	CreateTime        int64  `json:"CreateTime" xml:"CreateTime"`
 }

+ 1 - 1
services/ons/struct_subscription_data.go

@@ -19,6 +19,6 @@ package ons
 type SubscriptionData struct {
 	Topic      string  `json:"Topic" xml:"Topic"`
 	SubString  string  `json:"SubString" xml:"SubString"`
-	SubVersion int     `json:"SubVersion" xml:"SubVersion"`
+	SubVersion int64   `json:"SubVersion" xml:"SubVersion"`
 	TagsSet    TagsSet `json:"TagsSet" xml:"TagsSet"`
 }

+ 1 - 1
services/ons/struct_subscription_data_list_in_ons_group_sub_detail.go

@@ -17,5 +17,5 @@ package ons
 
 // SubscriptionDataListInOnsGroupSubDetail is a nested struct in ons response
 type SubscriptionDataListInOnsGroupSubDetail struct {
-	SubscriptionDataListItem []SubscriptionDataListItem `json:"SubscriptionDataListItem" xml:"SubscriptionDataListItem"`
+	SubscriptionDataListItem []SubscriptionDataListItem `json:"SubscriptionDataList" xml:"SubscriptionDataList"`
 }

+ 1 - 1
services/ons/struct_subscription_data_list_in_ons_topic_sub_detail.go

@@ -17,5 +17,5 @@ package ons
 
 // SubscriptionDataListInOnsTopicSubDetail is a nested struct in ons response
 type SubscriptionDataListInOnsTopicSubDetail struct {
-	SubscriptionDataListItem []SubscriptionDataListItem `json:"SubscriptionDataListItem" xml:"SubscriptionDataListItem"`
+	SubscriptionDataListItem []SubscriptionDataListItem `json:"SubscriptionDataList" xml:"SubscriptionDataList"`
 }

+ 2 - 2
services/ons/struct_trace_data.go

@@ -23,8 +23,8 @@ type TraceData struct {
 	MsgId      string    `json:"MsgId" xml:"MsgId"`
 	MsgKey     string    `json:"MsgKey" xml:"MsgKey"`
 	Status     string    `json:"Status" xml:"Status"`
-	CreateTime int       `json:"CreateTime" xml:"CreateTime"`
-	UpdateTime int       `json:"UpdateTime" xml:"UpdateTime"`
+	CreateTime int64     `json:"CreateTime" xml:"CreateTime"`
+	UpdateTime int64     `json:"UpdateTime" xml:"UpdateTime"`
 	InstanceId string    `json:"InstanceId" xml:"InstanceId"`
 	TraceList  TraceList `json:"TraceList" xml:"TraceList"`
 }

+ 1 - 1
services/ons/struct_trace_map_do.go

@@ -17,7 +17,7 @@ package ons
 
 // TraceMapDo is a nested struct in ons response
 type TraceMapDo struct {
-	PubTime      int     `json:"PubTime" xml:"PubTime"`
+	PubTime      int64   `json:"PubTime" xml:"PubTime"`
 	Topic        string  `json:"Topic" xml:"Topic"`
 	PubGroupName string  `json:"PubGroupName" xml:"PubGroupName"`
 	MsgId        string  `json:"MsgId" xml:"MsgId"`