diff --git a/CHANGELOG b/CHANGELOG index 824aa03280..ecb58ec4a1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2024-07-22 Version: 3.0.30 +- Support kibana Pvl private link operation. + 2024-07-19 Version: 2.20.8 - Account management add SourceBiz parameters. diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesRequest.cs index ed2717ae11..4e74974a95 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesRequest.cs @@ -45,6 +45,8 @@ public ActivateZonesRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesResponse.cs index c2dd75ed13..8d7887e6b1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ActivateZonesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ActivateZonesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterRequest.cs index 60b9fac8f4..5813fc9a90 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterRequest.cs @@ -45,6 +45,8 @@ public AddConnectableClusterRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -69,6 +71,19 @@ public string ClientToken clientToken = value; DictionaryUtil.Add(QueryParameters, "clientToken", value); } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } } public override AddConnectableClusterResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterResponse.cs index 390cda4ddf..62e55b363c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddConnectableClusterResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class AddConnectableClusterResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoRequest.cs index 4536ec2bbd..9582ec89ec 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoRequest.cs @@ -43,6 +43,8 @@ public AddSnapshotRepoRequest() private string instanceId; + private string body; + public string InstanceId { get @@ -56,6 +58,19 @@ public string InstanceId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoResponse.cs index d8e24ef3ea..ad97919c7c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/AddSnapshotRepoResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class AddSnapshotRepoResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelDeletionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelDeletionResponse.cs index a552ef5509..e28a0c186d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelDeletionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelDeletionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CancelDeletionResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelLogstashDeletionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelLogstashDeletionResponse.cs index a7f6e89eda..4da7648125 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelLogstashDeletionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelLogstashDeletionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CancelLogstashDeletionResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelTaskResponse.cs index 9a0e2e1b0b..1e7f73ed6e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CancelTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CancelTaskResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CapacityPlanResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CapacityPlanResponse.cs index 74617e0dc8..0e9610ca4f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CapacityPlanResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CapacityPlanResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseDiagnosisResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseDiagnosisResponse.cs index ce3aa6cfe6..eb8e772dd2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseDiagnosisResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseDiagnosisResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CloseDiagnosisResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseHttpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseHttpsResponse.cs index 5fe311528b..fb842b78c0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseHttpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseHttpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CloseHttpsResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseManagedIndexResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseManagedIndexResponse.cs index 33f3a7d4fc..7f2cd235cd 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseManagedIndexResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CloseManagedIndexResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CloseManagedIndexResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorRequest.cs index f863876feb..df29268628 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorRequest.cs @@ -43,6 +43,8 @@ public CreateCollectorRequest() private string clientToken; + private string body; + public string ClientToken { get @@ -54,6 +56,19 @@ public string ClientToken clientToken = value; DictionaryUtil.Add(QueryParameters, "clientToken", value); } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } } public override CreateCollectorResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorResponse.cs index 7813674761..37885182c8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexRequest.cs new file mode 100644 index 0000000000..c4a63ab544 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexRequest.cs @@ -0,0 +1,99 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class CreateComponentIndexRequest : RoaAcsRequest + { + public CreateComponentIndexRequest() + : base("elasticsearch", "2017-06-13", "CreateComponentIndex", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/component-index/[name]"; + Method = MethodType.POST; + } + + private string instanceId; + + private string name; + + private string body; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override CreateComponentIndexResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateComponentIndexResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexResponse.cs new file mode 100644 index 0000000000..5c678b8185 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateComponentIndexResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class CreateComponentIndexResponse : AcsResponse + { + + private string requestId; + + private bool? result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamRequest.cs index f19360906f..6c45e129c4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamRequest.cs @@ -45,6 +45,8 @@ public CreateDataStreamRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamResponse.cs index ed72299921..f79b63c8bf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateDataStreamResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyRequest.cs index f819901a33..383ed0ecd7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyRequest.cs @@ -45,6 +45,8 @@ public CreateILMPolicyRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyResponse.cs index b5c9e9c3bb..68f2c20846 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateILMPolicyResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CreateILMPolicyResponse : AcsResponse { - private string requestId; - private string result; - public string RequestId + private string requestId; + + public string Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public string Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateRequest.cs index a34a10c2df..434aa7545c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateRequest.cs @@ -45,6 +45,8 @@ public CreateIndexTemplateRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateResponse.cs index 990d9b816c..3c39b06b11 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateIndexTemplateResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CreateIndexTemplateResponse : AcsResponse { - private string requestId; - private string result; - public string RequestId + private string requestId; + + public string Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public string Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceRequest.cs index 80d8fb931b..50a3395b61 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceRequest.cs @@ -43,6 +43,8 @@ public CreateInstanceRequest() private string clientToken; + private string body; + public string ClientToken { get @@ -54,6 +56,19 @@ public string ClientToken clientToken = value; DictionaryUtil.Add(QueryParameters, "clientToken", value); } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } } public override CreateInstanceResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceResponse.cs index c210518ef9..3bcdf687d4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateInstanceResponse.cs @@ -17,58 +17,12 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 { public class CreateInstanceResponse : AcsResponse { - - private string requestId; - - private CreateInstance_Result result; - - public string RequestId - { - get - { - return requestId; - } - set - { - requestId = value; - } - } - - public CreateInstance_Result Result - { - get - { - return result; - } - set - { - result = value; - } - } - - public class CreateInstance_Result - { - - private string instanceId; - - public string InstanceId - { - get - { - return instanceId; - } - set - { - instanceId = value; - } - } - } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashRequest.cs index 38e4d5f068..2a5d4eafab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashRequest.cs @@ -43,6 +43,8 @@ public CreateLogstashRequest() private string clientToken; + private string body; + public string ClientToken { get @@ -54,6 +56,19 @@ public string ClientToken clientToken = value; DictionaryUtil.Add(QueryParameters, "clientToken", value); } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } } public override CreateLogstashResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashResponse.cs index 6292646653..ac31a1454d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,8 +56,92 @@ public CreateLogstash_Result Result public class CreateLogstash_Result { + private string status; + + private string description; + + private string resourceGroupId; + + private long? endTime; + private string instanceId; + private string config; + + private string createdAt; + + private long? nodeAmount; + + private string updatedAt; + + private string version; + + private bool? dataNode; + + private string paymentType; + + private string protocol; + + private long? zoneCount; + + private List endpointList; + + private List zoneInfos; + + private List tags; + + private CreateLogstash_NetworkConfig networkConfig; + + private CreateLogstash_NodeSpec nodeSpec; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + public string InstanceId { get @@ -69,6 +153,390 @@ public string InstanceId instanceId = value; } } + + public string Config + { + get + { + return config; + } + set + { + config = value; + } + } + + public string CreatedAt + { + get + { + return createdAt; + } + set + { + createdAt = value; + } + } + + public long? NodeAmount + { + get + { + return nodeAmount; + } + set + { + nodeAmount = value; + } + } + + public string UpdatedAt + { + get + { + return updatedAt; + } + set + { + updatedAt = value; + } + } + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public bool? DataNode + { + get + { + return dataNode; + } + set + { + dataNode = value; + } + } + + public string PaymentType + { + get + { + return paymentType; + } + set + { + paymentType = value; + } + } + + public string Protocol + { + get + { + return protocol; + } + set + { + protocol = value; + } + } + + public long? ZoneCount + { + get + { + return zoneCount; + } + set + { + zoneCount = value; + } + } + + public List EndpointList + { + get + { + return endpointList; + } + set + { + endpointList = value; + } + } + + public List ZoneInfos + { + get + { + return zoneInfos; + } + set + { + zoneInfos = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public CreateLogstash_NetworkConfig NetworkConfig + { + get + { + return networkConfig; + } + set + { + networkConfig = value; + } + } + + public CreateLogstash_NodeSpec NodeSpec + { + get + { + return nodeSpec; + } + set + { + nodeSpec = value; + } + } + + public class CreateLogstash_EndpointListItem + { + + private string host; + + private long? port; + + private string zoneId; + + public string Host + { + get + { + return host; + } + set + { + host = value; + } + } + + public long? Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string ZoneId + { + get + { + return zoneId; + } + set + { + zoneId = value; + } + } + } + + public class CreateLogstash_ZoneInfosItem + { + + private string status; + + private string zoneId; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ZoneId + { + get + { + return zoneId; + } + set + { + zoneId = value; + } + } + } + + public class CreateLogstash_TagsItem + { + + private string tagKey; + + private string tagValue; + + public string TagKey + { + get + { + return tagKey; + } + set + { + tagKey = value; + } + } + + public string TagValue + { + get + { + return tagValue; + } + set + { + tagValue = value; + } + } + } + + public class CreateLogstash_NetworkConfig + { + + private string type; + + private string vpcId; + + private string vsArea; + + private string vswitchId; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public string VsArea + { + get + { + return vsArea; + } + set + { + vsArea = value; + } + } + + public string VswitchId + { + get + { + return vswitchId; + } + set + { + vswitchId = value; + } + } + } + + public class CreateLogstash_NodeSpec + { + + private long? disk; + + private string diskType; + + private string spec; + + public long? Disk + { + get + { + return disk; + } + set + { + disk = value; + } + } + + public string DiskType + { + get + { + return diskType; + } + set + { + diskType = value; + } + } + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } + } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesRequest.cs index cc9cb1023d..39f0498deb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesRequest.cs @@ -47,6 +47,8 @@ public CreatePipelinesRequest() private bool? trigger; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public bool? Trigger } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesResponse.cs index 7e713647d8..026ba64a48 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreatePipelinesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CreatePipelinesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotRequest.cs index f265a10402..abb01d0b6b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotRequest.cs @@ -41,33 +41,48 @@ public CreateSnapshotRequest() Method = MethodType.POST; } + private string clientToken; + + private string body; + private string instanceId; - private string clientToken; + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } - public string InstanceId + public string Body { get { - return instanceId; + return body; } set { - instanceId = value; - DictionaryUtil.Add(PathParameters, "InstanceId", value); + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); } } - public string ClientToken + public string InstanceId { get { - return clientToken; + return instanceId; } set { - clientToken = value; - DictionaryUtil.Add(QueryParameters, "ClientToken", value); + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotResponse.cs index aff99c1378..84d8058df0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateSnapshotResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class CreateSnapshotResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointRequest.cs index e3e738aca0..94f99bf9df 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointRequest.cs @@ -47,6 +47,8 @@ public CreateVpcEndpointRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointResponse.cs index c43c4b8dd7..d56e2b8d1a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/CreateVpcEndpointResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public CreateVpcEndpoint_Result Result public class CreateVpcEndpoint_Result { - private string endpointId; - - private string endpointName; - private string serviceId; private string endpointDomain; - public string EndpointId + private string endpointId; + + private string endpointName; + + public string ServiceId { get { - return endpointId; + return serviceId; } set { - endpointId = value; + serviceId = value; } } - public string EndpointName + public string EndpointDomain { get { - return endpointName; + return endpointDomain; } set { - endpointName = value; + endpointDomain = value; } } - public string ServiceId + public string EndpointId { get { - return serviceId; + return endpointId; } set { - serviceId = value; + endpointId = value; } } - public string EndpointDomain + public string EndpointName { get { - return endpointDomain; + return endpointName; } set { - endpointDomain = value; + endpointName = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesRequest.cs index d0b3bf45d4..93931ece1c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesRequest.cs @@ -45,6 +45,8 @@ public DeactivateZonesRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesResponse.cs index 0faf5e3229..937b303c66 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeactivateZonesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeactivateZonesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteCollectorResponse.cs index 2adf4e6483..5a2b90bafb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteCollectorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexRequest.cs new file mode 100644 index 0000000000..556fea43d0 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexRequest.cs @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DeleteComponentIndexRequest : RoaAcsRequest + { + public DeleteComponentIndexRequest() + : base("elasticsearch", "2017-06-13", "DeleteComponentIndex", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/component-index/[name]"; + Method = MethodType.DELETE; + } + + private string instanceId; + + private string name; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DeleteComponentIndexResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteComponentIndexResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexResponse.cs new file mode 100644 index 0000000000..2b54d60ec2 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteComponentIndexResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DeleteComponentIndexResponse : AcsResponse + { + + private string requestId; + + private bool? result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteConnectedClusterResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteConnectedClusterResponse.cs index 4ed2b56aaf..0c0dbde490 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteConnectedClusterResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteConnectedClusterResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteConnectedClusterResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataStreamResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataStreamResponse.cs index 5eb1c396f8..001a391f38 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataStreamResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataStreamResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteDataStreamResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataTaskResponse.cs index 408b55ea86..ab1d408ce4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDataTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteDataTaskResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateRequest.cs new file mode 100644 index 0000000000..2b17bcd61b --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateRequest.cs @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DeleteDeprecatedTemplateRequest : RoaAcsRequest + { + public DeleteDeprecatedTemplateRequest() + : base("elasticsearch", "2017-06-13", "DeleteDeprecatedTemplate", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/deprecated-templates/[name]"; + Method = MethodType.DELETE; + } + + private string instanceId; + + private string name; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DeleteDeprecatedTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteDeprecatedTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateResponse.cs new file mode 100644 index 0000000000..d2948b6492 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteDeprecatedTemplateResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DeleteDeprecatedTemplateResponse : AcsResponse + { + + private string requestId; + + private bool? result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteILMPolicyResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteILMPolicyResponse.cs index ac581e543f..1c40f22985 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteILMPolicyResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteILMPolicyResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteILMPolicyResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteIndexTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteIndexTemplateResponse.cs index 0ed68e2d98..b56746605e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteIndexTemplateResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteIndexTemplateResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteIndexTemplateResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteInstanceResponse.cs index c026382a4e..65b141205c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteLogstashResponse.cs index 2ec362fb14..c1c0ca87bf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeletePipelinesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeletePipelinesResponse.cs index 0dd02d7815..8cda008702 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeletePipelinesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeletePipelinesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeletePipelinesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteSnapshotRepoResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteSnapshotRepoResponse.cs index 5540a72c62..39333d8743 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteSnapshotRepoResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteSnapshotRepoResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteSnapshotRepoResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteVpcEndpointResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteVpcEndpointResponse.cs index 487b2a6f72..97ed9e1b2a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteVpcEndpointResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DeleteVpcEndpointResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DeleteVpcEndpointResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeAckOperatorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeAckOperatorResponse.cs index 9ebd35c5ad..1cddce2e04 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeAckOperatorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeAckOperatorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public DescribeAckOperator_Result Result public class DescribeAckOperator_Result { - private string status; - private string version; - public string Status + private string status; + + public string Version { get { - return status; + return version; } set { - status = value; + version = value; } } - public string Version + public string Status { get { - return version; + return status; } set { - version = value; + status = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeApmResponse.cs index 6e8a114a32..91f18afb6b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeCollectorResponse.cs index 43b4e389c9..51384f7d76 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,25 +56,25 @@ public DescribeCollector_Result Result public class DescribeCollector_Result { - private string gmtCreatedTime; + private string resId; private string gmtUpdateTime; - private string name; - - private string resId; + private bool? dryRun; - private string resVersion; + private string ownerId; private string vpcId; private string resType; - private string ownerId; + private string resVersion; + + private string gmtCreatedTime; private string status; - private bool? dryRun; + private string name; private List configs; @@ -82,15 +82,15 @@ public class DescribeCollector_Result private List collectorPaths; - public string GmtCreatedTime + public string ResId { get { - return gmtCreatedTime; + return resId; } set { - gmtCreatedTime = value; + resId = value; } } @@ -106,75 +106,75 @@ public string GmtUpdateTime } } - public string Name + public bool? DryRun { get { - return name; + return dryRun; } set { - name = value; + dryRun = value; } } - public string ResId + public string OwnerId { get { - return resId; + return ownerId; } set { - resId = value; + ownerId = value; } } - public string ResVersion + public string VpcId { get { - return resVersion; + return vpcId; } set { - resVersion = value; + vpcId = value; } } - public string VpcId + public string ResType { get { - return vpcId; + return resType; } set { - vpcId = value; + resType = value; } } - public string ResType + public string ResVersion { get { - return resType; + return resVersion; } set { - resType = value; + resVersion = value; } } - public string OwnerId + public string GmtCreatedTime { get { - return ownerId; + return gmtCreatedTime; } set { - ownerId = value; + gmtCreatedTime = value; } } @@ -190,15 +190,15 @@ public string Status } } - public bool? DryRun + public string Name { get { - return dryRun; + return name; } set { - dryRun = value; + name = value; } } @@ -241,31 +241,31 @@ public List CollectorPaths public class DescribeCollector_ConfigsItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } @@ -273,175 +273,175 @@ public string Content public class DescribeCollector_ExtendConfigsItem { - private string configType; - - private string instanceId; - - private string instanceType; + private string successPodsCount; private string protocol; private string userName; - private bool? enableMonitoring; + private string totalPodsCount; private string type; - private string groupId; + private string kibanaHost; - private string host; + private bool? enableMonitoring; - private string kibanaHost; + private string configType; - private string totalPodsCount; + private string instanceType; - private string successPodsCount; + private string groupId; + + private string host; + + private string instanceId; private List machines; private List hosts; - public string ConfigType + public string SuccessPodsCount { get { - return configType; + return successPodsCount; } set { - configType = value; + successPodsCount = value; } } - public string InstanceId + public string Protocol { get { - return instanceId; + return protocol; } set { - instanceId = value; + protocol = value; } } - public string InstanceType + public string UserName { get { - return instanceType; + return userName; } set { - instanceType = value; + userName = value; } } - public string Protocol + public string TotalPodsCount { get { - return protocol; + return totalPodsCount; } set { - protocol = value; + totalPodsCount = value; } } - public string UserName + public string Type { get { - return userName; + return type; } set { - userName = value; + type = value; } } - public bool? EnableMonitoring + public string KibanaHost { get { - return enableMonitoring; + return kibanaHost; } set { - enableMonitoring = value; + kibanaHost = value; } } - public string Type + public bool? EnableMonitoring { get { - return type; + return enableMonitoring; } set { - type = value; + enableMonitoring = value; } } - public string GroupId + public string ConfigType { get { - return groupId; + return configType; } set { - groupId = value; + configType = value; } } - public string Host + public string InstanceType { get { - return host; + return instanceType; } set { - host = value; + instanceType = value; } } - public string KibanaHost + public string GroupId { get { - return kibanaHost; + return groupId; } set { - kibanaHost = value; + groupId = value; } } - public string TotalPodsCount + public string Host { get { - return totalPodsCount; + return host; } set { - totalPodsCount = value; + host = value; } } - public string SuccessPodsCount + public string InstanceId { get { - return successPodsCount; + return instanceId; } set { - successPodsCount = value; + instanceId = value; } } @@ -472,31 +472,31 @@ public List Hosts public class DescribeCollector_MachinesItem { - private string instanceId; - private string agentStatus; - public string InstanceId + private string instanceId; + + public string AgentStatus { get { - return instanceId; + return agentStatus; } set { - instanceId = value; + agentStatus = value; } } - public string AgentStatus + public string InstanceId { get { - return agentStatus; + return instanceId; } set { - agentStatus = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexRequest.cs new file mode 100644 index 0000000000..0a76202acd --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexRequest.cs @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeComponentIndexRequest : RoaAcsRequest + { + public DescribeComponentIndexRequest() + : base("elasticsearch", "2017-06-13", "DescribeComponentIndex", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/component-index/[name]"; + Method = MethodType.GET; + } + + private string instanceId; + + private string name; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeComponentIndexResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeComponentIndexResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexResponse.cs new file mode 100644 index 0000000000..4a34561fe8 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeComponentIndexResponse.cs @@ -0,0 +1,134 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeComponentIndexResponse : AcsResponse + { + + private string requestId; + + private DescribeComponentIndex_Result result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public DescribeComponentIndex_Result Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class DescribeComponentIndex_Result + { + + private string _meta; + + private DescribeComponentIndex_Template template; + + public string _Meta + { + get + { + return _meta; + } + set + { + _meta = value; + } + } + + public DescribeComponentIndex_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class DescribeComponentIndex_Template + { + + private string aliases; + + private string mappings; + + private string settings; + + public string Aliases + { + get + { + return aliases; + } + set + { + aliases = value; + } + } + + public string Mappings + { + get + { + return mappings; + } + set + { + mappings = value; + } + } + + public string Settings + { + get + { + return settings; + } + set + { + settings = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeConnectableClustersResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeConnectableClustersResponse.cs index 554e3cafa1..21cc3cdc08 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeConnectableClustersResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeConnectableClustersResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class DescribeConnectableClusters_ConnectableClustersInfo { - private string instances; - private string networkType; - public string Instances + private string instances; + + public string NetworkType { get { - return instances; + return networkType; } set { - instances = value; + networkType = value; } } - public string NetworkType + public string Instances { get { - return networkType; + return instances; } set { - networkType = value; + instances = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateRequest.cs new file mode 100644 index 0000000000..3b857cc47a --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateRequest.cs @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeDeprecatedTemplateRequest : RoaAcsRequest + { + public DescribeDeprecatedTemplateRequest() + : base("elasticsearch", "2017-06-13", "DescribeDeprecatedTemplate", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/deprecated-templates/[name]"; + Method = MethodType.GET; + } + + private string instanceId; + + private string name; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeDeprecatedTemplateResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeDeprecatedTemplateResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateResponse.cs new file mode 100644 index 0000000000..723685e5e1 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDeprecatedTemplateResponse.cs @@ -0,0 +1,190 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeDeprecatedTemplateResponse : AcsResponse + { + + private string requestId; + + private DescribeDeprecatedTemplate_Result result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public DescribeDeprecatedTemplate_Result Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class DescribeDeprecatedTemplate_Result + { + + private bool? dataStream; + + private string indexTemplate; + + private long? order; + + private string version; + + private List indexPatterns; + + private DescribeDeprecatedTemplate_Template template; + + public bool? DataStream + { + get + { + return dataStream; + } + set + { + dataStream = value; + } + } + + public string IndexTemplate + { + get + { + return indexTemplate; + } + set + { + indexTemplate = value; + } + } + + public long? Order + { + get + { + return order; + } + set + { + order = value; + } + } + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public List IndexPatterns + { + get + { + return indexPatterns; + } + set + { + indexPatterns = value; + } + } + + public DescribeDeprecatedTemplate_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class DescribeDeprecatedTemplate_Template + { + + private string aliases; + + private string mappings; + + private string settings; + + public string Aliases + { + get + { + return aliases; + } + set + { + aliases = value; + } + } + + public string Mappings + { + get + { + return mappings; + } + set + { + mappings = value; + } + } + + public string Settings + { + get + { + return settings; + } + set + { + settings = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnoseReportResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnoseReportResponse.cs index bb352c9f1a..72d0b2bfef 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnoseReportResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnoseReportResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,89 +56,89 @@ public DescribeDiagnoseReport_Result Result public class DescribeDiagnoseReport_Result { - private string reportId; + private string trigger; - private string instanceId; + private long? createTime; + + private string reportId; private string state; - private long? createTime; + private string instanceId; private string health; - private string trigger; - private List diagnoseItems; - public string ReportId + public string Trigger { get { - return reportId; + return trigger; } set { - reportId = value; + trigger = value; } } - public string InstanceId + public long? CreateTime { get { - return instanceId; + return createTime; } set { - instanceId = value; + createTime = value; } } - public string State + public string ReportId { get { - return state; + return reportId; } set { - state = value; + reportId = value; } } - public long? CreateTime + public string State { get { - return createTime; + return state; } set { - createTime = value; + state = value; } } - public string Health + public string InstanceId { get { - return health; + return instanceId; } set { - health = value; + instanceId = value; } } - public string Trigger + public string Health { get { - return trigger; + return health; } set { - trigger = value; + health = value; } } @@ -202,15 +202,27 @@ public DescribeDiagnoseReport_Detail Detail public class DescribeDiagnoseReport_Detail { + private string type; + private string name; private string desc; - private string type; + private string result; private string suggest; - private string result; + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } public string Name { @@ -236,15 +248,15 @@ public string Desc } } - public string Type + public string Result { get { - return type; + return result; } set { - type = value; + result = value; } } @@ -259,18 +271,6 @@ public string Suggest suggest = value; } } - - public string Result - { - get - { - return result; - } - set - { - result = value; - } - } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnosisSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnosisSettingsResponse.cs index ecf88d483d..787a7d19e1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnosisSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDiagnosisSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public DescribeDiagnosisSettings_Result Result public class DescribeDiagnosisSettings_Result { - private string scene; - private long? updateTime; - public string Scene + private string scene; + + public long? UpdateTime { get { - return scene; + return updateTime; } set { - scene = value; + updateTime = value; } } - public long? UpdateTime + public string Scene { get { - return updateTime; + return scene; } set { - updateTime = value; + scene = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsRequest.cs new file mode 100644 index 0000000000..7dd7c30f26 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsRequest.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeDynamicSettingsRequest : RoaAcsRequest + { + public DescribeDynamicSettingsRequest() + : base("elasticsearch", "2017-06-13", "DescribeDynamicSettings", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/dynamic-settings"; + Method = MethodType.GET; + } + + private string instanceId; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeDynamicSettingsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeDynamicSettingsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsResponse.cs new file mode 100644 index 0000000000..6327822836 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeDynamicSettingsResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DescribeDynamicSettingsResponse : AcsResponse + { + + private string result; + + private string requestId; + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeElasticsearchHealthResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeElasticsearchHealthResponse.cs index 05df669f7c..64c562d567 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeElasticsearchHealthResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeElasticsearchHealthResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DescribeElasticsearchHealthResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private string result; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeILMPolicyResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeILMPolicyResponse.cs index 27d6f93ca8..8af38a7287 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeILMPolicyResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeILMPolicyResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeIndexTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeIndexTemplateResponse.cs index d51093ad02..27b3c25fb3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeIndexTemplateResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeIndexTemplateResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,63 +56,63 @@ public DescribeIndexTemplate_Result Result public class DescribeIndexTemplate_Result { - private string indexTemplate; - private bool? dataStream; - private int? priority; + private string indexTemplate; private string ilmPolicy; + private int? priority; + private List indexPatterns; private DescribeIndexTemplate_Template template; - public string IndexTemplate + public bool? DataStream { get { - return indexTemplate; + return dataStream; } set { - indexTemplate = value; + dataStream = value; } } - public bool? DataStream + public string IndexTemplate { get { - return dataStream; + return indexTemplate; } set { - dataStream = value; + indexTemplate = value; } } - public int? Priority + public string IlmPolicy { get { - return priority; + return ilmPolicy; } set { - priority = value; + ilmPolicy = value; } } - public string IlmPolicy + public int? Priority { get { - return ilmPolicy; + return priority; } set { - ilmPolicy = value; + priority = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeInstanceResponse.cs index 368b037ca6..c12f01111c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,65 +56,71 @@ public DescribeInstance_Result Result public class DescribeInstance_Result { - private string instanceId; + private bool? advancedDedicateMaster; - private string domain; + private string protocol; - private string description; + private bool? enableKibanaPublicNetwork; private int? nodeAmount; - private string paymentType; - - private string status; - - private string esVersion; - private string createdAt; - private string updatedAt; + private bool? enableKibanaPrivateNetwork; - private string kibanaDomain; + private string vpcInstanceId; + + private int? port; private bool? enablePublic; private bool? dedicateMaster; - private bool? advancedDedicateMaster; + private int? kibanaPort; - private int? publicPort; + private string esConfig; - private int? kibanaPort; + private string resourceGroupId; - private string publicDomain; + private string paymentType; - private string vpcInstanceId; + private string postpaidServiceStatus; - private int? port; + private string esVersion; - private string esConfig; + private bool? haveKibana; + + private bool? isNewDeployment; + + private bool? warmNode; + + private string updatedAt; + + private string instanceId; private int? zoneCount; - private bool? haveClientNode; + private string publicDomain; - private bool? warmNode; + private string status; - private string protocol; + private bool? serviceVpc; - private bool? enableKibanaPublicNetwork; + private int? publicPort; - private bool? haveKibana; + private bool? haveClientNode; - private string resourceGroupId; + private string domain; - private bool? enableKibanaPrivateNetwork; + private string description; - private bool? isNewDeployment; + private string kibanaDomain; - private string postpaidServiceStatus; + private string instanceCategory; - private bool? serviceVpc; + private long? endtime; + + private string archType; private List dictList; @@ -126,19 +132,21 @@ public class DescribeInstance_Result private List tags; + private List ikHotDicts; + private List esIPWhitelist; - private List esIPBlacklist; + private List> extendConfigs; - private List kibanaIPWhitelist; + private List privateNetworkIpWhiteList; private List publicIpWhitelist; - private List privateNetworkIpWhiteList; - private List kibanaPrivateIPWhitelist; - private List> extendConfigs; + private List esIPBlacklist; + + private List kibanaIPWhitelist; private DescribeInstance_NodeSpec nodeSpec; @@ -156,39 +164,39 @@ public class DescribeInstance_Result private DescribeInstance_ElasticDataNodeConfiguration elasticDataNodeConfiguration; - public string InstanceId + public bool? AdvancedDedicateMaster { get { - return instanceId; + return advancedDedicateMaster; } set { - instanceId = value; + advancedDedicateMaster = value; } } - public string Domain + public string Protocol { get { - return domain; + return protocol; } set { - domain = value; + protocol = value; } } - public string Description + public bool? EnableKibanaPublicNetwork { get { - return description; + return enableKibanaPublicNetwork; } set { - description = value; + enableKibanaPublicNetwork = value; } } @@ -204,183 +212,207 @@ public int? NodeAmount } } - public string PaymentType + public string CreatedAt { get { - return paymentType; + return createdAt; } set { - paymentType = value; + createdAt = value; } } - public string Status + public bool? EnableKibanaPrivateNetwork { get { - return status; + return enableKibanaPrivateNetwork; } set { - status = value; + enableKibanaPrivateNetwork = value; } } - public string EsVersion + public string VpcInstanceId { get { - return esVersion; + return vpcInstanceId; } set { - esVersion = value; + vpcInstanceId = value; } } - public string CreatedAt + public int? Port { get { - return createdAt; + return port; } set { - createdAt = value; + port = value; } } - public string UpdatedAt + public bool? EnablePublic { get { - return updatedAt; + return enablePublic; } set { - updatedAt = value; + enablePublic = value; } } - public string KibanaDomain + public bool? DedicateMaster { get { - return kibanaDomain; + return dedicateMaster; } set { - kibanaDomain = value; + dedicateMaster = value; } } - public bool? EnablePublic + public int? KibanaPort { get { - return enablePublic; + return kibanaPort; } set { - enablePublic = value; + kibanaPort = value; } } - public bool? DedicateMaster + public string EsConfig { get { - return dedicateMaster; + return esConfig; } set { - dedicateMaster = value; + esConfig = value; } } - public bool? AdvancedDedicateMaster + public string ResourceGroupId { get { - return advancedDedicateMaster; + return resourceGroupId; } set { - advancedDedicateMaster = value; + resourceGroupId = value; } } - public int? PublicPort + public string PaymentType { get { - return publicPort; + return paymentType; } set { - publicPort = value; + paymentType = value; } } - public int? KibanaPort + public string PostpaidServiceStatus { get { - return kibanaPort; + return postpaidServiceStatus; } set { - kibanaPort = value; + postpaidServiceStatus = value; } } - public string PublicDomain + public string EsVersion { get { - return publicDomain; + return esVersion; } set { - publicDomain = value; + esVersion = value; } } - public string VpcInstanceId + public bool? HaveKibana { get { - return vpcInstanceId; + return haveKibana; } set { - vpcInstanceId = value; + haveKibana = value; } } - public int? Port + public bool? IsNewDeployment { get { - return port; + return isNewDeployment; } set { - port = value; + isNewDeployment = value; } } - public string EsConfig + public bool? WarmNode { get { - return esConfig; + return warmNode; } set { - esConfig = value; + warmNode = value; + } + } + + public string UpdatedAt + { + get + { + return updatedAt; + } + set + { + updatedAt = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; } } @@ -396,123 +428,135 @@ public int? ZoneCount } } - public bool? HaveClientNode + public string PublicDomain { get { - return haveClientNode; + return publicDomain; } set { - haveClientNode = value; + publicDomain = value; } } - public bool? WarmNode + public string Status { get { - return warmNode; + return status; } set { - warmNode = value; + status = value; } } - public string Protocol + public bool? ServiceVpc { get { - return protocol; + return serviceVpc; } set { - protocol = value; + serviceVpc = value; } } - public bool? EnableKibanaPublicNetwork + public int? PublicPort { get { - return enableKibanaPublicNetwork; + return publicPort; } set { - enableKibanaPublicNetwork = value; + publicPort = value; } } - public bool? HaveKibana + public bool? HaveClientNode { get { - return haveKibana; + return haveClientNode; } set { - haveKibana = value; + haveClientNode = value; } } - public string ResourceGroupId + public string Domain { get { - return resourceGroupId; + return domain; } set { - resourceGroupId = value; + domain = value; } } - public bool? EnableKibanaPrivateNetwork + public string Description { get { - return enableKibanaPrivateNetwork; + return description; } set { - enableKibanaPrivateNetwork = value; + description = value; } } - public bool? IsNewDeployment + public string KibanaDomain { get { - return isNewDeployment; + return kibanaDomain; } set { - isNewDeployment = value; + kibanaDomain = value; } } - public string PostpaidServiceStatus + public string InstanceCategory { get { - return postpaidServiceStatus; + return instanceCategory; } set { - postpaidServiceStatus = value; + instanceCategory = value; } } - public bool? ServiceVpc + public long? Endtime { get { - return serviceVpc; + return endtime; } set { - serviceVpc = value; + endtime = value; + } + } + + public string ArchType + { + get + { + return archType; + } + set + { + archType = value; } } @@ -576,6 +620,18 @@ public List Tags } } + public List IkHotDicts + { + get + { + return ikHotDicts; + } + set + { + ikHotDicts = value; + } + } + public List EsIPWhitelist { get @@ -588,27 +644,27 @@ public List EsIPWhitelist } } - public List EsIPBlacklist + public List> ExtendConfigs { get { - return esIPBlacklist; + return extendConfigs; } set { - esIPBlacklist = value; + extendConfigs = value; } } - public List KibanaIPWhitelist + public List PrivateNetworkIpWhiteList { get { - return kibanaIPWhitelist; + return privateNetworkIpWhiteList; } set { - kibanaIPWhitelist = value; + privateNetworkIpWhiteList = value; } } @@ -624,39 +680,39 @@ public List PublicIpWhitelist } } - public List PrivateNetworkIpWhiteList + public List KibanaPrivateIPWhitelist { get { - return privateNetworkIpWhiteList; + return kibanaPrivateIPWhitelist; } set { - privateNetworkIpWhiteList = value; + kibanaPrivateIPWhitelist = value; } } - public List KibanaPrivateIPWhitelist + public List EsIPBlacklist { get { - return kibanaPrivateIPWhitelist; + return esIPBlacklist; } set { - kibanaPrivateIPWhitelist = value; + esIPBlacklist = value; } } - public List> ExtendConfigs + public List KibanaIPWhitelist { get { - return extendConfigs; + return kibanaIPWhitelist; } set { - extendConfigs = value; + kibanaIPWhitelist = value; } } @@ -759,59 +815,59 @@ public DescribeInstance_ElasticDataNodeConfiguration ElasticDataNodeConfiguratio public class DescribeInstance_DictListItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -819,59 +875,59 @@ public string SourceType public class DescribeInstance_SynonymsDictsItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -879,31 +935,31 @@ public string SourceType public class DescribeInstance_ZoneInfo { - private string zoneId; - private string status; - public string ZoneId + private string zoneId; + + public string Status { get { - return zoneId; + return status; } set { - zoneId = value; + status = value; } } - public string Status + public string ZoneId { get { - return status; + return zoneId; } set { - status = value; + zoneId = value; } } } @@ -911,13 +967,37 @@ public string Status public class DescribeInstance_Dict { - private string name; - private long? fileSize; + private string sourceType; + + private string name; + private string type; - private string sourceType; + public long? FileSize + { + get + { + return fileSize; + } + set + { + fileSize = value; + } + } + + public string SourceType + { + get + { + return sourceType; + } + set + { + sourceType = value; + } + } public string Name { @@ -931,17 +1011,61 @@ public string Name } } - public long? FileSize + public string Type { get { - return fileSize; + return type; + } + set + { + type = value; + } + } + } + + public class DescribeInstance_Tag + { + + private string tagKey; + + private string tagValue; + + public string TagKey + { + get + { + return tagKey; + } + set + { + tagKey = value; + } + } + + public string TagValue + { + get + { + return tagValue; } set { - fileSize = value; + tagValue = value; } } + } + + public class DescribeInstance_IkHotDictsItem + { + + private string type; + + private string sourceType; + + private int? fileSize; + + private string name; public string Type { @@ -966,36 +1090,28 @@ public string SourceType sourceType = value; } } - } - - public class DescribeInstance_Tag - { - - private string tagKey; - - private string tagValue; - public string TagKey + public int? FileSize { get { - return tagKey; + return fileSize; } set { - tagKey = value; + fileSize = value; } } - public string TagValue + public string Name { get { - return tagValue; + return name; } set { - tagValue = value; + name = value; } } } @@ -1007,9 +1123,13 @@ public class DescribeInstance_NodeSpec private int? disk; + private bool? diskEncryption; + private string diskType; - private bool? diskEncryption; + private string performanceLevel; + + private string specInfo; public string Spec { @@ -1035,6 +1155,18 @@ public int? Disk } } + public bool? DiskEncryption + { + get + { + return diskEncryption; + } + set + { + diskEncryption = value; + } + } + public string DiskType { get @@ -1047,15 +1179,27 @@ public string DiskType } } - public bool? DiskEncryption + public string PerformanceLevel { get { - return diskEncryption; + return performanceLevel; } set { - diskEncryption = value; + performanceLevel = value; + } + } + + public string SpecInfo + { + get + { + return specInfo; + } + set + { + specInfo = value; } } } @@ -1063,61 +1207,61 @@ public bool? DiskEncryption public class DescribeInstance_NetworkConfig { - private string type; - private string vpcId; - private string vswitchId; - private string vsArea; + private string type; + + private string vswitchId; + private List whiteIpGroupList; - public string Type + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VswitchId + public string Type { get { - return vswitchId; + return type; } set { - vswitchId = value; + type = value; } } - public string VsArea + public string VswitchId { get { - return vsArea; + return vswitchId; } set { - vsArea = value; + vswitchId = value; } } @@ -1136,33 +1280,33 @@ public List WhiteIpGroupList public class DescribeInstance_WhiteIpGroupListItem { - private string groupName; - private string whiteIpType; + private string groupName; + private List ips; - public string GroupName + public string WhiteIpType { get { - return groupName; + return whiteIpType; } set { - groupName = value; + whiteIpType = value; } } - public string WhiteIpType + public string GroupName { get { - return whiteIpType; + return groupName; } set { - whiteIpType = value; + groupName = value; } } @@ -1183,9 +1327,25 @@ public List Ips public class DescribeInstance_KibanaConfiguration { + private int? amount; + private string spec; - private int? amount; + private int? disk; + + private string specInfo; + + public int? Amount + { + get + { + return amount; + } + set + { + amount = value; + } + } public string Spec { @@ -1199,15 +1359,27 @@ public string Spec } } - public int? Amount + public int? Disk { get { - return amount; + return disk; } set { - amount = value; + disk = value; + } + } + + public string SpecInfo + { + get + { + return specInfo; + } + set + { + specInfo = value; } } } @@ -1219,9 +1391,11 @@ public class DescribeInstance_MasterConfiguration private int? amount; + private int? disk; + private string diskType; - private int? disk; + private string specInfo; public string Spec { @@ -1247,6 +1421,18 @@ public int? Amount } } + public int? Disk + { + get + { + return disk; + } + set + { + disk = value; + } + } + public string DiskType { get @@ -1259,15 +1445,15 @@ public string DiskType } } - public int? Disk + public string SpecInfo { get { - return disk; + return specInfo; } set { - disk = value; + specInfo = value; } } } @@ -1279,9 +1465,11 @@ public class DescribeInstance_ClientNodeConfiguration private int? amount; + private int? disk; + private string diskType; - private int? disk; + private string specInfo; public string Spec { @@ -1307,6 +1495,18 @@ public int? Amount } } + public int? Disk + { + get + { + return disk; + } + set + { + disk = value; + } + } + public string DiskType { get @@ -1319,15 +1519,15 @@ public string DiskType } } - public int? Disk + public string SpecInfo { get { - return disk; + return specInfo; } set { - disk = value; + specInfo = value; } } } @@ -1335,16 +1535,30 @@ public int? Disk public class DescribeInstance_WarmNodeConfiguration { - private string spec; - private int? amount; - private string diskType; + private string spec; private int? disk; private bool? diskEncryption; + private string diskType; + + private string specInfo; + + public int? Amount + { + get + { + return amount; + } + set + { + amount = value; + } + } + public string Spec { get @@ -1357,51 +1571,51 @@ public string Spec } } - public int? Amount + public int? Disk { get { - return amount; + return disk; } set { - amount = value; + disk = value; } } - public string DiskType + public bool? DiskEncryption { get { - return diskType; + return diskEncryption; } set { - diskType = value; + diskEncryption = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } - public bool? DiskEncryption + public string SpecInfo { get { - return diskEncryption; + return specInfo; } set { - diskEncryption = value; + specInfo = value; } } } @@ -1427,16 +1641,30 @@ public string GcName public class DescribeInstance_ElasticDataNodeConfiguration { - private string spec; - private int? amount; - private string diskType; + private string spec; private int? disk; private bool? diskEncryption; + private string diskType; + + private string specInfo; + + public int? Amount + { + get + { + return amount; + } + set + { + amount = value; + } + } + public string Spec { get @@ -1449,51 +1677,51 @@ public string Spec } } - public int? Amount + public int? Disk { get { - return amount; + return disk; } set { - amount = value; + disk = value; } } - public string DiskType + public bool? DiskEncryption { get { - return diskType; + return diskEncryption; } set { - diskType = value; + diskEncryption = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } - public bool? DiskEncryption + public string SpecInfo { get { - return diskEncryption; + return specInfo; } set { - diskEncryption = value; + specInfo = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeKibanaSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeKibanaSettingsResponse.cs index 7f878cc1ce..ff804221c1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeKibanaSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeKibanaSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class DescribeKibanaSettingsResponse : AcsResponse { - private string requestId; - private string result; - public string RequestId + private string requestId; + + public string Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public string Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeLogstashResponse.cs index c242e420be..8ba9d0d1ee 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,27 +56,27 @@ public DescribeLogstash_Result Result public class DescribeLogstash_Result { - private string instanceId; - - private string description; - - private int? nodeAmount; + private string config; private string paymentType; - private string status; + private string resourceGroupId; - private string version; + private int? nodeAmount; + + private string description; private string createdAt; - private string updatedAt; + private string status; private string vpcInstanceId; - private string config; + private string updatedAt; - private string resourceGroupId; + private string version; + + private string instanceId; private List endpointList; @@ -90,135 +90,135 @@ public class DescribeLogstash_Result private DescribeLogstash_NetworkConfig networkConfig; - public string InstanceId + public string Config { get { - return instanceId; + return config; } set { - instanceId = value; + config = value; } } - public string Description + public string PaymentType { get { - return description; + return paymentType; } set { - description = value; + paymentType = value; } } - public int? NodeAmount + public string ResourceGroupId { get { - return nodeAmount; + return resourceGroupId; } set { - nodeAmount = value; + resourceGroupId = value; } } - public string PaymentType + public int? NodeAmount { get { - return paymentType; + return nodeAmount; } set { - paymentType = value; + nodeAmount = value; } } - public string Status + public string Description { get { - return status; + return description; } set { - status = value; + description = value; } } - public string Version + public string CreatedAt { get { - return version; + return createdAt; } set { - version = value; + createdAt = value; } } - public string CreatedAt + public string Status { get { - return createdAt; + return status; } set { - createdAt = value; + status = value; } } - public string UpdatedAt + public string VpcInstanceId { get { - return updatedAt; + return vpcInstanceId; } set { - updatedAt = value; + vpcInstanceId = value; } } - public string VpcInstanceId + public string UpdatedAt { get { - return vpcInstanceId; + return updatedAt; } set { - vpcInstanceId = value; + updatedAt = value; } } - public string Config + public string Version { get { - return config; + return version; } set { - config = value; + version = value; } } - public string ResourceGroupId + public string InstanceId { get { - return resourceGroupId; + return instanceId; } set { - resourceGroupId = value; + instanceId = value; } } @@ -297,21 +297,21 @@ public DescribeLogstash_NetworkConfig NetworkConfig public class DescribeLogstash_Endpoint { - private string host; + private string zoneId; private string port; - private string zoneId; + private string host; - public string Host + public string ZoneId { get { - return host; + return zoneId; } set { - host = value; + zoneId = value; } } @@ -327,15 +327,15 @@ public string Port } } - public string ZoneId + public string Host { get { - return zoneId; + return host; } set { - zoneId = value; + host = value; } } } @@ -375,31 +375,31 @@ public string TagValue public class DescribeLogstash_ZoneInfosItem { - private string zoneId; - private string status; - public string ZoneId + private string zoneId; + + public string Status { get { - return zoneId; + return status; } set { - zoneId = value; + status = value; } } - public string Status + public string ZoneId { get { - return status; + return zoneId; } set { - status = value; + zoneId = value; } } } @@ -411,10 +411,10 @@ public class DescribeLogstash_NodeSpec private int? disk; - private string diskType; - private bool? diskEncryption; + private string diskType; + public string Spec { get @@ -439,27 +439,27 @@ public int? Disk } } - public string DiskType + public bool? DiskEncryption { get { - return diskType; + return diskEncryption; } set { - diskType = value; + diskEncryption = value; } } - public bool? DiskEncryption + public string DiskType { get { - return diskEncryption; + return diskType; } set { - diskEncryption = value; + diskType = value; } } } @@ -467,59 +467,59 @@ public bool? DiskEncryption public class DescribeLogstash_NetworkConfig { - private string type; - private string vpcId; - private string vswitchId; - private string vsArea; - public string Type + private string type; + + private string vswitchId; + + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VswitchId + public string Type { get { - return vswitchId; + return type; } set { - vswitchId = value; + type = value; } } - public string VsArea + public string VswitchId { get { - return vsArea; + return vswitchId; } set { - vsArea = value; + vswitchId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineManagementConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineManagementConfigResponse.cs index b1d5d1f9ed..582d4a8a62 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineManagementConfigResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineManagementConfigResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,49 +56,49 @@ public DescribePipelineManagementConfig_Result Result public class DescribePipelineManagementConfig_Result { - private string pipelineManagementType; - private string endpoints; private string userName; + private string pipelineManagementType; + private string esInstanceId; private List pipelineIds; - public string PipelineManagementType + public string Endpoints { get { - return pipelineManagementType; + return endpoints; } set { - pipelineManagementType = value; + endpoints = value; } } - public string Endpoints + public string UserName { get { - return endpoints; + return userName; } set { - endpoints = value; + userName = value; } } - public string UserName + public string PipelineManagementType { get { - return userName; + return pipelineManagementType; } set { - userName = value; + pipelineManagementType = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineResponse.cs index 2a249856f9..f5fbfd70d8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribePipelineResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -58,27 +58,27 @@ public class DescribePipeline_Result private string pipelineId; - private string config; - - private string pipelineStatus; + private string gmtUpdateTime; - private string gmtCreatedTime; + private string queueType; - private string gmtUpdateTime; + private int? queueCheckPointWrites; - private int? workers; + private int? queueMaxBytes; - private int? batchSize; + private string config; private int? batchDelay; + private int? workers; + private string description; - private string queueType; + private string gmtCreatedTime; - private int? queueMaxBytes; + private int? batchSize; - private int? queueCheckPointWrites; + private string pipelineStatus; public string PipelineId { @@ -92,87 +92,87 @@ public string PipelineId } } - public string Config + public string GmtUpdateTime { get { - return config; + return gmtUpdateTime; } set { - config = value; + gmtUpdateTime = value; } } - public string PipelineStatus + public string QueueType { get { - return pipelineStatus; + return queueType; } set { - pipelineStatus = value; + queueType = value; } } - public string GmtCreatedTime + public int? QueueCheckPointWrites { get { - return gmtCreatedTime; + return queueCheckPointWrites; } set { - gmtCreatedTime = value; + queueCheckPointWrites = value; } } - public string GmtUpdateTime + public int? QueueMaxBytes { get { - return gmtUpdateTime; + return queueMaxBytes; } set { - gmtUpdateTime = value; + queueMaxBytes = value; } } - public int? Workers + public string Config { get { - return workers; + return config; } set { - workers = value; + config = value; } } - public int? BatchSize + public int? BatchDelay { get { - return batchSize; + return batchDelay; } set { - batchSize = value; + batchDelay = value; } } - public int? BatchDelay + public int? Workers { get { - return batchDelay; + return workers; } set { - batchDelay = value; + workers = value; } } @@ -188,39 +188,39 @@ public string Description } } - public string QueueType + public string GmtCreatedTime { get { - return queueType; + return gmtCreatedTime; } set { - queueType = value; + gmtCreatedTime = value; } } - public int? QueueMaxBytes + public int? BatchSize { get { - return queueMaxBytes; + return batchSize; } set { - queueMaxBytes = value; + batchSize = value; } } - public int? QueueCheckPointWrites + public string PipelineStatus { get { - return queueCheckPointWrites; + return pipelineStatus; } set { - queueCheckPointWrites = value; + pipelineStatus = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeRegionsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeRegionsResponse.cs index 210265e91e..cb2e665306 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeRegionsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeRegionsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -58,14 +58,14 @@ public class DescribeRegions_RegionInfo private string regionId; + private string status; + private string regionEndpoint; private string localName; private string consoleEndpoint; - private string status; - public string RegionId { get @@ -78,51 +78,51 @@ public string RegionId } } - public string RegionEndpoint + public string Status { get { - return regionEndpoint; + return status; } set { - regionEndpoint = value; + status = value; } } - public string LocalName + public string RegionEndpoint { get { - return localName; + return regionEndpoint; } set { - localName = value; + regionEndpoint = value; } } - public string ConsoleEndpoint + public string LocalName { get { - return consoleEndpoint; + return localName; } set { - consoleEndpoint = value; + localName = value; } } - public string Status + public string ConsoleEndpoint { get { - return status; + return consoleEndpoint; } set { - status = value; + consoleEndpoint = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeSnapshotSettingResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeSnapshotSettingResponse.cs index b9298db09a..3103867bee 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeSnapshotSettingResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeSnapshotSettingResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public DescribeSnapshotSetting_Result Result public class DescribeSnapshotSetting_Result { - private string quartzRegex; - private bool? enable; - public string QuartzRegex + private string quartzRegex; + + public bool? Enable { get { - return quartzRegex; + return enable; } set { - quartzRegex = value; + enable = value; } } - public bool? Enable + public string QuartzRegex { get { - return enable; + return quartzRegex; } set { - enable = value; + quartzRegex = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeTemplatesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeTemplatesResponse.cs index 5dbb802a2b..d2c38a3d37 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeTemplatesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeTemplatesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeXpackMonitorConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeXpackMonitorConfigResponse.cs index 8bc0913fd2..21ec6d888f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeXpackMonitorConfigResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DescribeXpackMonitorConfigResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,37 +56,37 @@ public DescribeXpackMonitorConfig_Result Result public class DescribeXpackMonitorConfig_Result { - private string esInstanceId; - private string userName; + private string esInstanceId; + private bool? enable; private List endpoints; private List pipelineIds; - public string EsInstanceId + public string UserName { get { - return esInstanceId; + return userName; } set { - esInstanceId = value; + userName = value; } } - public string UserName + public string EsInstanceId { get { - return userName; + return esInstanceId; } set { - userName = value; + esInstanceId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceRequest.cs index c0af7b506e..f14eb914f8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceRequest.cs @@ -47,6 +47,8 @@ public DiagnoseInstanceRequest() private string lang; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public string Lang } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceResponse.cs index bebb311212..2436db76a7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DiagnoseInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,37 +56,37 @@ public DiagnoseInstance_Result Result public class DiagnoseInstance_Result { - private string reportId; + private long? createTime; - private string instanceId; + private string reportId; private string state; - private long? createTime; + private string instanceId; private List diagnoseItems; - public string ReportId + public long? CreateTime { get { - return reportId; + return createTime; } set { - reportId = value; + createTime = value; } } - public string InstanceId + public string ReportId { get { - return instanceId; + return reportId; } set { - instanceId = value; + reportId = value; } } @@ -102,15 +102,15 @@ public string State } } - public long? CreateTime + public string InstanceId { get { - return createTime; + return instanceId; } set { - createTime = value; + instanceId = value; } } @@ -174,15 +174,27 @@ public DiagnoseInstance_Detail Detail public class DiagnoseInstance_Detail { + private string type; + private string name; private string desc; - private string type; + private string result; private string suggest; - private string result; + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } public string Name { @@ -208,15 +220,15 @@ public string Desc } } - public string Type + public string Result { get { - return type; + return result; } set { - type = value; + result = value; } } @@ -231,18 +243,6 @@ public string Suggest suggest = value; } } - - public string Result - { - get - { - return result; - } - set - { - result = value; - } - } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkRequest.cs new file mode 100644 index 0000000000..39337321a3 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkRequest.cs @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DisableKibanaPvlNetworkRequest : RoaAcsRequest + { + public DisableKibanaPvlNetworkRequest() + : base("elasticsearch", "2017-06-13", "DisableKibanaPvlNetwork", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + UriPattern = "/openapi/instances/[InstanceId]/actions/disable-kibana-private"; + Method = MethodType.POST; + } + + private string instanceId; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DisableKibanaPvlNetworkResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DisableKibanaPvlNetworkResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkResponse.cs new file mode 100644 index 0000000000..0061390079 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/DisableKibanaPvlNetworkResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class DisableKibanaPvlNetworkResponse : AcsResponse + { + + private string requestId; + + private bool? result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkRequest.cs new file mode 100644 index 0000000000..c350e58986 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkRequest.cs @@ -0,0 +1,85 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class EnableKibanaPvlNetworkRequest : RoaAcsRequest + { + public EnableKibanaPvlNetworkRequest() + : base("elasticsearch", "2017-06-13", "EnableKibanaPvlNetwork", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + UriPattern = "/openapi/instances/[InstanceId]/actions/enable-kibana-private"; + Method = MethodType.POST; + } + + private string instanceId; + + private string body; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override EnableKibanaPvlNetworkResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return EnableKibanaPvlNetworkResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkResponse.cs new file mode 100644 index 0000000000..f2fd9a842b --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EnableKibanaPvlNetworkResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class EnableKibanaPvlNetworkResponse : AcsResponse + { + + private bool? result; + + private string requestId; + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeRequest.cs index 0dec5698dd..cc8bbaf7c0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeRequest.cs @@ -45,6 +45,8 @@ public EstimatedLogstashRestartTimeRequest() private bool? force; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public bool? Force } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeResponse.cs index 039c672260..2c7a910574 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedLogstashRestartTimeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public EstimatedLogstashRestartTime_Result Result public class EstimatedLogstashRestartTime_Result { - private long? _value; - private string unit; - public long? _Value + private long? _value; + + public string Unit { get { - return _value; + return unit; } set { - _value = value; + unit = value; } } - public string Unit + public long? _Value { get { - return unit; + return _value; } set { - unit = value; + _value = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeRequest.cs index 04843089f5..dca7ff1379 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeRequest.cs @@ -45,6 +45,8 @@ public EstimatedRestartTimeRequest() private bool? force; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public bool? Force } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeResponse.cs index edeb1cd659..fc6addbc80 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/EstimatedRestartTimeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public EstimatedRestartTime_Result Result public class EstimatedRestartTime_Result { - private long? _value; - private string unit; - public long? _Value + private long? _value; + + public string Unit { get { - return _value; + return unit; } set { - _value = value; + unit = value; } } - public string Unit + public long? _Value { get { - return unit; + return _value; } set { - unit = value; + _value = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationRequest.cs index 7f3bcd1de0..4d7e411f67 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationRequest.cs @@ -41,6 +41,21 @@ public GetClusterDataInformationRequest() Method = MethodType.POST; } + private string body; + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationResponse.cs index 8774043607..d91a1f8d2b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetClusterDataInformationResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -87,49 +87,49 @@ public GetClusterDataInformation_MetaInfo MetaInfo public class GetClusterDataInformation_MetaInfo { - private string settings; - private string mapping; - private List indices; + private string settings; + + private List typeName; private List fields; - private List typeName; + private List indices; - public string Settings + public string Mapping { get { - return settings; + return mapping; } set { - settings = value; + mapping = value; } } - public string Mapping + public string Settings { get { - return mapping; + return settings; } set { - mapping = value; + settings = value; } } - public List Indices + public List TypeName { get { - return indices; + return typeName; } set { - indices = value; + typeName = value; } } @@ -145,15 +145,15 @@ public List Fields } } - public List TypeName + public List Indices { get { - return typeName; + return indices; } set { - typeName = value; + indices = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetElastictaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetElastictaskResponse.cs index 3bf69ebc5c..9c8afd15f9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetElastictaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetElastictaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -89,11 +89,11 @@ public class GetElastictask_ElasticExpansionTask private string triggerType; - private string cronExpression; + private int? replicaCount; private int? elasticNodeCount; - private int? replicaCount; + private string cronExpression; private List targetIndices; @@ -109,15 +109,15 @@ public string TriggerType } } - public string CronExpression + public int? ReplicaCount { get { - return cronExpression; + return replicaCount; } set { - cronExpression = value; + replicaCount = value; } } @@ -133,15 +133,15 @@ public int? ElasticNodeCount } } - public int? ReplicaCount + public string CronExpression { get { - return replicaCount; + return cronExpression; } set { - replicaCount = value; + cronExpression = value; } } @@ -163,11 +163,11 @@ public class GetElastictask_ElasticShrinkTask private string triggerType; - private string cronExpression; + private int? replicaCount; private int? elasticNodeCount; - private int? replicaCount; + private string cronExpression; private List targetIndices1; @@ -183,15 +183,15 @@ public string TriggerType } } - public string CronExpression + public int? ReplicaCount { get { - return cronExpression; + return replicaCount; } set { - cronExpression = value; + replicaCount = value; } } @@ -207,15 +207,15 @@ public int? ElasticNodeCount } } - public int? ReplicaCount + public string CronExpression { get { - return replicaCount; + return cronExpression; } set { - replicaCount = value; + cronExpression = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsRequest.cs index 79d75dcac9..ecf8e2d353 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsRequest.cs @@ -41,8 +41,23 @@ public GetEmonGrafanaAlertsRequest() Method = MethodType.GET; } + private string body; + private string projectId; + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ProjectId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsResponse.cs index dee965c40c..a1d6884203 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaAlertsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class GetEmonGrafanaAlertsResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? success; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsRequest.cs index b78ac2821a..efa5ca9aed 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsRequest.cs @@ -41,8 +41,23 @@ public GetEmonGrafanaDashboardsRequest() Method = MethodType.GET; } + private string body; + private string projectId; + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ProjectId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsResponse.cs index 9e201f6854..a58f428123 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonGrafanaDashboardsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class GetEmonGrafanaDashboardsResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? success; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataRequest.cs index 82294454a8..2324a9c9d1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataRequest.cs @@ -41,8 +41,23 @@ public GetEmonMonitorDataRequest() Method = MethodType.POST; } + private string body; + private string projectId; + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ProjectId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataResponse.cs index caad55c0de..80c62d3532 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetEmonMonitorDataResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,49 +25,49 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class GetEmonMonitorDataResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? success; private List result; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } @@ -98,39 +98,39 @@ public List Result public class GetEmonMonitorData_ResultItem { - private string dps; - private float? integrity; - private long? messageWatermark; + private float? summary; - private string metric; + private long? messageWatermark; - private float? summary; + private string dps; private string tags; - public string Dps + private string metric; + + public float? Integrity { get { - return dps; + return integrity; } set { - dps = value; + integrity = value; } } - public float? Integrity + public float? Summary { get { - return integrity; + return summary; } set { - integrity = value; + summary = value; } } @@ -146,39 +146,39 @@ public long? MessageWatermark } } - public string Metric + public string Dps { get { - return metric; + return dps; } set { - metric = value; + dps = value; } } - public float? Summary + public string Tags { get { - return summary; + return tags; } set { - summary = value; + tags = value; } } - public string Tags + public string Metric { get { - return tags; + return metric; } set { - tags = value; + metric = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetOpenStoreUsageResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetOpenStoreUsageResponse.cs index 76d957055a..e6ea10bacd 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetOpenStoreUsageResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetOpenStoreUsageResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionConfigurationResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionConfigurationResponse.cs index 9d8a33027b..ac85386d50 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionConfigurationResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionConfigurationResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -74,16 +74,16 @@ public class GetRegionConfiguration_Result private List supportVersions; - private List zones; - - private List esVersions; - private List masterSpec; private List clientNodeSpec; + private List zones; + private List instanceSupportNodes; + private List esVersions; + private GetRegionConfiguration_Node node; private GetRegionConfiguration_JvmConfine jvmConfine; @@ -204,63 +204,63 @@ public List SupportVersions } } - public List Zones + public List MasterSpec { get { - return zones; + return masterSpec; } set { - zones = value; + masterSpec = value; } } - public List EsVersions + public List ClientNodeSpec { get { - return esVersions; + return clientNodeSpec; } set { - esVersions = value; + clientNodeSpec = value; } } - public List MasterSpec + public List Zones { get { - return masterSpec; + return zones; } set { - masterSpec = value; + zones = value; } } - public List ClientNodeSpec + public List InstanceSupportNodes { get { - return clientNodeSpec; + return instanceSupportNodes; } set { - clientNodeSpec = value; + instanceSupportNodes = value; } } - public List InstanceSupportNodes + public List EsVersions { get { - return instanceSupportNodes; + return esVersions; } set { - instanceSupportNodes = value; + esVersions = value; } } @@ -339,25 +339,25 @@ public GetRegionConfiguration_ElasticNodeProperties ElasticNodeProperties public class GetRegionConfiguration_DataDiskListItem { - private string diskType; + private int? scaleLimit; private int? minSize; private int? maxSize; - private int? scaleLimit; + private string diskType; private List valueLimitSet; - public string DiskType + public int? ScaleLimit { get { - return diskType; + return scaleLimit; } set { - diskType = value; + scaleLimit = value; } } @@ -385,15 +385,15 @@ public int? MaxSize } } - public int? ScaleLimit + public string DiskType { get { - return scaleLimit; + return diskType; } set { - scaleLimit = value; + diskType = value; } } @@ -445,53 +445,53 @@ public string _Value public class GetRegionConfiguration_NodeSpecListItem { - private int? cpuCount; - private int? memorySize; - private bool? enable; - - private string spec; + private int? cpuCount; private string diskType; + private string spec; + private int? disk; private string specGroupType; - public int? CpuCount + private bool? enable; + + public int? MemorySize { get { - return cpuCount; + return memorySize; } set { - cpuCount = value; + memorySize = value; } } - public int? MemorySize + public int? CpuCount { get { - return memorySize; + return cpuCount; } set { - memorySize = value; + cpuCount = value; } } - public bool? Enable + public string DiskType { get { - return enable; + return diskType; } set { - enable = value; + diskType = value; } } @@ -507,39 +507,39 @@ public string Spec } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public int? Disk + public string SpecGroupType { get { - return disk; + return specGroupType; } set { - disk = value; + specGroupType = value; } } - public string SpecGroupType + public bool? Enable { get { - return specGroupType; + return enable; } set { - specGroupType = value; + enable = value; } } } @@ -547,23 +547,23 @@ public string SpecGroupType public class GetRegionConfiguration_Disk { - private string diskType; + private int? scaleLimit; private int? minSize; private int? maxSize; - private int? scaleLimit; + private string diskType; - public string DiskType + public int? ScaleLimit { get { - return diskType; + return scaleLimit; } set { - diskType = value; + scaleLimit = value; } } @@ -591,15 +591,15 @@ public int? MaxSize } } - public int? ScaleLimit + public string DiskType { get { - return scaleLimit; + return diskType; } set { - scaleLimit = value; + diskType = value; } } } @@ -671,31 +671,31 @@ public string _Value public class GetRegionConfiguration_Node { - private int? minAmount; - private int? maxAmount; - public int? MinAmount + private int? minAmount; + + public int? MaxAmount { get { - return minAmount; + return maxAmount; } set { - minAmount = value; + maxAmount = value; } } - public int? MaxAmount + public int? MinAmount { get { - return maxAmount; + return minAmount; } set { - maxAmount = value; + minAmount = value; } } } @@ -705,10 +705,10 @@ public class GetRegionConfiguration_JvmConfine private int? memory; - private List supportGcs; - private List supportEsVersions; + private List supportGcs; + public int? Memory { get @@ -721,27 +721,27 @@ public int? Memory } } - public List SupportGcs + public List SupportEsVersions { get { - return supportGcs; + return supportEsVersions; } set { - supportGcs = value; + supportEsVersions = value; } } - public List SupportEsVersions + public List SupportGcs { get { - return supportEsVersions; + return supportGcs; } set { - supportEsVersions = value; + supportGcs = value; } } } @@ -749,31 +749,31 @@ public List SupportEsVersions public class GetRegionConfiguration_ClientNodeAmountRange { - private int? minAmount; - private int? maxAmount; - public int? MinAmount + private int? minAmount; + + public int? MaxAmount { get { - return minAmount; + return maxAmount; } set { - minAmount = value; + maxAmount = value; } } - public int? MaxAmount + public int? MinAmount { get { - return maxAmount; + return minAmount; } set { - maxAmount = value; + minAmount = value; } } } @@ -826,75 +826,75 @@ public GetRegionConfiguration_AmountRange AmountRange public class GetRegionConfiguration_Disk1 { - private string diskType; - - private int? maxSize; + private int? scaleLimit; private int? minSize; - private int? scaleLimit; - private bool? diskEncryption; + private int? maxSize; + + private string diskType; + private List valueLimitSet2; - public string DiskType + public int? ScaleLimit { get { - return diskType; + return scaleLimit; } set { - diskType = value; + scaleLimit = value; } } - public int? MaxSize + public int? MinSize { get { - return maxSize; + return minSize; } set { - maxSize = value; + minSize = value; } } - public int? MinSize + public bool? DiskEncryption { get { - return minSize; + return diskEncryption; } set { - minSize = value; + diskEncryption = value; } } - public int? ScaleLimit + public int? MaxSize { get { - return scaleLimit; + return maxSize; } set { - scaleLimit = value; + maxSize = value; } } - public bool? DiskEncryption + public string DiskType { get { - return diskEncryption; + return diskType; } set { - diskEncryption = value; + diskType = value; } } @@ -1056,75 +1056,75 @@ public GetRegionConfiguration_AmountRange6 AmountRange6 public class GetRegionConfiguration_Disk8 { - private string diskType; - - private int? maxSize; + private int? scaleLimit; private int? minSize; - private int? scaleLimit; - private bool? diskEncryption; + private int? maxSize; + + private string diskType; + private List valueLimitSet9; - public string DiskType + public int? ScaleLimit { get { - return diskType; + return scaleLimit; } set { - diskType = value; + scaleLimit = value; } } - public int? MaxSize + public int? MinSize { get { - return maxSize; + return minSize; } set { - maxSize = value; + minSize = value; } } - public int? MinSize + public bool? DiskEncryption { get { - return minSize; + return diskEncryption; } set { - minSize = value; + diskEncryption = value; } } - public int? ScaleLimit + public int? MaxSize { get { - return scaleLimit; + return maxSize; } set { - scaleLimit = value; + maxSize = value; } } - public bool? DiskEncryption + public string DiskType { get { - return diskEncryption; + return diskType; } set { - diskEncryption = value; + diskType = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigRequest.cs new file mode 100644 index 0000000000..1accfd3ef8 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigRequest.cs @@ -0,0 +1,55 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class GetRegionalInstanceConfigRequest : RoaAcsRequest + { + public GetRegionalInstanceConfigRequest() + : base("elasticsearch", "2017-06-13", "GetRegionalInstanceConfig", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + UriPattern = "/openapi/regions/instance-config"; + Method = MethodType.GET; + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override GetRegionalInstanceConfigResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return GetRegionalInstanceConfigResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigResponse.cs new file mode 100644 index 0000000000..a64024df7a --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetRegionalInstanceConfigResponse.cs @@ -0,0 +1,606 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class GetRegionalInstanceConfigResponse : AcsResponse + { + + private string requestId; + + private GetRegionalInstanceConfig_Result result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public GetRegionalInstanceConfig_Result Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class GetRegionalInstanceConfig_Result + { + + private string specInfoMap; + + private List masterDiskList; + + private List clientNodeDiskList; + + private List dataNodeDiskList; + + private List clientSpecs; + + private List dataNodeSpecs; + + private List kibanaSpecs; + + private List masterSpecs; + + private List versions; + + private List masterAmountRange; + + private GetRegionalInstanceConfig_ClientNodeAmountRange clientNodeAmountRange; + + private GetRegionalInstanceConfig_DataNodeAmountRange dataNodeAmountRange; + + public string SpecInfoMap + { + get + { + return specInfoMap; + } + set + { + specInfoMap = value; + } + } + + public List MasterDiskList + { + get + { + return masterDiskList; + } + set + { + masterDiskList = value; + } + } + + public List ClientNodeDiskList + { + get + { + return clientNodeDiskList; + } + set + { + clientNodeDiskList = value; + } + } + + public List DataNodeDiskList + { + get + { + return dataNodeDiskList; + } + set + { + dataNodeDiskList = value; + } + } + + public List ClientSpecs + { + get + { + return clientSpecs; + } + set + { + clientSpecs = value; + } + } + + public List DataNodeSpecs + { + get + { + return dataNodeSpecs; + } + set + { + dataNodeSpecs = value; + } + } + + public List KibanaSpecs + { + get + { + return kibanaSpecs; + } + set + { + kibanaSpecs = value; + } + } + + public List MasterSpecs + { + get + { + return masterSpecs; + } + set + { + masterSpecs = value; + } + } + + public List Versions + { + get + { + return versions; + } + set + { + versions = value; + } + } + + public List MasterAmountRange + { + get + { + return masterAmountRange; + } + set + { + masterAmountRange = value; + } + } + + public GetRegionalInstanceConfig_ClientNodeAmountRange ClientNodeAmountRange + { + get + { + return clientNodeAmountRange; + } + set + { + clientNodeAmountRange = value; + } + } + + public GetRegionalInstanceConfig_DataNodeAmountRange DataNodeAmountRange + { + get + { + return dataNodeAmountRange; + } + set + { + dataNodeAmountRange = value; + } + } + + public class GetRegionalInstanceConfig_MasterDiskListItem + { + + private int? minSize; + + private int? maxSize; + + private int? scaleLimit; + + private string diskType; + + private List subClassificationConfines; + + public int? MinSize + { + get + { + return minSize; + } + set + { + minSize = value; + } + } + + public int? MaxSize + { + get + { + return maxSize; + } + set + { + maxSize = value; + } + } + + public int? ScaleLimit + { + get + { + return scaleLimit; + } + set + { + scaleLimit = value; + } + } + + public string DiskType + { + get + { + return diskType; + } + set + { + diskType = value; + } + } + + public List SubClassificationConfines + { + get + { + return subClassificationConfines; + } + set + { + subClassificationConfines = value; + } + } + + public class GetRegionalInstanceConfig_SubClassificationConfinesItem + { + + private int? minSize; + + private int? maxSize; + + private string performanceLevel; + + public int? MinSize + { + get + { + return minSize; + } + set + { + minSize = value; + } + } + + public int? MaxSize + { + get + { + return maxSize; + } + set + { + maxSize = value; + } + } + + public string PerformanceLevel + { + get + { + return performanceLevel; + } + set + { + performanceLevel = value; + } + } + } + } + + public class GetRegionalInstanceConfig_ClientNodeDiskListItem + { + + private int? minSize; + + private int? maxSize; + + private int? scaleLimit; + + private string diskType; + + public int? MinSize + { + get + { + return minSize; + } + set + { + minSize = value; + } + } + + public int? MaxSize + { + get + { + return maxSize; + } + set + { + maxSize = value; + } + } + + public int? ScaleLimit + { + get + { + return scaleLimit; + } + set + { + scaleLimit = value; + } + } + + public string DiskType + { + get + { + return diskType; + } + set + { + diskType = value; + } + } + } + + public class GetRegionalInstanceConfig_DataNodeDiskListItem + { + + private int? minSize; + + private int? maxSize; + + private int? scaleLimit; + + private string diskType; + + private List subClassificationConfines1; + + private List valueLimitSet; + + public int? MinSize + { + get + { + return minSize; + } + set + { + minSize = value; + } + } + + public int? MaxSize + { + get + { + return maxSize; + } + set + { + maxSize = value; + } + } + + public int? ScaleLimit + { + get + { + return scaleLimit; + } + set + { + scaleLimit = value; + } + } + + public string DiskType + { + get + { + return diskType; + } + set + { + diskType = value; + } + } + + public List SubClassificationConfines1 + { + get + { + return subClassificationConfines1; + } + set + { + subClassificationConfines1 = value; + } + } + + public List ValueLimitSet + { + get + { + return valueLimitSet; + } + set + { + valueLimitSet = value; + } + } + + public class GetRegionalInstanceConfig_SubClassificationConfinesItem2 + { + + private int? minSize; + + private int? maxSize; + + private string performanceLevel; + + public int? MinSize + { + get + { + return minSize; + } + set + { + minSize = value; + } + } + + public int? MaxSize + { + get + { + return maxSize; + } + set + { + maxSize = value; + } + } + + public string PerformanceLevel + { + get + { + return performanceLevel; + } + set + { + performanceLevel = value; + } + } + } + } + + public class GetRegionalInstanceConfig_ClientNodeAmountRange + { + + private int? minAmount; + + private int? maxAmount; + + public int? MinAmount + { + get + { + return minAmount; + } + set + { + minAmount = value; + } + } + + public int? MaxAmount + { + get + { + return maxAmount; + } + set + { + maxAmount = value; + } + } + } + + public class GetRegionalInstanceConfig_DataNodeAmountRange + { + + private int? minAmount; + + private int? maxAmount; + + public int? MinAmount + { + get + { + return minAmount; + } + set + { + minAmount = value; + } + } + + public int? MaxAmount + { + get + { + return maxAmount; + } + set + { + maxAmount = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetSuggestShrinkableNodesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetSuggestShrinkableNodesResponse.cs index acf9753d3b..2b285cba02 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetSuggestShrinkableNodesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetSuggestShrinkableNodesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class GetSuggestShrinkableNodes_ResultItem { - private string host; - private int? port; - public string Host + private string host; + + public int? Port { get { - return host; + return port; } set { - host = value; + port = value; } } - public int? Port + public string Host { get { - return port; + return host; } set { - port = value; + host = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetTransferableNodesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetTransferableNodesResponse.cs index 82b6c4381f..0043aa169a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetTransferableNodesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/GetTransferableNodesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class GetTransferableNodes_ResultItem { - private string host; - private int? port; - public string Host + private string host; + + public int? Port { get { - return host; + return port; } set { - host = value; + port = value; } } - public int? Port + public string Host { get { - return port; + return host; } set { - port = value; + host = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleRequest.cs index 3cad20e092..32ce14449d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleRequest.cs @@ -43,6 +43,8 @@ public InitializeOperationRoleRequest() private string clientToken; + private string body; + public string ClientToken { get @@ -56,6 +58,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleResponse.cs index a57097c1f9..cd68e0dd3c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InitializeOperationRoleResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class InitializeOperationRoleResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorRequest.cs index 94863a4ad1..0be66bc435 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorRequest.cs @@ -45,6 +45,8 @@ public InstallAckOperatorRequest() private string clusterId; + private string body; + public string ClientToken { get @@ -71,6 +73,19 @@ public string ClusterId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorResponse.cs index d0e49deea4..faec073012 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallAckOperatorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class InstallAckOperatorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginRequest.cs index 326a51517f..4872883d49 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginRequest.cs @@ -45,6 +45,8 @@ public InstallKibanaSystemPluginRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginResponse.cs index c52c7af425..d26fd0bd40 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallKibanaSystemPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginRequest.cs index 3be7d30fb0..2c41e242fe 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginRequest.cs @@ -45,6 +45,8 @@ public InstallLogstashSystemPluginRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginResponse.cs index cedc38f81e..97e6572515 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallLogstashSystemPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginRequest.cs index fd3d3a1ec4..5eb8f8ebbe 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginRequest.cs @@ -45,6 +45,8 @@ public InstallSystemPluginRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginResponse.cs index d0eafc5bf8..f100cc47b9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallSystemPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsRequest.cs index 76f49961a6..8d6a4f6814 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsRequest.cs @@ -43,6 +43,8 @@ public InstallUserPluginsRequest() private string instanceId; + private string body; + public string InstanceId { get @@ -56,6 +58,19 @@ public string InstanceId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsResponse.cs index 97e8c48b73..61a5e69eb5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InstallUserPluginsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptElasticsearchTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptElasticsearchTaskResponse.cs index 71116000a3..6c7162b8c5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptElasticsearchTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptElasticsearchTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class InterruptElasticsearchTaskResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? result; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptLogstashTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptLogstashTaskResponse.cs index d4b98ec1b7..8a82d3e91b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptLogstashTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/InterruptLogstashTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class InterruptLogstashTaskResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? result; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckClustersResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckClustersResponse.cs index dbcbc0bdd6..7050cf15ba 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckClustersResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckClustersResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public List Result public class ListAckClusters_ResultItem { - private string clusterId; - - private string name; - private string clusterType; private string vpcId; - public string ClusterId + private string name; + + private string clusterId; + + public string ClusterType { get { - return clusterId; + return clusterType; } set { - clusterId = value; + clusterType = value; } } - public string Name + public string VpcId { get { - return name; + return vpcId; } set { - name = value; + vpcId = value; } } - public string ClusterType + public string Name { get { - return clusterType; + return name; } set { - clusterType = value; + name = value; } } - public string VpcId + public string ClusterId { get { - return vpcId; + return clusterId; } set { - vpcId = value; + clusterId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckNamespacesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckNamespacesResponse.cs index 5c3f4124ca..4d9e7eb681 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckNamespacesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAckNamespacesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsRequest.cs new file mode 100644 index 0000000000..0c575048e6 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsRequest.cs @@ -0,0 +1,189 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListActionRecordsRequest : RoaAcsRequest + { + public ListActionRecordsRequest() + : base("elasticsearch", "2017-06-13", "ListActionRecords", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/action-records"; + Method = MethodType.GET; + } + + private string filter; + + private string actionNames; + + private string instanceId; + + private int? size; + + private string requestId; + + private long? endTime; + + private int? page; + + private long? startTime; + + private string userId; + + public string Filter + { + get + { + return filter; + } + set + { + filter = value; + DictionaryUtil.Add(QueryParameters, "filter", value); + } + } + + public string ActionNames + { + get + { + return actionNames; + } + set + { + actionNames = value; + DictionaryUtil.Add(QueryParameters, "actionNames", value); + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public int? Size + { + get + { + return size; + } + set + { + size = value; + DictionaryUtil.Add(QueryParameters, "size", value.ToString()); + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + DictionaryUtil.Add(QueryParameters, "requestId", value); + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + DictionaryUtil.Add(QueryParameters, "endTime", value.ToString()); + } + } + + public int? Page + { + get + { + return page; + } + set + { + page = value; + DictionaryUtil.Add(QueryParameters, "page", value.ToString()); + } + } + + public long? StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + DictionaryUtil.Add(QueryParameters, "startTime", value.ToString()); + } + } + + public string UserId + { + get + { + return userId; + } + set + { + userId = value; + DictionaryUtil.Add(QueryParameters, "userId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListActionRecordsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListActionRecordsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsResponse.cs new file mode 100644 index 0000000000..fa82d76308 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListActionRecordsResponse.cs @@ -0,0 +1,586 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListActionRecordsResponse : AcsResponse + { + + private string requestId; + + private List result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class ListActionRecords_ActionRecord + { + + private string actionName; + + private string actionParams; + + private long? endTime; + + private string instanceId; + + private string process; + + private string recordDiff; + + private string requestId; + + private long? startTime; + + private string stateType; + + private string userId; + + private string userType; + + private string ownerId; + + private string userInfo; + + private string metaNow; + + private string metaOld; + + private List statusInfo; + + private List actionResultAccessList; + + private List recordIds; + + public string ActionName + { + get + { + return actionName; + } + set + { + actionName = value; + } + } + + public string ActionParams + { + get + { + return actionParams; + } + set + { + actionParams = value; + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } + + public string Process + { + get + { + return process; + } + set + { + process = value; + } + } + + public string RecordDiff + { + get + { + return recordDiff; + } + set + { + recordDiff = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public long? StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string StateType + { + get + { + return stateType; + } + set + { + stateType = value; + } + } + + public string UserId + { + get + { + return userId; + } + set + { + userId = value; + } + } + + public string UserType + { + get + { + return userType; + } + set + { + userType = value; + } + } + + public string OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + } + } + + public string UserInfo + { + get + { + return userInfo; + } + set + { + userInfo = value; + } + } + + public string MetaNow + { + get + { + return metaNow; + } + set + { + metaNow = value; + } + } + + public string MetaOld + { + get + { + return metaOld; + } + set + { + metaOld = value; + } + } + + public List StatusInfo + { + get + { + return statusInfo; + } + set + { + statusInfo = value; + } + } + + public List ActionResultAccessList + { + get + { + return actionResultAccessList; + } + set + { + actionResultAccessList = value; + } + } + + public List RecordIds + { + get + { + return recordIds; + } + set + { + recordIds = value; + } + } + + public class ListActionRecords_StatusInfoItem + { + + private string subState; + + private int? nodeCount; + + private int? completeNodeCount; + + private string exception; + + private long? latencyMills; + + private string process; + + private long? startTime; + + private long? endTime; + + private string stateType; + + private List subStatusInfo; + + public string SubState + { + get + { + return subState; + } + set + { + subState = value; + } + } + + public int? NodeCount + { + get + { + return nodeCount; + } + set + { + nodeCount = value; + } + } + + public int? CompleteNodeCount + { + get + { + return completeNodeCount; + } + set + { + completeNodeCount = value; + } + } + + public string Exception + { + get + { + return exception; + } + set + { + exception = value; + } + } + + public long? LatencyMills + { + get + { + return latencyMills; + } + set + { + latencyMills = value; + } + } + + public string Process + { + get + { + return process; + } + set + { + process = value; + } + } + + public long? StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string StateType + { + get + { + return stateType; + } + set + { + stateType = value; + } + } + + public List SubStatusInfo + { + get + { + return subStatusInfo; + } + set + { + subStatusInfo = value; + } + } + + public class ListActionRecords_SubStatusInfoItem + { + + private string subState; + + private int? nodeCount; + + private int? completeNodeCount; + + private string exception; + + private long? latencyMills; + + private string process; + + private long? startTime; + + private long? endTime; + + private string stateType; + + public string SubState + { + get + { + return subState; + } + set + { + subState = value; + } + } + + public int? NodeCount + { + get + { + return nodeCount; + } + set + { + nodeCount = value; + } + } + + public int? CompleteNodeCount + { + get + { + return completeNodeCount; + } + set + { + completeNodeCount = value; + } + } + + public string Exception + { + get + { + return exception; + } + set + { + exception = value; + } + } + + public long? LatencyMills + { + get + { + return latencyMills; + } + set + { + latencyMills = value; + } + } + + public string Process + { + get + { + return process; + } + set + { + process = value; + } + } + + public long? StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string StateType + { + get + { + return stateType; + } + set + { + stateType = value; + } + } + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAllNodeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAllNodeResponse.cs index 58a732971b..bb7d9575ab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAllNodeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAllNodeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAlternativeSnapshotReposResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAlternativeSnapshotReposResponse.cs index 81a59379c2..f544527036 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAlternativeSnapshotReposResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAlternativeSnapshotReposResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class ListAlternativeSnapshotRepos_Repo { - private string instanceId; - private string repoPath; - public string InstanceId + private string instanceId; + + public string RepoPath { get { - return instanceId; + return repoPath; } set { - instanceId = value; + repoPath = value; } } - public string RepoPath + public string InstanceId { get { - return repoPath; + return instanceId; } set { - repoPath = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListApmResponse.cs index 01ad00438b..fa4d848d03 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,7 +27,7 @@ public class ListApmResponse : AcsResponse private string requestId; - private List result; + private List result; private ListApm_Headers headers; @@ -43,7 +43,7 @@ public string RequestId } } - public List Result + public List Result { get { @@ -67,7 +67,7 @@ public ListApm_Headers Headers } } - public class ListApm_返回结果 + public class ListApm__Object { private string createdAt; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAvailableEsInstanceIdsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAvailableEsInstanceIdsResponse.cs index 66a38fb5e3..85f89e4b3c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAvailableEsInstanceIdsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListAvailableEsInstanceIdsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,25 +56,13 @@ public List Result public class ListAvailableEsInstanceIds_ResultItem { - private string esInstanceId; - private string endpoint; private string description; private string kibanaEndpoint; - public string EsInstanceId - { - get - { - return esInstanceId; - } - set - { - esInstanceId = value; - } - } + private string esInstanceId; public string Endpoint { @@ -111,6 +99,18 @@ public string KibanaEndpoint kibanaEndpoint = value; } } + + public string EsInstanceId + { + get + { + return esInstanceId; + } + set + { + esInstanceId = value; + } + } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListCollectorsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListCollectorsResponse.cs index 9f7560aa1d..142cc54875 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListCollectorsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListCollectorsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,25 +70,25 @@ public ListCollectors_Headers Headers public class ListCollectors_ResultItem { - private string gmtCreatedTime; + private string resId; private string gmtUpdateTime; - private string name; - - private string resId; + private bool? dryRun; - private string resVersion; + private string ownerId; private string vpcId; private string resType; - private string ownerId; + private string resVersion; + + private string gmtCreatedTime; private string status; - private bool? dryRun; + private string name; private List configs; @@ -96,15 +96,15 @@ public class ListCollectors_ResultItem private List collectorPaths; - public string GmtCreatedTime + public string ResId { get { - return gmtCreatedTime; + return resId; } set { - gmtCreatedTime = value; + resId = value; } } @@ -120,75 +120,75 @@ public string GmtUpdateTime } } - public string Name + public bool? DryRun { get { - return name; + return dryRun; } set { - name = value; + dryRun = value; } } - public string ResId + public string OwnerId { get { - return resId; + return ownerId; } set { - resId = value; + ownerId = value; } } - public string ResVersion + public string VpcId { get { - return resVersion; + return vpcId; } set { - resVersion = value; + vpcId = value; } } - public string VpcId + public string ResType { get { - return vpcId; + return resType; } set { - vpcId = value; + resType = value; } } - public string ResType + public string ResVersion { get { - return resType; + return resVersion; } set { - resType = value; + resVersion = value; } } - public string OwnerId + public string GmtCreatedTime { get { - return ownerId; + return gmtCreatedTime; } set { - ownerId = value; + gmtCreatedTime = value; } } @@ -204,15 +204,15 @@ public string Status } } - public bool? DryRun + public string Name { get { - return dryRun; + return name; } set { - dryRun = value; + name = value; } } @@ -255,31 +255,31 @@ public List CollectorPaths public class ListCollectors_ConfigsItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } @@ -287,175 +287,175 @@ public string Content public class ListCollectors_ExtendConfigsItem { - private string configType; - - private string instanceId; - - private string instanceType; + private string successPodsCount; private string protocol; private string userName; - private bool? enableMonitoring; + private string totalPodsCount; private string type; - private string groupId; + private string kibanaHost; - private string host; + private bool? enableMonitoring; - private string kibanaHost; + private string configType; - private string totalPodsCount; + private string instanceType; - private string successPodsCount; + private string groupId; + + private string host; + + private string instanceId; private List machines; private List hosts; - public string ConfigType + public string SuccessPodsCount { get { - return configType; + return successPodsCount; } set { - configType = value; + successPodsCount = value; } } - public string InstanceId + public string Protocol { get { - return instanceId; + return protocol; } set { - instanceId = value; + protocol = value; } } - public string InstanceType + public string UserName { get { - return instanceType; + return userName; } set { - instanceType = value; + userName = value; } } - public string Protocol + public string TotalPodsCount { get { - return protocol; + return totalPodsCount; } set { - protocol = value; + totalPodsCount = value; } } - public string UserName + public string Type { get { - return userName; + return type; } set { - userName = value; + type = value; } } - public bool? EnableMonitoring + public string KibanaHost { get { - return enableMonitoring; + return kibanaHost; } set { - enableMonitoring = value; + kibanaHost = value; } } - public string Type + public bool? EnableMonitoring { get { - return type; + return enableMonitoring; } set { - type = value; + enableMonitoring = value; } } - public string GroupId + public string ConfigType { get { - return groupId; + return configType; } set { - groupId = value; + configType = value; } } - public string Host + public string InstanceType { get { - return host; + return instanceType; } set { - host = value; + instanceType = value; } } - public string KibanaHost + public string GroupId { get { - return kibanaHost; + return groupId; } set { - kibanaHost = value; + groupId = value; } } - public string TotalPodsCount + public string Host { get { - return totalPodsCount; + return host; } set { - totalPodsCount = value; + host = value; } } - public string SuccessPodsCount + public string InstanceId { get { - return successPodsCount; + return instanceId; } set { - successPodsCount = value; + instanceId = value; } } @@ -486,31 +486,31 @@ public List Hosts public class ListCollectors_MachinesItem { - private string instanceId; - private string agentStatus; - public string InstanceId + private string instanceId; + + public string AgentStatus { get { - return instanceId; + return agentStatus; } set { - instanceId = value; + agentStatus = value; } } - public string AgentStatus + public string InstanceId { get { - return agentStatus; + return instanceId; } set { - agentStatus = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesRequest.cs new file mode 100644 index 0000000000..2366206469 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesRequest.cs @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListComponentIndicesRequest : RoaAcsRequest + { + public ListComponentIndicesRequest() + : base("elasticsearch", "2017-06-13", "ListComponentIndices", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/component-index"; + Method = MethodType.GET; + } + + private string instanceId; + + private int? size; + + private string name; + + private int? page; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public int? Size + { + get + { + return size; + } + set + { + size = value; + DictionaryUtil.Add(QueryParameters, "size", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "name", value); + } + } + + public int? Page + { + get + { + return page; + } + set + { + page = value; + DictionaryUtil.Add(QueryParameters, "page", value.ToString()); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListComponentIndicesResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListComponentIndicesResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesResponse.cs new file mode 100644 index 0000000000..21e8c57e01 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListComponentIndicesResponse.cs @@ -0,0 +1,266 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListComponentIndicesResponse : AcsResponse + { + + private string requestId; + + private List result; + + private ListComponentIndices_Headers headers; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public ListComponentIndices_Headers Headers + { + get + { + return headers; + } + set + { + headers = value; + } + } + + public class ListComponentIndices_ResultItem + { + + private string name; + + private List composed; + + private ListComponentIndices_Content content; + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public List Composed + { + get + { + return composed; + } + set + { + composed = value; + } + } + + public ListComponentIndices_Content Content + { + get + { + return content; + } + set + { + content = value; + } + } + + public class ListComponentIndices_Content + { + + private long? version; + + private string _meta; + + private ListComponentIndices_Template template; + + public long? Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public string _Meta + { + get + { + return _meta; + } + set + { + _meta = value; + } + } + + public ListComponentIndices_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class ListComponentIndices_Template + { + + private ListComponentIndices_Settings settings; + + public ListComponentIndices_Settings Settings + { + get + { + return settings; + } + set + { + settings = value; + } + } + + public class ListComponentIndices_Settings + { + + private ListComponentIndices_Index index; + + public ListComponentIndices_Index Index + { + get + { + return index; + } + set + { + index = value; + } + } + + public class ListComponentIndices_Index + { + + private string codec; + + private ListComponentIndices_Lifecycle lifecycle; + + public string Codec + { + get + { + return codec; + } + set + { + codec = value; + } + } + + public ListComponentIndices_Lifecycle Lifecycle + { + get + { + return lifecycle; + } + set + { + lifecycle = value; + } + } + + public class ListComponentIndices_Lifecycle + { + + private string name; + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + } + } + } + } + } + } + + public class ListComponentIndices_Headers + { + + private long? xTotalCount; + + public long? XTotalCount + { + get + { + return xTotalCount; + } + set + { + xTotalCount = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListConnectedClustersResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListConnectedClustersResponse.cs index fd036338ef..da3d8b8b1c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListConnectedClustersResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListConnectedClustersResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class ListConnectedClusters_ResultItem { - private string instances; - private string networkType; - public string Instances + private string instances; + + public string NetworkType { get { - return instances; + return networkType; } set { - instances = value; + networkType = value; } } - public string NetworkType + public string Instances { get { - return networkType; + return instances; } set { - networkType = value; + instances = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataStreamsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataStreamsResponse.cs index 1581c937fd..4517b18918 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataStreamsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataStreamsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,89 +70,89 @@ public ListDataStreams_Headers Headers public class ListDataStreams_ResultItem { - private string health; - private long? totalStorageSize; - private string name; - - private long? managedStorageSize; - private string indexTemplateName; private string ilmPolicyName; + private string name; + + private string health; + + private long? managedStorageSize; + private List indices; - public string Health + public long? TotalStorageSize { get { - return health; + return totalStorageSize; } set { - health = value; + totalStorageSize = value; } } - public long? TotalStorageSize + public string IndexTemplateName { get { - return totalStorageSize; + return indexTemplateName; } set { - totalStorageSize = value; + indexTemplateName = value; } } - public string Name + public string IlmPolicyName { get { - return name; + return ilmPolicyName; } set { - name = value; + ilmPolicyName = value; } } - public long? ManagedStorageSize + public string Name { get { - return managedStorageSize; + return name; } set { - managedStorageSize = value; + name = value; } } - public string IndexTemplateName + public string Health { get { - return indexTemplateName; + return health; } set { - indexTemplateName = value; + health = value; } } - public string IlmPolicyName + public long? ManagedStorageSize { get { - return ilmPolicyName; + return managedStorageSize; } set { - ilmPolicyName = value; + managedStorageSize = value; } } @@ -171,39 +171,39 @@ public List Indices public class ListDataStreams_IndicesItem { - private string name; + private bool? isManaged; - private string health; + private string createTime; private long? size; - private string createTime; + private string managedStatus; - private bool? isManaged; + private string name; - private string managedStatus; + private string health; - public string Name + public bool? IsManaged { get { - return name; + return isManaged; } set { - name = value; + isManaged = value; } } - public string Health + public string CreateTime { get { - return health; + return createTime; } set { - health = value; + createTime = value; } } @@ -219,39 +219,39 @@ public long? Size } } - public string CreateTime + public string ManagedStatus { get { - return createTime; + return managedStatus; } set { - createTime = value; + managedStatus = value; } } - public bool? IsManaged + public string Name { get { - return isManaged; + return name; } set { - isManaged = value; + name = value; } } - public string ManagedStatus + public string Health { get { - return managedStatus; + return health; } set { - managedStatus = value; + health = value; } } } @@ -260,31 +260,31 @@ public string ManagedStatus public class ListDataStreams_Headers { - private int? xManagedCount; - private long? xManagedStorageSize; - public int? XManagedCount + private int? xManagedCount; + + public long? XManagedStorageSize { get { - return xManagedCount; + return xManagedStorageSize; } set { - xManagedCount = value; + xManagedStorageSize = value; } } - public long? XManagedStorageSize + public int? XManagedCount { get { - return xManagedStorageSize; + return xManagedCount; } set { - xManagedStorageSize = value; + xManagedCount = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataTasksResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataTasksResponse.cs index 9f7fddbfb7..15c762d8c8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataTasksResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDataTasksResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -58,10 +58,10 @@ public class ListDataTasks_ResultItem private string createTime; - private string status; - private string taskId; + private string status; + private ListDataTasks_SinkCluster sinkCluster; private ListDataTasks_SourceCluster sourceCluster; @@ -78,27 +78,27 @@ public string CreateTime } } - public string Status + public string TaskId { get { - return status; + return taskId; } set { - status = value; + taskId = value; } } - public string TaskId + public string Status { get { - return taskId; + return status; } set { - taskId = value; + status = value; } } @@ -129,77 +129,77 @@ public ListDataTasks_SourceCluster SourceCluster public class ListDataTasks_SinkCluster { - private string dataSourceType; - - private string endpoint; - private string index; private string type; + private string endpoint; + private string vpcId; + private string vpcInstancePort; + private string vpcInstanceId; - private string vpcInstancePort; + private string dataSourceType; - public string DataSourceType + public string Index { get { - return dataSourceType; + return index; } set { - dataSourceType = value; + index = value; } } - public string Endpoint + public string Type { get { - return endpoint; + return type; } set { - endpoint = value; + type = value; } } - public string Index + public string Endpoint { get { - return index; + return endpoint; } set { - index = value; + endpoint = value; } } - public string Type + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VpcInstancePort { get { - return vpcId; + return vpcInstancePort; } set { - vpcId = value; + vpcInstancePort = value; } } @@ -215,15 +215,15 @@ public string VpcInstanceId } } - public string VpcInstancePort + public string DataSourceType { get { - return vpcInstancePort; + return dataSourceType; } set { - vpcInstancePort = value; + dataSourceType = value; } } } @@ -231,39 +231,39 @@ public string VpcInstancePort public class ListDataTasks_SourceCluster { - private string dataSourceType; - private string index; + private string settings; + private string mapping; - private string routing; + private string type; - private string settings; + private string routing; - private string type; + private string dataSourceType; - public string DataSourceType + public string Index { get { - return dataSourceType; + return index; } set { - dataSourceType = value; + index = value; } } - public string Index + public string Settings { get { - return index; + return settings; } set { - index = value; + settings = value; } } @@ -279,39 +279,39 @@ public string Mapping } } - public string Routing + public string Type { get { - return routing; + return type; } set { - routing = value; + type = value; } } - public string Settings + public string Routing { get { - return settings; + return routing; } set { - settings = value; + routing = value; } } - public string Type + public string DataSourceType { get { - return type; + return dataSourceType; } set { - type = value; + dataSourceType = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDefaultCollectorConfigurationsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDefaultCollectorConfigurationsResponse.cs index 1bd17530e8..d850ee8e49 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDefaultCollectorConfigurationsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDefaultCollectorConfigurationsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class ListDefaultCollectorConfigurations_ResultItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesRequest.cs new file mode 100644 index 0000000000..9a271800e1 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesRequest.cs @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListDeprecatedTemplatesRequest : RoaAcsRequest + { + public ListDeprecatedTemplatesRequest() + : base("elasticsearch", "2017-06-13", "ListDeprecatedTemplates", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/deprecated-templates"; + Method = MethodType.GET; + } + + private string instanceId; + + private int? size; + + private string name; + + private int? page; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public int? Size + { + get + { + return size; + } + set + { + size = value; + DictionaryUtil.Add(QueryParameters, "size", value.ToString()); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(QueryParameters, "name", value); + } + } + + public int? Page + { + get + { + return page; + } + set + { + page = value; + DictionaryUtil.Add(QueryParameters, "page", value.ToString()); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListDeprecatedTemplatesResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListDeprecatedTemplatesResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesResponse.cs new file mode 100644 index 0000000000..e34c62e062 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDeprecatedTemplatesResponse.cs @@ -0,0 +1,222 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListDeprecatedTemplatesResponse : AcsResponse + { + + private string requestId; + + private List result; + + private ListDeprecatedTemplates_Headers headers; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public ListDeprecatedTemplates_Headers Headers + { + get + { + return headers; + } + set + { + headers = value; + } + } + + public class ListDeprecatedTemplates_ResultItem + { + + private bool? dataStream; + + private string indexTemplate; + + private long? order; + + private string version; + + private List indexPatterns; + + private ListDeprecatedTemplates_Template template; + + public bool? DataStream + { + get + { + return dataStream; + } + set + { + dataStream = value; + } + } + + public string IndexTemplate + { + get + { + return indexTemplate; + } + set + { + indexTemplate = value; + } + } + + public long? Order + { + get + { + return order; + } + set + { + order = value; + } + } + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public List IndexPatterns + { + get + { + return indexPatterns; + } + set + { + indexPatterns = value; + } + } + + public ListDeprecatedTemplates_Template Template + { + get + { + return template; + } + set + { + template = value; + } + } + + public class ListDeprecatedTemplates_Template + { + + private string aliases; + + private string mappings; + + private string settings; + + public string Aliases + { + get + { + return aliases; + } + set + { + aliases = value; + } + } + + public string Mappings + { + get + { + return mappings; + } + set + { + mappings = value; + } + } + + public string Settings + { + get + { + return settings; + } + set + { + settings = value; + } + } + } + } + + public class ListDeprecatedTemplates_Headers + { + + private long? xTotalCount; + + public long? XTotalCount + { + get + { + return xTotalCount; + } + set + { + xTotalCount = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseIndicesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseIndicesResponse.cs index 97843b7773..7b65e6bc25 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseIndicesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseIndicesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportIdsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportIdsResponse.cs index 5c07b1477c..c394b43cdb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportIdsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportIdsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportResponse.cs index 5f938308b9..296e4b9adf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnoseReportResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,89 +70,89 @@ public ListDiagnoseReport_Headers Headers public class ListDiagnoseReport_ResultItem { - private string reportId; + private string trigger; - private string instanceId; + private long? createTime; + + private string reportId; private string state; - private string trigger; + private string instanceId; private string health; - private long? createTime; - private List diagnoseItems; - public string ReportId + public string Trigger { get { - return reportId; + return trigger; } set { - reportId = value; + trigger = value; } } - public string InstanceId + public long? CreateTime { get { - return instanceId; + return createTime; } set { - instanceId = value; + createTime = value; } } - public string State + public string ReportId { get { - return state; + return reportId; } set { - state = value; + reportId = value; } } - public string Trigger + public string State { get { - return trigger; + return state; } set { - trigger = value; + state = value; } } - public string Health + public string InstanceId { get { - return health; + return instanceId; } set { - health = value; + instanceId = value; } } - public long? CreateTime + public string Health { get { - return createTime; + return health; } set { - createTime = value; + health = value; } } @@ -216,15 +216,27 @@ public ListDiagnoseReport_Detail Detail public class ListDiagnoseReport_Detail { + private string type; + private string name; private string desc; - private string type; + private string result; private string suggest; - private string result; + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } public string Name { @@ -250,15 +262,15 @@ public string Desc } } - public string Type + public string Result { get { - return type; + return result; } set { - type = value; + result = value; } } @@ -273,18 +285,6 @@ public string Suggest suggest = value; } } - - public string Result - { - get - { - return result; - } - set - { - result = value; - } - } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsRequest.cs new file mode 100644 index 0000000000..5d8e1fe7f7 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsRequest.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListDiagnosisItemsRequest : RoaAcsRequest + { + public ListDiagnosisItemsRequest() + : base("elasticsearch", "2017-06-13", "ListDiagnosisItems", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/diagnosis/items"; + Method = MethodType.GET; + } + + private string lang; + + public string Lang + { + get + { + return lang; + } + set + { + lang = value; + DictionaryUtil.Add(QueryParameters, "lang", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListDiagnosisItemsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListDiagnosisItemsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsResponse.cs new file mode 100644 index 0000000000..23dac3e016 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDiagnosisItemsResponse.cs @@ -0,0 +1,102 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListDiagnosisItemsResponse : AcsResponse + { + + private string requestId; + + private List result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class ListDiagnosisItems_ResultItem + { + + private string key; + + private string name; + + private string description; + + public string Key + { + get + { + return key; + } + set + { + key = value; + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictInformationResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictInformationResponse.cs index 7f8cfd9079..14ce55e2e9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictInformationResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictInformationResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,33 +56,33 @@ public ListDictInformation_Result Result public class ListDictInformation_Result { - private long? fileSize; - private string type; + private long? fileSize; + private ListDictInformation_OssObject ossObject; - public long? FileSize + public string Type { get { - return fileSize; + return type; } set { - fileSize = value; + type = value; } } - public string Type + public long? FileSize { get { - return type; + return fileSize; } set { - type = value; + fileSize = value; } } @@ -101,33 +101,33 @@ public ListDictInformation_OssObject OssObject public class ListDictInformation_OssObject { - private string bucketName; - private string key; + private string bucketName; + private string etag; - public string BucketName + public string Key { get { - return bucketName; + return key; } set { - bucketName = value; + key = value; } } - public string Key + public string BucketName { get { - return key; + return bucketName; } set { - key = value; + bucketName = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictsResponse.cs index 18cb2b8e36..635a0c8272 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListDictsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,73 +70,73 @@ public ListDicts_Headers Headers public class ListDicts_ResultItem { - private string name; - private long? fileSize; - private string type; + private string downloadUrl; private string sourceType; - private string downloadUrl; + private string type; - public string Name + private string name; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string DownloadUrl { get { - return fileSize; + return downloadUrl; } set { - fileSize = value; + downloadUrl = value; } } - public string Type + public string SourceType { get { - return type; + return sourceType; } set { - type = value; + sourceType = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } - public string DownloadUrl + public string Name { get { - return downloadUrl; + return name; } set { - downloadUrl = value; + name = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListEcsInstancesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListEcsInstancesResponse.cs index 8908287ea4..3dd9bc82af 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListEcsInstancesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListEcsInstancesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,31 +70,31 @@ public ListEcsInstances_Headers Headers public class ListEcsInstances_ResultItem { - private string ecsInstanceId; + private string cloudAssistantStatus; private string ecsInstanceName; - private string status; + private string ecsInstanceId; private string tags; private string osType; - private string cloudAssistantStatus; + private string status; private List ipAddress; private List collectors; - public string EcsInstanceId + public string CloudAssistantStatus { get { - return ecsInstanceId; + return cloudAssistantStatus; } set { - ecsInstanceId = value; + cloudAssistantStatus = value; } } @@ -110,15 +110,15 @@ public string EcsInstanceName } } - public string Status + public string EcsInstanceId { get { - return status; + return ecsInstanceId; } set { - status = value; + ecsInstanceId = value; } } @@ -146,15 +146,15 @@ public string OsType } } - public string CloudAssistantStatus + public string Status { get { - return cloudAssistantStatus; + return status; } set { - cloudAssistantStatus = value; + status = value; } } @@ -185,31 +185,31 @@ public List Collectors public class ListEcsInstances_IpAddressItem { - private string host; - private string ipType; - public string Host + private string host; + + public string IpType { get { - return host; + return ipType; } set { - host = value; + ipType = value; } } - public string IpType + public string Host { get { - return ipType; + return host; } set { - ipType = value; + host = value; } } } @@ -217,25 +217,25 @@ public string IpType public class ListEcsInstances_CollectorsItem { - private string gmtCreatedTime; + private string resId; private string gmtUpdateTime; - private string name; - - private string resId; + private bool? dryRun; - private string resVersion; + private string ownerId; private string vpcId; private string resType; - private string ownerId; + private string resVersion; + + private string gmtCreatedTime; private string status; - private bool? dryRun; + private string name; private List configs; @@ -243,15 +243,15 @@ public class ListEcsInstances_CollectorsItem private List collectorPaths; - public string GmtCreatedTime + public string ResId { get { - return gmtCreatedTime; + return resId; } set { - gmtCreatedTime = value; + resId = value; } } @@ -267,75 +267,75 @@ public string GmtUpdateTime } } - public string Name + public bool? DryRun { get { - return name; + return dryRun; } set { - name = value; + dryRun = value; } } - public string ResId + public string OwnerId { get { - return resId; + return ownerId; } set { - resId = value; + ownerId = value; } } - public string ResVersion + public string VpcId { get { - return resVersion; + return vpcId; } set { - resVersion = value; + vpcId = value; } } - public string VpcId + public string ResType { get { - return vpcId; + return resType; } set { - vpcId = value; + resType = value; } } - public string ResType + public string ResVersion { get { - return resType; + return resVersion; } set { - resType = value; + resVersion = value; } } - public string OwnerId + public string GmtCreatedTime { get { - return ownerId; + return gmtCreatedTime; } set { - ownerId = value; + gmtCreatedTime = value; } } @@ -351,15 +351,15 @@ public string Status } } - public bool? DryRun + public string Name { get { - return dryRun; + return name; } set { - dryRun = value; + name = value; } } @@ -402,31 +402,31 @@ public List CollectorPaths public class ListEcsInstances_ConfigsItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } @@ -434,9 +434,11 @@ public string Content public class ListEcsInstances_ExtendConfigsItem { - private string configType; + private bool? enableMonitoring; - private string instanceId; + private string groupId; + + private string configType; private string instanceType; @@ -444,85 +446,83 @@ public class ListEcsInstances_ExtendConfigsItem private string userName; - private bool? enableMonitoring; - private string type; - private string groupId; + private string instanceId; private List machines; private List hosts; - public string ConfigType + public bool? EnableMonitoring { get { - return configType; + return enableMonitoring; } set { - configType = value; + enableMonitoring = value; } } - public string InstanceId + public string GroupId { get { - return instanceId; + return groupId; } set { - instanceId = value; + groupId = value; } } - public string InstanceType + public string ConfigType { get { - return instanceType; + return configType; } set { - instanceType = value; + configType = value; } } - public string Protocol + public string InstanceType { get { - return protocol; + return instanceType; } set { - protocol = value; + instanceType = value; } } - public string UserName + public string Protocol { get { - return userName; + return protocol; } set { - userName = value; + protocol = value; } } - public bool? EnableMonitoring + public string UserName { get { - return enableMonitoring; + return userName; } set { - enableMonitoring = value; + userName = value; } } @@ -538,15 +538,15 @@ public string Type } } - public string GroupId + public string InstanceId { get { - return groupId; + return instanceId; } set { - groupId = value; + instanceId = value; } } @@ -577,31 +577,31 @@ public List Hosts public class ListEcsInstances_MachinesItem { - private string instanceId; - private string agentStatus; - public string InstanceId + private string instanceId; + + public string AgentStatus { get { - return instanceId; + return agentStatus; } set { - instanceId = value; + agentStatus = value; } } - public string AgentStatus + public string InstanceId { get { - return agentStatus; + return instanceId; } set { - agentStatus = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListExtendfilesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListExtendfilesResponse.cs index 100af1ec7e..230ecea2fe 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListExtendfilesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListExtendfilesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,23 +56,23 @@ public List Result public class ListExtendfiles_ResultItem { - private string name; + private string filePath; private long? fileSize; - private string sourceType; + private string name; - private string filePath; + private string sourceType; - public string Name + public string FilePath { get { - return name; + return filePath; } set { - name = value; + filePath = value; } } @@ -88,27 +88,27 @@ public long? FileSize } } - public string SourceType + public string Name { get { - return sourceType; + return name; } set { - sourceType = value; + name = value; } } - public string FilePath + public string SourceType { get { - return filePath; + return sourceType; } set { - filePath = value; + sourceType = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListILMPoliciesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListILMPoliciesResponse.cs index 308a66c8b8..3bdeb6fc9b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListILMPoliciesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListILMPoliciesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesRequest.cs index 0ce0a9bd1a..0a277e8bf3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesRequest.cs @@ -43,6 +43,10 @@ public ListIndexTemplatesRequest() private string instanceId; + private int? size; + + private int? page; + private string indexTemplate; public string InstanceId @@ -58,6 +62,32 @@ public string InstanceId } } + public int? Size + { + get + { + return size; + } + set + { + size = value; + DictionaryUtil.Add(QueryParameters, "size", value.ToString()); + } + } + + public int? Page + { + get + { + return page; + } + set + { + page = value; + DictionaryUtil.Add(QueryParameters, "page", value.ToString()); + } + } + public string IndexTemplate { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesResponse.cs index ac6430b1b5..49b75debf7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListIndexTemplatesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,63 +56,63 @@ public List Result public class ListIndexTemplates_ResultItem { - private string indexTemplate; - private bool? dataStream; - private int? priority; + private string indexTemplate; private string ilmPolicy; + private int? priority; + private List indexPatterns; private ListIndexTemplates_Template template; - public string IndexTemplate + public bool? DataStream { get { - return indexTemplate; + return dataStream; } set { - indexTemplate = value; + dataStream = value; } } - public bool? DataStream + public string IndexTemplate { get { - return dataStream; + return indexTemplate; } set { - dataStream = value; + indexTemplate = value; } } - public int? Priority + public string IlmPolicy { get { - return priority; + return ilmPolicy; } set { - priority = value; + ilmPolicy = value; } } - public string IlmPolicy + public int? Priority { get { - return ilmPolicy; + return priority; } set { - ilmPolicy = value; + priority = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsRequest.cs new file mode 100644 index 0000000000..5a06f3c479 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsRequest.cs @@ -0,0 +1,219 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListInstanceHistoryEventsRequest : RoaAcsRequest + { + public ListInstanceHistoryEventsRequest() + : base("elasticsearch", "2017-06-13", "ListInstanceHistoryEvents", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/events"; + Method = MethodType.POST; + } + + private string eventFinashEndTime; + + private string instanceId; + + private int? size; + + private string eventExecuteStartTime; + + private string eventFinashStartTime; + + private string nodeIP; + + private int? page; + + private string eventCreateEndTime; + + private string body; + + private string eventCreateStartTime; + + private string eventExecuteEndTime; + + public string EventFinashEndTime + { + get + { + return eventFinashEndTime; + } + set + { + eventFinashEndTime = value; + DictionaryUtil.Add(QueryParameters, "eventFinashEndTime", value); + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(QueryParameters, "instanceId", value); + } + } + + public int? Size + { + get + { + return size; + } + set + { + size = value; + DictionaryUtil.Add(QueryParameters, "size", value.ToString()); + } + } + + public string EventExecuteStartTime + { + get + { + return eventExecuteStartTime; + } + set + { + eventExecuteStartTime = value; + DictionaryUtil.Add(QueryParameters, "eventExecuteStartTime", value); + } + } + + public string EventFinashStartTime + { + get + { + return eventFinashStartTime; + } + set + { + eventFinashStartTime = value; + DictionaryUtil.Add(QueryParameters, "eventFinashStartTime", value); + } + } + + public string NodeIP + { + get + { + return nodeIP; + } + set + { + nodeIP = value; + DictionaryUtil.Add(QueryParameters, "nodeIP", value); + } + } + + public int? Page + { + get + { + return page; + } + set + { + page = value; + DictionaryUtil.Add(QueryParameters, "page", value.ToString()); + } + } + + public string EventCreateEndTime + { + get + { + return eventCreateEndTime; + } + set + { + eventCreateEndTime = value; + DictionaryUtil.Add(QueryParameters, "eventCreateEndTime", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public string EventCreateStartTime + { + get + { + return eventCreateStartTime; + } + set + { + eventCreateStartTime = value; + DictionaryUtil.Add(QueryParameters, "eventCreateStartTime", value); + } + } + + public string EventExecuteEndTime + { + get + { + return eventExecuteEndTime; + } + set + { + eventExecuteEndTime = value; + DictionaryUtil.Add(QueryParameters, "eventExecuteEndTime", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListInstanceHistoryEventsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListInstanceHistoryEventsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsResponse.cs new file mode 100644 index 0000000000..c3b049ddd1 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceHistoryEventsResponse.cs @@ -0,0 +1,260 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListInstanceHistoryEventsResponse : AcsResponse + { + + private string requestId; + + private List result; + + private ListInstanceHistoryEvents_Headers headers; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public ListInstanceHistoryEvents_Headers Headers + { + get + { + return headers; + } + set + { + headers = value; + } + } + + public class ListInstanceHistoryEvents_ResultItem + { + + private string eventCreateTime; + + private string eventCycleStatus; + + private string eventExecuteTime; + + private string eventFinashTime; + + private string eventLevel; + + private string instanceId; + + private string nodeIP; + + private string eventType; + + private string regionId; + + private string ecsId; + + public string EventCreateTime + { + get + { + return eventCreateTime; + } + set + { + eventCreateTime = value; + } + } + + public string EventCycleStatus + { + get + { + return eventCycleStatus; + } + set + { + eventCycleStatus = value; + } + } + + public string EventExecuteTime + { + get + { + return eventExecuteTime; + } + set + { + eventExecuteTime = value; + } + } + + public string EventFinashTime + { + get + { + return eventFinashTime; + } + set + { + eventFinashTime = value; + } + } + + public string EventLevel + { + get + { + return eventLevel; + } + set + { + eventLevel = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } + + public string NodeIP + { + get + { + return nodeIP; + } + set + { + nodeIP = value; + } + } + + public string EventType + { + get + { + return eventType; + } + set + { + eventType = value; + } + } + + public string RegionId + { + get + { + return regionId; + } + set + { + regionId = value; + } + } + + public string EcsId + { + get + { + return ecsId; + } + set + { + ecsId = value; + } + } + } + + public class ListInstanceHistoryEvents_Headers + { + + private long? xTotalCount; + + private long? xTotalFailed; + + private long? xTotalSuccess; + + public long? XTotalCount + { + get + { + return xTotalCount; + } + set + { + xTotalCount = value; + } + } + + public long? XTotalFailed + { + get + { + return xTotalFailed; + } + set + { + xTotalFailed = value; + } + } + + public long? XTotalSuccess + { + get + { + return xTotalSuccess; + } + set + { + xTotalSuccess = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceIndicesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceIndicesResponse.cs index 30dffca7d0..a01a0bc840 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceIndicesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceIndicesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceResponse.cs index cb072193d7..9cca7f2eab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -72,36 +72,50 @@ public class ListInstance_Instance private bool? advancedDedicateMaster; + private int? nodeAmount; + private string createdAt; + private string status; + private bool? dedicateMaster; - private string description; + private bool? serviceVpc; - private string esVersion; + private string paymentType; - private string instanceId; + private string resourceGroupId; - private int? nodeAmount; + private string postpaidServiceStatus; - private string paymentType; + private string description; - private string resourceGroupId; + private string esVersion; - private string status; + private string isNewDeployment; private string updatedAt; - private string postpaidServiceStatus; + private string instanceId; - private string isNewDeployment; + private string vpcInstanceId; - private bool? serviceVpc; + private long? endTime; + + private string archType; private List tags; private List> extendConfigs; + private List kibanaIPWhitelist; + + private List kibanaPrivateIPWhitelist; + + private List publicIpWhitelist; + + private List privateNetworkIpWhiteList; + private ListInstance_ClientNodeConfiguration clientNodeConfiguration; private ListInstance_ElasticDataNodeConfiguration elasticDataNodeConfiguration; @@ -126,6 +140,18 @@ public bool? AdvancedDedicateMaster } } + public int? NodeAmount + { + get + { + return nodeAmount; + } + set + { + nodeAmount = value; + } + } + public string CreatedAt { get @@ -138,6 +164,18 @@ public string CreatedAt } } + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + public bool? DedicateMaster { get @@ -150,87 +188,87 @@ public bool? DedicateMaster } } - public string Description + public bool? ServiceVpc { get { - return description; + return serviceVpc; } set { - description = value; + serviceVpc = value; } } - public string EsVersion + public string PaymentType { get { - return esVersion; + return paymentType; } set { - esVersion = value; + paymentType = value; } } - public string InstanceId + public string ResourceGroupId { get { - return instanceId; + return resourceGroupId; } set { - instanceId = value; + resourceGroupId = value; } } - public int? NodeAmount + public string PostpaidServiceStatus { get { - return nodeAmount; + return postpaidServiceStatus; } set { - nodeAmount = value; + postpaidServiceStatus = value; } } - public string PaymentType + public string Description { get { - return paymentType; + return description; } set { - paymentType = value; + description = value; } } - public string ResourceGroupId + public string EsVersion { get { - return resourceGroupId; + return esVersion; } set { - resourceGroupId = value; + esVersion = value; } } - public string Status + public string IsNewDeployment { get { - return status; + return isNewDeployment; } set { - status = value; + isNewDeployment = value; } } @@ -246,39 +284,51 @@ public string UpdatedAt } } - public string PostpaidServiceStatus + public string InstanceId { get { - return postpaidServiceStatus; + return instanceId; } set { - postpaidServiceStatus = value; + instanceId = value; } } - public string IsNewDeployment + public string VpcInstanceId { get { - return isNewDeployment; + return vpcInstanceId; } set { - isNewDeployment = value; + vpcInstanceId = value; } } - public bool? ServiceVpc + public long? EndTime { get { - return serviceVpc; + return endTime; } set { - serviceVpc = value; + endTime = value; + } + } + + public string ArchType + { + get + { + return archType; + } + set + { + archType = value; } } @@ -306,6 +356,54 @@ public List> ExtendConfigs } } + public List KibanaIPWhitelist + { + get + { + return kibanaIPWhitelist; + } + set + { + kibanaIPWhitelist = value; + } + } + + public List KibanaPrivateIPWhitelist + { + get + { + return kibanaPrivateIPWhitelist; + } + set + { + kibanaPrivateIPWhitelist = value; + } + } + + public List PublicIpWhitelist + { + get + { + return publicIpWhitelist; + } + set + { + publicIpWhitelist = value; + } + } + + public List PrivateNetworkIpWhiteList + { + get + { + return privateNetworkIpWhiteList; + } + set + { + privateNetworkIpWhiteList = value; + } + } + public ListInstance_ClientNodeConfiguration ClientNodeConfiguration { get @@ -413,13 +511,27 @@ public string TagValue public class ListInstance_ClientNodeConfiguration { + private string spec; + private int? amount; private int? disk; private string diskType; - private string spec; + private string specInfo; + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Amount { @@ -457,15 +569,15 @@ public string DiskType } } - public string Spec + public string SpecInfo { get { - return spec; + return specInfo; } set { - spec = value; + specInfo = value; } } } @@ -473,6 +585,8 @@ public string Spec public class ListInstance_ElasticDataNodeConfiguration { + private string spec; + private int? amount; private int? disk; @@ -481,7 +595,19 @@ public class ListInstance_ElasticDataNodeConfiguration private string diskType; - private string spec; + private string specInfo; + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Amount { @@ -531,15 +657,15 @@ public string DiskType } } - public string Spec + public string SpecInfo { get { - return spec; + return specInfo; } set { - spec = value; + specInfo = value; } } } @@ -547,13 +673,27 @@ public string Spec public class ListInstance_KibanaConfiguration { + private string spec; + private int? amount; private int? disk; private string diskType; - private string spec; + private string specInfo; + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Amount { @@ -591,15 +731,15 @@ public string DiskType } } - public string Spec + public string SpecInfo { get { - return spec; + return specInfo; } set { - spec = value; + specInfo = value; } } } @@ -607,13 +747,27 @@ public string Spec public class ListInstance_MasterConfiguration { + private string spec; + private int? amount; private int? disk; private string diskType; - private string spec; + private string specInfo; + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Amount { @@ -651,15 +805,15 @@ public string DiskType } } - public string Spec + public string SpecInfo { get { - return spec; + return specInfo; } set { - spec = value; + specInfo = value; } } } @@ -667,47 +821,49 @@ public string Spec public class ListInstance_NetworkConfig { - private string type; - private string vpcId; private string vsArea; + private string type; + private string vswitchId; - public string Type + private List whiteIpGroupList; + + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VsArea + public string Type { get { - return vsArea; + return type; } set { - vsArea = value; + type = value; } } @@ -722,18 +878,92 @@ public string VswitchId vswitchId = value; } } + + public List WhiteIpGroupList + { + get + { + return whiteIpGroupList; + } + set + { + whiteIpGroupList = value; + } + } + + public class ListInstance_WhiteIpGroupListItem + { + + private string groupName; + + private string whiteIpType; + + private List ips; + + public string GroupName + { + get + { + return groupName; + } + set + { + groupName = value; + } + } + + public string WhiteIpType + { + get + { + return whiteIpType; + } + set + { + whiteIpType = value; + } + } + + public List Ips + { + get + { + return ips; + } + set + { + ips = value; + } + } + } } public class ListInstance_NodeSpec { + private string spec; + private int? disk; private bool? diskEncryption; private string diskType; - private string spec; + private string performanceLevel; + + private string specInfo; + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Disk { @@ -771,15 +1001,27 @@ public string DiskType } } - public string Spec + public string PerformanceLevel { get { - return spec; + return performanceLevel; } set { - spec = value; + performanceLevel = value; + } + } + + public string SpecInfo + { + get + { + return specInfo; + } + set + { + specInfo = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPluginsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPluginsResponse.cs index c351116a01..28b1487317 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPluginsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPluginsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,73 +70,73 @@ public ListKibanaPlugins_Headers Headers public class ListKibanaPlugins_PluginItem { - private string name; + private string description; + + private string specificationUrl; private string state; private string source; - private string description; - - private string specificationUrl; + private string name; - public string Name + public string Description { get { - return name; + return description; } set { - name = value; + description = value; } } - public string State + public string SpecificationUrl { get { - return state; + return specificationUrl; } set { - state = value; + specificationUrl = value; } } - public string Source + public string State { get { - return source; + return state; } set { - source = value; + state = value; } } - public string Description + public string Source { get { - return description; + return source; } set { - description = value; + source = value; } } - public string SpecificationUrl + public string Name { get { - return specificationUrl; + return name; } set { - specificationUrl = value; + name = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkRequest.cs new file mode 100644 index 0000000000..c9563a735c --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkRequest.cs @@ -0,0 +1,70 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListKibanaPvlNetworkRequest : RoaAcsRequest + { + public ListKibanaPvlNetworkRequest() + : base("elasticsearch", "2017-06-13", "ListKibanaPvlNetwork", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + UriPattern = "/openapi/instances/[InstanceId]/actions/get-kibana-private"; + Method = MethodType.GET; + } + + private string instanceId; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListKibanaPvlNetworkResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ListKibanaPvlNetworkResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkResponse.cs new file mode 100644 index 0000000000..ee330fafb2 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListKibanaPvlNetworkResponse.cs @@ -0,0 +1,204 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class ListKibanaPvlNetworkResponse : AcsResponse + { + + private string requestId; + + private List result; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public List Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class ListKibanaPvlNetwork_ResultItem + { + + private string endpointName; + + private string vpcId; + + private string endpointId; + + private string endpointStatus; + + private string createTime; + + private string pvlId; + + private List vSwitchIdsZone; + + private List securityGroups; + + public string EndpointName + { + get + { + return endpointName; + } + set + { + endpointName = value; + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public string EndpointId + { + get + { + return endpointId; + } + set + { + endpointId = value; + } + } + + public string EndpointStatus + { + get + { + return endpointStatus; + } + set + { + endpointStatus = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string PvlId + { + get + { + return pvlId; + } + set + { + pvlId = value; + } + } + + public List VSwitchIdsZone + { + get + { + return vSwitchIdsZone; + } + set + { + vSwitchIdsZone = value; + } + } + + public List SecurityGroups + { + get + { + return securityGroups; + } + set + { + securityGroups = value; + } + } + + public class ListKibanaPvlNetwork_VSwitchIdsZoneItem + { + + private string zoneId; + + private string vswitchId; + + public string ZoneId + { + get + { + return zoneId; + } + set + { + zoneId = value; + } + } + + public string VswitchId + { + get + { + return vswitchId; + } + set + { + vswitchId = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashLogResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashLogResponse.cs index 71c33fd20d..6d0f64cc63 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashLogResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashLogResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,73 +56,73 @@ public List Result public class ListLogstashLog_ResultItem { - private long? timestamp; - - private string host; - private string level; private string content; + private long? timestamp; + private string instanceId; - public long? Timestamp + private string host; + + public string Level { get { - return timestamp; + return level; } set { - timestamp = value; + level = value; } } - public string Host + public string Content { get { - return host; + return content; } set { - host = value; + content = value; } } - public string Level + public long? Timestamp { get { - return level; + return timestamp; } set { - level = value; + timestamp = value; } } - public string Content + public string InstanceId { get { - return content; + return instanceId; } set { - content = value; + instanceId = value; } } - public string InstanceId + public string Host { get { - return instanceId; + return host; } set { - instanceId = value; + host = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashPluginsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashPluginsResponse.cs index 3b455b5733..063127daa7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashPluginsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashPluginsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,73 +56,73 @@ public List Result public class ListLogstashPlugins_ResultItem { - private string name; + private string description; + + private string specificationUrl; private string state; private string source; - private string description; - - private string specificationUrl; + private string name; - public string Name + public string Description { get { - return name; + return description; } set { - name = value; + description = value; } } - public string State + public string SpecificationUrl { get { - return state; + return specificationUrl; } set { - state = value; + specificationUrl = value; } } - public string Source + public string State { get { - return source; + return state; } set { - source = value; + state = value; } } - public string Description + public string Source { get { - return description; + return source; } set { - description = value; + source = value; } } - public string SpecificationUrl + public string Name { get { - return specificationUrl; + return name; } set { - specificationUrl = value; + name = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashRequest.cs index 492f4d5d8e..48a685a693 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashRequest.cs @@ -51,10 +51,10 @@ public ListLogstashRequest() private int? page; - private string ownerId; - private string version; + private string tags; + public string ResourceGroupId { get @@ -120,29 +120,29 @@ public int? Page } } - public string OwnerId + public string Version { get { - return ownerId; + return version; } set { - ownerId = value; - DictionaryUtil.Add(QueryParameters, "ownerId", value); + version = value; + DictionaryUtil.Add(QueryParameters, "version", value); } } - public string Version + public string Tags { get { - return version; + return tags; } set { - version = value; - DictionaryUtil.Add(QueryParameters, "version", value); + tags = value; + DictionaryUtil.Add(QueryParameters, "tags", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashResponse.cs index 115f9bb730..267626a979 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,21 +70,23 @@ public ListLogstash_Headers Headers public class ListLogstash_Instance { - private string instanceId; - - private string description; + private string paymentType; private int? nodeAmount; - private string paymentType; + private string description; + + private string createdAt; private string status; - private string version; + private string updatedAt; - private string createdAt; + private string instanceId; - private string updatedAt; + private string version; + + private string resourceGroupId; private List tags; @@ -92,51 +94,51 @@ public class ListLogstash_Instance private ListLogstash_NetworkConfig networkConfig; - public string InstanceId + public string PaymentType { get { - return instanceId; + return paymentType; } set { - instanceId = value; + paymentType = value; } } - public string Description + public int? NodeAmount { get { - return description; + return nodeAmount; } set { - description = value; + nodeAmount = value; } } - public int? NodeAmount + public string Description { get { - return nodeAmount; + return description; } set { - nodeAmount = value; + description = value; } } - public string PaymentType + public string CreatedAt { get { - return paymentType; + return createdAt; } set { - paymentType = value; + createdAt = value; } } @@ -152,39 +154,51 @@ public string Status } } - public string Version + public string UpdatedAt { get { - return version; + return updatedAt; } set { - version = value; + updatedAt = value; } } - public string CreatedAt + public string InstanceId { get { - return createdAt; + return instanceId; } set { - createdAt = value; + instanceId = value; } } - public string UpdatedAt + public string Version { get { - return updatedAt; + return version; } set { - updatedAt = value; + version = value; + } + } + + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; } } @@ -227,31 +241,31 @@ public ListLogstash_NetworkConfig NetworkConfig public class ListLogstash_TagsItem { - private string tagKey; - private string tagValue; - public string TagKey + private string tagKey; + + public string TagValue { get { - return tagKey; + return tagValue; } set { - tagKey = value; + tagValue = value; } } - public string TagValue + public string TagKey { get { - return tagValue; + return tagKey; } set { - tagValue = value; + tagKey = value; } } } @@ -263,10 +277,10 @@ public class ListLogstash_NodeSpec private int? disk; - private string diskType; - private bool? diskEncryption; + private string diskType; + public string Spec { get @@ -291,27 +305,27 @@ public int? Disk } } - public string DiskType + public bool? DiskEncryption { get { - return diskType; + return diskEncryption; } set { - diskType = value; + diskEncryption = value; } } - public bool? DiskEncryption + public string DiskType { get { - return diskEncryption; + return diskType; } set { - diskEncryption = value; + diskType = value; } } } @@ -319,59 +333,59 @@ public bool? DiskEncryption public class ListLogstash_NetworkConfig { - private string type; - private string vpcId; - private string vswitchId; - private string vsArea; - public string Type + private string type; + + private string vswitchId; + + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VswitchId + public string Type { get { - return vswitchId; + return type; } set { - vswitchId = value; + type = value; } } - public string VsArea + public string VswitchId { get { - return vsArea; + return vswitchId; } set { - vsArea = value; + vswitchId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListNodesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListNodesResponse.cs index a07b035207..f3178d74c0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListNodesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListNodesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,15 +70,15 @@ public ListNodes_Headers Headers public class ListNodes_ResultItem { - private string ecsInstanceId; + private string cloudAssistantStatus; private string ecsInstanceName; - private string status; + private string ecsInstanceId; private string osType; - private string cloudAssistantStatus; + private string status; private string agentStatus; @@ -86,15 +86,15 @@ public class ListNodes_ResultItem private List ipAddress; - public string EcsInstanceId + public string CloudAssistantStatus { get { - return ecsInstanceId; + return cloudAssistantStatus; } set { - ecsInstanceId = value; + cloudAssistantStatus = value; } } @@ -110,15 +110,15 @@ public string EcsInstanceName } } - public string Status + public string EcsInstanceId { get { - return status; + return ecsInstanceId; } set { - status = value; + ecsInstanceId = value; } } @@ -134,15 +134,15 @@ public string OsType } } - public string CloudAssistantStatus + public string Status { get { - return cloudAssistantStatus; + return status; } set { - cloudAssistantStatus = value; + status = value; } } @@ -217,31 +217,31 @@ public string TagValue public class ListNodes_IpAddressItem { - private string host; - private string ipType; - public string Host + private string host; + + public string IpType { get { - return host; + return ipType; } set { - host = value; + ipType = value; } } - public string IpType + public string Host { get { - return ipType; + return host; } set { - ipType = value; + host = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsRequest.cs index 5af47e5d45..b7390f33a8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsRequest.cs @@ -43,6 +43,8 @@ public ListPipelineIdsRequest() private string instanceId; + private string body; + public string InstanceId { get @@ -56,6 +58,19 @@ public string InstanceId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsResponse.cs index a96f43dffc..569275c5ac 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineIdsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineResponse.cs index e633a5a1eb..a4acee2224 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPipelineResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -72,11 +72,11 @@ public class ListPipeline_ResultItem private string pipelineId; - private string pipelineStatus; + private string gmtUpdateTime; private string gmtCreatedTime; - private string gmtUpdateTime; + private string pipelineStatus; public string PipelineId { @@ -90,15 +90,15 @@ public string PipelineId } } - public string PipelineStatus + public string GmtUpdateTime { get { - return pipelineStatus; + return gmtUpdateTime; } set { - pipelineStatus = value; + gmtUpdateTime = value; } } @@ -114,15 +114,15 @@ public string GmtCreatedTime } } - public string GmtUpdateTime + public string PipelineStatus { get { - return gmtUpdateTime; + return pipelineStatus; } set { - gmtUpdateTime = value; + pipelineStatus = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPluginsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPluginsResponse.cs index a457ecdacf..d2567a1b8d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPluginsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListPluginsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,73 +70,73 @@ public ListPlugins_Headers Headers public class ListPlugins_ResultItem { - private string name; + private string description; + + private string specificationUrl; private string state; private string source; - private string description; - - private string specificationUrl; + private string name; - public string Name + public string Description { get { - return name; + return description; } set { - name = value; + description = value; } } - public string State + public string SpecificationUrl { get { - return state; + return specificationUrl; } set { - state = value; + specificationUrl = value; } } - public string Source + public string State { get { - return source; + return state; } set { - source = value; + state = value; } } - public string Description + public string Source { get { - return description; + return source; } set { - description = value; + source = value; } } - public string SpecificationUrl + public string Name { get { - return specificationUrl; + return name; } set { - specificationUrl = value; + name = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSearchLogResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSearchLogResponse.cs index f2fc073161..e75e20e01c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSearchLogResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSearchLogResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -70,27 +70,27 @@ public ListSearchLog_Headers Headers public class ListSearchLog_ResultItem { - private long? timestamp; + private string level; private string host; - private string instanceId; + private string content; - private string contentCollection; + private long? timestamp; - private string level; + private string contentCollection; - private string content; + private string instanceId; - public long? Timestamp + public string Level { get { - return timestamp; + return level; } set { - timestamp = value; + level = value; } } @@ -106,51 +106,51 @@ public string Host } } - public string InstanceId + public string Content { get { - return instanceId; + return content; } set { - instanceId = value; + content = value; } } - public string ContentCollection + public long? Timestamp { get { - return contentCollection; + return timestamp; } set { - contentCollection = value; + timestamp = value; } } - public string Level + public string ContentCollection { get { - return level; + return contentCollection; } set { - level = value; + contentCollection = value; } } - public string Content + public string InstanceId { get { - return content; + return instanceId; } set { - content = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListShardRecoveriesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListShardRecoveriesResponse.cs index 2864364929..0863ec2e94 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListShardRecoveriesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListShardRecoveriesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -60,26 +60,26 @@ public class ListShardRecoveries_ResultItem private string sourceHost; - private string targetNode; - - private string stage; + private string sourceNode; private long? filesTotal; - private string filesPercent; - - private long? bytesTotal; - private string bytesPercent; private long? translogOps; private string translogOpsPercent; - private string sourceNode; + private long? bytesTotal; private string targetHost; + private string targetNode; + + private string filesPercent; + + private string stage; + public string Index { get @@ -104,123 +104,123 @@ public string SourceHost } } - public string TargetNode + public string SourceNode { get { - return targetNode; + return sourceNode; } set { - targetNode = value; + sourceNode = value; } } - public string Stage + public long? FilesTotal { get { - return stage; + return filesTotal; } set { - stage = value; + filesTotal = value; } } - public long? FilesTotal + public string BytesPercent { get { - return filesTotal; + return bytesPercent; } set { - filesTotal = value; + bytesPercent = value; } } - public string FilesPercent + public long? TranslogOps { get { - return filesPercent; + return translogOps; } set { - filesPercent = value; + translogOps = value; } } - public long? BytesTotal + public string TranslogOpsPercent { get { - return bytesTotal; + return translogOpsPercent; } set { - bytesTotal = value; + translogOpsPercent = value; } } - public string BytesPercent + public long? BytesTotal { get { - return bytesPercent; + return bytesTotal; } set { - bytesPercent = value; + bytesTotal = value; } } - public long? TranslogOps + public string TargetHost { get { - return translogOps; + return targetHost; } set { - translogOps = value; + targetHost = value; } } - public string TranslogOpsPercent + public string TargetNode { get { - return translogOpsPercent; + return targetNode; } set { - translogOpsPercent = value; + targetNode = value; } } - public string SourceNode + public string FilesPercent { get { - return sourceNode; + return filesPercent; } set { - sourceNode = value; + filesPercent = value; } } - public string TargetHost + public string Stage { get { - return targetHost; + return stage; } set { - targetHost = value; + stage = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSnapshotReposByInstanceIdResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSnapshotReposByInstanceIdResponse.cs index 1f5884ca72..04d925e510 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSnapshotReposByInstanceIdResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListSnapshotReposByInstanceIdResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,25 +56,13 @@ public List Result public class ListSnapshotReposByInstanceId_Repo { - private string instanceId; - private string snapWarehouse; private string repoPath; private string status; - public string InstanceId - { - get - { - return instanceId; - } - set - { - instanceId = value; - } - } + private string instanceId; public string SnapWarehouse { @@ -111,6 +99,18 @@ public string Status status = value; } } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagResourcesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagResourcesResponse.cs index a0bf1215db..7ec2704bb6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagResourcesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagResourcesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,35 +25,35 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ListTagResourcesResponse : AcsResponse { - private string requestId; - private int? pageSize; + private string requestId; + private ListTagResources_Headers headers; private ListTagResources_TagResources tagResources; - public string RequestId + public int? PageSize { get { - return requestId; + return pageSize; } set { - requestId = value; + pageSize = value; } } - public int? PageSize + public string RequestId { get { - return pageSize; + return requestId; } set { - pageSize = value; + requestId = value; } } @@ -119,23 +119,23 @@ public List TagResource public class ListTagResources_TagResourceItem { - private string resourceId; + private string tagValue; private string resourceType; - private string tagKey; + private string resourceId; - private string tagValue; + private string tagKey; - public string ResourceId + public string TagValue { get { - return resourceId; + return tagValue; } set { - resourceId = value; + tagValue = value; } } @@ -151,27 +151,27 @@ public string ResourceType } } - public string TagKey + public string ResourceId { get { - return tagKey; + return resourceId; } set { - tagKey = value; + resourceId = value; } } - public string TagValue + public string TagKey { get { - return tagValue; + return tagKey; } set { - tagValue = value; + tagKey = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagsResponse.cs index 6b434a6c79..561425d55b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListTagsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class ListTags_ResultItem { - private string tagKey; - private string tagValue; - public string TagKey + private string tagKey; + + public string TagValue { get { - return tagKey; + return tagValue; } set { - tagKey = value; + tagValue = value; } } - public string TagValue + public string TagKey { get { - return tagValue; + return tagKey; } set { - tagValue = value; + tagKey = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListVpcEndpointsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListVpcEndpointsResponse.cs index 0c49a1a503..b3da8eafc1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListVpcEndpointsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ListVpcEndpointsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,57 +56,57 @@ public List Result public class ListVpcEndpoints_ResultItem { - private string connectionStatus; - - private string createTime; - private string endpointBusinessStatus; - private string endpointId; + private string serviceId; private string endpointName; - private string endpointStatus; - - private string serviceId; + private string endpointId; private string serviceName; + private string createTime; + + private string connectionStatus; + private string endpointDomain; - public string ConnectionStatus + private string endpointStatus; + + public string EndpointBusinessStatus { get { - return connectionStatus; + return endpointBusinessStatus; } set { - connectionStatus = value; + endpointBusinessStatus = value; } } - public string CreateTime + public string ServiceId { get { - return createTime; + return serviceId; } set { - createTime = value; + serviceId = value; } } - public string EndpointBusinessStatus + public string EndpointName { get { - return endpointBusinessStatus; + return endpointName; } set { - endpointBusinessStatus = value; + endpointName = value; } } @@ -122,63 +122,63 @@ public string EndpointId } } - public string EndpointName + public string ServiceName { get { - return endpointName; + return serviceName; } set { - endpointName = value; + serviceName = value; } } - public string EndpointStatus + public string CreateTime { get { - return endpointStatus; + return createTime; } set { - endpointStatus = value; + createTime = value; } } - public string ServiceId + public string ConnectionStatus { get { - return serviceId; + return connectionStatus; } set { - serviceId = value; + connectionStatus = value; } } - public string ServiceName + public string EndpointDomain { get { - return serviceName; + return endpointDomain; } set { - serviceName = value; + endpointDomain = value; } } - public string EndpointDomain + public string EndpointStatus { get { - return endpointDomain; + return endpointStatus; } set { - endpointDomain = value; + endpointStatus = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneRequest.cs index 68b46186a7..21d849aa7c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneRequest.cs @@ -45,6 +45,8 @@ public MigrateToOtherZoneRequest() private bool? dryRun; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public bool? DryRun } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneResponse.cs index d523af37bb..9035463f06 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MigrateToOtherZoneResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class MigrateToOtherZoneResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineRequest.cs index f1c474d07d..82f3433bab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineRequest.cs @@ -43,6 +43,8 @@ public ModifyDeployMachineRequest() private string clientToken; + private string body; + private string resId; public string ClientToken @@ -58,6 +60,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ResId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineResponse.cs index 00b3acd36f..1fa1d74b45 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyDeployMachineResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ModifyDeployMachineResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskRequest.cs index 4e10105dc0..64921d4a6a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskRequest.cs @@ -43,6 +43,8 @@ public ModifyElastictaskRequest() private string instanceId; + private string body; + public string InstanceId { get @@ -56,6 +58,19 @@ public string InstanceId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskResponse.cs index e083894c59..1e4e5499a1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyElastictaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -89,11 +89,11 @@ public class ModifyElastictask_ElasticExpansionTask private string triggerType; - private string cronExpression; + private int? replicaCount; private int? elasticNodeCount; - private int? replicaCount; + private string cronExpression; private List targetIndices; @@ -109,15 +109,15 @@ public string TriggerType } } - public string CronExpression + public int? ReplicaCount { get { - return cronExpression; + return replicaCount; } set { - cronExpression = value; + replicaCount = value; } } @@ -133,15 +133,15 @@ public int? ElasticNodeCount } } - public int? ReplicaCount + public string CronExpression { get { - return replicaCount; + return cronExpression; } set { - replicaCount = value; + cronExpression = value; } } @@ -163,11 +163,11 @@ public class ModifyElastictask_ElasticShrinkTask private string triggerType; - private string cronExpression; + private int? replicaCount; private int? elasticNodeCount; - private int? replicaCount; + private string cronExpression; private List targetIndices1; @@ -183,15 +183,15 @@ public string TriggerType } } - public string CronExpression + public int? ReplicaCount { get { - return cronExpression; + return replicaCount; } set { - cronExpression = value; + replicaCount = value; } } @@ -207,15 +207,15 @@ public int? ElasticNodeCount } } - public int? ReplicaCount + public string CronExpression { get { - return replicaCount; + return cronExpression; } set { - replicaCount = value; + cronExpression = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeRequest.cs index b2985a5a04..964fbfdc99 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeRequest.cs @@ -45,6 +45,8 @@ public ModifyInstanceMaintainTimeRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeResponse.cs index 03bc18d231..2a46e025a6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyInstanceMaintainTimeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ModifyInstanceMaintainTimeResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsRequest.cs index 3a4c28ffd7..31e3aab1b1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsRequest.cs @@ -41,28 +41,11 @@ public ModifyWhiteIpsRequest() Method = MethodType.POST; } - private string modifyMode; - private string instanceId; - private string nodeType; - private string clientToken; - private string networkType; - - public string ModifyMode - { - get - { - return modifyMode; - } - set - { - modifyMode = value; - DictionaryUtil.Add(BodyParameters, "modifyMode", value); - } - } + private string body; public string InstanceId { @@ -77,19 +60,6 @@ public string InstanceId } } - public string NodeType - { - get - { - return nodeType; - } - set - { - nodeType = value; - DictionaryUtil.Add(BodyParameters, "nodeType", value); - } - } - public string ClientToken { get @@ -103,16 +73,16 @@ public string ClientToken } } - public string NetworkType + public string Body { get { - return networkType; + return body; } set { - networkType = value; - DictionaryUtil.Add(BodyParameters, "networkType", value); + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsResponse.cs index 77231b44d9..dbf2d1aa06 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ModifyWhiteIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ModifyWhiteIpsResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupRequest.cs index 7572f3f508..92ee497966 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupRequest.cs @@ -45,6 +45,8 @@ public MoveResourceGroupRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupResponse.cs index a7490e1180..edc0af85ae 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/MoveResourceGroupResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public MoveResourceGroup_Result Result public class MoveResourceGroup_Result { - private string instanceId; + private int? nodeAmount; - private string domain; + private string publicDomain; - private string description; + private string createdAt; - private int? nodeAmount; + private string status; - private string paymentType; + private int? publicPort; - private string status; + private int? kibanaPort; - private string esVersion; + private string paymentType; - private string createdAt; + private string domain; - private string updatedAt; + private string description; - private string kibanaDomain; + private string esVersion; - private int? kibanaPort; + private string kibanaDomain; - private string publicDomain; + private string updatedAt; - private int? publicPort; + private string instanceId; private List dictList; @@ -94,159 +94,159 @@ public class MoveResourceGroup_Result private MoveResourceGroup_MasterConfiguration masterConfiguration; - public string InstanceId + public int? NodeAmount { get { - return instanceId; + return nodeAmount; } set { - instanceId = value; + nodeAmount = value; } } - public string Domain + public string PublicDomain { get { - return domain; + return publicDomain; } set { - domain = value; + publicDomain = value; } } - public string Description + public string CreatedAt { get { - return description; + return createdAt; } set { - description = value; + createdAt = value; } } - public int? NodeAmount + public string Status { get { - return nodeAmount; + return status; } set { - nodeAmount = value; + status = value; } } - public string PaymentType + public int? PublicPort { get { - return paymentType; + return publicPort; } set { - paymentType = value; + publicPort = value; } } - public string Status + public int? KibanaPort { get { - return status; + return kibanaPort; } set { - status = value; + kibanaPort = value; } } - public string EsVersion + public string PaymentType { get { - return esVersion; + return paymentType; } set { - esVersion = value; + paymentType = value; } } - public string CreatedAt + public string Domain { get { - return createdAt; + return domain; } set { - createdAt = value; + domain = value; } } - public string UpdatedAt + public string Description { get { - return updatedAt; + return description; } set { - updatedAt = value; + description = value; } } - public string KibanaDomain + public string EsVersion { get { - return kibanaDomain; + return esVersion; } set { - kibanaDomain = value; + esVersion = value; } } - public int? KibanaPort + public string KibanaDomain { get { - return kibanaPort; + return kibanaDomain; } set { - kibanaPort = value; + kibanaDomain = value; } } - public string PublicDomain + public string UpdatedAt { get { - return publicDomain; + return updatedAt; } set { - publicDomain = value; + updatedAt = value; } } - public int? PublicPort + public string InstanceId { get { - return publicPort; + return instanceId; } set { - publicPort = value; + instanceId = value; } } @@ -325,59 +325,59 @@ public MoveResourceGroup_MasterConfiguration MasterConfiguration public class MoveResourceGroup_DictListItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -385,59 +385,59 @@ public string SourceType public class MoveResourceGroup_SynonymsDictsItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -491,59 +491,59 @@ public string DiskType public class MoveResourceGroup_NetworkConfig { - private string type; - private string vpcId; - private string vswitchId; - private string vsArea; - public string Type + private string type; + + private string vswitchId; + + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VswitchId + public string Type { get { - return vswitchId; + return type; } set { - vswitchId = value; + type = value; } } - public string VsArea + public string VswitchId { get { - return vsArea; + return vswitchId; } set { - vsArea = value; + vswitchId = value; } } } @@ -555,10 +555,10 @@ public class MoveResourceGroup_KibanaConfiguration private int? amount; - private string diskType; - private int? disk; + private string diskType; + public string Spec { get @@ -583,27 +583,27 @@ public int? Amount } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } } @@ -615,10 +615,10 @@ public class MoveResourceGroup_MasterConfiguration private int? amount; - private string diskType; - private int? disk; + private string diskType; + public string Spec { get @@ -643,27 +643,27 @@ public int? Amount } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenDiagnosisResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenDiagnosisResponse.cs index e993bdc123..2c0db434d4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenDiagnosisResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenDiagnosisResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class OpenDiagnosisResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenHttpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenHttpsResponse.cs index adb9f05c2a..0654a68c57 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenHttpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/OpenHttpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class OpenHttpsResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleRequest.cs index 5816f7a0d6..1864e97aec 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleRequest.cs @@ -43,6 +43,8 @@ public PostEmonTryAlarmRuleRequest() private string alarmGroupId; + private string body; + private string projectId; public string AlarmGroupId @@ -58,6 +60,19 @@ public string AlarmGroupId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ProjectId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleResponse.cs index 59d6d27685..8e96c7d968 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/PostEmonTryAlarmRuleResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class PostEmonTryAlarmRuleResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? success; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RecommendTemplatesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RecommendTemplatesResponse.cs index f4e62918c3..fe37c881a2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RecommendTemplatesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RecommendTemplatesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,31 +56,31 @@ public List Result public class RecommendTemplates_TemplateConfig { - private string templateName; - private string content; - public string TemplateName + private string templateName; + + public string Content { get { - return templateName; + return content; } set { - templateName = value; + content = value; } } - public string Content + public string TemplateName { get { - return content; + return templateName; } set { - content = value; + templateName = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorRequest.cs index 00f5433c58..b092f9c9a8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorRequest.cs @@ -43,6 +43,8 @@ public ReinstallCollectorRequest() private string clientToken; + private string body; + private string resId; public string ClientToken @@ -58,6 +60,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ResId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorResponse.cs index 40bdd3e773..395f31e96b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ReinstallCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ReinstallCollectorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RemoveApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RemoveApmResponse.cs index f52fe61dea..8344dee895 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RemoveApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RemoveApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceRequest.cs index 6ec57e7bc7..1bfef23994 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceRequest.cs @@ -45,6 +45,8 @@ public RenewInstanceRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceResponse.cs index 8a189f4e70..53edfbdac9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class RenewInstanceResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashRequest.cs index 6fcf194a14..fede58778c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashRequest.cs @@ -45,6 +45,8 @@ public RenewLogstashRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashResponse.cs index 165c875be1..0c07501cf3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RenewLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class RenewLogstashResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartCollectorResponse.cs index 7c6b3ff547..cc2aa4ac52 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class RestartCollectorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceRequest.cs index 37e640e6df..36ba34336e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceRequest.cs @@ -47,6 +47,8 @@ public RestartInstanceRequest() private bool? force; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public bool? Force } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceResponse.cs index d52a60e69c..f38ab5913b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,32 +56,32 @@ public RestartInstance_Result Result public class RestartInstance_Result { - private string createdAt; - - private string description; - - private string domain; + private int? nodeAmount; - private string esVersion; + private string publicDomain; - private string instanceId; + private string createdAt; - private string kibanaDomain; + private string status; private int? kibanaPort; - private int? nodeAmount; + private int? publicPort; private string paymentType; - private string publicDomain; + private string domain; - private int? publicPort; + private string description; - private string status; + private string esVersion; + + private string kibanaDomain; private string updatedAt; + private string instanceId; + private List dictList; private List synonymsDicts; @@ -94,159 +94,159 @@ public class RestartInstance_Result private RestartInstance_NodeSpec nodeSpec; - public string CreatedAt + public int? NodeAmount { get { - return createdAt; + return nodeAmount; } set { - createdAt = value; + nodeAmount = value; } } - public string Description + public string PublicDomain { get { - return description; + return publicDomain; } set { - description = value; + publicDomain = value; } } - public string Domain + public string CreatedAt { get { - return domain; + return createdAt; } set { - domain = value; + createdAt = value; } } - public string EsVersion + public string Status { get { - return esVersion; + return status; } set { - esVersion = value; + status = value; } } - public string InstanceId + public int? KibanaPort { get { - return instanceId; + return kibanaPort; } set { - instanceId = value; + kibanaPort = value; } } - public string KibanaDomain + public int? PublicPort { get { - return kibanaDomain; + return publicPort; } set { - kibanaDomain = value; + publicPort = value; } } - public int? KibanaPort + public string PaymentType { get { - return kibanaPort; + return paymentType; } set { - kibanaPort = value; + paymentType = value; } } - public int? NodeAmount + public string Domain { get { - return nodeAmount; + return domain; } set { - nodeAmount = value; + domain = value; } } - public string PaymentType + public string Description { get { - return paymentType; + return description; } set { - paymentType = value; + description = value; } } - public string PublicDomain + public string EsVersion { get { - return publicDomain; + return esVersion; } set { - publicDomain = value; + esVersion = value; } } - public int? PublicPort + public string KibanaDomain { get { - return publicPort; + return kibanaDomain; } set { - publicPort = value; + kibanaDomain = value; } } - public string Status + public string UpdatedAt { get { - return status; + return updatedAt; } set { - status = value; + updatedAt = value; } } - public string UpdatedAt + public string InstanceId { get { - return updatedAt; + return instanceId; } set { - updatedAt = value; + instanceId = value; } } @@ -327,12 +327,12 @@ public class RestartInstance_DictListItem private long? fileSize; + private string type; + private string name; private string sourceType; - private string type; - public long? FileSize { get @@ -345,39 +345,39 @@ public long? FileSize } } - public string Name + public string Type { get { - return name; + return type; } set { - name = value; + type = value; } } - public string SourceType + public string Name { get { - return sourceType; + return name; } set { - sourceType = value; + name = value; } } - public string Type + public string SourceType { get { - return type; + return sourceType; } set { - type = value; + sourceType = value; } } } @@ -387,12 +387,12 @@ public class RestartInstance_SynonymsDictsItem private long? fileSize; + private string type; + private string name; private string sourceType; - private string type; - public long? FileSize { get @@ -405,39 +405,39 @@ public long? FileSize } } - public string Name + public string Type { get { - return name; + return type; } set { - name = value; + type = value; } } - public string SourceType + public string Name { get { - return sourceType; + return name; } set { - sourceType = value; + name = value; } } - public string Type + public string SourceType { get { - return type; + return sourceType; } set { - type = value; + sourceType = value; } } } @@ -445,13 +445,25 @@ public string Type public class RestartInstance_KibanaConfiguration { + private string spec; + private int? amount; private int? disk; private string diskType; - private string spec; + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } public int? Amount { @@ -488,6 +500,18 @@ public string DiskType diskType = value; } } + } + + public class RestartInstance_MasterConfiguration + { + + private string spec; + + private int? amount; + + private int? disk; + + private string diskType; public string Spec { @@ -500,18 +524,6 @@ public string Spec spec = value; } } - } - - public class RestartInstance_MasterConfiguration - { - - private int? amount; - - private int? disk; - - private string diskType; - - private string spec; public int? Amount { @@ -548,64 +560,52 @@ public string DiskType diskType = value; } } - - public string Spec - { - get - { - return spec; - } - set - { - spec = value; - } - } } public class RestartInstance_NetworkConfig { - private string type; - private string vpcId; private string vsArea; + private string type; + private string vswitchId; - public string Type + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VsArea + public string Type { get { - return vsArea; + return type; } set { - vsArea = value; + type = value; } } @@ -625,45 +625,45 @@ public string VswitchId public class RestartInstance_NodeSpec { + private string spec; + private int? disk; private string diskType; - private string spec; - - public int? Disk + public string Spec { get { - return disk; + return spec; } set { - disk = value; + spec = value; } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public string Spec + public string DiskType { get { - return spec; + return diskType; } set { - spec = value; + diskType = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashRequest.cs index 6376dcf025..bf5cfe93fa 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashRequest.cs @@ -47,6 +47,8 @@ public RestartLogstashRequest() private bool? force; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public bool? Force } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashResponse.cs index c0a9a3cb97..3ed0f0a59b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RestartLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,6 +27,8 @@ public class RestartLogstashResponse : AcsResponse private string requestId; + private RestartLogstash_Result result; + public string RequestId { get @@ -38,5 +40,503 @@ public string RequestId requestId = value; } } + + public RestartLogstash_Result Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public class RestartLogstash_Result + { + + private string status; + + private string description; + + private string resourceGroupId; + + private long? endTime; + + private string instanceId; + + private string config; + + private string createdAt; + + private long? nodeAmount; + + private string updatedAt; + + private string version; + + private bool? dataNode; + + private string paymentType; + + private string protocol; + + private long? zoneCount; + + private List endpointList; + + private List zoneInfos; + + private List tags; + + private RestartLogstash_NetworkConfig networkConfig; + + private RestartLogstash_NodeSpec nodeSpec; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string Description + { + get + { + return description; + } + set + { + description = value; + } + } + + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; + } + } + + public long? EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + } + } + + public string Config + { + get + { + return config; + } + set + { + config = value; + } + } + + public string CreatedAt + { + get + { + return createdAt; + } + set + { + createdAt = value; + } + } + + public long? NodeAmount + { + get + { + return nodeAmount; + } + set + { + nodeAmount = value; + } + } + + public string UpdatedAt + { + get + { + return updatedAt; + } + set + { + updatedAt = value; + } + } + + public string Version + { + get + { + return version; + } + set + { + version = value; + } + } + + public bool? DataNode + { + get + { + return dataNode; + } + set + { + dataNode = value; + } + } + + public string PaymentType + { + get + { + return paymentType; + } + set + { + paymentType = value; + } + } + + public string Protocol + { + get + { + return protocol; + } + set + { + protocol = value; + } + } + + public long? ZoneCount + { + get + { + return zoneCount; + } + set + { + zoneCount = value; + } + } + + public List EndpointList + { + get + { + return endpointList; + } + set + { + endpointList = value; + } + } + + public List ZoneInfos + { + get + { + return zoneInfos; + } + set + { + zoneInfos = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public RestartLogstash_NetworkConfig NetworkConfig + { + get + { + return networkConfig; + } + set + { + networkConfig = value; + } + } + + public RestartLogstash_NodeSpec NodeSpec + { + get + { + return nodeSpec; + } + set + { + nodeSpec = value; + } + } + + public class RestartLogstash_EndpointListItem + { + + private string host; + + private long? port; + + private string zoneId; + + public string Host + { + get + { + return host; + } + set + { + host = value; + } + } + + public long? Port + { + get + { + return port; + } + set + { + port = value; + } + } + + public string ZoneId + { + get + { + return zoneId; + } + set + { + zoneId = value; + } + } + } + + public class RestartLogstash_ZoneInfosItem + { + + private string status; + + private string zoneId; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string ZoneId + { + get + { + return zoneId; + } + set + { + zoneId = value; + } + } + } + + public class RestartLogstash_TagsItem + { + + private string tagKey; + + private string tagValue; + + public string TagKey + { + get + { + return tagKey; + } + set + { + tagKey = value; + } + } + + public string TagValue + { + get + { + return tagValue; + } + set + { + tagValue = value; + } + } + } + + public class RestartLogstash_NetworkConfig + { + + private string type; + + private string vpcId; + + private string vsArea; + + private string vswitchId; + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public string VsArea + { + get + { + return vsArea; + } + set + { + vsArea = value; + } + } + + public string VswitchId + { + get + { + return vswitchId; + } + set + { + vswitchId = value; + } + } + } + + public class RestartLogstash_NodeSpec + { + + private long? disk; + + private string diskType; + + private string spec; + + public long? Disk + { + get + { + return disk; + } + set + { + disk = value; + } + } + + public string DiskType + { + get + { + return diskType; + } + set + { + diskType = value; + } + } + + public string Spec + { + get + { + return spec; + } + set + { + spec = value; + } + } + } + } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeElasticsearchTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeElasticsearchTaskResponse.cs index 51897196ff..3de55b3ff9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeElasticsearchTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeElasticsearchTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ResumeElasticsearchTaskResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeLogstashTaskResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeLogstashTaskResponse.cs index 060f505458..61cee3a3ee 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeLogstashTaskResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ResumeLogstashTaskResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,47 +25,47 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ResumeLogstashTaskResponse : AcsResponse { - private string requestId; - private string code; private string message; + private string requestId; + private bool? result; - public string RequestId + public string Code { get { - return requestId; + return code; } set { - requestId = value; + code = value; } } - public string Code + public string Message { get { - return code; + return message; } set { - code = value; + message = value; } } - public string Message + public string RequestId { get { - return message; + return requestId; } set { - message = value; + requestId = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RolloverDataStreamResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RolloverDataStreamResponse.cs index 3e15978a29..806c068592 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RolloverDataStreamResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RolloverDataStreamResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class RolloverDataStreamResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesRequest.cs index 862500ba0e..0ca2dcbfb1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesRequest.cs @@ -45,6 +45,8 @@ public RunPipelinesRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesResponse.cs index ec1b7d475f..da2f2f3f6e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/RunPipelinesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class RunPipelinesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeRequest.cs index 1f1f55c7d1..0408a88c32 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeRequest.cs @@ -49,6 +49,10 @@ public ShrinkNodeRequest() private string clientToken; + private int? count; + + private string body; + public bool? IgnoreStatus { get @@ -101,6 +105,32 @@ public string ClientToken } } + public int? Count + { + get + { + return count; + } + set + { + count = value; + DictionaryUtil.Add(QueryParameters, "count", value.ToString()); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeResponse.cs index b8b0324b7e..8f130a6bca 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ShrinkNodeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ShrinkNodeResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartApmResponse.cs index dbb74b2522..df90ef8c35 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartCollectorResponse.cs index 5dd913e2a1..97a6220a02 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StartCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class StartCollectorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopApmResponse.cs index 9da8871998..61a431a080 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopCollectorResponse.cs index 447d933efb..7d57f58912 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class StopCollectorResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesRequest.cs index 4ca4815fcf..c8d18088e6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesRequest.cs @@ -45,6 +45,8 @@ public StopPipelinesRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesResponse.cs index 44cfac6bbd..abca552390 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/StopPipelinesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class StopPipelinesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesRequest.cs index 6949fadbc6..1d31e70aab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesRequest.cs @@ -41,6 +41,21 @@ public TagResourcesRequest() Method = MethodType.POST; } + private string body; + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesResponse.cs index e627a75f63..b75f5589fa 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TagResourcesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,8 +25,22 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class TagResourcesResponse : AcsResponse { + private bool? result; + private string requestId; + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + public string RequestId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TransferNodeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TransferNodeResponse.cs index fd8a93e26d..a6c0013ccf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TransferNodeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TransferNodeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class TransferNodeResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkRequest.cs index 51886dc873..4778eed79c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkRequest.cs @@ -41,28 +41,11 @@ public TriggerNetworkRequest() Method = MethodType.POST; } - private string actionType; - private string instanceId; - private string nodeType; - private string clientToken; - private string networkType; - - public string ActionType - { - get - { - return actionType; - } - set - { - actionType = value; - DictionaryUtil.Add(BodyParameters, "actionType", value); - } - } + private string body; public string InstanceId { @@ -77,19 +60,6 @@ public string InstanceId } } - public string NodeType - { - get - { - return nodeType; - } - set - { - nodeType = value; - DictionaryUtil.Add(BodyParameters, "nodeType", value); - } - } - public string ClientToken { get @@ -103,16 +73,16 @@ public string ClientToken } } - public string NetworkType + public string Body { get { - return networkType; + return body; } set { - networkType = value; - DictionaryUtil.Add(BodyParameters, "networkType", value); + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkResponse.cs index f7b6923eb1..7e9d3c41e4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/TriggerNetworkResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class TriggerNetworkResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginRequest.cs index 95dae6f082..1dc5e06365 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginRequest.cs @@ -45,6 +45,8 @@ public UninstallKibanaPluginRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginResponse.cs index 0307984ee8..cb502985f9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallKibanaPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginRequest.cs index aa792a5581..2921bef967 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginRequest.cs @@ -45,6 +45,8 @@ public UninstallLogstashPluginRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginResponse.cs index 97c3db77a7..81cfb853ff 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallLogstashPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,6 +27,8 @@ public class UninstallLogstashPluginResponse : AcsResponse private string requestId; + private string headers; + private List result; public string RequestId @@ -41,6 +43,18 @@ public string RequestId } } + public string Headers + { + get + { + return headers; + } + set + { + headers = value; + } + } + public List Result { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginRequest.cs index 080dfca29c..e9e0856ad7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginRequest.cs @@ -45,6 +45,10 @@ public UninstallPluginRequest() private string clientToken; + private bool? force; + + private string body; + public string InstanceId { get @@ -71,6 +75,32 @@ public string ClientToken } } + public bool? Force + { + get + { + return force; + } + set + { + force = value; + DictionaryUtil.Add(QueryParameters, "force", value.ToString()); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginResponse.cs index b4e3586367..c029fdb0a3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UninstallPluginResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesRequest.cs index b251b6d5fc..988ba2dd31 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesRequest.cs @@ -45,6 +45,8 @@ public UntagResourcesRequest() private string tagKeys; + private string body; + private string resourceType; private string resourceIds; @@ -75,6 +77,19 @@ public string TagKeys } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ResourceType { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesResponse.cs index bea864e73f..8a009025d8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UntagResourcesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UntagResourcesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordRequest.cs index e1c8aa9ad8..1758e778d3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordRequest.cs @@ -45,6 +45,8 @@ public UpdateAdminPasswordRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordResponse.cs index 42ad20628a..8a074ba4fc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdminPasswordResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,6 +27,8 @@ public class UpdateAdminPasswordResponse : AcsResponse private string requestId; + private bool? result; + public string RequestId { get @@ -38,5 +40,17 @@ public string RequestId requestId = value; } } + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingRequest.cs index adc23d58c3..2bb011f9d4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingRequest.cs @@ -45,6 +45,8 @@ public UpdateAdvancedSettingRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingResponse.cs index fb03d24612..f0327fe256 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAdvancedSettingResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateAdvancedSettingResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictRequest.cs index 109d249a2b..0ee28e3fe8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictRequest.cs @@ -45,6 +45,8 @@ public UpdateAliwsDictRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictResponse.cs index b86c2f2aad..83abf1f028 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateAliwsDictResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public List Result public class UpdateAliwsDict_DictList { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateApmResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateApmResponse.cs index 255f39b5fd..eb3a20854d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateApmResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateApmResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateBlackIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateBlackIpsResponse.cs index a4e03ba08e..a1b0f1a1e9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateBlackIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateBlackIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameRequest.cs index 54187f8b94..0fd15318b0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameRequest.cs @@ -43,6 +43,8 @@ public UpdateCollectorNameRequest() private string clientToken; + private string body; + private string resId; public string ClientToken @@ -58,6 +60,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ResId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameResponse.cs index 2599c211d5..a62b106055 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorNameResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,25 +56,25 @@ public UpdateCollectorName_Result Result public class UpdateCollectorName_Result { - private string gmtCreatedTime; + private string resId; private string gmtUpdateTime; - private string name; - - private string resId; + private bool? dryRun; - private string resVersion; + private string ownerId; private string vpcId; private string resType; - private string ownerId; + private string resVersion; + + private string gmtCreatedTime; private string status; - private bool? dryRun; + private string name; private List configs; @@ -82,15 +82,15 @@ public class UpdateCollectorName_Result private List collectorPaths; - public string GmtCreatedTime + public string ResId { get { - return gmtCreatedTime; + return resId; } set { - gmtCreatedTime = value; + resId = value; } } @@ -106,75 +106,75 @@ public string GmtUpdateTime } } - public string Name + public bool? DryRun { get { - return name; + return dryRun; } set { - name = value; + dryRun = value; } } - public string ResId + public string OwnerId { get { - return resId; + return ownerId; } set { - resId = value; + ownerId = value; } } - public string ResVersion + public string VpcId { get { - return resVersion; + return vpcId; } set { - resVersion = value; + vpcId = value; } } - public string VpcId + public string ResType { get { - return vpcId; + return resType; } set { - vpcId = value; + resType = value; } } - public string ResType + public string ResVersion { get { - return resType; + return resVersion; } set { - resType = value; + resVersion = value; } } - public string OwnerId + public string GmtCreatedTime { get { - return ownerId; + return gmtCreatedTime; } set { - ownerId = value; + gmtCreatedTime = value; } } @@ -190,15 +190,15 @@ public string Status } } - public bool? DryRun + public string Name { get { - return dryRun; + return name; } set { - dryRun = value; + name = value; } } @@ -241,31 +241,31 @@ public List CollectorPaths public class UpdateCollectorName_ConfigsItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } @@ -273,175 +273,175 @@ public string Content public class UpdateCollectorName_ExtendConfigsItem { - private string configType; - - private string instanceId; - - private string instanceType; + private string successPodsCount; private string protocol; private string userName; - private bool? enableMonitoring; + private string totalPodsCount; private string type; - private string groupId; + private string kibanaHost; - private string host; + private bool? enableMonitoring; - private string kibanaHost; + private string configType; - private string totalPodsCount; + private string instanceType; - private string successPodsCount; + private string groupId; + + private string host; + + private string instanceId; private List machines; private List hosts; - public string ConfigType + public string SuccessPodsCount { get { - return configType; + return successPodsCount; } set { - configType = value; + successPodsCount = value; } } - public string InstanceId + public string Protocol { get { - return instanceId; + return protocol; } set { - instanceId = value; + protocol = value; } } - public string InstanceType + public string UserName { get { - return instanceType; + return userName; } set { - instanceType = value; + userName = value; } } - public string Protocol + public string TotalPodsCount { get { - return protocol; + return totalPodsCount; } set { - protocol = value; + totalPodsCount = value; } } - public string UserName + public string Type { get { - return userName; + return type; } set { - userName = value; + type = value; } } - public bool? EnableMonitoring + public string KibanaHost { get { - return enableMonitoring; + return kibanaHost; } set { - enableMonitoring = value; + kibanaHost = value; } } - public string Type + public bool? EnableMonitoring { get { - return type; + return enableMonitoring; } set { - type = value; + enableMonitoring = value; } } - public string GroupId + public string ConfigType { get { - return groupId; + return configType; } set { - groupId = value; + configType = value; } } - public string Host + public string InstanceType { get { - return host; + return instanceType; } set { - host = value; + instanceType = value; } } - public string KibanaHost + public string GroupId { get { - return kibanaHost; + return groupId; } set { - kibanaHost = value; + groupId = value; } } - public string TotalPodsCount + public string Host { get { - return totalPodsCount; + return host; } set { - totalPodsCount = value; + host = value; } } - public string SuccessPodsCount + public string InstanceId { get { - return successPodsCount; + return instanceId; } set { - successPodsCount = value; + instanceId = value; } } @@ -472,31 +472,31 @@ public List Hosts public class UpdateCollectorName_MachinesItem { - private string instanceId; - private string agentStatus; - public string InstanceId + private string instanceId; + + public string AgentStatus { get { - return instanceId; + return agentStatus; } set { - instanceId = value; + agentStatus = value; } } - public string AgentStatus + public string InstanceId { get { - return agentStatus; + return instanceId; } set { - agentStatus = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorRequest.cs index c380e8c01d..7ef3823931 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorRequest.cs @@ -43,6 +43,8 @@ public UpdateCollectorRequest() private string clientToken; + private string body; + private string resId; public string ClientToken @@ -58,6 +60,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string ResId { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorResponse.cs index e0a91ff0a9..b6400e20da 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateCollectorResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,25 +56,25 @@ public UpdateCollector_Result Result public class UpdateCollector_Result { - private string gmtCreatedTime; + private string resId; private string gmtUpdateTime; - private string name; - - private string resId; + private bool? dryRun; - private string resVersion; + private string ownerId; private string vpcId; private string resType; - private string ownerId; + private string resVersion; + + private string gmtCreatedTime; private string status; - private bool? dryRun; + private string name; private List configs; @@ -82,15 +82,15 @@ public class UpdateCollector_Result private List collectorPaths; - public string GmtCreatedTime + public string ResId { get { - return gmtCreatedTime; + return resId; } set { - gmtCreatedTime = value; + resId = value; } } @@ -106,75 +106,75 @@ public string GmtUpdateTime } } - public string Name + public bool? DryRun { get { - return name; + return dryRun; } set { - name = value; + dryRun = value; } } - public string ResId + public string OwnerId { get { - return resId; + return ownerId; } set { - resId = value; + ownerId = value; } } - public string ResVersion + public string VpcId { get { - return resVersion; + return vpcId; } set { - resVersion = value; + vpcId = value; } } - public string VpcId + public string ResType { get { - return vpcId; + return resType; } set { - vpcId = value; + resType = value; } } - public string ResType + public string ResVersion { get { - return resType; + return resVersion; } set { - resType = value; + resVersion = value; } } - public string OwnerId + public string GmtCreatedTime { get { - return ownerId; + return gmtCreatedTime; } set { - ownerId = value; + gmtCreatedTime = value; } } @@ -190,15 +190,15 @@ public string Status } } - public bool? DryRun + public string Name { get { - return dryRun; + return name; } set { - dryRun = value; + name = value; } } @@ -241,31 +241,31 @@ public List CollectorPaths public class UpdateCollector_ConfigsItem { - private string fileName; - private string content; - public string FileName + private string fileName; + + public string Content { get { - return fileName; + return content; } set { - fileName = value; + content = value; } } - public string Content + public string FileName { get { - return content; + return fileName; } set { - content = value; + fileName = value; } } } @@ -273,175 +273,175 @@ public string Content public class UpdateCollector_ExtendConfigsItem { - private string configType; - - private string instanceId; - - private string instanceType; + private string successPodsCount; private string protocol; private string userName; - private bool? enableMonitoring; + private string totalPodsCount; private string type; - private string groupId; + private string kibanaHost; - private string host; + private bool? enableMonitoring; - private string kibanaHost; + private string configType; - private string totalPodsCount; + private string instanceType; - private string successPodsCount; + private string groupId; + + private string host; + + private string instanceId; private List machines; private List hosts; - public string ConfigType + public string SuccessPodsCount { get { - return configType; + return successPodsCount; } set { - configType = value; + successPodsCount = value; } } - public string InstanceId + public string Protocol { get { - return instanceId; + return protocol; } set { - instanceId = value; + protocol = value; } } - public string InstanceType + public string UserName { get { - return instanceType; + return userName; } set { - instanceType = value; + userName = value; } } - public string Protocol + public string TotalPodsCount { get { - return protocol; + return totalPodsCount; } set { - protocol = value; + totalPodsCount = value; } } - public string UserName + public string Type { get { - return userName; + return type; } set { - userName = value; + type = value; } } - public bool? EnableMonitoring + public string KibanaHost { get { - return enableMonitoring; + return kibanaHost; } set { - enableMonitoring = value; + kibanaHost = value; } } - public string Type + public bool? EnableMonitoring { get { - return type; + return enableMonitoring; } set { - type = value; + enableMonitoring = value; } } - public string GroupId + public string ConfigType { get { - return groupId; + return configType; } set { - groupId = value; + configType = value; } } - public string Host + public string InstanceType { get { - return host; + return instanceType; } set { - host = value; + instanceType = value; } } - public string KibanaHost + public string GroupId { get { - return kibanaHost; + return groupId; } set { - kibanaHost = value; + groupId = value; } } - public string TotalPodsCount + public string Host { get { - return totalPodsCount; + return host; } set { - totalPodsCount = value; + host = value; } } - public string SuccessPodsCount + public string InstanceId { get { - return successPodsCount; + return instanceId; } set { - successPodsCount = value; + instanceId = value; } } @@ -472,31 +472,31 @@ public List Hosts public class UpdateCollector_MachinesItem { - private string instanceId; - private string agentStatus; - public string InstanceId + private string instanceId; + + public string AgentStatus { get { - return instanceId; + return agentStatus; } set { - instanceId = value; + agentStatus = value; } } - public string AgentStatus + public string InstanceId { get { - return agentStatus; + return instanceId; } set { - agentStatus = value; + instanceId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexRequest.cs new file mode 100644 index 0000000000..5e4d030f78 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexRequest.cs @@ -0,0 +1,99 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateComponentIndexRequest : RoaAcsRequest + { + public UpdateComponentIndexRequest() + : base("elasticsearch", "2017-06-13", "UpdateComponentIndex", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/component-index/[name]"; + Method = MethodType.PUT; + } + + private string instanceId; + + private string name; + + private string body; + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + DictionaryUtil.Add(PathParameters, "name", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override UpdateComponentIndexResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateComponentIndexResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexResponse.cs new file mode 100644 index 0000000000..e34617b6c6 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateComponentIndexResponse.cs @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateComponentIndexResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDescriptionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDescriptionResponse.cs index 2c340741fc..dccdedd8af 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDescriptionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDescriptionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsRequest.cs index 8639ffe41d..d7d44b3072 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsRequest.cs @@ -47,6 +47,8 @@ public UpdateDiagnosisSettingsRequest() private string lang; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public string Lang } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsResponse.cs index b963231dad..be818af375 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDiagnosisSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateDiagnosisSettingsResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictRequest.cs index 51646f09ef..71b31b9ffa 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictRequest.cs @@ -45,6 +45,8 @@ public UpdateDictRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictResponse.cs index 5fe9ad5aec..187f4f1bd0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDictResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public List Result public class UpdateDict_DictList { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsRequest.cs new file mode 100644 index 0000000000..d764ade0c5 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsRequest.cs @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateDynamicSettingsRequest : RoaAcsRequest + { + public UpdateDynamicSettingsRequest() + : base("elasticsearch", "2017-06-13", "UpdateDynamicSettings", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + UriPattern = "/openapi/instances/[InstanceId]/dynamic-settings"; + Method = MethodType.PUT; + } + + private string mode; + + private string instanceId; + + private string clientToken; + + private string body; + + public string Mode + { + get + { + return mode; + } + set + { + mode = value; + DictionaryUtil.Add(QueryParameters, "mode", value); + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override UpdateDynamicSettingsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateDynamicSettingsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsResponse.cs new file mode 100644 index 0000000000..562a925c97 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateDynamicSettingsResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateDynamicSettingsResponse : AcsResponse + { + + private bool? result; + + private string requestId; + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigRequest.cs index cffff6fefe..840685cbf5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigRequest.cs @@ -45,6 +45,8 @@ public UpdateExtendConfigRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigResponse.cs index c364c60c80..d05d943303 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendConfigResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateExtendConfigResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesRequest.cs index b73fab615d..f9bdfe1ea6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesRequest.cs @@ -45,6 +45,8 @@ public UpdateExtendfilesRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesResponse.cs index 80294cf60b..c0d8ca341e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateExtendfilesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,33 +56,33 @@ public List Result public class UpdateExtendfiles_ResultItem { - private string name; - private long? fileSize; + private string name; + private string sourceType; - public string Name + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string Name { get { - return fileSize; + return name; } set { - fileSize = value; + name = value; } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsRequest.cs index fd54c98b42..603c5e9e8b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsRequest.cs @@ -45,6 +45,8 @@ public UpdateHotIkDictsRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsResponse.cs index 5aae522213..9a6559aa31 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateHotIkDictsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public List Result public class UpdateHotIkDicts_DictList { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyRequest.cs index dbf8b3c817..12f6b8ce27 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyRequest.cs @@ -47,6 +47,8 @@ public UpdateILMPolicyRequest() private string policyName; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public string PolicyName } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyResponse.cs index e1fa6e65f0..4b4fa52106 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateILMPolicyResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateILMPolicyResponse : AcsResponse { - private string requestId; - private string result; - public string RequestId + private string requestId; + + public string Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public string Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateRequest.cs index 1d1e3573b3..a2014be98d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateRequest.cs @@ -45,6 +45,8 @@ public UpdateIndexTemplateRequest() private string clientToken; + private string body; + private string indexTemplate; public string InstanceId @@ -73,6 +75,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public string IndexTemplate { get diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateResponse.cs index 1df043cfdc..0fd4e94f45 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateIndexTemplateResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateIndexTemplateResponse : AcsResponse { - private string requestId; - private string result; - public string RequestId + private string requestId; + + public string Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public string Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeRequest.cs index d9fe16fec5..080e924ce8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeRequest.cs @@ -45,6 +45,8 @@ public UpdateInstanceChargeTypeRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeResponse.cs index 7b0881a659..67a633366e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceChargeTypeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateInstanceChargeTypeResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceRequest.cs index 9fae31ca0f..f3bdf91f98 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceRequest.cs @@ -41,50 +41,65 @@ public UpdateInstanceRequest() Method = MethodType.PUT; } - private bool? ignoreStatus; - private string instanceId; private string clientToken; + private bool? force; + + private string body; + private string orderActionType; - public bool? IgnoreStatus + public string InstanceId { get { - return ignoreStatus; + return instanceId; } set { - ignoreStatus = value; - DictionaryUtil.Add(QueryParameters, "ignoreStatus", value.ToString()); + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); } } - public string InstanceId + public string ClientToken { get { - return instanceId; + return clientToken; } set { - instanceId = value; - DictionaryUtil.Add(PathParameters, "InstanceId", value); + clientToken = value; + DictionaryUtil.Add(QueryParameters, "clientToken", value); } } - public string ClientToken + public bool? Force { get { - return clientToken; + return force; } set { - clientToken = value; - DictionaryUtil.Add(QueryParameters, "clientToken", value); + force = value; + DictionaryUtil.Add(QueryParameters, "force", value.ToString()); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceResponse.cs index 95ca8072d8..5232d79e1e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,6 +27,10 @@ public class UpdateInstanceResponse : AcsResponse private string requestId; + private string code; + + private string message; + private UpdateInstance_Result result; public string RequestId @@ -41,6 +45,30 @@ public string RequestId } } + public string Code + { + get + { + return code; + } + set + { + code = value; + } + } + + public string Message + { + get + { + return message; + } + set + { + message = value; + } + } + public UpdateInstance_Result Result { get @@ -56,31 +84,31 @@ public UpdateInstance_Result Result public class UpdateInstance_Result { - private string instanceId; + private int? nodeAmount; - private string domain; + private string publicDomain; - private string description; + private string createdAt; - private int? nodeAmount; + private string status; - private string paymentType; + private int? publicPort; - private string status; + private int? kibanaPort; - private string esVersion; + private string paymentType; - private string createdAt; + private string domain; - private string updatedAt; + private string description; - private string kibanaDomain; + private string esVersion; - private int? kibanaPort; + private string kibanaDomain; - private string publicDomain; + private string updatedAt; - private int? publicPort; + private string instanceId; private List dictList; @@ -94,159 +122,159 @@ public class UpdateInstance_Result private UpdateInstance_MasterConfiguration masterConfiguration; - public string InstanceId + public int? NodeAmount { get { - return instanceId; + return nodeAmount; } set { - instanceId = value; + nodeAmount = value; } } - public string Domain + public string PublicDomain { get { - return domain; + return publicDomain; } set { - domain = value; + publicDomain = value; } } - public string Description + public string CreatedAt { get { - return description; + return createdAt; } set { - description = value; + createdAt = value; } } - public int? NodeAmount + public string Status { get { - return nodeAmount; + return status; } set { - nodeAmount = value; + status = value; } } - public string PaymentType + public int? PublicPort { get { - return paymentType; + return publicPort; } set { - paymentType = value; + publicPort = value; } } - public string Status + public int? KibanaPort { get { - return status; + return kibanaPort; } set { - status = value; + kibanaPort = value; } } - public string EsVersion + public string PaymentType { get { - return esVersion; + return paymentType; } set { - esVersion = value; + paymentType = value; } } - public string CreatedAt + public string Domain { get { - return createdAt; + return domain; } set { - createdAt = value; + domain = value; } } - public string UpdatedAt + public string Description { get { - return updatedAt; + return description; } set { - updatedAt = value; + description = value; } } - public string KibanaDomain + public string EsVersion { get { - return kibanaDomain; + return esVersion; } set { - kibanaDomain = value; + esVersion = value; } } - public int? KibanaPort + public string KibanaDomain { get { - return kibanaPort; + return kibanaDomain; } set { - kibanaPort = value; + kibanaDomain = value; } } - public string PublicDomain + public string UpdatedAt { get { - return publicDomain; + return updatedAt; } set { - publicDomain = value; + updatedAt = value; } } - public int? PublicPort + public string InstanceId { get { - return publicPort; + return instanceId; } set { - publicPort = value; + instanceId = value; } } @@ -325,59 +353,59 @@ public UpdateInstance_MasterConfiguration MasterConfiguration public class UpdateInstance_DictListItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -385,59 +413,59 @@ public string SourceType public class UpdateInstance_SynonymsDictsItem { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } @@ -491,59 +519,59 @@ public string DiskType public class UpdateInstance_NetworkConfig { - private string type; - private string vpcId; - private string vswitchId; - private string vsArea; - public string Type + private string type; + + private string vswitchId; + + public string VpcId { get { - return type; + return vpcId; } set { - type = value; + vpcId = value; } } - public string VpcId + public string VsArea { get { - return vpcId; + return vsArea; } set { - vpcId = value; + vsArea = value; } } - public string VswitchId + public string Type { get { - return vswitchId; + return type; } set { - vswitchId = value; + type = value; } } - public string VsArea + public string VswitchId { get { - return vsArea; + return vswitchId; } set { - vsArea = value; + vswitchId = value; } } } @@ -555,10 +583,10 @@ public class UpdateInstance_KibanaConfiguration private int? amount; - private string diskType; - private int? disk; + private string diskType; + public string Spec { get @@ -583,27 +611,27 @@ public int? Amount } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } } @@ -615,10 +643,10 @@ public class UpdateInstance_MasterConfiguration private int? amount; - private string diskType; - private int? disk; + private string diskType; + public string Spec { get @@ -643,27 +671,27 @@ public int? Amount } } - public string DiskType + public int? Disk { get { - return diskType; + return disk; } set { - diskType = value; + disk = value; } } - public int? Disk + public string DiskType { get { - return disk; + return diskType; } set { - disk = value; + diskType = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsRequest.cs index f78a97c5f8..bcad110dab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsRequest.cs @@ -45,6 +45,8 @@ public UpdateInstanceSettingsRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsResponse.cs index ae654a5918..b9f67fc5c5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateInstanceSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkRequest.cs new file mode 100644 index 0000000000..a62d02dc5e --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkRequest.cs @@ -0,0 +1,100 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.elasticsearch.Transform; +using Aliyun.Acs.elasticsearch.Transform.V20170613; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateKibanaPvlNetworkRequest : RoaAcsRequest + { + public UpdateKibanaPvlNetworkRequest() + : base("elasticsearch", "2017-06-13", "UpdateKibanaPvlNetwork", "elasticsearch", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.elasticsearch.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + UriPattern = "/openapi/instances/[InstanceId]/actions/update-kibana-private"; + Method = MethodType.POST; + } + + private string pvlId; + + private string instanceId; + + private string body; + + public string PvlId + { + get + { + return pvlId; + } + set + { + pvlId = value; + DictionaryUtil.Add(QueryParameters, "pvlId", value); + } + } + + public string InstanceId + { + get + { + return instanceId; + } + set + { + instanceId = value; + DictionaryUtil.Add(PathParameters, "InstanceId", value); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override UpdateKibanaPvlNetworkResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return UpdateKibanaPvlNetworkResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkResponse.cs new file mode 100644 index 0000000000..2e21a0cf17 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaPvlNetworkResponse.cs @@ -0,0 +1,56 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.elasticsearch.Model.V20170613 +{ + public class UpdateKibanaPvlNetworkResponse : AcsResponse + { + + private bool? result; + + private string requestId; + + public bool? Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsRequest.cs index 4a62a167ff..a62b5abb5a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsRequest.cs @@ -45,6 +45,8 @@ public UpdateKibanaSettingsRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsResponse.cs index 16c37cf83e..fcb2b783d1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateKibanaSettingsResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsRequest.cs index 4f79093eaf..7d7e03793a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsRequest.cs @@ -47,6 +47,8 @@ public UpdateKibanaWhiteIpsRequest() private string clientToken; + private string body; + public string ModifyMode { get @@ -86,6 +88,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsResponse.cs index 7c428aeb11..878e4f33b8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateKibanaWhiteIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,9 +56,23 @@ public UpdateKibanaWhiteIps_Result Result public class UpdateKibanaWhiteIps_Result { + private List kibanaPrivateIPWhitelist; + private List kibanaIPWhitelist; - private List kibanaPrivateIPWhitelist; + private UpdateKibanaWhiteIps_NetworkConfig networkConfig; + + public List KibanaPrivateIPWhitelist + { + get + { + return kibanaPrivateIPWhitelist; + } + set + { + kibanaPrivateIPWhitelist = value; + } + } public List KibanaIPWhitelist { @@ -72,15 +86,135 @@ public List KibanaIPWhitelist } } - public List KibanaPrivateIPWhitelist + public UpdateKibanaWhiteIps_NetworkConfig NetworkConfig { get { - return kibanaPrivateIPWhitelist; + return networkConfig; } set { - kibanaPrivateIPWhitelist = value; + networkConfig = value; + } + } + + public class UpdateKibanaWhiteIps_NetworkConfig + { + + private string vpcId; + + private string vswitchId; + + private string vsArea; + + private string type; + + private List whiteIpGroupList; + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public string VswitchId + { + get + { + return vswitchId; + } + set + { + vswitchId = value; + } + } + + public string VsArea + { + get + { + return vsArea; + } + set + { + vsArea = value; + } + } + + public string Type + { + get + { + return type; + } + set + { + type = value; + } + } + + public List WhiteIpGroupList + { + get + { + return whiteIpGroupList; + } + set + { + whiteIpGroupList = value; + } + } + + public class UpdateKibanaWhiteIps_WhiteIpGroupListItem + { + + private string groupName; + + private string whiteIpType; + + private List ips; + + public string GroupName + { + get + { + return groupName; + } + set + { + groupName = value; + } + } + + public string WhiteIpType + { + get + { + return whiteIpType; + } + set + { + whiteIpType = value; + } + } + + public List Ips + { + get + { + return ips; + } + set + { + ips = value; + } + } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeRequest.cs index f39cf7980d..8ae1314234 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeRequest.cs @@ -45,6 +45,8 @@ public UpdateLogstashChargeTypeRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeResponse.cs index 4a940c6238..c67ab869bd 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashChargeTypeResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateLogstashChargeTypeResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionRequest.cs index a0002ec3bf..51e12ecf2f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionRequest.cs @@ -45,6 +45,8 @@ public UpdateLogstashDescriptionRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionResponse.cs index 12ac3f70eb..32a97aac98 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashDescriptionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashRequest.cs index 592765fb93..f27ee245e9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashRequest.cs @@ -45,6 +45,8 @@ public UpdateLogstashRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -69,6 +71,19 @@ public string ClientToken clientToken = value; DictionaryUtil.Add(QueryParameters, "clientToken", value); } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } } public override UpdateLogstashResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashResponse.cs index 049b0ef922..e4d1d9f087 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateLogstashResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsRequest.cs index 94f80af90f..73e988cf83 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsRequest.cs @@ -45,6 +45,8 @@ public UpdateLogstashSettingsRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsResponse.cs index 0a204ea3a2..7113ff9a79 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateLogstashSettingsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigRequest.cs index 23ac278adf..0b401c5ae9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigRequest.cs @@ -45,6 +45,8 @@ public UpdatePipelineManagementConfigRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigResponse.cs index 05ba2bd967..ca70133c69 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelineManagementConfigResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdatePipelineManagementConfigResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesRequest.cs index f9271824b5..179e3a9df0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesRequest.cs @@ -47,6 +47,8 @@ public UpdatePipelinesRequest() private bool? trigger; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public bool? Trigger } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesResponse.cs index 6c7e8105fe..3050487f0b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePipelinesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdatePipelinesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsRequest.cs index bdf3a3d686..2c1e73ed06 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsRequest.cs @@ -47,6 +47,8 @@ public UpdatePrivateNetworkWhiteIpsRequest() private string clientToken; + private string body; + public string ModifyMode { get @@ -86,6 +88,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsResponse.cs index ddb6baa704..e7f015b7be 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePrivateNetworkWhiteIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkRequest.cs index 54c64e9b83..c7eb764f67 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkRequest.cs @@ -45,6 +45,8 @@ public UpdatePublicNetworkRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkResponse.cs index 02c4951422..291fa2657c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicNetworkResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsRequest.cs index 42f3fdcf25..2b52e22f65 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsRequest.cs @@ -47,6 +47,8 @@ public UpdatePublicWhiteIpsRequest() private string clientToken; + private string body; + public string ModifyMode { get @@ -86,6 +88,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsResponse.cs index 5988bde3a8..7b840b3e13 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdatePublicWhiteIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyRequest.cs index 9dd1177757..d539d31cb0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyRequest.cs @@ -45,6 +45,8 @@ public UpdateReadWritePolicyRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyResponse.cs index 2d663c83e7..54ecb365a6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateReadWritePolicyResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateReadWritePolicyResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingRequest.cs index 7a50b251c8..1b4301e2d4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingRequest.cs @@ -43,6 +43,8 @@ public UpdateSnapshotSettingRequest() private string instanceId; + private string body; + public string InstanceId { get @@ -56,6 +58,19 @@ public string InstanceId } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingResponse.cs index 77d97d8afa..e2691f26b1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSnapshotSettingResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsRequest.cs index 0d97a7aa22..fcde146438 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsRequest.cs @@ -45,6 +45,8 @@ public UpdateSynonymsDictsRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsResponse.cs index 3eb956e022..7d598e1f8d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateSynonymsDictsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -56,59 +56,59 @@ public List Result public class UpdateSynonymsDicts_DictList { - private string name; - private long? fileSize; - private string type; - private string sourceType; - public string Name + private string name; + + private string type; + + public long? FileSize { get { - return name; + return fileSize; } set { - name = value; + fileSize = value; } } - public long? FileSize + public string SourceType { get { - return fileSize; + return sourceType; } set { - fileSize = value; + sourceType = value; } } - public string Type + public string Name { get { - return type; + return name; } set { - type = value; + name = value; } } - public string SourceType + public string Type { get { - return sourceType; + return type; } set { - sourceType = value; + type = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateRequest.cs index aa52582372..d0b37f1f4d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateRequest.cs @@ -47,6 +47,8 @@ public UpdateTemplateRequest() private string templateName; + private string body; + public string InstanceId { get @@ -86,6 +88,19 @@ public string TemplateName } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateResponse.cs index 7841756d5d..1ed13cfab9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateTemplateResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateTemplateResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsRequest.cs index 2d8f61429d..cd8a20f03d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsRequest.cs @@ -47,6 +47,8 @@ public UpdateWhiteIpsRequest() private string clientToken; + private string body; + public string ModifyMode { get @@ -86,6 +88,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsResponse.cs index afa7d0f7a4..8e2548d518 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateWhiteIpsResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -58,6 +58,8 @@ public class UpdateWhiteIps_Result private List esIPWhitelist; + private UpdateWhiteIps_NetworkConfig networkConfig; + public List EsIPWhitelist { get @@ -69,6 +71,82 @@ public List EsIPWhitelist esIPWhitelist = value; } } + + public UpdateWhiteIps_NetworkConfig NetworkConfig + { + get + { + return networkConfig; + } + set + { + networkConfig = value; + } + } + + public class UpdateWhiteIps_NetworkConfig + { + + private List whiteIpGroupList; + + public List WhiteIpGroupList + { + get + { + return whiteIpGroupList; + } + set + { + whiteIpGroupList = value; + } + } + + public class UpdateWhiteIps_WhiteIpGroupListItem + { + + private string groupName; + + private string whiteIpType; + + private List ips; + + public string GroupName + { + get + { + return groupName; + } + set + { + groupName = value; + } + } + + public string WhiteIpType + { + get + { + return whiteIpType; + } + set + { + whiteIpType = value; + } + } + + public List Ips + { + get + { + return ips; + } + set + { + ips = value; + } + } + } + } } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigRequest.cs index 48dacc1fa9..86c0c7afeb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigRequest.cs @@ -45,6 +45,8 @@ public UpdateXpackMonitorConfigRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigResponse.cs index 9f70b370c6..7aaf47bc90 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpdateXpackMonitorConfigResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class UpdateXpackMonitorConfigResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionRequest.cs index 4ded39d7be..724921c7db 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionRequest.cs @@ -47,9 +47,7 @@ public UpgradeEngineVersionRequest() private string clientToken; - private string type; - - private string version; + private string body; public string InstanceId { @@ -90,29 +88,16 @@ public string ClientToken } } - public string Type - { - get - { - return type; - } - set - { - type = value; - DictionaryUtil.Add(BodyParameters, "type", value); - } - } - - public string Version + public string Body { get { - return version; + return body; } set { - version = value; - DictionaryUtil.Add(BodyParameters, "version", value); + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionResponse.cs index 0d26497240..6ec62ee82a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/UpgradeEngineVersionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -27,7 +27,7 @@ public class UpgradeEngineVersionResponse : AcsResponse private string requestId; - private UpgradeEngineVersion_Result result; + private List result; public string RequestId { @@ -41,7 +41,7 @@ public string RequestId } } - public UpgradeEngineVersion_Result Result + public List Result { get { @@ -53,14 +53,14 @@ public UpgradeEngineVersion_Result Result } } - public class UpgradeEngineVersion_Result + public class UpgradeEngineVersion_ResultItem { private string validateType; private string status; - private UpgradeEngineVersion_ValidateResult validateResult; + private List validateResult; public string ValidateType { @@ -86,7 +86,7 @@ public string Status } } - public UpgradeEngineVersion_ValidateResult ValidateResult + public List ValidateResult { get { @@ -98,7 +98,7 @@ public UpgradeEngineVersion_ValidateResult ValidateResult } } - public class UpgradeEngineVersion_ValidateResult + public class UpgradeEngineVersion_ValidateResultItem { private string errorType; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionRequest.cs index 479c111ac1..193fb3e224 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionRequest.cs @@ -45,6 +45,8 @@ public ValidateConnectionRequest() private string clientToken; + private string body; + public string InstanceId { get @@ -71,6 +73,19 @@ public string ClientToken } } + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionResponse.cs index 735b81e071..65622f00d3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateConnectionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ValidateConnectionResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesRequest.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesRequest.cs index f41b1f779a..aef55298c0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesRequest.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesRequest.cs @@ -47,6 +47,10 @@ public ValidateShrinkNodesRequest() private string nodeType; + private int? count; + + private string body; + public bool? IgnoreStatus { get @@ -86,6 +90,32 @@ public string NodeType } } + public int? Count + { + get + { + return count; + } + set + { + count = value; + DictionaryUtil.Add(QueryParameters, "count", value.ToString()); + } + } + + public string Body + { + get + { + return body; + } + set + { + body = value; + DictionaryUtil.Add(BodyParameters, "body", value); + } + } + public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesResponse.cs index 0722cc6e38..21235bbddf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateShrinkNodesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ValidateShrinkNodesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateSlrPermissionResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateSlrPermissionResponse.cs index 541c256302..f3aa988be5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateSlrPermissionResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateSlrPermissionResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ValidateSlrPermissionResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateTransferableNodesResponse.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateTransferableNodesResponse.cs index 51335bfa92..36b831970d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateTransferableNodesResponse.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Model/V20170613/ValidateTransferableNodesResponse.cs @@ -17,7 +17,7 @@ * under the License. */ using System.Collections.Generic; - +using Newtonsoft.Json; using Aliyun.Acs.Core; namespace Aliyun.Acs.elasticsearch.Model.V20170613 @@ -25,31 +25,31 @@ namespace Aliyun.Acs.elasticsearch.Model.V20170613 public class ValidateTransferableNodesResponse : AcsResponse { - private string requestId; - private bool? result; - public string RequestId + private string requestId; + + public bool? Result { get { - return requestId; + return result; } set { - requestId = value; + result = value; } } - public bool? Result + public string RequestId { get { - return result; + return requestId; } set { - result = value; + requestId = value; } } } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ActivateZonesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ActivateZonesResponseUnmarshaller.cs index d8774a1f56..0e3604484e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ActivateZonesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ActivateZonesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ActivateZonesResponse Unmarshall(UnmarshallerContext _ctx) ActivateZonesResponse activateZonesResponse = new ActivateZonesResponse(); activateZonesResponse.HttpResponse = _ctx.HttpResponse; - activateZonesResponse.RequestId = _ctx.StringValue("ActivateZones.RequestId"); - activateZonesResponse.Result = _ctx.BooleanValue("ActivateZones.Result"); + activateZonesResponse.Result = _ctx.BooleanValue("ActivateZones.Result"); + activateZonesResponse.RequestId = _ctx.StringValue("ActivateZones.RequestId"); return activateZonesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddConnectableClusterResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddConnectableClusterResponseUnmarshaller.cs index 0491c7d734..07c886702c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddConnectableClusterResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddConnectableClusterResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static AddConnectableClusterResponse Unmarshall(UnmarshallerContext _ctx) AddConnectableClusterResponse addConnectableClusterResponse = new AddConnectableClusterResponse(); addConnectableClusterResponse.HttpResponse = _ctx.HttpResponse; - addConnectableClusterResponse.RequestId = _ctx.StringValue("AddConnectableCluster.RequestId"); - addConnectableClusterResponse.Result = _ctx.BooleanValue("AddConnectableCluster.Result"); + addConnectableClusterResponse.Result = _ctx.BooleanValue("AddConnectableCluster.Result"); + addConnectableClusterResponse.RequestId = _ctx.StringValue("AddConnectableCluster.RequestId"); return addConnectableClusterResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddSnapshotRepoResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddSnapshotRepoResponseUnmarshaller.cs index bcaf3e9b37..47b2249389 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddSnapshotRepoResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/AddSnapshotRepoResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static AddSnapshotRepoResponse Unmarshall(UnmarshallerContext _ctx) AddSnapshotRepoResponse addSnapshotRepoResponse = new AddSnapshotRepoResponse(); addSnapshotRepoResponse.HttpResponse = _ctx.HttpResponse; - addSnapshotRepoResponse.RequestId = _ctx.StringValue("AddSnapshotRepo.RequestId"); - addSnapshotRepoResponse.Result = _ctx.BooleanValue("AddSnapshotRepo.Result"); + addSnapshotRepoResponse.Result = _ctx.BooleanValue("AddSnapshotRepo.Result"); + addSnapshotRepoResponse.RequestId = _ctx.StringValue("AddSnapshotRepo.RequestId"); return addSnapshotRepoResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelDeletionResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelDeletionResponseUnmarshaller.cs index b4f6713e3d..3f6920d4f5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelDeletionResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelDeletionResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CancelDeletionResponse Unmarshall(UnmarshallerContext _ctx) CancelDeletionResponse cancelDeletionResponse = new CancelDeletionResponse(); cancelDeletionResponse.HttpResponse = _ctx.HttpResponse; - cancelDeletionResponse.RequestId = _ctx.StringValue("CancelDeletion.RequestId"); - cancelDeletionResponse.Result = _ctx.BooleanValue("CancelDeletion.Result"); + cancelDeletionResponse.Result = _ctx.BooleanValue("CancelDeletion.Result"); + cancelDeletionResponse.RequestId = _ctx.StringValue("CancelDeletion.RequestId"); return cancelDeletionResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelLogstashDeletionResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelLogstashDeletionResponseUnmarshaller.cs index 0aa741942a..a74a74b707 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelLogstashDeletionResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelLogstashDeletionResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CancelLogstashDeletionResponse Unmarshall(UnmarshallerContext _ctx CancelLogstashDeletionResponse cancelLogstashDeletionResponse = new CancelLogstashDeletionResponse(); cancelLogstashDeletionResponse.HttpResponse = _ctx.HttpResponse; - cancelLogstashDeletionResponse.RequestId = _ctx.StringValue("CancelLogstashDeletion.RequestId"); - cancelLogstashDeletionResponse.Result = _ctx.BooleanValue("CancelLogstashDeletion.Result"); + cancelLogstashDeletionResponse.Result = _ctx.BooleanValue("CancelLogstashDeletion.Result"); + cancelLogstashDeletionResponse.RequestId = _ctx.StringValue("CancelLogstashDeletion.RequestId"); return cancelLogstashDeletionResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelTaskResponseUnmarshaller.cs index fed55ef241..0c3cf2c1e2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CancelTaskResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CancelTaskResponse Unmarshall(UnmarshallerContext _ctx) CancelTaskResponse cancelTaskResponse = new CancelTaskResponse(); cancelTaskResponse.HttpResponse = _ctx.HttpResponse; - cancelTaskResponse.RequestId = _ctx.StringValue("CancelTask.RequestId"); - cancelTaskResponse.Result = _ctx.BooleanValue("CancelTask.Result"); + cancelTaskResponse.Result = _ctx.BooleanValue("CancelTask.Result"); + cancelTaskResponse.RequestId = _ctx.StringValue("CancelTask.RequestId"); return cancelTaskResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseDiagnosisResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseDiagnosisResponseUnmarshaller.cs index 1ac27828db..65dbba62e7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseDiagnosisResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseDiagnosisResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CloseDiagnosisResponse Unmarshall(UnmarshallerContext _ctx) CloseDiagnosisResponse closeDiagnosisResponse = new CloseDiagnosisResponse(); closeDiagnosisResponse.HttpResponse = _ctx.HttpResponse; - closeDiagnosisResponse.RequestId = _ctx.StringValue("CloseDiagnosis.RequestId"); - closeDiagnosisResponse.Result = _ctx.BooleanValue("CloseDiagnosis.Result"); + closeDiagnosisResponse.Result = _ctx.BooleanValue("CloseDiagnosis.Result"); + closeDiagnosisResponse.RequestId = _ctx.StringValue("CloseDiagnosis.RequestId"); return closeDiagnosisResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseHttpsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseHttpsResponseUnmarshaller.cs index 0aa22a4196..16eb721c56 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseHttpsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseHttpsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CloseHttpsResponse Unmarshall(UnmarshallerContext _ctx) CloseHttpsResponse closeHttpsResponse = new CloseHttpsResponse(); closeHttpsResponse.HttpResponse = _ctx.HttpResponse; - closeHttpsResponse.RequestId = _ctx.StringValue("CloseHttps.RequestId"); - closeHttpsResponse.Result = _ctx.BooleanValue("CloseHttps.Result"); + closeHttpsResponse.Result = _ctx.BooleanValue("CloseHttps.Result"); + closeHttpsResponse.RequestId = _ctx.StringValue("CloseHttps.RequestId"); return closeHttpsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseManagedIndexResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseManagedIndexResponseUnmarshaller.cs index 513b716ead..70fa639237 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseManagedIndexResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CloseManagedIndexResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CloseManagedIndexResponse Unmarshall(UnmarshallerContext _ctx) CloseManagedIndexResponse closeManagedIndexResponse = new CloseManagedIndexResponse(); closeManagedIndexResponse.HttpResponse = _ctx.HttpResponse; - closeManagedIndexResponse.RequestId = _ctx.StringValue("CloseManagedIndex.RequestId"); - closeManagedIndexResponse.Result = _ctx.BooleanValue("CloseManagedIndex.Result"); + closeManagedIndexResponse.Result = _ctx.BooleanValue("CloseManagedIndex.Result"); + closeManagedIndexResponse.RequestId = _ctx.StringValue("CloseManagedIndex.RequestId"); return closeManagedIndexResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateComponentIndexResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateComponentIndexResponseUnmarshaller.cs new file mode 100644 index 0000000000..6b35eba0ed --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateComponentIndexResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class CreateComponentIndexResponseUnmarshaller + { + public static CreateComponentIndexResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateComponentIndexResponse createComponentIndexResponse = new CreateComponentIndexResponse(); + + createComponentIndexResponse.HttpResponse = _ctx.HttpResponse; + createComponentIndexResponse.RequestId = _ctx.StringValue("CreateComponentIndex.RequestId"); + createComponentIndexResponse.Result = _ctx.BooleanValue("CreateComponentIndex.Result"); + + return createComponentIndexResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateILMPolicyResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateILMPolicyResponseUnmarshaller.cs index 903698a7a2..a709adddeb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateILMPolicyResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateILMPolicyResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CreateILMPolicyResponse Unmarshall(UnmarshallerContext _ctx) CreateILMPolicyResponse createILMPolicyResponse = new CreateILMPolicyResponse(); createILMPolicyResponse.HttpResponse = _ctx.HttpResponse; - createILMPolicyResponse.RequestId = _ctx.StringValue("CreateILMPolicy.RequestId"); - createILMPolicyResponse.Result = _ctx.StringValue("CreateILMPolicy.Result"); + createILMPolicyResponse.Result = _ctx.StringValue("CreateILMPolicy.Result"); + createILMPolicyResponse.RequestId = _ctx.StringValue("CreateILMPolicy.RequestId"); return createILMPolicyResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateIndexTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateIndexTemplateResponseUnmarshaller.cs index b037db2488..21b16a806f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateIndexTemplateResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateIndexTemplateResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CreateIndexTemplateResponse Unmarshall(UnmarshallerContext _ctx) CreateIndexTemplateResponse createIndexTemplateResponse = new CreateIndexTemplateResponse(); createIndexTemplateResponse.HttpResponse = _ctx.HttpResponse; - createIndexTemplateResponse.RequestId = _ctx.StringValue("CreateIndexTemplate.RequestId"); - createIndexTemplateResponse.Result = _ctx.StringValue("CreateIndexTemplate.Result"); + createIndexTemplateResponse.Result = _ctx.StringValue("CreateIndexTemplate.Result"); + createIndexTemplateResponse.RequestId = _ctx.StringValue("CreateIndexTemplate.RequestId"); return createIndexTemplateResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateInstanceResponseUnmarshaller.cs index a120119ad1..10f9dd4d84 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateInstanceResponseUnmarshaller.cs @@ -30,12 +30,7 @@ public static CreateInstanceResponse Unmarshall(UnmarshallerContext _ctx) { CreateInstanceResponse createInstanceResponse = new CreateInstanceResponse(); - createInstanceResponse.HttpResponse = _ctx.HttpResponse; - createInstanceResponse.RequestId = _ctx.StringValue("CreateInstance.RequestId"); - - CreateInstanceResponse.CreateInstance_Result result = new CreateInstanceResponse.CreateInstance_Result(); - result.InstanceId = _ctx.StringValue("CreateInstance.Result.instanceId"); - createInstanceResponse.Result = result; + createInstanceResponse.HttpResponse = _ctx.HttpResponse; return createInstanceResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateLogstashResponseUnmarshaller.cs index 6b4bab9da5..9fa2a2e1a9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateLogstashResponseUnmarshaller.cs @@ -34,7 +34,64 @@ public static CreateLogstashResponse Unmarshall(UnmarshallerContext _ctx) createLogstashResponse.RequestId = _ctx.StringValue("CreateLogstash.RequestId"); CreateLogstashResponse.CreateLogstash_Result result = new CreateLogstashResponse.CreateLogstash_Result(); + result.Status = _ctx.StringValue("CreateLogstash.Result.status"); + result.Description = _ctx.StringValue("CreateLogstash.Result.description"); + result.ResourceGroupId = _ctx.StringValue("CreateLogstash.Result.resourceGroupId"); + result.EndTime = _ctx.LongValue("CreateLogstash.Result.endTime"); result.InstanceId = _ctx.StringValue("CreateLogstash.Result.instanceId"); + result.Config = _ctx.StringValue("CreateLogstash.Result.config"); + result.CreatedAt = _ctx.StringValue("CreateLogstash.Result.createdAt"); + result.NodeAmount = _ctx.LongValue("CreateLogstash.Result.nodeAmount"); + result.UpdatedAt = _ctx.StringValue("CreateLogstash.Result.updatedAt"); + result.Version = _ctx.StringValue("CreateLogstash.Result.version"); + result.DataNode = _ctx.BooleanValue("CreateLogstash.Result.dataNode"); + result.PaymentType = _ctx.StringValue("CreateLogstash.Result.paymentType"); + result.Protocol = _ctx.StringValue("CreateLogstash.Result.protocol"); + result.ZoneCount = _ctx.LongValue("CreateLogstash.Result.zoneCount"); + + CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_NetworkConfig networkConfig = new CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_NetworkConfig(); + networkConfig.Type = _ctx.StringValue("CreateLogstash.Result.NetworkConfig.type"); + networkConfig.VpcId = _ctx.StringValue("CreateLogstash.Result.NetworkConfig.vpcId"); + networkConfig.VsArea = _ctx.StringValue("CreateLogstash.Result.NetworkConfig.vsArea"); + networkConfig.VswitchId = _ctx.StringValue("CreateLogstash.Result.NetworkConfig.vswitchId"); + result.NetworkConfig = networkConfig; + + CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_NodeSpec nodeSpec = new CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_NodeSpec(); + nodeSpec.Disk = _ctx.LongValue("CreateLogstash.Result.NodeSpec.disk"); + nodeSpec.DiskType = _ctx.StringValue("CreateLogstash.Result.NodeSpec.diskType"); + nodeSpec.Spec = _ctx.StringValue("CreateLogstash.Result.NodeSpec.spec"); + result.NodeSpec = nodeSpec; + + List result_endpointList = new List(); + for (int i = 0; i < _ctx.Length("CreateLogstash.Result.EndpointList.Length"); i++) { + CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_EndpointListItem endpointListItem = new CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_EndpointListItem(); + endpointListItem.Host = _ctx.StringValue("CreateLogstash.Result.EndpointList["+ i +"].host"); + endpointListItem.Port = _ctx.LongValue("CreateLogstash.Result.EndpointList["+ i +"].port"); + endpointListItem.ZoneId = _ctx.StringValue("CreateLogstash.Result.EndpointList["+ i +"].zoneId"); + + result_endpointList.Add(endpointListItem); + } + result.EndpointList = result_endpointList; + + List result_zoneInfos = new List(); + for (int i = 0; i < _ctx.Length("CreateLogstash.Result.ZoneInfos.Length"); i++) { + CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_ZoneInfosItem zoneInfosItem = new CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_ZoneInfosItem(); + zoneInfosItem.Status = _ctx.StringValue("CreateLogstash.Result.ZoneInfos["+ i +"].status"); + zoneInfosItem.ZoneId = _ctx.StringValue("CreateLogstash.Result.ZoneInfos["+ i +"].zoneId"); + + result_zoneInfos.Add(zoneInfosItem); + } + result.ZoneInfos = result_zoneInfos; + + List result_tags = new List(); + for (int i = 0; i < _ctx.Length("CreateLogstash.Result.Tags.Length"); i++) { + CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_TagsItem tagsItem = new CreateLogstashResponse.CreateLogstash_Result.CreateLogstash_TagsItem(); + tagsItem.TagKey = _ctx.StringValue("CreateLogstash.Result.Tags["+ i +"].tagKey"); + tagsItem.TagValue = _ctx.StringValue("CreateLogstash.Result.Tags["+ i +"].tagValue"); + + result_tags.Add(tagsItem); + } + result.Tags = result_tags; createLogstashResponse.Result = result; return createLogstashResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreatePipelinesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreatePipelinesResponseUnmarshaller.cs index 0dd104f8bf..1d7091f2d7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreatePipelinesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreatePipelinesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CreatePipelinesResponse Unmarshall(UnmarshallerContext _ctx) CreatePipelinesResponse createPipelinesResponse = new CreatePipelinesResponse(); createPipelinesResponse.HttpResponse = _ctx.HttpResponse; - createPipelinesResponse.RequestId = _ctx.StringValue("CreatePipelines.RequestId"); - createPipelinesResponse.Result = _ctx.BooleanValue("CreatePipelines.Result"); + createPipelinesResponse.Result = _ctx.BooleanValue("CreatePipelines.Result"); + createPipelinesResponse.RequestId = _ctx.StringValue("CreatePipelines.RequestId"); return createPipelinesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateSnapshotResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateSnapshotResponseUnmarshaller.cs index a9b558b8a8..2fbec43934 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateSnapshotResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateSnapshotResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static CreateSnapshotResponse Unmarshall(UnmarshallerContext _ctx) CreateSnapshotResponse createSnapshotResponse = new CreateSnapshotResponse(); createSnapshotResponse.HttpResponse = _ctx.HttpResponse; - createSnapshotResponse.RequestId = _ctx.StringValue("CreateSnapshot.RequestId"); - createSnapshotResponse.Result = _ctx.BooleanValue("CreateSnapshot.Result"); + createSnapshotResponse.Result = _ctx.BooleanValue("CreateSnapshot.Result"); + createSnapshotResponse.RequestId = _ctx.StringValue("CreateSnapshot.RequestId"); return createSnapshotResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateVpcEndpointResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateVpcEndpointResponseUnmarshaller.cs index 529ea65a58..55e4ceb007 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateVpcEndpointResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/CreateVpcEndpointResponseUnmarshaller.cs @@ -34,10 +34,10 @@ public static CreateVpcEndpointResponse Unmarshall(UnmarshallerContext _ctx) createVpcEndpointResponse.RequestId = _ctx.StringValue("CreateVpcEndpoint.RequestId"); CreateVpcEndpointResponse.CreateVpcEndpoint_Result result = new CreateVpcEndpointResponse.CreateVpcEndpoint_Result(); - result.EndpointId = _ctx.StringValue("CreateVpcEndpoint.Result.endpointId"); - result.EndpointName = _ctx.StringValue("CreateVpcEndpoint.Result.endpointName"); result.ServiceId = _ctx.StringValue("CreateVpcEndpoint.Result.serviceId"); result.EndpointDomain = _ctx.StringValue("CreateVpcEndpoint.Result.endpointDomain"); + result.EndpointId = _ctx.StringValue("CreateVpcEndpoint.Result.endpointId"); + result.EndpointName = _ctx.StringValue("CreateVpcEndpoint.Result.endpointName"); createVpcEndpointResponse.Result = result; return createVpcEndpointResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeactivateZonesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeactivateZonesResponseUnmarshaller.cs index c7963bc923..71d6427add 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeactivateZonesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeactivateZonesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeactivateZonesResponse Unmarshall(UnmarshallerContext _ctx) DeactivateZonesResponse deactivateZonesResponse = new DeactivateZonesResponse(); deactivateZonesResponse.HttpResponse = _ctx.HttpResponse; - deactivateZonesResponse.RequestId = _ctx.StringValue("DeactivateZones.RequestId"); - deactivateZonesResponse.Result = _ctx.BooleanValue("DeactivateZones.Result"); + deactivateZonesResponse.Result = _ctx.BooleanValue("DeactivateZones.Result"); + deactivateZonesResponse.RequestId = _ctx.StringValue("DeactivateZones.RequestId"); return deactivateZonesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteCollectorResponseUnmarshaller.cs index fc39d9f055..8623a1a37e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteCollectorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteCollectorResponse Unmarshall(UnmarshallerContext _ctx) DeleteCollectorResponse deleteCollectorResponse = new DeleteCollectorResponse(); deleteCollectorResponse.HttpResponse = _ctx.HttpResponse; - deleteCollectorResponse.RequestId = _ctx.StringValue("DeleteCollector.RequestId"); - deleteCollectorResponse.Result = _ctx.BooleanValue("DeleteCollector.Result"); + deleteCollectorResponse.Result = _ctx.BooleanValue("DeleteCollector.Result"); + deleteCollectorResponse.RequestId = _ctx.StringValue("DeleteCollector.RequestId"); return deleteCollectorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteComponentIndexResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteComponentIndexResponseUnmarshaller.cs new file mode 100644 index 0000000000..affbd309ed --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteComponentIndexResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DeleteComponentIndexResponseUnmarshaller + { + public static DeleteComponentIndexResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteComponentIndexResponse deleteComponentIndexResponse = new DeleteComponentIndexResponse(); + + deleteComponentIndexResponse.HttpResponse = _ctx.HttpResponse; + deleteComponentIndexResponse.RequestId = _ctx.StringValue("DeleteComponentIndex.RequestId"); + deleteComponentIndexResponse.Result = _ctx.BooleanValue("DeleteComponentIndex.Result"); + + return deleteComponentIndexResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteConnectedClusterResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteConnectedClusterResponseUnmarshaller.cs index 667f489c6e..8e453dd5b1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteConnectedClusterResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteConnectedClusterResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteConnectedClusterResponse Unmarshall(UnmarshallerContext _ctx DeleteConnectedClusterResponse deleteConnectedClusterResponse = new DeleteConnectedClusterResponse(); deleteConnectedClusterResponse.HttpResponse = _ctx.HttpResponse; - deleteConnectedClusterResponse.RequestId = _ctx.StringValue("DeleteConnectedCluster.RequestId"); - deleteConnectedClusterResponse.Result = _ctx.BooleanValue("DeleteConnectedCluster.Result"); + deleteConnectedClusterResponse.Result = _ctx.BooleanValue("DeleteConnectedCluster.Result"); + deleteConnectedClusterResponse.RequestId = _ctx.StringValue("DeleteConnectedCluster.RequestId"); return deleteConnectedClusterResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataStreamResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataStreamResponseUnmarshaller.cs index 585bffb732..8e35a860eb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataStreamResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataStreamResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteDataStreamResponse Unmarshall(UnmarshallerContext _ctx) DeleteDataStreamResponse deleteDataStreamResponse = new DeleteDataStreamResponse(); deleteDataStreamResponse.HttpResponse = _ctx.HttpResponse; - deleteDataStreamResponse.RequestId = _ctx.StringValue("DeleteDataStream.RequestId"); - deleteDataStreamResponse.Result = _ctx.BooleanValue("DeleteDataStream.Result"); + deleteDataStreamResponse.Result = _ctx.BooleanValue("DeleteDataStream.Result"); + deleteDataStreamResponse.RequestId = _ctx.StringValue("DeleteDataStream.RequestId"); return deleteDataStreamResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataTaskResponseUnmarshaller.cs index a69d6aa49f..cd3f6069e1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDataTaskResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteDataTaskResponse Unmarshall(UnmarshallerContext _ctx) DeleteDataTaskResponse deleteDataTaskResponse = new DeleteDataTaskResponse(); deleteDataTaskResponse.HttpResponse = _ctx.HttpResponse; - deleteDataTaskResponse.RequestId = _ctx.StringValue("DeleteDataTask.RequestId"); - deleteDataTaskResponse.Result = _ctx.BooleanValue("DeleteDataTask.Result"); + deleteDataTaskResponse.Result = _ctx.BooleanValue("DeleteDataTask.Result"); + deleteDataTaskResponse.RequestId = _ctx.StringValue("DeleteDataTask.RequestId"); return deleteDataTaskResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDeprecatedTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDeprecatedTemplateResponseUnmarshaller.cs new file mode 100644 index 0000000000..cdd6c48a30 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteDeprecatedTemplateResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DeleteDeprecatedTemplateResponseUnmarshaller + { + public static DeleteDeprecatedTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteDeprecatedTemplateResponse deleteDeprecatedTemplateResponse = new DeleteDeprecatedTemplateResponse(); + + deleteDeprecatedTemplateResponse.HttpResponse = _ctx.HttpResponse; + deleteDeprecatedTemplateResponse.RequestId = _ctx.StringValue("DeleteDeprecatedTemplate.RequestId"); + deleteDeprecatedTemplateResponse.Result = _ctx.BooleanValue("DeleteDeprecatedTemplate.Result"); + + return deleteDeprecatedTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteILMPolicyResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteILMPolicyResponseUnmarshaller.cs index e60b12d2f5..45a70e6f21 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteILMPolicyResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteILMPolicyResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteILMPolicyResponse Unmarshall(UnmarshallerContext _ctx) DeleteILMPolicyResponse deleteILMPolicyResponse = new DeleteILMPolicyResponse(); deleteILMPolicyResponse.HttpResponse = _ctx.HttpResponse; - deleteILMPolicyResponse.RequestId = _ctx.StringValue("DeleteILMPolicy.RequestId"); - deleteILMPolicyResponse.Result = _ctx.BooleanValue("DeleteILMPolicy.Result"); + deleteILMPolicyResponse.Result = _ctx.BooleanValue("DeleteILMPolicy.Result"); + deleteILMPolicyResponse.RequestId = _ctx.StringValue("DeleteILMPolicy.RequestId"); return deleteILMPolicyResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteIndexTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteIndexTemplateResponseUnmarshaller.cs index 3a650a9cc4..586b1efeab 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteIndexTemplateResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteIndexTemplateResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteIndexTemplateResponse Unmarshall(UnmarshallerContext _ctx) DeleteIndexTemplateResponse deleteIndexTemplateResponse = new DeleteIndexTemplateResponse(); deleteIndexTemplateResponse.HttpResponse = _ctx.HttpResponse; - deleteIndexTemplateResponse.RequestId = _ctx.StringValue("DeleteIndexTemplate.RequestId"); - deleteIndexTemplateResponse.Result = _ctx.BooleanValue("DeleteIndexTemplate.Result"); + deleteIndexTemplateResponse.Result = _ctx.BooleanValue("DeleteIndexTemplate.Result"); + deleteIndexTemplateResponse.RequestId = _ctx.StringValue("DeleteIndexTemplate.RequestId"); return deleteIndexTemplateResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeletePipelinesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeletePipelinesResponseUnmarshaller.cs index 8cbfad0418..ba67494af9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeletePipelinesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeletePipelinesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeletePipelinesResponse Unmarshall(UnmarshallerContext _ctx) DeletePipelinesResponse deletePipelinesResponse = new DeletePipelinesResponse(); deletePipelinesResponse.HttpResponse = _ctx.HttpResponse; - deletePipelinesResponse.RequestId = _ctx.StringValue("DeletePipelines.RequestId"); - deletePipelinesResponse.Result = _ctx.BooleanValue("DeletePipelines.Result"); + deletePipelinesResponse.Result = _ctx.BooleanValue("DeletePipelines.Result"); + deletePipelinesResponse.RequestId = _ctx.StringValue("DeletePipelines.RequestId"); return deletePipelinesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteSnapshotRepoResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteSnapshotRepoResponseUnmarshaller.cs index 679131252a..63bf43be13 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteSnapshotRepoResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteSnapshotRepoResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteSnapshotRepoResponse Unmarshall(UnmarshallerContext _ctx) DeleteSnapshotRepoResponse deleteSnapshotRepoResponse = new DeleteSnapshotRepoResponse(); deleteSnapshotRepoResponse.HttpResponse = _ctx.HttpResponse; - deleteSnapshotRepoResponse.RequestId = _ctx.StringValue("DeleteSnapshotRepo.RequestId"); - deleteSnapshotRepoResponse.Result = _ctx.BooleanValue("DeleteSnapshotRepo.Result"); + deleteSnapshotRepoResponse.Result = _ctx.BooleanValue("DeleteSnapshotRepo.Result"); + deleteSnapshotRepoResponse.RequestId = _ctx.StringValue("DeleteSnapshotRepo.RequestId"); return deleteSnapshotRepoResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteVpcEndpointResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteVpcEndpointResponseUnmarshaller.cs index edd749014d..cfd05fe294 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteVpcEndpointResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DeleteVpcEndpointResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DeleteVpcEndpointResponse Unmarshall(UnmarshallerContext _ctx) DeleteVpcEndpointResponse deleteVpcEndpointResponse = new DeleteVpcEndpointResponse(); deleteVpcEndpointResponse.HttpResponse = _ctx.HttpResponse; - deleteVpcEndpointResponse.RequestId = _ctx.StringValue("DeleteVpcEndpoint.RequestId"); - deleteVpcEndpointResponse.Result = _ctx.BooleanValue("DeleteVpcEndpoint.Result"); + deleteVpcEndpointResponse.Result = _ctx.BooleanValue("DeleteVpcEndpoint.Result"); + deleteVpcEndpointResponse.RequestId = _ctx.StringValue("DeleteVpcEndpoint.RequestId"); return deleteVpcEndpointResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeAckOperatorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeAckOperatorResponseUnmarshaller.cs index 4b77818fe0..9625f901ff 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeAckOperatorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeAckOperatorResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static DescribeAckOperatorResponse Unmarshall(UnmarshallerContext _ctx) describeAckOperatorResponse.RequestId = _ctx.StringValue("DescribeAckOperator.RequestId"); DescribeAckOperatorResponse.DescribeAckOperator_Result result = new DescribeAckOperatorResponse.DescribeAckOperator_Result(); - result.Status = _ctx.StringValue("DescribeAckOperator.Result.status"); result.Version = _ctx.StringValue("DescribeAckOperator.Result.version"); + result.Status = _ctx.StringValue("DescribeAckOperator.Result.status"); describeAckOperatorResponse.Result = result; return describeAckOperatorResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeCollectorResponseUnmarshaller.cs index e1b3c287ff..c270fef508 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeCollectorResponseUnmarshaller.cs @@ -34,16 +34,16 @@ public static DescribeCollectorResponse Unmarshall(UnmarshallerContext _ctx) describeCollectorResponse.RequestId = _ctx.StringValue("DescribeCollector.RequestId"); DescribeCollectorResponse.DescribeCollector_Result result = new DescribeCollectorResponse.DescribeCollector_Result(); - result.GmtCreatedTime = _ctx.StringValue("DescribeCollector.Result.gmtCreatedTime"); - result.GmtUpdateTime = _ctx.StringValue("DescribeCollector.Result.gmtUpdateTime"); - result.Name = _ctx.StringValue("DescribeCollector.Result.name"); result.ResId = _ctx.StringValue("DescribeCollector.Result.resId"); - result.ResVersion = _ctx.StringValue("DescribeCollector.Result.resVersion"); + result.GmtUpdateTime = _ctx.StringValue("DescribeCollector.Result.gmtUpdateTime"); + result.DryRun = _ctx.BooleanValue("DescribeCollector.Result.dryRun"); + result.OwnerId = _ctx.StringValue("DescribeCollector.Result.ownerId"); result.VpcId = _ctx.StringValue("DescribeCollector.Result.vpcId"); result.ResType = _ctx.StringValue("DescribeCollector.Result.resType"); - result.OwnerId = _ctx.StringValue("DescribeCollector.Result.ownerId"); + result.ResVersion = _ctx.StringValue("DescribeCollector.Result.resVersion"); + result.GmtCreatedTime = _ctx.StringValue("DescribeCollector.Result.gmtCreatedTime"); result.Status = _ctx.StringValue("DescribeCollector.Result.status"); - result.DryRun = _ctx.BooleanValue("DescribeCollector.Result.dryRun"); + result.Name = _ctx.StringValue("DescribeCollector.Result.name"); List result_collectorPaths = new List(); for (int i = 0; i < _ctx.Length("DescribeCollector.Result.CollectorPaths.Length"); i++) { @@ -54,8 +54,8 @@ public static DescribeCollectorResponse Unmarshall(UnmarshallerContext _ctx) List result_configs = new List(); for (int i = 0; i < _ctx.Length("DescribeCollector.Result.Configs.Length"); i++) { DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ConfigsItem configsItem = new DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ConfigsItem(); - configsItem.FileName = _ctx.StringValue("DescribeCollector.Result.Configs["+ i +"].fileName"); configsItem.Content = _ctx.StringValue("DescribeCollector.Result.Configs["+ i +"].content"); + configsItem.FileName = _ctx.StringValue("DescribeCollector.Result.Configs["+ i +"].fileName"); result_configs.Add(configsItem); } @@ -64,18 +64,18 @@ public static DescribeCollectorResponse Unmarshall(UnmarshallerContext _ctx) List result_extendConfigs = new List(); for (int i = 0; i < _ctx.Length("DescribeCollector.Result.ExtendConfigs.Length"); i++) { DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ExtendConfigsItem extendConfigsItem = new DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ExtendConfigsItem(); - extendConfigsItem.ConfigType = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].configType"); - extendConfigsItem.InstanceId = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].instanceId"); - extendConfigsItem.InstanceType = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].instanceType"); + extendConfigsItem.SuccessPodsCount = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].successPodsCount"); extendConfigsItem.Protocol = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].protocol"); extendConfigsItem.UserName = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].userName"); - extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("DescribeCollector.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.TotalPodsCount = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].totalPodsCount"); extendConfigsItem.Type = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].type"); + extendConfigsItem.KibanaHost = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].kibanaHost"); + extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("DescribeCollector.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.ConfigType = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].configType"); + extendConfigsItem.InstanceType = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].instanceType"); extendConfigsItem.GroupId = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].groupId"); extendConfigsItem.Host = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].host"); - extendConfigsItem.KibanaHost = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].kibanaHost"); - extendConfigsItem.TotalPodsCount = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].totalPodsCount"); - extendConfigsItem.SuccessPodsCount = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].successPodsCount"); + extendConfigsItem.InstanceId = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].instanceId"); List extendConfigsItem_hosts = new List(); for (int j = 0; j < _ctx.Length("DescribeCollector.Result.ExtendConfigs["+ i +"].Hosts.Length"); j++) { @@ -86,8 +86,8 @@ public static DescribeCollectorResponse Unmarshall(UnmarshallerContext _ctx) List extendConfigsItem_machines = new List(); for (int j = 0; j < _ctx.Length("DescribeCollector.Result.ExtendConfigs["+ i +"].Machines.Length"); j++) { DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ExtendConfigsItem.DescribeCollector_MachinesItem machinesItem = new DescribeCollectorResponse.DescribeCollector_Result.DescribeCollector_ExtendConfigsItem.DescribeCollector_MachinesItem(); - machinesItem.InstanceId = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); machinesItem.AgentStatus = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].agentStatus"); + machinesItem.InstanceId = _ctx.StringValue("DescribeCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); extendConfigsItem_machines.Add(machinesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeComponentIndexResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeComponentIndexResponseUnmarshaller.cs new file mode 100644 index 0000000000..94e62085ef --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeComponentIndexResponseUnmarshaller.cs @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DescribeComponentIndexResponseUnmarshaller + { + public static DescribeComponentIndexResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeComponentIndexResponse describeComponentIndexResponse = new DescribeComponentIndexResponse(); + + describeComponentIndexResponse.HttpResponse = _ctx.HttpResponse; + describeComponentIndexResponse.RequestId = _ctx.StringValue("DescribeComponentIndex.RequestId"); + + DescribeComponentIndexResponse.DescribeComponentIndex_Result result = new DescribeComponentIndexResponse.DescribeComponentIndex_Result(); + result._Meta = _ctx.StringValue("DescribeComponentIndex.Result._meta"); + + DescribeComponentIndexResponse.DescribeComponentIndex_Result.DescribeComponentIndex_Template template = new DescribeComponentIndexResponse.DescribeComponentIndex_Result.DescribeComponentIndex_Template(); + template.Aliases = _ctx.StringValue("DescribeComponentIndex.Result.Template.aliases"); + template.Mappings = _ctx.StringValue("DescribeComponentIndex.Result.Template.mappings"); + template.Settings = _ctx.StringValue("DescribeComponentIndex.Result.Template.settings"); + result.Template = template; + describeComponentIndexResponse.Result = result; + + return describeComponentIndexResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeConnectableClustersResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeConnectableClustersResponseUnmarshaller.cs index b03681e249..16d81d110b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeConnectableClustersResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeConnectableClustersResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static DescribeConnectableClustersResponse Unmarshall(UnmarshallerContext List describeConnectableClustersResponse_result = new List(); for (int i = 0; i < _ctx.Length("DescribeConnectableClusters.Result.Length"); i++) { DescribeConnectableClustersResponse.DescribeConnectableClusters_ConnectableClustersInfo connectableClustersInfo = new DescribeConnectableClustersResponse.DescribeConnectableClusters_ConnectableClustersInfo(); - connectableClustersInfo.Instances = _ctx.StringValue("DescribeConnectableClusters.Result["+ i +"].instances"); connectableClustersInfo.NetworkType = _ctx.StringValue("DescribeConnectableClusters.Result["+ i +"].networkType"); + connectableClustersInfo.Instances = _ctx.StringValue("DescribeConnectableClusters.Result["+ i +"].instances"); describeConnectableClustersResponse_result.Add(connectableClustersInfo); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDeprecatedTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDeprecatedTemplateResponseUnmarshaller.cs new file mode 100644 index 0000000000..c2a9d98353 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDeprecatedTemplateResponseUnmarshaller.cs @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DescribeDeprecatedTemplateResponseUnmarshaller + { + public static DescribeDeprecatedTemplateResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeDeprecatedTemplateResponse describeDeprecatedTemplateResponse = new DescribeDeprecatedTemplateResponse(); + + describeDeprecatedTemplateResponse.HttpResponse = _ctx.HttpResponse; + describeDeprecatedTemplateResponse.RequestId = _ctx.StringValue("DescribeDeprecatedTemplate.RequestId"); + + DescribeDeprecatedTemplateResponse.DescribeDeprecatedTemplate_Result result = new DescribeDeprecatedTemplateResponse.DescribeDeprecatedTemplate_Result(); + result.DataStream = _ctx.BooleanValue("DescribeDeprecatedTemplate.Result.dataStream"); + result.IndexTemplate = _ctx.StringValue("DescribeDeprecatedTemplate.Result.indexTemplate"); + result.Order = _ctx.LongValue("DescribeDeprecatedTemplate.Result.order"); + result.Version = _ctx.StringValue("DescribeDeprecatedTemplate.Result.version"); + + List result_indexPatterns = new List(); + for (int i = 0; i < _ctx.Length("DescribeDeprecatedTemplate.Result.IndexPatterns.Length"); i++) { + result_indexPatterns.Add(_ctx.StringValue("DescribeDeprecatedTemplate.Result.IndexPatterns["+ i +"]")); + } + result.IndexPatterns = result_indexPatterns; + + DescribeDeprecatedTemplateResponse.DescribeDeprecatedTemplate_Result.DescribeDeprecatedTemplate_Template template = new DescribeDeprecatedTemplateResponse.DescribeDeprecatedTemplate_Result.DescribeDeprecatedTemplate_Template(); + template.Aliases = _ctx.StringValue("DescribeDeprecatedTemplate.Result.Template.aliases"); + template.Mappings = _ctx.StringValue("DescribeDeprecatedTemplate.Result.Template.mappings"); + template.Settings = _ctx.StringValue("DescribeDeprecatedTemplate.Result.Template.settings"); + result.Template = template; + describeDeprecatedTemplateResponse.Result = result; + + return describeDeprecatedTemplateResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnoseReportResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnoseReportResponseUnmarshaller.cs index 80cea356ca..8c54ea92d5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnoseReportResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnoseReportResponseUnmarshaller.cs @@ -34,12 +34,12 @@ public static DescribeDiagnoseReportResponse Unmarshall(UnmarshallerContext _ctx describeDiagnoseReportResponse.RequestId = _ctx.StringValue("DescribeDiagnoseReport.RequestId"); DescribeDiagnoseReportResponse.DescribeDiagnoseReport_Result result = new DescribeDiagnoseReportResponse.DescribeDiagnoseReport_Result(); + result.Trigger = _ctx.StringValue("DescribeDiagnoseReport.Result.trigger"); + result.CreateTime = _ctx.LongValue("DescribeDiagnoseReport.Result.createTime"); result.ReportId = _ctx.StringValue("DescribeDiagnoseReport.Result.reportId"); - result.InstanceId = _ctx.StringValue("DescribeDiagnoseReport.Result.instanceId"); result.State = _ctx.StringValue("DescribeDiagnoseReport.Result.state"); - result.CreateTime = _ctx.LongValue("DescribeDiagnoseReport.Result.createTime"); + result.InstanceId = _ctx.StringValue("DescribeDiagnoseReport.Result.instanceId"); result.Health = _ctx.StringValue("DescribeDiagnoseReport.Result.health"); - result.Trigger = _ctx.StringValue("DescribeDiagnoseReport.Result.trigger"); List result_diagnoseItems = new List(); for (int i = 0; i < _ctx.Length("DescribeDiagnoseReport.Result.DiagnoseItems.Length"); i++) { @@ -48,11 +48,11 @@ public static DescribeDiagnoseReportResponse Unmarshall(UnmarshallerContext _ctx diagnoseItemsItem.Health = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].health"); DescribeDiagnoseReportResponse.DescribeDiagnoseReport_Result.DescribeDiagnoseReport_DiagnoseItemsItem.DescribeDiagnoseReport_Detail detail = new DescribeDiagnoseReportResponse.DescribeDiagnoseReport_Result.DescribeDiagnoseReport_DiagnoseItemsItem.DescribeDiagnoseReport_Detail(); + detail.Type = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.type"); detail.Name = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.name"); detail.Desc = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.desc"); - detail.Type = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.type"); - detail.Suggest = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.suggest"); detail.Result = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.result"); + detail.Suggest = _ctx.StringValue("DescribeDiagnoseReport.Result.DiagnoseItems["+ i +"].Detail.suggest"); diagnoseItemsItem.Detail = detail; result_diagnoseItems.Add(diagnoseItemsItem); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnosisSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnosisSettingsResponseUnmarshaller.cs index eda58b0fe9..63884ba1c6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnosisSettingsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDiagnosisSettingsResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static DescribeDiagnosisSettingsResponse Unmarshall(UnmarshallerContext _ describeDiagnosisSettingsResponse.RequestId = _ctx.StringValue("DescribeDiagnosisSettings.RequestId"); DescribeDiagnosisSettingsResponse.DescribeDiagnosisSettings_Result result = new DescribeDiagnosisSettingsResponse.DescribeDiagnosisSettings_Result(); - result.Scene = _ctx.StringValue("DescribeDiagnosisSettings.Result.scene"); result.UpdateTime = _ctx.LongValue("DescribeDiagnosisSettings.Result.updateTime"); + result.Scene = _ctx.StringValue("DescribeDiagnosisSettings.Result.scene"); describeDiagnosisSettingsResponse.Result = result; return describeDiagnosisSettingsResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDynamicSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDynamicSettingsResponseUnmarshaller.cs new file mode 100644 index 0000000000..651671a35c --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeDynamicSettingsResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DescribeDynamicSettingsResponseUnmarshaller + { + public static DescribeDynamicSettingsResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeDynamicSettingsResponse describeDynamicSettingsResponse = new DescribeDynamicSettingsResponse(); + + describeDynamicSettingsResponse.HttpResponse = _ctx.HttpResponse; + describeDynamicSettingsResponse.Result = _ctx.StringValue("DescribeDynamicSettings.Result"); + describeDynamicSettingsResponse.RequestId = _ctx.StringValue("DescribeDynamicSettings.RequestId"); + + return describeDynamicSettingsResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeElasticsearchHealthResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeElasticsearchHealthResponseUnmarshaller.cs index b9b5c4a14a..cba3723662 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeElasticsearchHealthResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeElasticsearchHealthResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static DescribeElasticsearchHealthResponse Unmarshall(UnmarshallerContext DescribeElasticsearchHealthResponse describeElasticsearchHealthResponse = new DescribeElasticsearchHealthResponse(); describeElasticsearchHealthResponse.HttpResponse = _ctx.HttpResponse; - describeElasticsearchHealthResponse.RequestId = _ctx.StringValue("DescribeElasticsearchHealth.RequestId"); describeElasticsearchHealthResponse.Code = _ctx.StringValue("DescribeElasticsearchHealth.Code"); describeElasticsearchHealthResponse.Message = _ctx.StringValue("DescribeElasticsearchHealth.Message"); + describeElasticsearchHealthResponse.RequestId = _ctx.StringValue("DescribeElasticsearchHealth.RequestId"); describeElasticsearchHealthResponse.Result = _ctx.StringValue("DescribeElasticsearchHealth.Result"); return describeElasticsearchHealthResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeIndexTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeIndexTemplateResponseUnmarshaller.cs index 2ef46dca5e..68a6f33126 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeIndexTemplateResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeIndexTemplateResponseUnmarshaller.cs @@ -34,10 +34,10 @@ public static DescribeIndexTemplateResponse Unmarshall(UnmarshallerContext _ctx) describeIndexTemplateResponse.RequestId = _ctx.StringValue("DescribeIndexTemplate.RequestId"); DescribeIndexTemplateResponse.DescribeIndexTemplate_Result result = new DescribeIndexTemplateResponse.DescribeIndexTemplate_Result(); - result.IndexTemplate = _ctx.StringValue("DescribeIndexTemplate.Result.indexTemplate"); result.DataStream = _ctx.BooleanValue("DescribeIndexTemplate.Result.dataStream"); - result.Priority = _ctx.IntegerValue("DescribeIndexTemplate.Result.priority"); + result.IndexTemplate = _ctx.StringValue("DescribeIndexTemplate.Result.indexTemplate"); result.IlmPolicy = _ctx.StringValue("DescribeIndexTemplate.Result.ilmPolicy"); + result.Priority = _ctx.IntegerValue("DescribeIndexTemplate.Result.priority"); List result_indexPatterns = new List(); for (int i = 0; i < _ctx.Length("DescribeIndexTemplate.Result.IndexPatterns.Length"); i++) { diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeInstanceResponseUnmarshaller.cs index 2f0e7ef7f1..e429344994 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeInstanceResponseUnmarshaller.cs @@ -34,36 +34,39 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) describeInstanceResponse.RequestId = _ctx.StringValue("DescribeInstance.RequestId"); DescribeInstanceResponse.DescribeInstance_Result result = new DescribeInstanceResponse.DescribeInstance_Result(); - result.InstanceId = _ctx.StringValue("DescribeInstance.Result.instanceId"); - result.Domain = _ctx.StringValue("DescribeInstance.Result.domain"); - result.Description = _ctx.StringValue("DescribeInstance.Result.description"); + result.AdvancedDedicateMaster = _ctx.BooleanValue("DescribeInstance.Result.advancedDedicateMaster"); + result.Protocol = _ctx.StringValue("DescribeInstance.Result.protocol"); + result.EnableKibanaPublicNetwork = _ctx.BooleanValue("DescribeInstance.Result.enableKibanaPublicNetwork"); result.NodeAmount = _ctx.IntegerValue("DescribeInstance.Result.nodeAmount"); - result.PaymentType = _ctx.StringValue("DescribeInstance.Result.paymentType"); - result.Status = _ctx.StringValue("DescribeInstance.Result.status"); - result.EsVersion = _ctx.StringValue("DescribeInstance.Result.esVersion"); result.CreatedAt = _ctx.StringValue("DescribeInstance.Result.createdAt"); - result.UpdatedAt = _ctx.StringValue("DescribeInstance.Result.updatedAt"); - result.KibanaDomain = _ctx.StringValue("DescribeInstance.Result.kibanaDomain"); + result.EnableKibanaPrivateNetwork = _ctx.BooleanValue("DescribeInstance.Result.enableKibanaPrivateNetwork"); + result.VpcInstanceId = _ctx.StringValue("DescribeInstance.Result.vpcInstanceId"); + result.Port = _ctx.IntegerValue("DescribeInstance.Result.port"); result.EnablePublic = _ctx.BooleanValue("DescribeInstance.Result.enablePublic"); result.DedicateMaster = _ctx.BooleanValue("DescribeInstance.Result.dedicateMaster"); - result.AdvancedDedicateMaster = _ctx.BooleanValue("DescribeInstance.Result.advancedDedicateMaster"); - result.PublicPort = _ctx.IntegerValue("DescribeInstance.Result.publicPort"); result.KibanaPort = _ctx.IntegerValue("DescribeInstance.Result.kibanaPort"); - result.PublicDomain = _ctx.StringValue("DescribeInstance.Result.publicDomain"); - result.VpcInstanceId = _ctx.StringValue("DescribeInstance.Result.vpcInstanceId"); - result.Port = _ctx.IntegerValue("DescribeInstance.Result.port"); result.EsConfig = _ctx.StringValue("DescribeInstance.Result.esConfig"); - result.ZoneCount = _ctx.IntegerValue("DescribeInstance.Result.zoneCount"); - result.HaveClientNode = _ctx.BooleanValue("DescribeInstance.Result.haveClientNode"); - result.WarmNode = _ctx.BooleanValue("DescribeInstance.Result.warmNode"); - result.Protocol = _ctx.StringValue("DescribeInstance.Result.protocol"); - result.EnableKibanaPublicNetwork = _ctx.BooleanValue("DescribeInstance.Result.enableKibanaPublicNetwork"); - result.HaveKibana = _ctx.BooleanValue("DescribeInstance.Result.haveKibana"); result.ResourceGroupId = _ctx.StringValue("DescribeInstance.Result.resourceGroupId"); - result.EnableKibanaPrivateNetwork = _ctx.BooleanValue("DescribeInstance.Result.enableKibanaPrivateNetwork"); - result.IsNewDeployment = _ctx.BooleanValue("DescribeInstance.Result.isNewDeployment"); + result.PaymentType = _ctx.StringValue("DescribeInstance.Result.paymentType"); result.PostpaidServiceStatus = _ctx.StringValue("DescribeInstance.Result.postpaidServiceStatus"); + result.EsVersion = _ctx.StringValue("DescribeInstance.Result.esVersion"); + result.HaveKibana = _ctx.BooleanValue("DescribeInstance.Result.haveKibana"); + result.IsNewDeployment = _ctx.BooleanValue("DescribeInstance.Result.isNewDeployment"); + result.WarmNode = _ctx.BooleanValue("DescribeInstance.Result.warmNode"); + result.UpdatedAt = _ctx.StringValue("DescribeInstance.Result.updatedAt"); + result.InstanceId = _ctx.StringValue("DescribeInstance.Result.instanceId"); + result.ZoneCount = _ctx.IntegerValue("DescribeInstance.Result.zoneCount"); + result.PublicDomain = _ctx.StringValue("DescribeInstance.Result.publicDomain"); + result.Status = _ctx.StringValue("DescribeInstance.Result.status"); result.ServiceVpc = _ctx.BooleanValue("DescribeInstance.Result.serviceVpc"); + result.PublicPort = _ctx.IntegerValue("DescribeInstance.Result.publicPort"); + result.HaveClientNode = _ctx.BooleanValue("DescribeInstance.Result.haveClientNode"); + result.Domain = _ctx.StringValue("DescribeInstance.Result.domain"); + result.Description = _ctx.StringValue("DescribeInstance.Result.description"); + result.KibanaDomain = _ctx.StringValue("DescribeInstance.Result.kibanaDomain"); + result.InstanceCategory = _ctx.StringValue("DescribeInstance.Result.instanceCategory"); + result.Endtime = _ctx.LongValue("DescribeInstance.Result.endtime"); + result.ArchType = _ctx.StringValue("DescribeInstance.Result.archType"); List result_esIPWhitelist = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.EsIPWhitelist.Length"); i++) { @@ -71,17 +74,26 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) } result.EsIPWhitelist = result_esIPWhitelist; - List result_esIPBlacklist = new List(); - for (int i = 0; i < _ctx.Length("DescribeInstance.Result.EsIPBlacklist.Length"); i++) { - result_esIPBlacklist.Add(_ctx.StringValue("DescribeInstance.Result.EsIPBlacklist["+ i +"]")); + List> result_extendConfigs = new List>(); + for (int i = 0; i < _ctx.Length("DescribeInstance.Result.ExtendConfigs.Length"); i++) { + Dictionary tmp = new Dictionary() { }; + foreach (var _item in _ctx.ResponseDictionary){ + string prefix = "DescribeInstance.Result.ExtendConfigs["+ i +"]."; + if (_item.Key.IndexOf(prefix) == 0){ + tmp.Add(_item.Key.Substring(prefix.Length), _item.Value); + } + } + if (tmp.Count > 0){ + result_extendConfigs.Add(tmp); + } } - result.EsIPBlacklist = result_esIPBlacklist; + result.ExtendConfigs = result_extendConfigs; - List result_kibanaIPWhitelist = new List(); - for (int i = 0; i < _ctx.Length("DescribeInstance.Result.KibanaIPWhitelist.Length"); i++) { - result_kibanaIPWhitelist.Add(_ctx.StringValue("DescribeInstance.Result.KibanaIPWhitelist["+ i +"]")); + List result_privateNetworkIpWhiteList = new List(); + for (int i = 0; i < _ctx.Length("DescribeInstance.Result.PrivateNetworkIpWhiteList.Length"); i++) { + result_privateNetworkIpWhiteList.Add(_ctx.StringValue("DescribeInstance.Result.PrivateNetworkIpWhiteList["+ i +"]")); } - result.KibanaIPWhitelist = result_kibanaIPWhitelist; + result.PrivateNetworkIpWhiteList = result_privateNetworkIpWhiteList; List result_publicIpWhitelist = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.PublicIpWhitelist.Length"); i++) { @@ -89,51 +101,44 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) } result.PublicIpWhitelist = result_publicIpWhitelist; - List result_privateNetworkIpWhiteList = new List(); - for (int i = 0; i < _ctx.Length("DescribeInstance.Result.PrivateNetworkIpWhiteList.Length"); i++) { - result_privateNetworkIpWhiteList.Add(_ctx.StringValue("DescribeInstance.Result.PrivateNetworkIpWhiteList["+ i +"]")); - } - result.PrivateNetworkIpWhiteList = result_privateNetworkIpWhiteList; - List result_kibanaPrivateIPWhitelist = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.KibanaPrivateIPWhitelist.Length"); i++) { result_kibanaPrivateIPWhitelist.Add(_ctx.StringValue("DescribeInstance.Result.KibanaPrivateIPWhitelist["+ i +"]")); } result.KibanaPrivateIPWhitelist = result_kibanaPrivateIPWhitelist; - List> result_extendConfigs = new List>(); - for (int i = 0; i < _ctx.Length("DescribeInstance.Result.ExtendConfigs.Length"); i++) { - Dictionary tmp = new Dictionary() { }; - foreach (var _item in _ctx.ResponseDictionary){ - string prefix = "DescribeInstance.Result.ExtendConfigs["+ i +"]."; - if (_item.Key.IndexOf(prefix) == 0){ - tmp.Add(_item.Key.Substring(prefix.Length), _item.Value); - } - } - if (tmp.Count > 0){ - result_extendConfigs.Add(tmp); - } + List result_esIPBlacklist = new List(); + for (int i = 0; i < _ctx.Length("DescribeInstance.Result.EsIPBlacklist.Length"); i++) { + result_esIPBlacklist.Add(_ctx.StringValue("DescribeInstance.Result.EsIPBlacklist["+ i +"]")); } - result.ExtendConfigs = result_extendConfigs; + result.EsIPBlacklist = result_esIPBlacklist; + + List result_kibanaIPWhitelist = new List(); + for (int i = 0; i < _ctx.Length("DescribeInstance.Result.KibanaIPWhitelist.Length"); i++) { + result_kibanaIPWhitelist.Add(_ctx.StringValue("DescribeInstance.Result.KibanaIPWhitelist["+ i +"]")); + } + result.KibanaIPWhitelist = result_kibanaIPWhitelist; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NodeSpec nodeSpec = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NodeSpec(); nodeSpec.Spec = _ctx.StringValue("DescribeInstance.Result.NodeSpec.spec"); nodeSpec.Disk = _ctx.IntegerValue("DescribeInstance.Result.NodeSpec.disk"); - nodeSpec.DiskType = _ctx.StringValue("DescribeInstance.Result.NodeSpec.diskType"); nodeSpec.DiskEncryption = _ctx.BooleanValue("DescribeInstance.Result.NodeSpec.diskEncryption"); + nodeSpec.DiskType = _ctx.StringValue("DescribeInstance.Result.NodeSpec.diskType"); + nodeSpec.PerformanceLevel = _ctx.StringValue("DescribeInstance.Result.NodeSpec.performanceLevel"); + nodeSpec.SpecInfo = _ctx.StringValue("DescribeInstance.Result.NodeSpec.specInfo"); result.NodeSpec = nodeSpec; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NetworkConfig networkConfig = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.vpcId"); - networkConfig.VswitchId = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.vswitchId"); networkConfig.VsArea = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.type"); + networkConfig.VswitchId = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.vswitchId"); List networkConfig_whiteIpGroupList = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.NetworkConfig.WhiteIpGroupList.Length"); i++) { DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NetworkConfig.DescribeInstance_WhiteIpGroupListItem whiteIpGroupListItem = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_NetworkConfig.DescribeInstance_WhiteIpGroupListItem(); - whiteIpGroupListItem.GroupName = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.WhiteIpGroupList["+ i +"].groupName"); whiteIpGroupListItem.WhiteIpType = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.WhiteIpGroupList["+ i +"].whiteIpType"); + whiteIpGroupListItem.GroupName = _ctx.StringValue("DescribeInstance.Result.NetworkConfig.WhiteIpGroupList["+ i +"].groupName"); List whiteIpGroupListItem_ips = new List(); for (int j = 0; j < _ctx.Length("DescribeInstance.Result.NetworkConfig.WhiteIpGroupList["+ i +"].Ips.Length"); j++) { @@ -147,30 +152,35 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) result.NetworkConfig = networkConfig; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_KibanaConfiguration kibanaConfiguration = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_KibanaConfiguration(); - kibanaConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.KibanaConfiguration.spec"); kibanaConfiguration.Amount = _ctx.IntegerValue("DescribeInstance.Result.KibanaConfiguration.amount"); + kibanaConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.KibanaConfiguration.spec"); + kibanaConfiguration.Disk = _ctx.IntegerValue("DescribeInstance.Result.KibanaConfiguration.disk"); + kibanaConfiguration.SpecInfo = _ctx.StringValue("DescribeInstance.Result.KibanaConfiguration.specInfo"); result.KibanaConfiguration = kibanaConfiguration; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_MasterConfiguration masterConfiguration = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_MasterConfiguration(); masterConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.MasterConfiguration.spec"); masterConfiguration.Amount = _ctx.IntegerValue("DescribeInstance.Result.MasterConfiguration.amount"); - masterConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.MasterConfiguration.diskType"); masterConfiguration.Disk = _ctx.IntegerValue("DescribeInstance.Result.MasterConfiguration.disk"); + masterConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.MasterConfiguration.diskType"); + masterConfiguration.SpecInfo = _ctx.StringValue("DescribeInstance.Result.MasterConfiguration.specInfo"); result.MasterConfiguration = masterConfiguration; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ClientNodeConfiguration clientNodeConfiguration = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ClientNodeConfiguration(); clientNodeConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.ClientNodeConfiguration.spec"); clientNodeConfiguration.Amount = _ctx.IntegerValue("DescribeInstance.Result.ClientNodeConfiguration.amount"); - clientNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.ClientNodeConfiguration.diskType"); clientNodeConfiguration.Disk = _ctx.IntegerValue("DescribeInstance.Result.ClientNodeConfiguration.disk"); + clientNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.ClientNodeConfiguration.diskType"); + clientNodeConfiguration.SpecInfo = _ctx.StringValue("DescribeInstance.Result.ClientNodeConfiguration.specInfo"); result.ClientNodeConfiguration = clientNodeConfiguration; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_WarmNodeConfiguration warmNodeConfiguration = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_WarmNodeConfiguration(); - warmNodeConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.WarmNodeConfiguration.spec"); warmNodeConfiguration.Amount = _ctx.IntegerValue("DescribeInstance.Result.WarmNodeConfiguration.amount"); - warmNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.WarmNodeConfiguration.diskType"); + warmNodeConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.WarmNodeConfiguration.spec"); warmNodeConfiguration.Disk = _ctx.IntegerValue("DescribeInstance.Result.WarmNodeConfiguration.disk"); warmNodeConfiguration.DiskEncryption = _ctx.BooleanValue("DescribeInstance.Result.WarmNodeConfiguration.diskEncryption"); + warmNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.WarmNodeConfiguration.diskType"); + warmNodeConfiguration.SpecInfo = _ctx.StringValue("DescribeInstance.Result.WarmNodeConfiguration.specInfo"); result.WarmNodeConfiguration = warmNodeConfiguration; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_AdvancedSetting advancedSetting = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_AdvancedSetting(); @@ -178,20 +188,21 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) result.AdvancedSetting = advancedSetting; DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ElasticDataNodeConfiguration elasticDataNodeConfiguration = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ElasticDataNodeConfiguration(); - elasticDataNodeConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.ElasticDataNodeConfiguration.spec"); elasticDataNodeConfiguration.Amount = _ctx.IntegerValue("DescribeInstance.Result.ElasticDataNodeConfiguration.amount"); - elasticDataNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.ElasticDataNodeConfiguration.diskType"); + elasticDataNodeConfiguration.Spec = _ctx.StringValue("DescribeInstance.Result.ElasticDataNodeConfiguration.spec"); elasticDataNodeConfiguration.Disk = _ctx.IntegerValue("DescribeInstance.Result.ElasticDataNodeConfiguration.disk"); elasticDataNodeConfiguration.DiskEncryption = _ctx.BooleanValue("DescribeInstance.Result.ElasticDataNodeConfiguration.diskEncryption"); + elasticDataNodeConfiguration.DiskType = _ctx.StringValue("DescribeInstance.Result.ElasticDataNodeConfiguration.diskType"); + elasticDataNodeConfiguration.SpecInfo = _ctx.StringValue("DescribeInstance.Result.ElasticDataNodeConfiguration.specInfo"); result.ElasticDataNodeConfiguration = elasticDataNodeConfiguration; List result_dictList = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.DictList.Length"); i++) { DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_DictListItem dictListItem = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_DictListItem(); - dictListItem.Name = _ctx.StringValue("DescribeInstance.Result.DictList["+ i +"].name"); dictListItem.FileSize = _ctx.LongValue("DescribeInstance.Result.DictList["+ i +"].fileSize"); - dictListItem.Type = _ctx.StringValue("DescribeInstance.Result.DictList["+ i +"].type"); dictListItem.SourceType = _ctx.StringValue("DescribeInstance.Result.DictList["+ i +"].sourceType"); + dictListItem.Name = _ctx.StringValue("DescribeInstance.Result.DictList["+ i +"].name"); + dictListItem.Type = _ctx.StringValue("DescribeInstance.Result.DictList["+ i +"].type"); result_dictList.Add(dictListItem); } @@ -200,10 +211,10 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) List result_synonymsDicts = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.SynonymsDicts.Length"); i++) { DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_SynonymsDictsItem synonymsDictsItem = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_SynonymsDictsItem(); - synonymsDictsItem.Name = _ctx.StringValue("DescribeInstance.Result.SynonymsDicts["+ i +"].name"); synonymsDictsItem.FileSize = _ctx.LongValue("DescribeInstance.Result.SynonymsDicts["+ i +"].fileSize"); - synonymsDictsItem.Type = _ctx.StringValue("DescribeInstance.Result.SynonymsDicts["+ i +"].type"); synonymsDictsItem.SourceType = _ctx.StringValue("DescribeInstance.Result.SynonymsDicts["+ i +"].sourceType"); + synonymsDictsItem.Name = _ctx.StringValue("DescribeInstance.Result.SynonymsDicts["+ i +"].name"); + synonymsDictsItem.Type = _ctx.StringValue("DescribeInstance.Result.SynonymsDicts["+ i +"].type"); result_synonymsDicts.Add(synonymsDictsItem); } @@ -212,8 +223,8 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) List result_zoneInfos = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.ZoneInfos.Length"); i++) { DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ZoneInfo zoneInfo = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_ZoneInfo(); - zoneInfo.ZoneId = _ctx.StringValue("DescribeInstance.Result.ZoneInfos["+ i +"].zoneId"); zoneInfo.Status = _ctx.StringValue("DescribeInstance.Result.ZoneInfos["+ i +"].status"); + zoneInfo.ZoneId = _ctx.StringValue("DescribeInstance.Result.ZoneInfos["+ i +"].zoneId"); result_zoneInfos.Add(zoneInfo); } @@ -222,10 +233,10 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) List result_aliwsDicts = new List(); for (int i = 0; i < _ctx.Length("DescribeInstance.Result.AliwsDicts.Length"); i++) { DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_Dict dict = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_Dict(); - dict.Name = _ctx.StringValue("DescribeInstance.Result.AliwsDicts["+ i +"].name"); dict.FileSize = _ctx.LongValue("DescribeInstance.Result.AliwsDicts["+ i +"].fileSize"); - dict.Type = _ctx.StringValue("DescribeInstance.Result.AliwsDicts["+ i +"].type"); dict.SourceType = _ctx.StringValue("DescribeInstance.Result.AliwsDicts["+ i +"].sourceType"); + dict.Name = _ctx.StringValue("DescribeInstance.Result.AliwsDicts["+ i +"].name"); + dict.Type = _ctx.StringValue("DescribeInstance.Result.AliwsDicts["+ i +"].type"); result_aliwsDicts.Add(dict); } @@ -240,6 +251,18 @@ public static DescribeInstanceResponse Unmarshall(UnmarshallerContext _ctx) result_tags.Add(tag); } result.Tags = result_tags; + + List result_ikHotDicts = new List(); + for (int i = 0; i < _ctx.Length("DescribeInstance.Result.IkHotDicts.Length"); i++) { + DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_IkHotDictsItem ikHotDictsItem = new DescribeInstanceResponse.DescribeInstance_Result.DescribeInstance_IkHotDictsItem(); + ikHotDictsItem.Type = _ctx.StringValue("DescribeInstance.Result.IkHotDicts["+ i +"].type"); + ikHotDictsItem.SourceType = _ctx.StringValue("DescribeInstance.Result.IkHotDicts["+ i +"].sourceType"); + ikHotDictsItem.FileSize = _ctx.IntegerValue("DescribeInstance.Result.IkHotDicts["+ i +"].fileSize"); + ikHotDictsItem.Name = _ctx.StringValue("DescribeInstance.Result.IkHotDicts["+ i +"].name"); + + result_ikHotDicts.Add(ikHotDictsItem); + } + result.IkHotDicts = result_ikHotDicts; describeInstanceResponse.Result = result; return describeInstanceResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeKibanaSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeKibanaSettingsResponseUnmarshaller.cs index 9f75ec9912..e9723d5da7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeKibanaSettingsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeKibanaSettingsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static DescribeKibanaSettingsResponse Unmarshall(UnmarshallerContext _ctx DescribeKibanaSettingsResponse describeKibanaSettingsResponse = new DescribeKibanaSettingsResponse(); describeKibanaSettingsResponse.HttpResponse = _ctx.HttpResponse; - describeKibanaSettingsResponse.RequestId = _ctx.StringValue("DescribeKibanaSettings.RequestId"); - describeKibanaSettingsResponse.Result = _ctx.StringValue("DescribeKibanaSettings.Result"); + describeKibanaSettingsResponse.Result = _ctx.StringValue("DescribeKibanaSettings.Result"); + describeKibanaSettingsResponse.RequestId = _ctx.StringValue("DescribeKibanaSettings.RequestId"); return describeKibanaSettingsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeLogstashResponseUnmarshaller.cs index fe6d54fb01..be62fcae51 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeLogstashResponseUnmarshaller.cs @@ -34,17 +34,17 @@ public static DescribeLogstashResponse Unmarshall(UnmarshallerContext _ctx) describeLogstashResponse.RequestId = _ctx.StringValue("DescribeLogstash.RequestId"); DescribeLogstashResponse.DescribeLogstash_Result result = new DescribeLogstashResponse.DescribeLogstash_Result(); - result.InstanceId = _ctx.StringValue("DescribeLogstash.Result.instanceId"); - result.Description = _ctx.StringValue("DescribeLogstash.Result.description"); - result.NodeAmount = _ctx.IntegerValue("DescribeLogstash.Result.nodeAmount"); + result.Config = _ctx.StringValue("DescribeLogstash.Result.config"); result.PaymentType = _ctx.StringValue("DescribeLogstash.Result.paymentType"); - result.Status = _ctx.StringValue("DescribeLogstash.Result.status"); - result.Version = _ctx.StringValue("DescribeLogstash.Result.version"); + result.ResourceGroupId = _ctx.StringValue("DescribeLogstash.Result.ResourceGroupId"); + result.NodeAmount = _ctx.IntegerValue("DescribeLogstash.Result.nodeAmount"); + result.Description = _ctx.StringValue("DescribeLogstash.Result.description"); result.CreatedAt = _ctx.StringValue("DescribeLogstash.Result.createdAt"); - result.UpdatedAt = _ctx.StringValue("DescribeLogstash.Result.updatedAt"); + result.Status = _ctx.StringValue("DescribeLogstash.Result.status"); result.VpcInstanceId = _ctx.StringValue("DescribeLogstash.Result.vpcInstanceId"); - result.Config = _ctx.StringValue("DescribeLogstash.Result.config"); - result.ResourceGroupId = _ctx.StringValue("DescribeLogstash.Result.ResourceGroupId"); + result.UpdatedAt = _ctx.StringValue("DescribeLogstash.Result.updatedAt"); + result.Version = _ctx.StringValue("DescribeLogstash.Result.version"); + result.InstanceId = _ctx.StringValue("DescribeLogstash.Result.instanceId"); List> result_extendConfigs = new List>(); for (int i = 0; i < _ctx.Length("DescribeLogstash.Result.ExtendConfigs.Length"); i++) { @@ -64,23 +64,23 @@ public static DescribeLogstashResponse Unmarshall(UnmarshallerContext _ctx) DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_NodeSpec nodeSpec = new DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_NodeSpec(); nodeSpec.Spec = _ctx.StringValue("DescribeLogstash.Result.NodeSpec.spec"); nodeSpec.Disk = _ctx.IntegerValue("DescribeLogstash.Result.NodeSpec.disk"); - nodeSpec.DiskType = _ctx.StringValue("DescribeLogstash.Result.NodeSpec.diskType"); nodeSpec.DiskEncryption = _ctx.BooleanValue("DescribeLogstash.Result.NodeSpec.diskEncryption"); + nodeSpec.DiskType = _ctx.StringValue("DescribeLogstash.Result.NodeSpec.diskType"); result.NodeSpec = nodeSpec; DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_NetworkConfig networkConfig = new DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.vpcId"); - networkConfig.VswitchId = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.vswitchId"); networkConfig.VsArea = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.type"); + networkConfig.VswitchId = _ctx.StringValue("DescribeLogstash.Result.NetworkConfig.vswitchId"); result.NetworkConfig = networkConfig; List result_endpointList = new List(); for (int i = 0; i < _ctx.Length("DescribeLogstash.Result.EndpointList.Length"); i++) { DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_Endpoint endpoint = new DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_Endpoint(); - endpoint.Host = _ctx.StringValue("DescribeLogstash.Result.EndpointList["+ i +"].host"); - endpoint.Port = _ctx.StringValue("DescribeLogstash.Result.EndpointList["+ i +"].port"); endpoint.ZoneId = _ctx.StringValue("DescribeLogstash.Result.EndpointList["+ i +"].zoneId"); + endpoint.Port = _ctx.StringValue("DescribeLogstash.Result.EndpointList["+ i +"].port"); + endpoint.Host = _ctx.StringValue("DescribeLogstash.Result.EndpointList["+ i +"].host"); result_endpointList.Add(endpoint); } @@ -99,8 +99,8 @@ public static DescribeLogstashResponse Unmarshall(UnmarshallerContext _ctx) List result_zoneInfos = new List(); for (int i = 0; i < _ctx.Length("DescribeLogstash.Result.ZoneInfos.Length"); i++) { DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_ZoneInfosItem zoneInfosItem = new DescribeLogstashResponse.DescribeLogstash_Result.DescribeLogstash_ZoneInfosItem(); - zoneInfosItem.ZoneId = _ctx.StringValue("DescribeLogstash.Result.ZoneInfos["+ i +"].zoneId"); zoneInfosItem.Status = _ctx.StringValue("DescribeLogstash.Result.ZoneInfos["+ i +"].status"); + zoneInfosItem.ZoneId = _ctx.StringValue("DescribeLogstash.Result.ZoneInfos["+ i +"].zoneId"); result_zoneInfos.Add(zoneInfosItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineManagementConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineManagementConfigResponseUnmarshaller.cs index 121af31037..ed2bcd3e69 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineManagementConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineManagementConfigResponseUnmarshaller.cs @@ -34,9 +34,9 @@ public static DescribePipelineManagementConfigResponse Unmarshall(UnmarshallerCo describePipelineManagementConfigResponse.RequestId = _ctx.StringValue("DescribePipelineManagementConfig.RequestId"); DescribePipelineManagementConfigResponse.DescribePipelineManagementConfig_Result result = new DescribePipelineManagementConfigResponse.DescribePipelineManagementConfig_Result(); - result.PipelineManagementType = _ctx.StringValue("DescribePipelineManagementConfig.Result.pipelineManagementType"); result.Endpoints = _ctx.StringValue("DescribePipelineManagementConfig.Result.endpoints"); result.UserName = _ctx.StringValue("DescribePipelineManagementConfig.Result.userName"); + result.PipelineManagementType = _ctx.StringValue("DescribePipelineManagementConfig.Result.pipelineManagementType"); result.EsInstanceId = _ctx.StringValue("DescribePipelineManagementConfig.Result.esInstanceId"); List result_pipelineIds = new List(); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineResponseUnmarshaller.cs index 37878d5020..254e17461a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribePipelineResponseUnmarshaller.cs @@ -35,17 +35,17 @@ public static DescribePipelineResponse Unmarshall(UnmarshallerContext _ctx) DescribePipelineResponse.DescribePipeline_Result result = new DescribePipelineResponse.DescribePipeline_Result(); result.PipelineId = _ctx.StringValue("DescribePipeline.Result.pipelineId"); - result.Config = _ctx.StringValue("DescribePipeline.Result.config"); - result.PipelineStatus = _ctx.StringValue("DescribePipeline.Result.pipelineStatus"); - result.GmtCreatedTime = _ctx.StringValue("DescribePipeline.Result.gmtCreatedTime"); result.GmtUpdateTime = _ctx.StringValue("DescribePipeline.Result.gmtUpdateTime"); - result.Workers = _ctx.IntegerValue("DescribePipeline.Result.workers"); - result.BatchSize = _ctx.IntegerValue("DescribePipeline.Result.batchSize"); - result.BatchDelay = _ctx.IntegerValue("DescribePipeline.Result.batchDelay"); - result.Description = _ctx.StringValue("DescribePipeline.Result.description"); result.QueueType = _ctx.StringValue("DescribePipeline.Result.queueType"); - result.QueueMaxBytes = _ctx.IntegerValue("DescribePipeline.Result.queueMaxBytes"); result.QueueCheckPointWrites = _ctx.IntegerValue("DescribePipeline.Result.queueCheckPointWrites"); + result.QueueMaxBytes = _ctx.IntegerValue("DescribePipeline.Result.queueMaxBytes"); + result.Config = _ctx.StringValue("DescribePipeline.Result.config"); + result.BatchDelay = _ctx.IntegerValue("DescribePipeline.Result.batchDelay"); + result.Workers = _ctx.IntegerValue("DescribePipeline.Result.workers"); + result.Description = _ctx.StringValue("DescribePipeline.Result.description"); + result.GmtCreatedTime = _ctx.StringValue("DescribePipeline.Result.gmtCreatedTime"); + result.BatchSize = _ctx.IntegerValue("DescribePipeline.Result.batchSize"); + result.PipelineStatus = _ctx.StringValue("DescribePipeline.Result.pipelineStatus"); describePipelineResponse.Result = result; return describePipelineResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeRegionsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeRegionsResponseUnmarshaller.cs index f61421b1e0..83844877bf 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeRegionsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeRegionsResponseUnmarshaller.cs @@ -37,10 +37,10 @@ public static DescribeRegionsResponse Unmarshall(UnmarshallerContext _ctx) for (int i = 0; i < _ctx.Length("DescribeRegions.Result.Length"); i++) { DescribeRegionsResponse.DescribeRegions_RegionInfo regionInfo = new DescribeRegionsResponse.DescribeRegions_RegionInfo(); regionInfo.RegionId = _ctx.StringValue("DescribeRegions.Result["+ i +"].regionId"); + regionInfo.Status = _ctx.StringValue("DescribeRegions.Result["+ i +"].status"); regionInfo.RegionEndpoint = _ctx.StringValue("DescribeRegions.Result["+ i +"].regionEndpoint"); regionInfo.LocalName = _ctx.StringValue("DescribeRegions.Result["+ i +"].localName"); regionInfo.ConsoleEndpoint = _ctx.StringValue("DescribeRegions.Result["+ i +"].consoleEndpoint"); - regionInfo.Status = _ctx.StringValue("DescribeRegions.Result["+ i +"].status"); describeRegionsResponse_result.Add(regionInfo); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeSnapshotSettingResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeSnapshotSettingResponseUnmarshaller.cs index 39040f3114..fd2ba7628d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeSnapshotSettingResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeSnapshotSettingResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static DescribeSnapshotSettingResponse Unmarshall(UnmarshallerContext _ct describeSnapshotSettingResponse.RequestId = _ctx.StringValue("DescribeSnapshotSetting.RequestId"); DescribeSnapshotSettingResponse.DescribeSnapshotSetting_Result result = new DescribeSnapshotSettingResponse.DescribeSnapshotSetting_Result(); - result.QuartzRegex = _ctx.StringValue("DescribeSnapshotSetting.Result.QuartzRegex"); result.Enable = _ctx.BooleanValue("DescribeSnapshotSetting.Result.Enable"); + result.QuartzRegex = _ctx.StringValue("DescribeSnapshotSetting.Result.QuartzRegex"); describeSnapshotSettingResponse.Result = result; return describeSnapshotSettingResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeXpackMonitorConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeXpackMonitorConfigResponseUnmarshaller.cs index 7e507f2ea9..b4863535c7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeXpackMonitorConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DescribeXpackMonitorConfigResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static DescribeXpackMonitorConfigResponse Unmarshall(UnmarshallerContext describeXpackMonitorConfigResponse.RequestId = _ctx.StringValue("DescribeXpackMonitorConfig.RequestId"); DescribeXpackMonitorConfigResponse.DescribeXpackMonitorConfig_Result result = new DescribeXpackMonitorConfigResponse.DescribeXpackMonitorConfig_Result(); - result.EsInstanceId = _ctx.StringValue("DescribeXpackMonitorConfig.Result.esInstanceId"); result.UserName = _ctx.StringValue("DescribeXpackMonitorConfig.Result.userName"); + result.EsInstanceId = _ctx.StringValue("DescribeXpackMonitorConfig.Result.esInstanceId"); result.Enable = _ctx.BooleanValue("DescribeXpackMonitorConfig.Result.enable"); List result_endpoints = new List(); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DiagnoseInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DiagnoseInstanceResponseUnmarshaller.cs index a073dc99f7..f27e4bdad3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DiagnoseInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DiagnoseInstanceResponseUnmarshaller.cs @@ -34,10 +34,10 @@ public static DiagnoseInstanceResponse Unmarshall(UnmarshallerContext _ctx) diagnoseInstanceResponse.RequestId = _ctx.StringValue("DiagnoseInstance.RequestId"); DiagnoseInstanceResponse.DiagnoseInstance_Result result = new DiagnoseInstanceResponse.DiagnoseInstance_Result(); + result.CreateTime = _ctx.LongValue("DiagnoseInstance.Result.createTime"); result.ReportId = _ctx.StringValue("DiagnoseInstance.Result.reportId"); - result.InstanceId = _ctx.StringValue("DiagnoseInstance.Result.instanceId"); result.State = _ctx.StringValue("DiagnoseInstance.Result.state"); - result.CreateTime = _ctx.LongValue("DiagnoseInstance.Result.createTime"); + result.InstanceId = _ctx.StringValue("DiagnoseInstance.Result.instanceId"); List result_diagnoseItems = new List(); for (int i = 0; i < _ctx.Length("DiagnoseInstance.Result.DiagnoseItems.Length"); i++) { @@ -46,11 +46,11 @@ public static DiagnoseInstanceResponse Unmarshall(UnmarshallerContext _ctx) diagnoseItemsItem.Health = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].health"); DiagnoseInstanceResponse.DiagnoseInstance_Result.DiagnoseInstance_DiagnoseItemsItem.DiagnoseInstance_Detail detail = new DiagnoseInstanceResponse.DiagnoseInstance_Result.DiagnoseInstance_DiagnoseItemsItem.DiagnoseInstance_Detail(); + detail.Type = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.type"); detail.Name = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.name"); detail.Desc = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.desc"); - detail.Type = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.type"); - detail.Suggest = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.suggest"); detail.Result = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.result"); + detail.Suggest = _ctx.StringValue("DiagnoseInstance.Result.DiagnoseItems["+ i +"].Detail.suggest"); diagnoseItemsItem.Detail = detail; result_diagnoseItems.Add(diagnoseItemsItem); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DisableKibanaPvlNetworkResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DisableKibanaPvlNetworkResponseUnmarshaller.cs new file mode 100644 index 0000000000..0c385b430b --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/DisableKibanaPvlNetworkResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class DisableKibanaPvlNetworkResponseUnmarshaller + { + public static DisableKibanaPvlNetworkResponse Unmarshall(UnmarshallerContext _ctx) + { + DisableKibanaPvlNetworkResponse disableKibanaPvlNetworkResponse = new DisableKibanaPvlNetworkResponse(); + + disableKibanaPvlNetworkResponse.HttpResponse = _ctx.HttpResponse; + disableKibanaPvlNetworkResponse.RequestId = _ctx.StringValue("DisableKibanaPvlNetwork.RequestId"); + disableKibanaPvlNetworkResponse.Result = _ctx.BooleanValue("DisableKibanaPvlNetwork.Result"); + + return disableKibanaPvlNetworkResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EnableKibanaPvlNetworkResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EnableKibanaPvlNetworkResponseUnmarshaller.cs new file mode 100644 index 0000000000..44938b9b81 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EnableKibanaPvlNetworkResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class EnableKibanaPvlNetworkResponseUnmarshaller + { + public static EnableKibanaPvlNetworkResponse Unmarshall(UnmarshallerContext _ctx) + { + EnableKibanaPvlNetworkResponse enableKibanaPvlNetworkResponse = new EnableKibanaPvlNetworkResponse(); + + enableKibanaPvlNetworkResponse.HttpResponse = _ctx.HttpResponse; + enableKibanaPvlNetworkResponse.Result = _ctx.BooleanValue("EnableKibanaPvlNetwork.Result"); + enableKibanaPvlNetworkResponse.RequestId = _ctx.StringValue("EnableKibanaPvlNetwork.RequestId"); + + return enableKibanaPvlNetworkResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedLogstashRestartTimeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedLogstashRestartTimeResponseUnmarshaller.cs index 03abb303ad..667f6be9a0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedLogstashRestartTimeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedLogstashRestartTimeResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static EstimatedLogstashRestartTimeResponse Unmarshall(UnmarshallerContex estimatedLogstashRestartTimeResponse.RequestId = _ctx.StringValue("EstimatedLogstashRestartTime.RequestId"); EstimatedLogstashRestartTimeResponse.EstimatedLogstashRestartTime_Result result = new EstimatedLogstashRestartTimeResponse.EstimatedLogstashRestartTime_Result(); - result._Value = _ctx.LongValue("EstimatedLogstashRestartTime.Result.value"); result.Unit = _ctx.StringValue("EstimatedLogstashRestartTime.Result.unit"); + result._Value = _ctx.LongValue("EstimatedLogstashRestartTime.Result.value"); estimatedLogstashRestartTimeResponse.Result = result; return estimatedLogstashRestartTimeResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedRestartTimeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedRestartTimeResponseUnmarshaller.cs index 5d519cd804..357b086351 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedRestartTimeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/EstimatedRestartTimeResponseUnmarshaller.cs @@ -34,8 +34,8 @@ public static EstimatedRestartTimeResponse Unmarshall(UnmarshallerContext _ctx) estimatedRestartTimeResponse.RequestId = _ctx.StringValue("EstimatedRestartTime.RequestId"); EstimatedRestartTimeResponse.EstimatedRestartTime_Result result = new EstimatedRestartTimeResponse.EstimatedRestartTime_Result(); - result._Value = _ctx.LongValue("EstimatedRestartTime.Result.value"); result.Unit = _ctx.StringValue("EstimatedRestartTime.Result.unit"); + result._Value = _ctx.LongValue("EstimatedRestartTime.Result.value"); estimatedRestartTimeResponse.Result = result; return estimatedRestartTimeResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetClusterDataInformationResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetClusterDataInformationResponseUnmarshaller.cs index 5fdf301e6b..4674431fc0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetClusterDataInformationResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetClusterDataInformationResponseUnmarshaller.cs @@ -37,14 +37,14 @@ public static GetClusterDataInformationResponse Unmarshall(UnmarshallerContext _ result.Connectable = _ctx.BooleanValue("GetClusterDataInformation.Result.connectable"); GetClusterDataInformationResponse.GetClusterDataInformation_Result.GetClusterDataInformation_MetaInfo metaInfo = new GetClusterDataInformationResponse.GetClusterDataInformation_Result.GetClusterDataInformation_MetaInfo(); - metaInfo.Settings = _ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.settings"); metaInfo.Mapping = _ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.mapping"); + metaInfo.Settings = _ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.settings"); - List metaInfo_indices = new List(); - for (int i = 0; i < _ctx.Length("GetClusterDataInformation.Result.MetaInfo.Indices.Length"); i++) { - metaInfo_indices.Add(_ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.Indices["+ i +"]")); + List metaInfo_typeName = new List(); + for (int i = 0; i < _ctx.Length("GetClusterDataInformation.Result.MetaInfo.TypeName.Length"); i++) { + metaInfo_typeName.Add(_ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.TypeName["+ i +"]")); } - metaInfo.Indices = metaInfo_indices; + metaInfo.TypeName = metaInfo_typeName; List metaInfo_fields = new List(); for (int i = 0; i < _ctx.Length("GetClusterDataInformation.Result.MetaInfo.Fields.Length"); i++) { @@ -52,11 +52,11 @@ public static GetClusterDataInformationResponse Unmarshall(UnmarshallerContext _ } metaInfo.Fields = metaInfo_fields; - List metaInfo_typeName = new List(); - for (int i = 0; i < _ctx.Length("GetClusterDataInformation.Result.MetaInfo.TypeName.Length"); i++) { - metaInfo_typeName.Add(_ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.TypeName["+ i +"]")); + List metaInfo_indices = new List(); + for (int i = 0; i < _ctx.Length("GetClusterDataInformation.Result.MetaInfo.Indices.Length"); i++) { + metaInfo_indices.Add(_ctx.StringValue("GetClusterDataInformation.Result.MetaInfo.Indices["+ i +"]")); } - metaInfo.TypeName = metaInfo_typeName; + metaInfo.Indices = metaInfo_indices; result.MetaInfo = metaInfo; getClusterDataInformationResponse.Result = result; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetElastictaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetElastictaskResponseUnmarshaller.cs index 8f0b4e0500..48deb992a1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetElastictaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetElastictaskResponseUnmarshaller.cs @@ -37,9 +37,9 @@ public static GetElastictaskResponse Unmarshall(UnmarshallerContext _ctx) GetElastictaskResponse.GetElastictask_Result.GetElastictask_ElasticExpansionTask elasticExpansionTask = new GetElastictaskResponse.GetElastictask_Result.GetElastictask_ElasticExpansionTask(); elasticExpansionTask.TriggerType = _ctx.StringValue("GetElastictask.Result.ElasticExpansionTask.triggerType"); - elasticExpansionTask.CronExpression = _ctx.StringValue("GetElastictask.Result.ElasticExpansionTask.cronExpression"); - elasticExpansionTask.ElasticNodeCount = _ctx.IntegerValue("GetElastictask.Result.ElasticExpansionTask.elasticNodeCount"); elasticExpansionTask.ReplicaCount = _ctx.IntegerValue("GetElastictask.Result.ElasticExpansionTask.replicaCount"); + elasticExpansionTask.ElasticNodeCount = _ctx.IntegerValue("GetElastictask.Result.ElasticExpansionTask.elasticNodeCount"); + elasticExpansionTask.CronExpression = _ctx.StringValue("GetElastictask.Result.ElasticExpansionTask.cronExpression"); List elasticExpansionTask_targetIndices = new List(); for (int i = 0; i < _ctx.Length("GetElastictask.Result.ElasticExpansionTask.TargetIndices.Length"); i++) { @@ -50,9 +50,9 @@ public static GetElastictaskResponse Unmarshall(UnmarshallerContext _ctx) GetElastictaskResponse.GetElastictask_Result.GetElastictask_ElasticShrinkTask elasticShrinkTask = new GetElastictaskResponse.GetElastictask_Result.GetElastictask_ElasticShrinkTask(); elasticShrinkTask.TriggerType = _ctx.StringValue("GetElastictask.Result.ElasticShrinkTask.triggerType"); - elasticShrinkTask.CronExpression = _ctx.StringValue("GetElastictask.Result.ElasticShrinkTask.cronExpression"); - elasticShrinkTask.ElasticNodeCount = _ctx.IntegerValue("GetElastictask.Result.ElasticShrinkTask.elasticNodeCount"); elasticShrinkTask.ReplicaCount = _ctx.IntegerValue("GetElastictask.Result.ElasticShrinkTask.replicaCount"); + elasticShrinkTask.ElasticNodeCount = _ctx.IntegerValue("GetElastictask.Result.ElasticShrinkTask.elasticNodeCount"); + elasticShrinkTask.CronExpression = _ctx.StringValue("GetElastictask.Result.ElasticShrinkTask.cronExpression"); List elasticShrinkTask_targetIndices1 = new List(); for (int i = 0; i < _ctx.Length("GetElastictask.Result.ElasticShrinkTask.TargetIndices.Length"); i++) { diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaAlertsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaAlertsResponseUnmarshaller.cs index ce8198840f..37f9a7bd8a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaAlertsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaAlertsResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static GetEmonGrafanaAlertsResponse Unmarshall(UnmarshallerContext _ctx) GetEmonGrafanaAlertsResponse getEmonGrafanaAlertsResponse = new GetEmonGrafanaAlertsResponse(); getEmonGrafanaAlertsResponse.HttpResponse = _ctx.HttpResponse; - getEmonGrafanaAlertsResponse.RequestId = _ctx.StringValue("GetEmonGrafanaAlerts.RequestId"); getEmonGrafanaAlertsResponse.Code = _ctx.StringValue("GetEmonGrafanaAlerts.Code"); getEmonGrafanaAlertsResponse.Message = _ctx.StringValue("GetEmonGrafanaAlerts.Message"); + getEmonGrafanaAlertsResponse.RequestId = _ctx.StringValue("GetEmonGrafanaAlerts.RequestId"); getEmonGrafanaAlertsResponse.Success = _ctx.BooleanValue("GetEmonGrafanaAlerts.Success"); return getEmonGrafanaAlertsResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaDashboardsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaDashboardsResponseUnmarshaller.cs index bd490deb49..cc6e0ccd2c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaDashboardsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonGrafanaDashboardsResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static GetEmonGrafanaDashboardsResponse Unmarshall(UnmarshallerContext _c GetEmonGrafanaDashboardsResponse getEmonGrafanaDashboardsResponse = new GetEmonGrafanaDashboardsResponse(); getEmonGrafanaDashboardsResponse.HttpResponse = _ctx.HttpResponse; - getEmonGrafanaDashboardsResponse.RequestId = _ctx.StringValue("GetEmonGrafanaDashboards.RequestId"); getEmonGrafanaDashboardsResponse.Code = _ctx.StringValue("GetEmonGrafanaDashboards.Code"); getEmonGrafanaDashboardsResponse.Message = _ctx.StringValue("GetEmonGrafanaDashboards.Message"); + getEmonGrafanaDashboardsResponse.RequestId = _ctx.StringValue("GetEmonGrafanaDashboards.RequestId"); getEmonGrafanaDashboardsResponse.Success = _ctx.BooleanValue("GetEmonGrafanaDashboards.Success"); return getEmonGrafanaDashboardsResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonMonitorDataResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonMonitorDataResponseUnmarshaller.cs index 9eac0b7ea3..9ccd6106f8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonMonitorDataResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetEmonMonitorDataResponseUnmarshaller.cs @@ -31,20 +31,20 @@ public static GetEmonMonitorDataResponse Unmarshall(UnmarshallerContext _ctx) GetEmonMonitorDataResponse getEmonMonitorDataResponse = new GetEmonMonitorDataResponse(); getEmonMonitorDataResponse.HttpResponse = _ctx.HttpResponse; - getEmonMonitorDataResponse.RequestId = _ctx.StringValue("GetEmonMonitorData.RequestId"); getEmonMonitorDataResponse.Code = _ctx.StringValue("GetEmonMonitorData.Code"); getEmonMonitorDataResponse.Message = _ctx.StringValue("GetEmonMonitorData.Message"); + getEmonMonitorDataResponse.RequestId = _ctx.StringValue("GetEmonMonitorData.RequestId"); getEmonMonitorDataResponse.Success = _ctx.BooleanValue("GetEmonMonitorData.Success"); List getEmonMonitorDataResponse_result = new List(); for (int i = 0; i < _ctx.Length("GetEmonMonitorData.Result.Length"); i++) { GetEmonMonitorDataResponse.GetEmonMonitorData_ResultItem resultItem = new GetEmonMonitorDataResponse.GetEmonMonitorData_ResultItem(); - resultItem.Dps = _ctx.StringValue("GetEmonMonitorData.Result["+ i +"].dps"); resultItem.Integrity = _ctx.FloatValue("GetEmonMonitorData.Result["+ i +"].integrity"); - resultItem.MessageWatermark = _ctx.LongValue("GetEmonMonitorData.Result["+ i +"].messageWatermark"); - resultItem.Metric = _ctx.StringValue("GetEmonMonitorData.Result["+ i +"].metric"); resultItem.Summary = _ctx.FloatValue("GetEmonMonitorData.Result["+ i +"].summary"); + resultItem.MessageWatermark = _ctx.LongValue("GetEmonMonitorData.Result["+ i +"].messageWatermark"); + resultItem.Dps = _ctx.StringValue("GetEmonMonitorData.Result["+ i +"].dps"); resultItem.Tags = _ctx.StringValue("GetEmonMonitorData.Result["+ i +"].tags"); + resultItem.Metric = _ctx.StringValue("GetEmonMonitorData.Result["+ i +"].metric"); getEmonMonitorDataResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionConfigurationResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionConfigurationResponseUnmarshaller.cs index 241e393844..49b8a27adc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionConfigurationResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionConfigurationResponseUnmarshaller.cs @@ -38,18 +38,6 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx result.RegionId = _ctx.StringValue("GetRegionConfiguration.Result.regionId"); result.CreateUrl = _ctx.StringValue("GetRegionConfiguration.Result.createUrl"); - List result_zones = new List(); - for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.Zones.Length"); i++) { - result_zones.Add(_ctx.StringValue("GetRegionConfiguration.Result.Zones["+ i +"]")); - } - result.Zones = result_zones; - - List result_esVersions = new List(); - for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.EsVersions.Length"); i++) { - result_esVersions.Add(_ctx.StringValue("GetRegionConfiguration.Result.EsVersions["+ i +"]")); - } - result.EsVersions = result_esVersions; - List result_masterSpec = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.MasterSpec.Length"); i++) { result_masterSpec.Add(_ctx.StringValue("GetRegionConfiguration.Result.MasterSpec["+ i +"]")); @@ -62,36 +50,48 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx } result.ClientNodeSpec = result_clientNodeSpec; + List result_zones = new List(); + for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.Zones.Length"); i++) { + result_zones.Add(_ctx.StringValue("GetRegionConfiguration.Result.Zones["+ i +"]")); + } + result.Zones = result_zones; + List result_instanceSupportNodes = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.InstanceSupportNodes.Length"); i++) { result_instanceSupportNodes.Add(_ctx.StringValue("GetRegionConfiguration.Result.InstanceSupportNodes["+ i +"]")); } result.InstanceSupportNodes = result_instanceSupportNodes; + List result_esVersions = new List(); + for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.EsVersions.Length"); i++) { + result_esVersions.Add(_ctx.StringValue("GetRegionConfiguration.Result.EsVersions["+ i +"]")); + } + result.EsVersions = result_esVersions; + GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Node node = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Node(); - node.MinAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.Node.minAmount"); node.MaxAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.Node.maxAmount"); + node.MinAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.Node.minAmount"); result.Node = node; GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_JvmConfine jvmConfine = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_JvmConfine(); jvmConfine.Memory = _ctx.IntegerValue("GetRegionConfiguration.Result.JvmConfine.memory"); - List jvmConfine_supportGcs = new List(); - for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.JvmConfine.SupportGcs.Length"); i++) { - jvmConfine_supportGcs.Add(_ctx.StringValue("GetRegionConfiguration.Result.JvmConfine.SupportGcs["+ i +"]")); - } - jvmConfine.SupportGcs = jvmConfine_supportGcs; - List jvmConfine_supportEsVersions = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.JvmConfine.SupportEsVersions.Length"); i++) { jvmConfine_supportEsVersions.Add(_ctx.StringValue("GetRegionConfiguration.Result.JvmConfine.SupportEsVersions["+ i +"]")); } jvmConfine.SupportEsVersions = jvmConfine_supportEsVersions; + + List jvmConfine_supportGcs = new List(); + for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.JvmConfine.SupportGcs.Length"); i++) { + jvmConfine_supportGcs.Add(_ctx.StringValue("GetRegionConfiguration.Result.JvmConfine.SupportGcs["+ i +"]")); + } + jvmConfine.SupportGcs = jvmConfine_supportGcs; result.JvmConfine = jvmConfine; GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_ClientNodeAmountRange clientNodeAmountRange = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_ClientNodeAmountRange(); - clientNodeAmountRange.MinAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeAmountRange.minAmount"); clientNodeAmountRange.MaxAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeAmountRange.maxAmount"); + clientNodeAmountRange.MinAmount = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeAmountRange.minAmount"); result.ClientNodeAmountRange = clientNodeAmountRange; GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_WarmNodeProperties warmNodeProperties = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_WarmNodeProperties(); @@ -110,11 +110,11 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List warmNodeProperties_diskList = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.WarmNodeProperties.DiskList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_WarmNodeProperties.GetRegionConfiguration_Disk1 disk1 = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_WarmNodeProperties.GetRegionConfiguration_Disk1(); - disk1.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].diskType"); - disk1.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].maxSize"); - disk1.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].minSize"); disk1.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].scaleLimit"); + disk1.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].minSize"); disk1.DiskEncryption = _ctx.BooleanValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].diskEncryption"); + disk1.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].maxSize"); + disk1.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].diskType"); List disk1_valueLimitSet2 = new List(); for (int j = 0; j < _ctx.Length("GetRegionConfiguration.Result.WarmNodeProperties.DiskList["+ i +"].ValueLimitSet.Length"); j++) { @@ -157,11 +157,11 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List elasticNodeProperties_diskList7 = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_ElasticNodeProperties.GetRegionConfiguration_Disk8 disk8 = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_ElasticNodeProperties.GetRegionConfiguration_Disk8(); - disk8.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].diskType"); - disk8.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].maxSize"); - disk8.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].minSize"); disk8.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].scaleLimit"); + disk8.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].minSize"); disk8.DiskEncryption = _ctx.BooleanValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].diskEncryption"); + disk8.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].maxSize"); + disk8.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].diskType"); List disk8_valueLimitSet9 = new List(); for (int j = 0; j < _ctx.Length("GetRegionConfiguration.Result.ElasticNodeProperties.DiskList["+ i +"].ValueLimitSet.Length"); j++) { @@ -177,10 +177,10 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List result_dataDiskList = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.DataDiskList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_DataDiskListItem dataDiskListItem = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_DataDiskListItem(); - dataDiskListItem.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].diskType"); + dataDiskListItem.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].scaleLimit"); dataDiskListItem.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].minSize"); dataDiskListItem.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].maxSize"); - dataDiskListItem.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].scaleLimit"); + dataDiskListItem.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.DataDiskList["+ i +"].diskType"); List dataDiskListItem_valueLimitSet = new List(); for (int j = 0; j < _ctx.Length("GetRegionConfiguration.Result.DataDiskList["+ i +"].ValueLimitSet.Length"); j++) { @@ -205,13 +205,13 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List result_nodeSpecList = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.NodeSpecList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_NodeSpecListItem nodeSpecListItem = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_NodeSpecListItem(); - nodeSpecListItem.CpuCount = _ctx.IntegerValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].cpuCount"); nodeSpecListItem.MemorySize = _ctx.IntegerValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].memorySize"); - nodeSpecListItem.Enable = _ctx.BooleanValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].enable"); - nodeSpecListItem.Spec = _ctx.StringValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].spec"); + nodeSpecListItem.CpuCount = _ctx.IntegerValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].cpuCount"); nodeSpecListItem.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].diskType"); + nodeSpecListItem.Spec = _ctx.StringValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].spec"); nodeSpecListItem.Disk = _ctx.IntegerValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].disk"); nodeSpecListItem.SpecGroupType = _ctx.StringValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].specGroupType"); + nodeSpecListItem.Enable = _ctx.BooleanValue("GetRegionConfiguration.Result.NodeSpecList["+ i +"].enable"); result_nodeSpecList.Add(nodeSpecListItem); } @@ -220,10 +220,10 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List result_clientNodeDiskList = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.ClientNodeDiskList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Disk disk = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Disk(); - disk.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].diskType"); + disk.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].scaleLimit"); disk.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].minSize"); disk.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].maxSize"); - disk.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].scaleLimit"); + disk.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.ClientNodeDiskList["+ i +"].diskType"); result_clientNodeDiskList.Add(disk); } @@ -232,10 +232,10 @@ public static GetRegionConfigurationResponse Unmarshall(UnmarshallerContext _ctx List result_masterDiskList = new List(); for (int i = 0; i < _ctx.Length("GetRegionConfiguration.Result.MasterDiskList.Length"); i++) { GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Disk disk = new GetRegionConfigurationResponse.GetRegionConfiguration_Result.GetRegionConfiguration_Disk(); - disk.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].diskType"); + disk.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].scaleLimit"); disk.MinSize = _ctx.IntegerValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].minSize"); disk.MaxSize = _ctx.IntegerValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].maxSize"); - disk.ScaleLimit = _ctx.IntegerValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].scaleLimit"); + disk.DiskType = _ctx.StringValue("GetRegionConfiguration.Result.MasterDiskList["+ i +"].diskType"); result_masterDiskList.Add(disk); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionalInstanceConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionalInstanceConfigResponseUnmarshaller.cs new file mode 100644 index 0000000000..57e24fef58 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetRegionalInstanceConfigResponseUnmarshaller.cs @@ -0,0 +1,153 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class GetRegionalInstanceConfigResponseUnmarshaller + { + public static GetRegionalInstanceConfigResponse Unmarshall(UnmarshallerContext _ctx) + { + GetRegionalInstanceConfigResponse getRegionalInstanceConfigResponse = new GetRegionalInstanceConfigResponse(); + + getRegionalInstanceConfigResponse.HttpResponse = _ctx.HttpResponse; + getRegionalInstanceConfigResponse.RequestId = _ctx.StringValue("GetRegionalInstanceConfig.RequestId"); + + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result result = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result(); + result.SpecInfoMap = _ctx.StringValue("GetRegionalInstanceConfig.Result.specInfoMap"); + + List result_clientSpecs = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.ClientSpecs.Length"); i++) { + result_clientSpecs.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.ClientSpecs["+ i +"]")); + } + result.ClientSpecs = result_clientSpecs; + + List result_dataNodeSpecs = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.DataNodeSpecs.Length"); i++) { + result_dataNodeSpecs.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.DataNodeSpecs["+ i +"]")); + } + result.DataNodeSpecs = result_dataNodeSpecs; + + List result_kibanaSpecs = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.KibanaSpecs.Length"); i++) { + result_kibanaSpecs.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.KibanaSpecs["+ i +"]")); + } + result.KibanaSpecs = result_kibanaSpecs; + + List result_masterSpecs = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.MasterSpecs.Length"); i++) { + result_masterSpecs.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.MasterSpecs["+ i +"]")); + } + result.MasterSpecs = result_masterSpecs; + + List result_versions = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.Versions.Length"); i++) { + result_versions.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.Versions["+ i +"]")); + } + result.Versions = result_versions; + + List result_masterAmountRange = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.MasterAmountRange.Length"); i++) { + result_masterAmountRange.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.MasterAmountRange["+ i +"]")); + } + result.MasterAmountRange = result_masterAmountRange; + + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_ClientNodeAmountRange clientNodeAmountRange = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_ClientNodeAmountRange(); + clientNodeAmountRange.MinAmount = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.ClientNodeAmountRange.minAmount"); + clientNodeAmountRange.MaxAmount = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.ClientNodeAmountRange.maxAmount"); + result.ClientNodeAmountRange = clientNodeAmountRange; + + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeAmountRange dataNodeAmountRange = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeAmountRange(); + dataNodeAmountRange.MinAmount = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeAmountRange.minAmount"); + dataNodeAmountRange.MaxAmount = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeAmountRange.maxAmount"); + result.DataNodeAmountRange = dataNodeAmountRange; + + List result_masterDiskList = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.MasterDiskList.Length"); i++) { + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_MasterDiskListItem masterDiskListItem = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_MasterDiskListItem(); + masterDiskListItem.MinSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].minSize"); + masterDiskListItem.MaxSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].maxSize"); + masterDiskListItem.ScaleLimit = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].scaleLimit"); + masterDiskListItem.DiskType = _ctx.StringValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].diskType"); + + List masterDiskListItem_subClassificationConfines = new List(); + for (int j = 0; j < _ctx.Length("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].SubClassificationConfines.Length"); j++) { + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_MasterDiskListItem.GetRegionalInstanceConfig_SubClassificationConfinesItem subClassificationConfinesItem = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_MasterDiskListItem.GetRegionalInstanceConfig_SubClassificationConfinesItem(); + subClassificationConfinesItem.MinSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].SubClassificationConfines["+ j +"].minSize"); + subClassificationConfinesItem.MaxSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].SubClassificationConfines["+ j +"].maxSize"); + subClassificationConfinesItem.PerformanceLevel = _ctx.StringValue("GetRegionalInstanceConfig.Result.MasterDiskList["+ i +"].SubClassificationConfines["+ j +"].performanceLevel"); + + masterDiskListItem_subClassificationConfines.Add(subClassificationConfinesItem); + } + masterDiskListItem.SubClassificationConfines = masterDiskListItem_subClassificationConfines; + + result_masterDiskList.Add(masterDiskListItem); + } + result.MasterDiskList = result_masterDiskList; + + List result_clientNodeDiskList = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.ClientNodeDiskList.Length"); i++) { + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_ClientNodeDiskListItem clientNodeDiskListItem = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_ClientNodeDiskListItem(); + clientNodeDiskListItem.MinSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.ClientNodeDiskList["+ i +"].minSize"); + clientNodeDiskListItem.MaxSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.ClientNodeDiskList["+ i +"].maxSize"); + clientNodeDiskListItem.ScaleLimit = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.ClientNodeDiskList["+ i +"].scaleLimit"); + clientNodeDiskListItem.DiskType = _ctx.StringValue("GetRegionalInstanceConfig.Result.ClientNodeDiskList["+ i +"].diskType"); + + result_clientNodeDiskList.Add(clientNodeDiskListItem); + } + result.ClientNodeDiskList = result_clientNodeDiskList; + + List result_dataNodeDiskList = new List(); + for (int i = 0; i < _ctx.Length("GetRegionalInstanceConfig.Result.DataNodeDiskList.Length"); i++) { + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeDiskListItem dataNodeDiskListItem = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeDiskListItem(); + dataNodeDiskListItem.MinSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].minSize"); + dataNodeDiskListItem.MaxSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].maxSize"); + dataNodeDiskListItem.ScaleLimit = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].scaleLimit"); + dataNodeDiskListItem.DiskType = _ctx.StringValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].diskType"); + + List dataNodeDiskListItem_valueLimitSet = new List(); + for (int j = 0; j < _ctx.Length("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].ValueLimitSet.Length"); j++) { + dataNodeDiskListItem_valueLimitSet.Add(_ctx.StringValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].ValueLimitSet["+ j +"]")); + } + dataNodeDiskListItem.ValueLimitSet = dataNodeDiskListItem_valueLimitSet; + + List dataNodeDiskListItem_subClassificationConfines1 = new List(); + for (int j = 0; j < _ctx.Length("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].SubClassificationConfines.Length"); j++) { + GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeDiskListItem.GetRegionalInstanceConfig_SubClassificationConfinesItem2 subClassificationConfinesItem2 = new GetRegionalInstanceConfigResponse.GetRegionalInstanceConfig_Result.GetRegionalInstanceConfig_DataNodeDiskListItem.GetRegionalInstanceConfig_SubClassificationConfinesItem2(); + subClassificationConfinesItem2.MinSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].SubClassificationConfines["+ j +"].minSize"); + subClassificationConfinesItem2.MaxSize = _ctx.IntegerValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].SubClassificationConfines["+ j +"].maxSize"); + subClassificationConfinesItem2.PerformanceLevel = _ctx.StringValue("GetRegionalInstanceConfig.Result.DataNodeDiskList["+ i +"].SubClassificationConfines["+ j +"].performanceLevel"); + + dataNodeDiskListItem_subClassificationConfines1.Add(subClassificationConfinesItem2); + } + dataNodeDiskListItem.SubClassificationConfines1 = dataNodeDiskListItem_subClassificationConfines1; + + result_dataNodeDiskList.Add(dataNodeDiskListItem); + } + result.DataNodeDiskList = result_dataNodeDiskList; + getRegionalInstanceConfigResponse.Result = result; + + return getRegionalInstanceConfigResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetSuggestShrinkableNodesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetSuggestShrinkableNodesResponseUnmarshaller.cs index ceca047cfe..4939578663 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetSuggestShrinkableNodesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetSuggestShrinkableNodesResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static GetSuggestShrinkableNodesResponse Unmarshall(UnmarshallerContext _ List getSuggestShrinkableNodesResponse_result = new List(); for (int i = 0; i < _ctx.Length("GetSuggestShrinkableNodes.Result.Length"); i++) { GetSuggestShrinkableNodesResponse.GetSuggestShrinkableNodes_ResultItem resultItem = new GetSuggestShrinkableNodesResponse.GetSuggestShrinkableNodes_ResultItem(); - resultItem.Host = _ctx.StringValue("GetSuggestShrinkableNodes.Result["+ i +"].host"); resultItem.Port = _ctx.IntegerValue("GetSuggestShrinkableNodes.Result["+ i +"].port"); + resultItem.Host = _ctx.StringValue("GetSuggestShrinkableNodes.Result["+ i +"].host"); getSuggestShrinkableNodesResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetTransferableNodesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetTransferableNodesResponseUnmarshaller.cs index f13223ab95..912226e5f9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetTransferableNodesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/GetTransferableNodesResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static GetTransferableNodesResponse Unmarshall(UnmarshallerContext _ctx) List getTransferableNodesResponse_result = new List(); for (int i = 0; i < _ctx.Length("GetTransferableNodes.Result.Length"); i++) { GetTransferableNodesResponse.GetTransferableNodes_ResultItem resultItem = new GetTransferableNodesResponse.GetTransferableNodes_ResultItem(); - resultItem.Host = _ctx.StringValue("GetTransferableNodes.Result["+ i +"].host"); resultItem.Port = _ctx.IntegerValue("GetTransferableNodes.Result["+ i +"].port"); + resultItem.Host = _ctx.StringValue("GetTransferableNodes.Result["+ i +"].host"); getTransferableNodesResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InitializeOperationRoleResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InitializeOperationRoleResponseUnmarshaller.cs index c94b1d85a5..20cc6455bc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InitializeOperationRoleResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InitializeOperationRoleResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static InitializeOperationRoleResponse Unmarshall(UnmarshallerContext _ct InitializeOperationRoleResponse initializeOperationRoleResponse = new InitializeOperationRoleResponse(); initializeOperationRoleResponse.HttpResponse = _ctx.HttpResponse; - initializeOperationRoleResponse.RequestId = _ctx.StringValue("InitializeOperationRole.RequestId"); - initializeOperationRoleResponse.Result = _ctx.BooleanValue("InitializeOperationRole.Result"); + initializeOperationRoleResponse.Result = _ctx.BooleanValue("InitializeOperationRole.Result"); + initializeOperationRoleResponse.RequestId = _ctx.StringValue("InitializeOperationRole.RequestId"); return initializeOperationRoleResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InstallAckOperatorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InstallAckOperatorResponseUnmarshaller.cs index ca363d2b97..89c9609431 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InstallAckOperatorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InstallAckOperatorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static InstallAckOperatorResponse Unmarshall(UnmarshallerContext _ctx) InstallAckOperatorResponse installAckOperatorResponse = new InstallAckOperatorResponse(); installAckOperatorResponse.HttpResponse = _ctx.HttpResponse; - installAckOperatorResponse.RequestId = _ctx.StringValue("InstallAckOperator.RequestId"); - installAckOperatorResponse.Result = _ctx.BooleanValue("InstallAckOperator.Result"); + installAckOperatorResponse.Result = _ctx.BooleanValue("InstallAckOperator.Result"); + installAckOperatorResponse.RequestId = _ctx.StringValue("InstallAckOperator.RequestId"); return installAckOperatorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptElasticsearchTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptElasticsearchTaskResponseUnmarshaller.cs index 0cf210f8c8..009a70979d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptElasticsearchTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptElasticsearchTaskResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static InterruptElasticsearchTaskResponse Unmarshall(UnmarshallerContext InterruptElasticsearchTaskResponse interruptElasticsearchTaskResponse = new InterruptElasticsearchTaskResponse(); interruptElasticsearchTaskResponse.HttpResponse = _ctx.HttpResponse; - interruptElasticsearchTaskResponse.RequestId = _ctx.StringValue("InterruptElasticsearchTask.RequestId"); interruptElasticsearchTaskResponse.Code = _ctx.StringValue("InterruptElasticsearchTask.Code"); interruptElasticsearchTaskResponse.Message = _ctx.StringValue("InterruptElasticsearchTask.Message"); + interruptElasticsearchTaskResponse.RequestId = _ctx.StringValue("InterruptElasticsearchTask.RequestId"); interruptElasticsearchTaskResponse.Result = _ctx.BooleanValue("InterruptElasticsearchTask.Result"); return interruptElasticsearchTaskResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptLogstashTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptLogstashTaskResponseUnmarshaller.cs index f575c8be97..31380b0e58 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptLogstashTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/InterruptLogstashTaskResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static InterruptLogstashTaskResponse Unmarshall(UnmarshallerContext _ctx) InterruptLogstashTaskResponse interruptLogstashTaskResponse = new InterruptLogstashTaskResponse(); interruptLogstashTaskResponse.HttpResponse = _ctx.HttpResponse; - interruptLogstashTaskResponse.RequestId = _ctx.StringValue("InterruptLogstashTask.RequestId"); interruptLogstashTaskResponse.Code = _ctx.StringValue("InterruptLogstashTask.Code"); interruptLogstashTaskResponse.Message = _ctx.StringValue("InterruptLogstashTask.Message"); + interruptLogstashTaskResponse.RequestId = _ctx.StringValue("InterruptLogstashTask.RequestId"); interruptLogstashTaskResponse.Result = _ctx.BooleanValue("InterruptLogstashTask.Result"); return interruptLogstashTaskResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAckClustersResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAckClustersResponseUnmarshaller.cs index 40cfe9bfb3..95b683a799 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAckClustersResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAckClustersResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static ListAckClustersResponse Unmarshall(UnmarshallerContext _ctx) List listAckClustersResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListAckClusters.Result.Length"); i++) { ListAckClustersResponse.ListAckClusters_ResultItem resultItem = new ListAckClustersResponse.ListAckClusters_ResultItem(); - resultItem.ClusterId = _ctx.StringValue("ListAckClusters.Result["+ i +"].clusterId"); - resultItem.Name = _ctx.StringValue("ListAckClusters.Result["+ i +"].name"); resultItem.ClusterType = _ctx.StringValue("ListAckClusters.Result["+ i +"].clusterType"); resultItem.VpcId = _ctx.StringValue("ListAckClusters.Result["+ i +"].vpcId"); + resultItem.Name = _ctx.StringValue("ListAckClusters.Result["+ i +"].name"); + resultItem.ClusterId = _ctx.StringValue("ListAckClusters.Result["+ i +"].clusterId"); listAckClustersResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListActionRecordsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListActionRecordsResponseUnmarshaller.cs new file mode 100644 index 0000000000..bb889e24fc --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListActionRecordsResponseUnmarshaller.cs @@ -0,0 +1,108 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListActionRecordsResponseUnmarshaller + { + public static ListActionRecordsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListActionRecordsResponse listActionRecordsResponse = new ListActionRecordsResponse(); + + listActionRecordsResponse.HttpResponse = _ctx.HttpResponse; + listActionRecordsResponse.RequestId = _ctx.StringValue("ListActionRecords.RequestId"); + + List listActionRecordsResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListActionRecords.Result.Length"); i++) { + ListActionRecordsResponse.ListActionRecords_ActionRecord actionRecord = new ListActionRecordsResponse.ListActionRecords_ActionRecord(); + actionRecord.ActionName = _ctx.StringValue("ListActionRecords.Result["+ i +"].ActionName"); + actionRecord.ActionParams = _ctx.StringValue("ListActionRecords.Result["+ i +"].ActionParams"); + actionRecord.EndTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].EndTime"); + actionRecord.InstanceId = _ctx.StringValue("ListActionRecords.Result["+ i +"].InstanceId"); + actionRecord.Process = _ctx.StringValue("ListActionRecords.Result["+ i +"].Process"); + actionRecord.RecordDiff = _ctx.StringValue("ListActionRecords.Result["+ i +"].RecordDiff"); + actionRecord.RequestId = _ctx.StringValue("ListActionRecords.Result["+ i +"].RequestId"); + actionRecord.StartTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].StartTime"); + actionRecord.StateType = _ctx.StringValue("ListActionRecords.Result["+ i +"].StateType"); + actionRecord.UserId = _ctx.StringValue("ListActionRecords.Result["+ i +"].UserId"); + actionRecord.UserType = _ctx.StringValue("ListActionRecords.Result["+ i +"].UserType"); + actionRecord.OwnerId = _ctx.StringValue("ListActionRecords.Result["+ i +"].OwnerId"); + actionRecord.UserInfo = _ctx.StringValue("ListActionRecords.Result["+ i +"].UserInfo"); + actionRecord.MetaNow = _ctx.StringValue("ListActionRecords.Result["+ i +"].MetaNow"); + actionRecord.MetaOld = _ctx.StringValue("ListActionRecords.Result["+ i +"].MetaOld"); + + List actionRecord_actionResultAccessList = new List(); + for (int j = 0; j < _ctx.Length("ListActionRecords.Result["+ i +"].ActionResultAccessList.Length"); j++) { + actionRecord_actionResultAccessList.Add(_ctx.StringValue("ListActionRecords.Result["+ i +"].ActionResultAccessList["+ j +"]")); + } + actionRecord.ActionResultAccessList = actionRecord_actionResultAccessList; + + List actionRecord_recordIds = new List(); + for (int j = 0; j < _ctx.Length("ListActionRecords.Result["+ i +"].RecordIds.Length"); j++) { + actionRecord_recordIds.Add(_ctx.StringValue("ListActionRecords.Result["+ i +"].RecordIds["+ j +"]")); + } + actionRecord.RecordIds = actionRecord_recordIds; + + List actionRecord_statusInfo = new List(); + for (int j = 0; j < _ctx.Length("ListActionRecords.Result["+ i +"].StatusInfo.Length"); j++) { + ListActionRecordsResponse.ListActionRecords_ActionRecord.ListActionRecords_StatusInfoItem statusInfoItem = new ListActionRecordsResponse.ListActionRecords_ActionRecord.ListActionRecords_StatusInfoItem(); + statusInfoItem.SubState = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].subState"); + statusInfoItem.NodeCount = _ctx.IntegerValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].nodeCount"); + statusInfoItem.CompleteNodeCount = _ctx.IntegerValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].completeNodeCount"); + statusInfoItem.Exception = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].exception"); + statusInfoItem.LatencyMills = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].latencyMills"); + statusInfoItem.Process = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].process"); + statusInfoItem.StartTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].startTime"); + statusInfoItem.EndTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].endTime"); + statusInfoItem.StateType = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].stateType"); + + List statusInfoItem_subStatusInfo = new List(); + for (int k = 0; k < _ctx.Length("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo.Length"); k++) { + ListActionRecordsResponse.ListActionRecords_ActionRecord.ListActionRecords_StatusInfoItem.ListActionRecords_SubStatusInfoItem subStatusInfoItem = new ListActionRecordsResponse.ListActionRecords_ActionRecord.ListActionRecords_StatusInfoItem.ListActionRecords_SubStatusInfoItem(); + subStatusInfoItem.SubState = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].subState"); + subStatusInfoItem.NodeCount = _ctx.IntegerValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].nodeCount"); + subStatusInfoItem.CompleteNodeCount = _ctx.IntegerValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].completeNodeCount"); + subStatusInfoItem.Exception = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].exception"); + subStatusInfoItem.LatencyMills = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].latencyMills"); + subStatusInfoItem.Process = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].process"); + subStatusInfoItem.StartTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].startTime"); + subStatusInfoItem.EndTime = _ctx.LongValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].endTime"); + subStatusInfoItem.StateType = _ctx.StringValue("ListActionRecords.Result["+ i +"].StatusInfo["+ j +"].SubStatusInfo["+ k +"].stateType"); + + statusInfoItem_subStatusInfo.Add(subStatusInfoItem); + } + statusInfoItem.SubStatusInfo = statusInfoItem_subStatusInfo; + + actionRecord_statusInfo.Add(statusInfoItem); + } + actionRecord.StatusInfo = actionRecord_statusInfo; + + listActionRecordsResponse_result.Add(actionRecord); + } + listActionRecordsResponse.Result = listActionRecordsResponse_result; + + return listActionRecordsResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAlternativeSnapshotReposResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAlternativeSnapshotReposResponseUnmarshaller.cs index 83ded9447e..78950d3104 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAlternativeSnapshotReposResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAlternativeSnapshotReposResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static ListAlternativeSnapshotReposResponse Unmarshall(UnmarshallerContex List listAlternativeSnapshotReposResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListAlternativeSnapshotRepos.Result.Length"); i++) { ListAlternativeSnapshotReposResponse.ListAlternativeSnapshotRepos_Repo repo = new ListAlternativeSnapshotReposResponse.ListAlternativeSnapshotRepos_Repo(); - repo.InstanceId = _ctx.StringValue("ListAlternativeSnapshotRepos.Result["+ i +"].instanceId"); repo.RepoPath = _ctx.StringValue("ListAlternativeSnapshotRepos.Result["+ i +"].repoPath"); + repo.InstanceId = _ctx.StringValue("ListAlternativeSnapshotRepos.Result["+ i +"].instanceId"); listAlternativeSnapshotReposResponse_result.Add(repo); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListApmResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListApmResponseUnmarshaller.cs index 33de22286e..b9e2c44f20 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListApmResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListApmResponseUnmarshaller.cs @@ -37,28 +37,28 @@ public static ListApmResponse Unmarshall(UnmarshallerContext _ctx) headers.XTotalCount = _ctx.LongValue("ListApm.Headers.X-Total-Count"); listApmResponse.Headers = headers; - List listApmResponse_result = new List(); + List listApmResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListApm.Result.Length"); i++) { - ListApmResponse.ListApm_返回结果 返回结果 = new ListApmResponse.ListApm_返回结果(); - 返回结果.CreatedAt = _ctx.StringValue("ListApm.Result["+ i +"].createdAt"); - 返回结果.DeployedReplica = _ctx.LongValue("ListApm.Result["+ i +"].deployedReplica"); - 返回结果.Description = _ctx.StringValue("ListApm.Result["+ i +"].description"); - 返回结果.InstanceId = _ctx.StringValue("ListApm.Result["+ i +"].instanceId"); - 返回结果.NodeAmount = _ctx.LongValue("ListApm.Result["+ i +"].nodeAmount"); - 返回结果.OutputES = _ctx.StringValue("ListApm.Result["+ i +"].outputES"); - 返回结果.OutputESUserName = _ctx.StringValue("ListApm.Result["+ i +"].outputESUserName"); - 返回结果.OwnerId = _ctx.StringValue("ListApm.Result["+ i +"].ownerId"); - 返回结果.PaymentType = _ctx.StringValue("ListApm.Result["+ i +"].paymentType"); - 返回结果.Region = _ctx.StringValue("ListApm.Result["+ i +"].region"); - 返回结果.Replica = _ctx.LongValue("ListApm.Result["+ i +"].replica"); - 返回结果.ResourceSpec = _ctx.StringValue("ListApm.Result["+ i +"].resourceSpec"); - 返回结果.Status = _ctx.StringValue("ListApm.Result["+ i +"].status"); - 返回结果.Version = _ctx.StringValue("ListApm.Result["+ i +"].version"); - 返回结果.VpcId = _ctx.StringValue("ListApm.Result["+ i +"].vpcId"); - 返回结果.VsArea = _ctx.StringValue("ListApm.Result["+ i +"].vsArea"); - 返回结果.VswitchId = _ctx.StringValue("ListApm.Result["+ i +"].vswitchId"); + ListApmResponse.ListApm__Object _object = new ListApmResponse.ListApm__Object(); + _object.CreatedAt = _ctx.StringValue("ListApm.Result["+ i +"].createdAt"); + _object.DeployedReplica = _ctx.LongValue("ListApm.Result["+ i +"].deployedReplica"); + _object.Description = _ctx.StringValue("ListApm.Result["+ i +"].description"); + _object.InstanceId = _ctx.StringValue("ListApm.Result["+ i +"].instanceId"); + _object.NodeAmount = _ctx.LongValue("ListApm.Result["+ i +"].nodeAmount"); + _object.OutputES = _ctx.StringValue("ListApm.Result["+ i +"].outputES"); + _object.OutputESUserName = _ctx.StringValue("ListApm.Result["+ i +"].outputESUserName"); + _object.OwnerId = _ctx.StringValue("ListApm.Result["+ i +"].ownerId"); + _object.PaymentType = _ctx.StringValue("ListApm.Result["+ i +"].paymentType"); + _object.Region = _ctx.StringValue("ListApm.Result["+ i +"].region"); + _object.Replica = _ctx.LongValue("ListApm.Result["+ i +"].replica"); + _object.ResourceSpec = _ctx.StringValue("ListApm.Result["+ i +"].resourceSpec"); + _object.Status = _ctx.StringValue("ListApm.Result["+ i +"].status"); + _object.Version = _ctx.StringValue("ListApm.Result["+ i +"].version"); + _object.VpcId = _ctx.StringValue("ListApm.Result["+ i +"].vpcId"); + _object.VsArea = _ctx.StringValue("ListApm.Result["+ i +"].vsArea"); + _object.VswitchId = _ctx.StringValue("ListApm.Result["+ i +"].vswitchId"); - listApmResponse_result.Add(返回结果); + listApmResponse_result.Add(_object); } listApmResponse.Result = listApmResponse_result; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAvailableEsInstanceIdsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAvailableEsInstanceIdsResponseUnmarshaller.cs index 8bafefa7a7..2d09551fd2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAvailableEsInstanceIdsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListAvailableEsInstanceIdsResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static ListAvailableEsInstanceIdsResponse Unmarshall(UnmarshallerContext List listAvailableEsInstanceIdsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListAvailableEsInstanceIds.Result.Length"); i++) { ListAvailableEsInstanceIdsResponse.ListAvailableEsInstanceIds_ResultItem resultItem = new ListAvailableEsInstanceIdsResponse.ListAvailableEsInstanceIds_ResultItem(); - resultItem.EsInstanceId = _ctx.StringValue("ListAvailableEsInstanceIds.Result["+ i +"].esInstanceId"); resultItem.Endpoint = _ctx.StringValue("ListAvailableEsInstanceIds.Result["+ i +"].endpoint"); resultItem.Description = _ctx.StringValue("ListAvailableEsInstanceIds.Result["+ i +"].description"); resultItem.KibanaEndpoint = _ctx.StringValue("ListAvailableEsInstanceIds.Result["+ i +"].kibanaEndpoint"); + resultItem.EsInstanceId = _ctx.StringValue("ListAvailableEsInstanceIds.Result["+ i +"].esInstanceId"); listAvailableEsInstanceIdsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListCollectorsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListCollectorsResponseUnmarshaller.cs index c6f6120ba6..27abe7b815 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListCollectorsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListCollectorsResponseUnmarshaller.cs @@ -40,16 +40,16 @@ public static ListCollectorsResponse Unmarshall(UnmarshallerContext _ctx) List listCollectorsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListCollectors.Result.Length"); i++) { ListCollectorsResponse.ListCollectors_ResultItem resultItem = new ListCollectorsResponse.ListCollectors_ResultItem(); - resultItem.GmtCreatedTime = _ctx.StringValue("ListCollectors.Result["+ i +"].gmtCreatedTime"); - resultItem.GmtUpdateTime = _ctx.StringValue("ListCollectors.Result["+ i +"].gmtUpdateTime"); - resultItem.Name = _ctx.StringValue("ListCollectors.Result["+ i +"].name"); resultItem.ResId = _ctx.StringValue("ListCollectors.Result["+ i +"].resId"); - resultItem.ResVersion = _ctx.StringValue("ListCollectors.Result["+ i +"].resVersion"); + resultItem.GmtUpdateTime = _ctx.StringValue("ListCollectors.Result["+ i +"].gmtUpdateTime"); + resultItem.DryRun = _ctx.BooleanValue("ListCollectors.Result["+ i +"].dryRun"); + resultItem.OwnerId = _ctx.StringValue("ListCollectors.Result["+ i +"].ownerId"); resultItem.VpcId = _ctx.StringValue("ListCollectors.Result["+ i +"].vpcId"); resultItem.ResType = _ctx.StringValue("ListCollectors.Result["+ i +"].resType"); - resultItem.OwnerId = _ctx.StringValue("ListCollectors.Result["+ i +"].ownerId"); + resultItem.ResVersion = _ctx.StringValue("ListCollectors.Result["+ i +"].resVersion"); + resultItem.GmtCreatedTime = _ctx.StringValue("ListCollectors.Result["+ i +"].gmtCreatedTime"); resultItem.Status = _ctx.StringValue("ListCollectors.Result["+ i +"].status"); - resultItem.DryRun = _ctx.BooleanValue("ListCollectors.Result["+ i +"].dryRun"); + resultItem.Name = _ctx.StringValue("ListCollectors.Result["+ i +"].name"); List resultItem_collectorPaths = new List(); for (int j = 0; j < _ctx.Length("ListCollectors.Result["+ i +"].CollectorPaths.Length"); j++) { @@ -60,8 +60,8 @@ public static ListCollectorsResponse Unmarshall(UnmarshallerContext _ctx) List resultItem_configs = new List(); for (int j = 0; j < _ctx.Length("ListCollectors.Result["+ i +"].Configs.Length"); j++) { ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ConfigsItem configsItem = new ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ConfigsItem(); - configsItem.FileName = _ctx.StringValue("ListCollectors.Result["+ i +"].Configs["+ j +"].fileName"); configsItem.Content = _ctx.StringValue("ListCollectors.Result["+ i +"].Configs["+ j +"].content"); + configsItem.FileName = _ctx.StringValue("ListCollectors.Result["+ i +"].Configs["+ j +"].fileName"); resultItem_configs.Add(configsItem); } @@ -70,18 +70,18 @@ public static ListCollectorsResponse Unmarshall(UnmarshallerContext _ctx) List resultItem_extendConfigs = new List(); for (int j = 0; j < _ctx.Length("ListCollectors.Result["+ i +"].ExtendConfigs.Length"); j++) { ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ExtendConfigsItem extendConfigsItem = new ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ExtendConfigsItem(); - extendConfigsItem.ConfigType = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].configType"); - extendConfigsItem.InstanceId = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].instanceId"); - extendConfigsItem.InstanceType = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].instanceType"); + extendConfigsItem.SuccessPodsCount = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].successPodsCount"); extendConfigsItem.Protocol = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].protocol"); extendConfigsItem.UserName = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].userName"); - extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].enableMonitoring"); + extendConfigsItem.TotalPodsCount = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].totalPodsCount"); extendConfigsItem.Type = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].type"); + extendConfigsItem.KibanaHost = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].kibanaHost"); + extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].enableMonitoring"); + extendConfigsItem.ConfigType = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].configType"); + extendConfigsItem.InstanceType = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].instanceType"); extendConfigsItem.GroupId = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].groupId"); extendConfigsItem.Host = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].host"); - extendConfigsItem.KibanaHost = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].kibanaHost"); - extendConfigsItem.TotalPodsCount = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].totalPodsCount"); - extendConfigsItem.SuccessPodsCount = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].successPodsCount"); + extendConfigsItem.InstanceId = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].instanceId"); List extendConfigsItem_hosts = new List(); for (int k = 0; k < _ctx.Length("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].Hosts.Length"); k++) { @@ -92,8 +92,8 @@ public static ListCollectorsResponse Unmarshall(UnmarshallerContext _ctx) List extendConfigsItem_machines = new List(); for (int k = 0; k < _ctx.Length("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].Machines.Length"); k++) { ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ExtendConfigsItem.ListCollectors_MachinesItem machinesItem = new ListCollectorsResponse.ListCollectors_ResultItem.ListCollectors_ExtendConfigsItem.ListCollectors_MachinesItem(); - machinesItem.InstanceId = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].Machines["+ k +"].instanceId"); machinesItem.AgentStatus = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].Machines["+ k +"].agentStatus"); + machinesItem.InstanceId = _ctx.StringValue("ListCollectors.Result["+ i +"].ExtendConfigs["+ j +"].Machines["+ k +"].instanceId"); extendConfigsItem_machines.Add(machinesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListComponentIndicesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListComponentIndicesResponseUnmarshaller.cs new file mode 100644 index 0000000000..3401afe5d4 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListComponentIndicesResponseUnmarshaller.cs @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListComponentIndicesResponseUnmarshaller + { + public static ListComponentIndicesResponse Unmarshall(UnmarshallerContext _ctx) + { + ListComponentIndicesResponse listComponentIndicesResponse = new ListComponentIndicesResponse(); + + listComponentIndicesResponse.HttpResponse = _ctx.HttpResponse; + listComponentIndicesResponse.RequestId = _ctx.StringValue("ListComponentIndices.RequestId"); + + ListComponentIndicesResponse.ListComponentIndices_Headers headers = new ListComponentIndicesResponse.ListComponentIndices_Headers(); + headers.XTotalCount = _ctx.LongValue("ListComponentIndices.Headers.X-Total-Count"); + listComponentIndicesResponse.Headers = headers; + + List listComponentIndicesResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListComponentIndices.Result.Length"); i++) { + ListComponentIndicesResponse.ListComponentIndices_ResultItem resultItem = new ListComponentIndicesResponse.ListComponentIndices_ResultItem(); + resultItem.Name = _ctx.StringValue("ListComponentIndices.Result["+ i +"].name"); + + List resultItem_composed = new List(); + for (int j = 0; j < _ctx.Length("ListComponentIndices.Result["+ i +"].Composed.Length"); j++) { + resultItem_composed.Add(_ctx.StringValue("ListComponentIndices.Result["+ i +"].Composed["+ j +"]")); + } + resultItem.Composed = resultItem_composed; + + ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content content = new ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content(); + content.Version = _ctx.LongValue("ListComponentIndices.Result["+ i +"].Content.version"); + content._Meta = _ctx.StringValue("ListComponentIndices.Result["+ i +"].Content._meta"); + + ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template template = new ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template(); + + ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings settings = new ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings(); + + ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings.ListComponentIndices_Index index = new ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings.ListComponentIndices_Index(); + index.Codec = _ctx.StringValue("ListComponentIndices.Result["+ i +"].Content.Template.Settings.Index.codec"); + + ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings.ListComponentIndices_Index.ListComponentIndices_Lifecycle lifecycle = new ListComponentIndicesResponse.ListComponentIndices_ResultItem.ListComponentIndices_Content.ListComponentIndices_Template.ListComponentIndices_Settings.ListComponentIndices_Index.ListComponentIndices_Lifecycle(); + lifecycle.Name = _ctx.StringValue("ListComponentIndices.Result["+ i +"].Content.Template.Settings.Index.Lifecycle.name"); + index.Lifecycle = lifecycle; + settings.Index = index; + template.Settings = settings; + content.Template = template; + resultItem.Content = content; + + listComponentIndicesResponse_result.Add(resultItem); + } + listComponentIndicesResponse.Result = listComponentIndicesResponse_result; + + return listComponentIndicesResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListConnectedClustersResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListConnectedClustersResponseUnmarshaller.cs index 263af67aa2..3a9153060f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListConnectedClustersResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListConnectedClustersResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static ListConnectedClustersResponse Unmarshall(UnmarshallerContext _ctx) List listConnectedClustersResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListConnectedClusters.Result.Length"); i++) { ListConnectedClustersResponse.ListConnectedClusters_ResultItem resultItem = new ListConnectedClustersResponse.ListConnectedClusters_ResultItem(); - resultItem.Instances = _ctx.StringValue("ListConnectedClusters.Result["+ i +"].instances"); resultItem.NetworkType = _ctx.StringValue("ListConnectedClusters.Result["+ i +"].networkType"); + resultItem.Instances = _ctx.StringValue("ListConnectedClusters.Result["+ i +"].instances"); listConnectedClustersResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataStreamsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataStreamsResponseUnmarshaller.cs index f5fb7c5de3..aebe4f9d2c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataStreamsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataStreamsResponseUnmarshaller.cs @@ -34,29 +34,29 @@ public static ListDataStreamsResponse Unmarshall(UnmarshallerContext _ctx) listDataStreamsResponse.RequestId = _ctx.StringValue("ListDataStreams.RequestId"); ListDataStreamsResponse.ListDataStreams_Headers headers = new ListDataStreamsResponse.ListDataStreams_Headers(); - headers.XManagedCount = _ctx.IntegerValue("ListDataStreams.Headers.X-Managed-Count"); headers.XManagedStorageSize = _ctx.LongValue("ListDataStreams.Headers.X-Managed-StorageSize"); + headers.XManagedCount = _ctx.IntegerValue("ListDataStreams.Headers.X-Managed-Count"); listDataStreamsResponse.Headers = headers; List listDataStreamsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListDataStreams.Result.Length"); i++) { ListDataStreamsResponse.ListDataStreams_ResultItem resultItem = new ListDataStreamsResponse.ListDataStreams_ResultItem(); - resultItem.Health = _ctx.StringValue("ListDataStreams.Result["+ i +"].health"); resultItem.TotalStorageSize = _ctx.LongValue("ListDataStreams.Result["+ i +"].totalStorageSize"); - resultItem.Name = _ctx.StringValue("ListDataStreams.Result["+ i +"].name"); - resultItem.ManagedStorageSize = _ctx.LongValue("ListDataStreams.Result["+ i +"].managedStorageSize"); resultItem.IndexTemplateName = _ctx.StringValue("ListDataStreams.Result["+ i +"].indexTemplateName"); resultItem.IlmPolicyName = _ctx.StringValue("ListDataStreams.Result["+ i +"].ilmPolicyName"); + resultItem.Name = _ctx.StringValue("ListDataStreams.Result["+ i +"].name"); + resultItem.Health = _ctx.StringValue("ListDataStreams.Result["+ i +"].health"); + resultItem.ManagedStorageSize = _ctx.LongValue("ListDataStreams.Result["+ i +"].managedStorageSize"); List resultItem_indices = new List(); for (int j = 0; j < _ctx.Length("ListDataStreams.Result["+ i +"].Indices.Length"); j++) { ListDataStreamsResponse.ListDataStreams_ResultItem.ListDataStreams_IndicesItem indicesItem = new ListDataStreamsResponse.ListDataStreams_ResultItem.ListDataStreams_IndicesItem(); - indicesItem.Name = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].name"); - indicesItem.Health = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].health"); - indicesItem.Size = _ctx.LongValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].size"); - indicesItem.CreateTime = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].createTime"); indicesItem.IsManaged = _ctx.BooleanValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].isManaged"); + indicesItem.CreateTime = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].createTime"); + indicesItem.Size = _ctx.LongValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].size"); indicesItem.ManagedStatus = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].managedStatus"); + indicesItem.Name = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].name"); + indicesItem.Health = _ctx.StringValue("ListDataStreams.Result["+ i +"].Indices["+ j +"].health"); resultItem_indices.Add(indicesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataTasksResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataTasksResponseUnmarshaller.cs index e33e5d7657..cd5d94ff1a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataTasksResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDataTasksResponseUnmarshaller.cs @@ -37,26 +37,26 @@ public static ListDataTasksResponse Unmarshall(UnmarshallerContext _ctx) for (int i = 0; i < _ctx.Length("ListDataTasks.Result.Length"); i++) { ListDataTasksResponse.ListDataTasks_ResultItem resultItem = new ListDataTasksResponse.ListDataTasks_ResultItem(); resultItem.CreateTime = _ctx.StringValue("ListDataTasks.Result["+ i +"].createTime"); - resultItem.Status = _ctx.StringValue("ListDataTasks.Result["+ i +"].status"); resultItem.TaskId = _ctx.StringValue("ListDataTasks.Result["+ i +"].taskId"); + resultItem.Status = _ctx.StringValue("ListDataTasks.Result["+ i +"].status"); ListDataTasksResponse.ListDataTasks_ResultItem.ListDataTasks_SinkCluster sinkCluster = new ListDataTasksResponse.ListDataTasks_ResultItem.ListDataTasks_SinkCluster(); - sinkCluster.DataSourceType = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.dataSourceType"); - sinkCluster.Endpoint = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.endpoint"); sinkCluster.Index = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.index"); sinkCluster.Type = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.type"); + sinkCluster.Endpoint = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.endpoint"); sinkCluster.VpcId = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.vpcId"); - sinkCluster.VpcInstanceId = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.vpcInstanceId"); sinkCluster.VpcInstancePort = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.vpcInstancePort"); + sinkCluster.VpcInstanceId = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.vpcInstanceId"); + sinkCluster.DataSourceType = _ctx.StringValue("ListDataTasks.Result["+ i +"].SinkCluster.dataSourceType"); resultItem.SinkCluster = sinkCluster; ListDataTasksResponse.ListDataTasks_ResultItem.ListDataTasks_SourceCluster sourceCluster = new ListDataTasksResponse.ListDataTasks_ResultItem.ListDataTasks_SourceCluster(); - sourceCluster.DataSourceType = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.dataSourceType"); sourceCluster.Index = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.index"); - sourceCluster.Mapping = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.mapping"); - sourceCluster.Routing = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.routing"); sourceCluster.Settings = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.settings"); + sourceCluster.Mapping = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.mapping"); sourceCluster.Type = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.type"); + sourceCluster.Routing = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.routing"); + sourceCluster.DataSourceType = _ctx.StringValue("ListDataTasks.Result["+ i +"].SourceCluster.dataSourceType"); resultItem.SourceCluster = sourceCluster; listDataTasksResponse_result.Add(resultItem); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDefaultCollectorConfigurationsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDefaultCollectorConfigurationsResponseUnmarshaller.cs index 3ba292f4f3..5664f9625d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDefaultCollectorConfigurationsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDefaultCollectorConfigurationsResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static ListDefaultCollectorConfigurationsResponse Unmarshall(Unmarshaller List listDefaultCollectorConfigurationsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListDefaultCollectorConfigurations.Result.Length"); i++) { ListDefaultCollectorConfigurationsResponse.ListDefaultCollectorConfigurations_ResultItem resultItem = new ListDefaultCollectorConfigurationsResponse.ListDefaultCollectorConfigurations_ResultItem(); - resultItem.FileName = _ctx.StringValue("ListDefaultCollectorConfigurations.Result["+ i +"].fileName"); resultItem.Content = _ctx.StringValue("ListDefaultCollectorConfigurations.Result["+ i +"].content"); + resultItem.FileName = _ctx.StringValue("ListDefaultCollectorConfigurations.Result["+ i +"].fileName"); listDefaultCollectorConfigurationsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDeprecatedTemplatesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDeprecatedTemplatesResponseUnmarshaller.cs new file mode 100644 index 0000000000..eb8ff4d876 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDeprecatedTemplatesResponseUnmarshaller.cs @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListDeprecatedTemplatesResponseUnmarshaller + { + public static ListDeprecatedTemplatesResponse Unmarshall(UnmarshallerContext _ctx) + { + ListDeprecatedTemplatesResponse listDeprecatedTemplatesResponse = new ListDeprecatedTemplatesResponse(); + + listDeprecatedTemplatesResponse.HttpResponse = _ctx.HttpResponse; + listDeprecatedTemplatesResponse.RequestId = _ctx.StringValue("ListDeprecatedTemplates.RequestId"); + + ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_Headers headers = new ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_Headers(); + headers.XTotalCount = _ctx.LongValue("ListDeprecatedTemplates.Headers.X-Total-Count"); + listDeprecatedTemplatesResponse.Headers = headers; + + List listDeprecatedTemplatesResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListDeprecatedTemplates.Result.Length"); i++) { + ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_ResultItem resultItem = new ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_ResultItem(); + resultItem.DataStream = _ctx.BooleanValue("ListDeprecatedTemplates.Result["+ i +"].dataStream"); + resultItem.IndexTemplate = _ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].indexTemplate"); + resultItem.Order = _ctx.LongValue("ListDeprecatedTemplates.Result["+ i +"].order"); + resultItem.Version = _ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].version"); + + List resultItem_indexPatterns = new List(); + for (int j = 0; j < _ctx.Length("ListDeprecatedTemplates.Result["+ i +"].IndexPatterns.Length"); j++) { + resultItem_indexPatterns.Add(_ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].IndexPatterns["+ j +"]")); + } + resultItem.IndexPatterns = resultItem_indexPatterns; + + ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_ResultItem.ListDeprecatedTemplates_Template template = new ListDeprecatedTemplatesResponse.ListDeprecatedTemplates_ResultItem.ListDeprecatedTemplates_Template(); + template.Aliases = _ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].Template.aliases"); + template.Mappings = _ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].Template.mappings"); + template.Settings = _ctx.StringValue("ListDeprecatedTemplates.Result["+ i +"].Template.settings"); + resultItem.Template = template; + + listDeprecatedTemplatesResponse_result.Add(resultItem); + } + listDeprecatedTemplatesResponse.Result = listDeprecatedTemplatesResponse_result; + + return listDeprecatedTemplatesResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnoseReportResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnoseReportResponseUnmarshaller.cs index 3a7fad08d8..f7a17b900e 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnoseReportResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnoseReportResponseUnmarshaller.cs @@ -40,12 +40,12 @@ public static ListDiagnoseReportResponse Unmarshall(UnmarshallerContext _ctx) List listDiagnoseReportResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListDiagnoseReport.Result.Length"); i++) { ListDiagnoseReportResponse.ListDiagnoseReport_ResultItem resultItem = new ListDiagnoseReportResponse.ListDiagnoseReport_ResultItem(); + resultItem.Trigger = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].trigger"); + resultItem.CreateTime = _ctx.LongValue("ListDiagnoseReport.Result["+ i +"].createTime"); resultItem.ReportId = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].reportId"); - resultItem.InstanceId = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].instanceId"); resultItem.State = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].state"); - resultItem.Trigger = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].trigger"); + resultItem.InstanceId = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].instanceId"); resultItem.Health = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].health"); - resultItem.CreateTime = _ctx.LongValue("ListDiagnoseReport.Result["+ i +"].createTime"); List resultItem_diagnoseItems = new List(); for (int j = 0; j < _ctx.Length("ListDiagnoseReport.Result["+ i +"].DiagnoseItems.Length"); j++) { @@ -54,11 +54,11 @@ public static ListDiagnoseReportResponse Unmarshall(UnmarshallerContext _ctx) diagnoseItemsItem.Health = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].health"); ListDiagnoseReportResponse.ListDiagnoseReport_ResultItem.ListDiagnoseReport_DiagnoseItemsItem.ListDiagnoseReport_Detail detail = new ListDiagnoseReportResponse.ListDiagnoseReport_ResultItem.ListDiagnoseReport_DiagnoseItemsItem.ListDiagnoseReport_Detail(); + detail.Type = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.type"); detail.Name = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.name"); detail.Desc = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.desc"); - detail.Type = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.type"); - detail.Suggest = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.suggest"); detail.Result = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.result"); + detail.Suggest = _ctx.StringValue("ListDiagnoseReport.Result["+ i +"].DiagnoseItems["+ j +"].Detail.suggest"); diagnoseItemsItem.Detail = detail; resultItem_diagnoseItems.Add(diagnoseItemsItem); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnosisItemsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnosisItemsResponseUnmarshaller.cs new file mode 100644 index 0000000000..98a240d396 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDiagnosisItemsResponseUnmarshaller.cs @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListDiagnosisItemsResponseUnmarshaller + { + public static ListDiagnosisItemsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListDiagnosisItemsResponse listDiagnosisItemsResponse = new ListDiagnosisItemsResponse(); + + listDiagnosisItemsResponse.HttpResponse = _ctx.HttpResponse; + listDiagnosisItemsResponse.RequestId = _ctx.StringValue("ListDiagnosisItems.RequestId"); + + List listDiagnosisItemsResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListDiagnosisItems.Result.Length"); i++) { + ListDiagnosisItemsResponse.ListDiagnosisItems_ResultItem resultItem = new ListDiagnosisItemsResponse.ListDiagnosisItems_ResultItem(); + resultItem.Key = _ctx.StringValue("ListDiagnosisItems.Result["+ i +"].key"); + resultItem.Name = _ctx.StringValue("ListDiagnosisItems.Result["+ i +"].name"); + resultItem.Description = _ctx.StringValue("ListDiagnosisItems.Result["+ i +"].description"); + + listDiagnosisItemsResponse_result.Add(resultItem); + } + listDiagnosisItemsResponse.Result = listDiagnosisItemsResponse_result; + + return listDiagnosisItemsResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictInformationResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictInformationResponseUnmarshaller.cs index 20219a66dc..07ea0147aa 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictInformationResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictInformationResponseUnmarshaller.cs @@ -34,12 +34,12 @@ public static ListDictInformationResponse Unmarshall(UnmarshallerContext _ctx) listDictInformationResponse.RequestId = _ctx.StringValue("ListDictInformation.RequestId"); ListDictInformationResponse.ListDictInformation_Result result = new ListDictInformationResponse.ListDictInformation_Result(); - result.FileSize = _ctx.LongValue("ListDictInformation.Result.fileSize"); result.Type = _ctx.StringValue("ListDictInformation.Result.type"); + result.FileSize = _ctx.LongValue("ListDictInformation.Result.fileSize"); ListDictInformationResponse.ListDictInformation_Result.ListDictInformation_OssObject ossObject = new ListDictInformationResponse.ListDictInformation_Result.ListDictInformation_OssObject(); - ossObject.BucketName = _ctx.StringValue("ListDictInformation.Result.OssObject.bucketName"); ossObject.Key = _ctx.StringValue("ListDictInformation.Result.OssObject.key"); + ossObject.BucketName = _ctx.StringValue("ListDictInformation.Result.OssObject.bucketName"); ossObject.Etag = _ctx.StringValue("ListDictInformation.Result.OssObject.etag"); result.OssObject = ossObject; listDictInformationResponse.Result = result; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictsResponseUnmarshaller.cs index c134a9b736..75d55ce463 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListDictsResponseUnmarshaller.cs @@ -40,11 +40,11 @@ public static ListDictsResponse Unmarshall(UnmarshallerContext _ctx) List listDictsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListDicts.Result.Length"); i++) { ListDictsResponse.ListDicts_ResultItem resultItem = new ListDictsResponse.ListDicts_ResultItem(); - resultItem.Name = _ctx.StringValue("ListDicts.Result["+ i +"].name"); resultItem.FileSize = _ctx.LongValue("ListDicts.Result["+ i +"].fileSize"); - resultItem.Type = _ctx.StringValue("ListDicts.Result["+ i +"].type"); - resultItem.SourceType = _ctx.StringValue("ListDicts.Result["+ i +"].sourceType"); resultItem.DownloadUrl = _ctx.StringValue("ListDicts.Result["+ i +"].downloadUrl"); + resultItem.SourceType = _ctx.StringValue("ListDicts.Result["+ i +"].sourceType"); + resultItem.Type = _ctx.StringValue("ListDicts.Result["+ i +"].type"); + resultItem.Name = _ctx.StringValue("ListDicts.Result["+ i +"].name"); listDictsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListEcsInstancesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListEcsInstancesResponseUnmarshaller.cs index c4159fa4f1..9ab89a4c2a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListEcsInstancesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListEcsInstancesResponseUnmarshaller.cs @@ -40,18 +40,18 @@ public static ListEcsInstancesResponse Unmarshall(UnmarshallerContext _ctx) List listEcsInstancesResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListEcsInstances.Result.Length"); i++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem resultItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem(); - resultItem.EcsInstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].ecsInstanceId"); + resultItem.CloudAssistantStatus = _ctx.StringValue("ListEcsInstances.Result["+ i +"].cloudAssistantStatus"); resultItem.EcsInstanceName = _ctx.StringValue("ListEcsInstances.Result["+ i +"].ecsInstanceName"); - resultItem.Status = _ctx.StringValue("ListEcsInstances.Result["+ i +"].status"); + resultItem.EcsInstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].ecsInstanceId"); resultItem.Tags = _ctx.StringValue("ListEcsInstances.Result["+ i +"].tags"); resultItem.OsType = _ctx.StringValue("ListEcsInstances.Result["+ i +"].osType"); - resultItem.CloudAssistantStatus = _ctx.StringValue("ListEcsInstances.Result["+ i +"].cloudAssistantStatus"); + resultItem.Status = _ctx.StringValue("ListEcsInstances.Result["+ i +"].status"); List resultItem_ipAddress = new List(); for (int j = 0; j < _ctx.Length("ListEcsInstances.Result["+ i +"].IpAddress.Length"); j++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_IpAddressItem ipAddressItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_IpAddressItem(); - ipAddressItem.Host = _ctx.StringValue("ListEcsInstances.Result["+ i +"].IpAddress["+ j +"].host"); ipAddressItem.IpType = _ctx.StringValue("ListEcsInstances.Result["+ i +"].IpAddress["+ j +"].ipType"); + ipAddressItem.Host = _ctx.StringValue("ListEcsInstances.Result["+ i +"].IpAddress["+ j +"].host"); resultItem_ipAddress.Add(ipAddressItem); } @@ -60,16 +60,16 @@ public static ListEcsInstancesResponse Unmarshall(UnmarshallerContext _ctx) List resultItem_collectors = new List(); for (int j = 0; j < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors.Length"); j++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem collectorsItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem(); - collectorsItem.GmtCreatedTime = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].gmtCreatedTime"); - collectorsItem.GmtUpdateTime = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].gmtUpdateTime"); - collectorsItem.Name = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].name"); collectorsItem.ResId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].resId"); - collectorsItem.ResVersion = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].resVersion"); + collectorsItem.GmtUpdateTime = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].gmtUpdateTime"); + collectorsItem.DryRun = _ctx.BooleanValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].dryRun"); + collectorsItem.OwnerId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ownerId"); collectorsItem.VpcId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].vpcId"); collectorsItem.ResType = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].resType"); - collectorsItem.OwnerId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ownerId"); + collectorsItem.ResVersion = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].resVersion"); + collectorsItem.GmtCreatedTime = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].gmtCreatedTime"); collectorsItem.Status = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].status"); - collectorsItem.DryRun = _ctx.BooleanValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].dryRun"); + collectorsItem.Name = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].name"); List collectorsItem_collectorPaths = new List(); for (int k = 0; k < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].CollectorPaths.Length"); k++) { @@ -80,8 +80,8 @@ public static ListEcsInstancesResponse Unmarshall(UnmarshallerContext _ctx) List collectorsItem_configs = new List(); for (int k = 0; k < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].Configs.Length"); k++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ConfigsItem configsItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ConfigsItem(); - configsItem.FileName = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].Configs["+ k +"].fileName"); configsItem.Content = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].Configs["+ k +"].content"); + configsItem.FileName = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].Configs["+ k +"].fileName"); collectorsItem_configs.Add(configsItem); } @@ -90,14 +90,14 @@ public static ListEcsInstancesResponse Unmarshall(UnmarshallerContext _ctx) List collectorsItem_extendConfigs = new List(); for (int k = 0; k < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs.Length"); k++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ExtendConfigsItem extendConfigsItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ExtendConfigsItem(); + extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].enableMonitoring"); + extendConfigsItem.GroupId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].groupId"); extendConfigsItem.ConfigType = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].configType"); - extendConfigsItem.InstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].instanceId"); extendConfigsItem.InstanceType = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].instanceType"); extendConfigsItem.Protocol = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].protocol"); extendConfigsItem.UserName = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].userName"); - extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].enableMonitoring"); extendConfigsItem.Type = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].type"); - extendConfigsItem.GroupId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].groupId"); + extendConfigsItem.InstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].instanceId"); List extendConfigsItem_hosts = new List(); for (int l = 0; l < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].Hosts.Length"); l++) { @@ -108,8 +108,8 @@ public static ListEcsInstancesResponse Unmarshall(UnmarshallerContext _ctx) List extendConfigsItem_machines = new List(); for (int l = 0; l < _ctx.Length("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].Machines.Length"); l++) { ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ExtendConfigsItem.ListEcsInstances_MachinesItem machinesItem = new ListEcsInstancesResponse.ListEcsInstances_ResultItem.ListEcsInstances_CollectorsItem.ListEcsInstances_ExtendConfigsItem.ListEcsInstances_MachinesItem(); - machinesItem.InstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].Machines["+ l +"].instanceId"); machinesItem.AgentStatus = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].Machines["+ l +"].agentStatus"); + machinesItem.InstanceId = _ctx.StringValue("ListEcsInstances.Result["+ i +"].Collectors["+ j +"].ExtendConfigs["+ k +"].Machines["+ l +"].instanceId"); extendConfigsItem_machines.Add(machinesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListExtendfilesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListExtendfilesResponseUnmarshaller.cs index bfe727b288..287e77db4c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListExtendfilesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListExtendfilesResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static ListExtendfilesResponse Unmarshall(UnmarshallerContext _ctx) List listExtendfilesResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListExtendfiles.Result.Length"); i++) { ListExtendfilesResponse.ListExtendfiles_ResultItem resultItem = new ListExtendfilesResponse.ListExtendfiles_ResultItem(); - resultItem.Name = _ctx.StringValue("ListExtendfiles.Result["+ i +"].name"); + resultItem.FilePath = _ctx.StringValue("ListExtendfiles.Result["+ i +"].filePath"); resultItem.FileSize = _ctx.LongValue("ListExtendfiles.Result["+ i +"].fileSize"); + resultItem.Name = _ctx.StringValue("ListExtendfiles.Result["+ i +"].name"); resultItem.SourceType = _ctx.StringValue("ListExtendfiles.Result["+ i +"].sourceType"); - resultItem.FilePath = _ctx.StringValue("ListExtendfiles.Result["+ i +"].filePath"); listExtendfilesResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListIndexTemplatesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListIndexTemplatesResponseUnmarshaller.cs index e050706283..c8988644bc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListIndexTemplatesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListIndexTemplatesResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static ListIndexTemplatesResponse Unmarshall(UnmarshallerContext _ctx) List listIndexTemplatesResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListIndexTemplates.Result.Length"); i++) { ListIndexTemplatesResponse.ListIndexTemplates_ResultItem resultItem = new ListIndexTemplatesResponse.ListIndexTemplates_ResultItem(); - resultItem.IndexTemplate = _ctx.StringValue("ListIndexTemplates.Result["+ i +"].indexTemplate"); resultItem.DataStream = _ctx.BooleanValue("ListIndexTemplates.Result["+ i +"].dataStream"); - resultItem.Priority = _ctx.IntegerValue("ListIndexTemplates.Result["+ i +"].priority"); + resultItem.IndexTemplate = _ctx.StringValue("ListIndexTemplates.Result["+ i +"].indexTemplate"); resultItem.IlmPolicy = _ctx.StringValue("ListIndexTemplates.Result["+ i +"].ilmPolicy"); + resultItem.Priority = _ctx.IntegerValue("ListIndexTemplates.Result["+ i +"].priority"); List resultItem_indexPatterns = new List(); for (int j = 0; j < _ctx.Length("ListIndexTemplates.Result["+ i +"].IndexPatterns.Length"); j++) { diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceHistoryEventsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceHistoryEventsResponseUnmarshaller.cs new file mode 100644 index 0000000000..86c798bdf8 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceHistoryEventsResponseUnmarshaller.cs @@ -0,0 +1,63 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListInstanceHistoryEventsResponseUnmarshaller + { + public static ListInstanceHistoryEventsResponse Unmarshall(UnmarshallerContext _ctx) + { + ListInstanceHistoryEventsResponse listInstanceHistoryEventsResponse = new ListInstanceHistoryEventsResponse(); + + listInstanceHistoryEventsResponse.HttpResponse = _ctx.HttpResponse; + listInstanceHistoryEventsResponse.RequestId = _ctx.StringValue("ListInstanceHistoryEvents.RequestId"); + + ListInstanceHistoryEventsResponse.ListInstanceHistoryEvents_Headers headers = new ListInstanceHistoryEventsResponse.ListInstanceHistoryEvents_Headers(); + headers.XTotalCount = _ctx.LongValue("ListInstanceHistoryEvents.Headers.X-Total-Count"); + headers.XTotalFailed = _ctx.LongValue("ListInstanceHistoryEvents.Headers.X-Total-Failed"); + headers.XTotalSuccess = _ctx.LongValue("ListInstanceHistoryEvents.Headers.X-Total-Success"); + listInstanceHistoryEventsResponse.Headers = headers; + + List listInstanceHistoryEventsResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListInstanceHistoryEvents.Result.Length"); i++) { + ListInstanceHistoryEventsResponse.ListInstanceHistoryEvents_ResultItem resultItem = new ListInstanceHistoryEventsResponse.ListInstanceHistoryEvents_ResultItem(); + resultItem.EventCreateTime = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventCreateTime"); + resultItem.EventCycleStatus = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventCycleStatus"); + resultItem.EventExecuteTime = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventExecuteTime"); + resultItem.EventFinashTime = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventFinashTime"); + resultItem.EventLevel = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventLevel"); + resultItem.InstanceId = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].instanceId"); + resultItem.NodeIP = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].nodeIP"); + resultItem.EventType = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].eventType"); + resultItem.RegionId = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].regionId"); + resultItem.EcsId = _ctx.StringValue("ListInstanceHistoryEvents.Result["+ i +"].ecsId"); + + listInstanceHistoryEventsResponse_result.Add(resultItem); + } + listInstanceHistoryEventsResponse.Result = listInstanceHistoryEventsResponse_result; + + return listInstanceHistoryEventsResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceResponseUnmarshaller.cs index e84838349e..2294e08329 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListInstanceResponseUnmarshaller.cs @@ -41,19 +41,22 @@ public static ListInstanceResponse Unmarshall(UnmarshallerContext _ctx) for (int i = 0; i < _ctx.Length("ListInstance.Result.Length"); i++) { ListInstanceResponse.ListInstance_Instance instance = new ListInstanceResponse.ListInstance_Instance(); instance.AdvancedDedicateMaster = _ctx.BooleanValue("ListInstance.Result["+ i +"].advancedDedicateMaster"); + instance.NodeAmount = _ctx.IntegerValue("ListInstance.Result["+ i +"].nodeAmount"); instance.CreatedAt = _ctx.StringValue("ListInstance.Result["+ i +"].createdAt"); + instance.Status = _ctx.StringValue("ListInstance.Result["+ i +"].status"); instance.DedicateMaster = _ctx.BooleanValue("ListInstance.Result["+ i +"].dedicateMaster"); - instance.Description = _ctx.StringValue("ListInstance.Result["+ i +"].description"); - instance.EsVersion = _ctx.StringValue("ListInstance.Result["+ i +"].esVersion"); - instance.InstanceId = _ctx.StringValue("ListInstance.Result["+ i +"].instanceId"); - instance.NodeAmount = _ctx.IntegerValue("ListInstance.Result["+ i +"].nodeAmount"); + instance.ServiceVpc = _ctx.BooleanValue("ListInstance.Result["+ i +"].serviceVpc"); instance.PaymentType = _ctx.StringValue("ListInstance.Result["+ i +"].paymentType"); instance.ResourceGroupId = _ctx.StringValue("ListInstance.Result["+ i +"].resourceGroupId"); - instance.Status = _ctx.StringValue("ListInstance.Result["+ i +"].status"); - instance.UpdatedAt = _ctx.StringValue("ListInstance.Result["+ i +"].updatedAt"); instance.PostpaidServiceStatus = _ctx.StringValue("ListInstance.Result["+ i +"].postpaidServiceStatus"); + instance.Description = _ctx.StringValue("ListInstance.Result["+ i +"].description"); + instance.EsVersion = _ctx.StringValue("ListInstance.Result["+ i +"].esVersion"); instance.IsNewDeployment = _ctx.StringValue("ListInstance.Result["+ i +"].isNewDeployment"); - instance.ServiceVpc = _ctx.BooleanValue("ListInstance.Result["+ i +"].serviceVpc"); + instance.UpdatedAt = _ctx.StringValue("ListInstance.Result["+ i +"].updatedAt"); + instance.InstanceId = _ctx.StringValue("ListInstance.Result["+ i +"].instanceId"); + instance.VpcInstanceId = _ctx.StringValue("ListInstance.Result["+ i +"].vpcInstanceId"); + instance.EndTime = _ctx.LongValue("ListInstance.Result["+ i +"].endTime"); + instance.ArchType = _ctx.StringValue("ListInstance.Result["+ i +"].archType"); List> instance_extendConfigs = new List>(); for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].ExtendConfigs.Length"); j++) { @@ -70,47 +73,93 @@ public static ListInstanceResponse Unmarshall(UnmarshallerContext _ctx) } instance.ExtendConfigs = instance_extendConfigs; + List instance_kibanaIPWhitelist = new List(); + for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].KibanaIPWhitelist.Length"); j++) { + instance_kibanaIPWhitelist.Add(_ctx.StringValue("ListInstance.Result["+ i +"].KibanaIPWhitelist["+ j +"]")); + } + instance.KibanaIPWhitelist = instance_kibanaIPWhitelist; + + List instance_kibanaPrivateIPWhitelist = new List(); + for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].KibanaPrivateIPWhitelist.Length"); j++) { + instance_kibanaPrivateIPWhitelist.Add(_ctx.StringValue("ListInstance.Result["+ i +"].KibanaPrivateIPWhitelist["+ j +"]")); + } + instance.KibanaPrivateIPWhitelist = instance_kibanaPrivateIPWhitelist; + + List instance_publicIpWhitelist = new List(); + for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].PublicIpWhitelist.Length"); j++) { + instance_publicIpWhitelist.Add(_ctx.StringValue("ListInstance.Result["+ i +"].PublicIpWhitelist["+ j +"]")); + } + instance.PublicIpWhitelist = instance_publicIpWhitelist; + + List instance_privateNetworkIpWhiteList = new List(); + for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].PrivateNetworkIpWhiteList.Length"); j++) { + instance_privateNetworkIpWhiteList.Add(_ctx.StringValue("ListInstance.Result["+ i +"].PrivateNetworkIpWhiteList["+ j +"]")); + } + instance.PrivateNetworkIpWhiteList = instance_privateNetworkIpWhiteList; + ListInstanceResponse.ListInstance_Instance.ListInstance_ClientNodeConfiguration clientNodeConfiguration = new ListInstanceResponse.ListInstance_Instance.ListInstance_ClientNodeConfiguration(); + clientNodeConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.spec"); clientNodeConfiguration.Amount = _ctx.IntegerValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.amount"); clientNodeConfiguration.Disk = _ctx.IntegerValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.disk"); clientNodeConfiguration.DiskType = _ctx.StringValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.diskType"); - clientNodeConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.spec"); + clientNodeConfiguration.SpecInfo = _ctx.StringValue("ListInstance.Result["+ i +"].ClientNodeConfiguration.specInfo"); instance.ClientNodeConfiguration = clientNodeConfiguration; ListInstanceResponse.ListInstance_Instance.ListInstance_ElasticDataNodeConfiguration elasticDataNodeConfiguration = new ListInstanceResponse.ListInstance_Instance.ListInstance_ElasticDataNodeConfiguration(); + elasticDataNodeConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.spec"); elasticDataNodeConfiguration.Amount = _ctx.IntegerValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.amount"); elasticDataNodeConfiguration.Disk = _ctx.IntegerValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.disk"); elasticDataNodeConfiguration.DiskEncryption = _ctx.BooleanValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.diskEncryption"); elasticDataNodeConfiguration.DiskType = _ctx.StringValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.diskType"); - elasticDataNodeConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.spec"); + elasticDataNodeConfiguration.SpecInfo = _ctx.StringValue("ListInstance.Result["+ i +"].ElasticDataNodeConfiguration.specInfo"); instance.ElasticDataNodeConfiguration = elasticDataNodeConfiguration; ListInstanceResponse.ListInstance_Instance.ListInstance_KibanaConfiguration kibanaConfiguration = new ListInstanceResponse.ListInstance_Instance.ListInstance_KibanaConfiguration(); + kibanaConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].KibanaConfiguration.spec"); kibanaConfiguration.Amount = _ctx.IntegerValue("ListInstance.Result["+ i +"].KibanaConfiguration.amount"); kibanaConfiguration.Disk = _ctx.IntegerValue("ListInstance.Result["+ i +"].KibanaConfiguration.disk"); kibanaConfiguration.DiskType = _ctx.StringValue("ListInstance.Result["+ i +"].KibanaConfiguration.diskType"); - kibanaConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].KibanaConfiguration.spec"); + kibanaConfiguration.SpecInfo = _ctx.StringValue("ListInstance.Result["+ i +"].KibanaConfiguration.specInfo"); instance.KibanaConfiguration = kibanaConfiguration; ListInstanceResponse.ListInstance_Instance.ListInstance_MasterConfiguration masterConfiguration = new ListInstanceResponse.ListInstance_Instance.ListInstance_MasterConfiguration(); + masterConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].MasterConfiguration.spec"); masterConfiguration.Amount = _ctx.IntegerValue("ListInstance.Result["+ i +"].MasterConfiguration.amount"); masterConfiguration.Disk = _ctx.IntegerValue("ListInstance.Result["+ i +"].MasterConfiguration.disk"); masterConfiguration.DiskType = _ctx.StringValue("ListInstance.Result["+ i +"].MasterConfiguration.diskType"); - masterConfiguration.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].MasterConfiguration.spec"); + masterConfiguration.SpecInfo = _ctx.StringValue("ListInstance.Result["+ i +"].MasterConfiguration.specInfo"); instance.MasterConfiguration = masterConfiguration; ListInstanceResponse.ListInstance_Instance.ListInstance_NetworkConfig networkConfig = new ListInstanceResponse.ListInstance_Instance.ListInstance_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.vpcId"); networkConfig.VsArea = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.type"); networkConfig.VswitchId = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.vswitchId"); + + List networkConfig_whiteIpGroupList = new List(); + for (int j = 0; j < _ctx.Length("ListInstance.Result["+ i +"].NetworkConfig.WhiteIpGroupList.Length"); j++) { + ListInstanceResponse.ListInstance_Instance.ListInstance_NetworkConfig.ListInstance_WhiteIpGroupListItem whiteIpGroupListItem = new ListInstanceResponse.ListInstance_Instance.ListInstance_NetworkConfig.ListInstance_WhiteIpGroupListItem(); + whiteIpGroupListItem.GroupName = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.WhiteIpGroupList["+ j +"].groupName"); + whiteIpGroupListItem.WhiteIpType = _ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.WhiteIpGroupList["+ j +"].whiteIpType"); + + List whiteIpGroupListItem_ips = new List(); + for (int k = 0; k < _ctx.Length("ListInstance.Result["+ i +"].NetworkConfig.WhiteIpGroupList["+ j +"].Ips.Length"); k++) { + whiteIpGroupListItem_ips.Add(_ctx.StringValue("ListInstance.Result["+ i +"].NetworkConfig.WhiteIpGroupList["+ j +"].Ips["+ k +"]")); + } + whiteIpGroupListItem.Ips = whiteIpGroupListItem_ips; + + networkConfig_whiteIpGroupList.Add(whiteIpGroupListItem); + } + networkConfig.WhiteIpGroupList = networkConfig_whiteIpGroupList; instance.NetworkConfig = networkConfig; ListInstanceResponse.ListInstance_Instance.ListInstance_NodeSpec nodeSpec = new ListInstanceResponse.ListInstance_Instance.ListInstance_NodeSpec(); + nodeSpec.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].NodeSpec.spec"); nodeSpec.Disk = _ctx.IntegerValue("ListInstance.Result["+ i +"].NodeSpec.disk"); nodeSpec.DiskEncryption = _ctx.BooleanValue("ListInstance.Result["+ i +"].NodeSpec.diskEncryption"); nodeSpec.DiskType = _ctx.StringValue("ListInstance.Result["+ i +"].NodeSpec.diskType"); - nodeSpec.Spec = _ctx.StringValue("ListInstance.Result["+ i +"].NodeSpec.spec"); + nodeSpec.PerformanceLevel = _ctx.StringValue("ListInstance.Result["+ i +"].NodeSpec.performanceLevel"); + nodeSpec.SpecInfo = _ctx.StringValue("ListInstance.Result["+ i +"].NodeSpec.specInfo"); instance.NodeSpec = nodeSpec; List instance_tags = new List(); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPluginsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPluginsResponseUnmarshaller.cs index 5ee87357aa..2c2cd4bf94 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPluginsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPluginsResponseUnmarshaller.cs @@ -40,11 +40,11 @@ public static ListKibanaPluginsResponse Unmarshall(UnmarshallerContext _ctx) List listKibanaPluginsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListKibanaPlugins.Result.Length"); i++) { ListKibanaPluginsResponse.ListKibanaPlugins_PluginItem pluginItem = new ListKibanaPluginsResponse.ListKibanaPlugins_PluginItem(); - pluginItem.Name = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].name"); - pluginItem.State = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].state"); - pluginItem.Source = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].source"); pluginItem.Description = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].description"); pluginItem.SpecificationUrl = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].specificationUrl"); + pluginItem.State = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].state"); + pluginItem.Source = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].source"); + pluginItem.Name = _ctx.StringValue("ListKibanaPlugins.Result["+ i +"].name"); listKibanaPluginsResponse_result.Add(pluginItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPvlNetworkResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPvlNetworkResponseUnmarshaller.cs new file mode 100644 index 0000000000..cf5e92e8f5 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListKibanaPvlNetworkResponseUnmarshaller.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class ListKibanaPvlNetworkResponseUnmarshaller + { + public static ListKibanaPvlNetworkResponse Unmarshall(UnmarshallerContext _ctx) + { + ListKibanaPvlNetworkResponse listKibanaPvlNetworkResponse = new ListKibanaPvlNetworkResponse(); + + listKibanaPvlNetworkResponse.HttpResponse = _ctx.HttpResponse; + listKibanaPvlNetworkResponse.RequestId = _ctx.StringValue("ListKibanaPvlNetwork.RequestId"); + + List listKibanaPvlNetworkResponse_result = new List(); + for (int i = 0; i < _ctx.Length("ListKibanaPvlNetwork.Result.Length"); i++) { + ListKibanaPvlNetworkResponse.ListKibanaPvlNetwork_ResultItem resultItem = new ListKibanaPvlNetworkResponse.ListKibanaPvlNetwork_ResultItem(); + resultItem.EndpointName = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].endpointName"); + resultItem.VpcId = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].vpcId"); + resultItem.EndpointId = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].endpointId"); + resultItem.EndpointStatus = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].endpointStatus"); + resultItem.CreateTime = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].createTime"); + resultItem.PvlId = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].pvlId"); + + List resultItem_securityGroups = new List(); + for (int j = 0; j < _ctx.Length("ListKibanaPvlNetwork.Result["+ i +"].SecurityGroups.Length"); j++) { + resultItem_securityGroups.Add(_ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].SecurityGroups["+ j +"]")); + } + resultItem.SecurityGroups = resultItem_securityGroups; + + List resultItem_vSwitchIdsZone = new List(); + for (int j = 0; j < _ctx.Length("ListKibanaPvlNetwork.Result["+ i +"].VSwitchIdsZone.Length"); j++) { + ListKibanaPvlNetworkResponse.ListKibanaPvlNetwork_ResultItem.ListKibanaPvlNetwork_VSwitchIdsZoneItem vSwitchIdsZoneItem = new ListKibanaPvlNetworkResponse.ListKibanaPvlNetwork_ResultItem.ListKibanaPvlNetwork_VSwitchIdsZoneItem(); + vSwitchIdsZoneItem.ZoneId = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].VSwitchIdsZone["+ j +"].zoneId"); + vSwitchIdsZoneItem.VswitchId = _ctx.StringValue("ListKibanaPvlNetwork.Result["+ i +"].VSwitchIdsZone["+ j +"].vswitchId"); + + resultItem_vSwitchIdsZone.Add(vSwitchIdsZoneItem); + } + resultItem.VSwitchIdsZone = resultItem_vSwitchIdsZone; + + listKibanaPvlNetworkResponse_result.Add(resultItem); + } + listKibanaPvlNetworkResponse.Result = listKibanaPvlNetworkResponse_result; + + return listKibanaPvlNetworkResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashLogResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashLogResponseUnmarshaller.cs index 24cad97c61..e603822eb6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashLogResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashLogResponseUnmarshaller.cs @@ -36,11 +36,11 @@ public static ListLogstashLogResponse Unmarshall(UnmarshallerContext _ctx) List listLogstashLogResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListLogstashLog.Result.Length"); i++) { ListLogstashLogResponse.ListLogstashLog_ResultItem resultItem = new ListLogstashLogResponse.ListLogstashLog_ResultItem(); - resultItem.Timestamp = _ctx.LongValue("ListLogstashLog.Result["+ i +"].timestamp"); - resultItem.Host = _ctx.StringValue("ListLogstashLog.Result["+ i +"].host"); resultItem.Level = _ctx.StringValue("ListLogstashLog.Result["+ i +"].level"); resultItem.Content = _ctx.StringValue("ListLogstashLog.Result["+ i +"].content"); + resultItem.Timestamp = _ctx.LongValue("ListLogstashLog.Result["+ i +"].timestamp"); resultItem.InstanceId = _ctx.StringValue("ListLogstashLog.Result["+ i +"].instanceId"); + resultItem.Host = _ctx.StringValue("ListLogstashLog.Result["+ i +"].host"); listLogstashLogResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashPluginsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashPluginsResponseUnmarshaller.cs index 6320494108..61652270ad 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashPluginsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashPluginsResponseUnmarshaller.cs @@ -36,11 +36,11 @@ public static ListLogstashPluginsResponse Unmarshall(UnmarshallerContext _ctx) List listLogstashPluginsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListLogstashPlugins.Result.Length"); i++) { ListLogstashPluginsResponse.ListLogstashPlugins_ResultItem resultItem = new ListLogstashPluginsResponse.ListLogstashPlugins_ResultItem(); - resultItem.Name = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].name"); - resultItem.State = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].state"); - resultItem.Source = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].source"); resultItem.Description = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].description"); resultItem.SpecificationUrl = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].specificationUrl"); + resultItem.State = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].state"); + resultItem.Source = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].source"); + resultItem.Name = _ctx.StringValue("ListLogstashPlugins.Result["+ i +"].name"); listLogstashPluginsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashResponseUnmarshaller.cs index eafdab384e..0bd74b741f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListLogstashResponseUnmarshaller.cs @@ -40,34 +40,35 @@ public static ListLogstashResponse Unmarshall(UnmarshallerContext _ctx) List listLogstashResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListLogstash.Result.Length"); i++) { ListLogstashResponse.ListLogstash_Instance instance = new ListLogstashResponse.ListLogstash_Instance(); - instance.InstanceId = _ctx.StringValue("ListLogstash.Result["+ i +"].instanceId"); - instance.Description = _ctx.StringValue("ListLogstash.Result["+ i +"].description"); - instance.NodeAmount = _ctx.IntegerValue("ListLogstash.Result["+ i +"].nodeAmount"); instance.PaymentType = _ctx.StringValue("ListLogstash.Result["+ i +"].paymentType"); - instance.Status = _ctx.StringValue("ListLogstash.Result["+ i +"].status"); - instance.Version = _ctx.StringValue("ListLogstash.Result["+ i +"].version"); + instance.NodeAmount = _ctx.IntegerValue("ListLogstash.Result["+ i +"].nodeAmount"); + instance.Description = _ctx.StringValue("ListLogstash.Result["+ i +"].description"); instance.CreatedAt = _ctx.StringValue("ListLogstash.Result["+ i +"].createdAt"); + instance.Status = _ctx.StringValue("ListLogstash.Result["+ i +"].status"); instance.UpdatedAt = _ctx.StringValue("ListLogstash.Result["+ i +"].updatedAt"); + instance.InstanceId = _ctx.StringValue("ListLogstash.Result["+ i +"].instanceId"); + instance.Version = _ctx.StringValue("ListLogstash.Result["+ i +"].version"); + instance.ResourceGroupId = _ctx.StringValue("ListLogstash.Result["+ i +"].resourceGroupId"); ListLogstashResponse.ListLogstash_Instance.ListLogstash_NodeSpec nodeSpec = new ListLogstashResponse.ListLogstash_Instance.ListLogstash_NodeSpec(); nodeSpec.Spec = _ctx.StringValue("ListLogstash.Result["+ i +"].NodeSpec.spec"); nodeSpec.Disk = _ctx.IntegerValue("ListLogstash.Result["+ i +"].NodeSpec.disk"); - nodeSpec.DiskType = _ctx.StringValue("ListLogstash.Result["+ i +"].NodeSpec.diskType"); nodeSpec.DiskEncryption = _ctx.BooleanValue("ListLogstash.Result["+ i +"].NodeSpec.diskEncryption"); + nodeSpec.DiskType = _ctx.StringValue("ListLogstash.Result["+ i +"].NodeSpec.diskType"); instance.NodeSpec = nodeSpec; ListLogstashResponse.ListLogstash_Instance.ListLogstash_NetworkConfig networkConfig = new ListLogstashResponse.ListLogstash_Instance.ListLogstash_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.vpcId"); - networkConfig.VswitchId = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.vswitchId"); networkConfig.VsArea = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.type"); + networkConfig.VswitchId = _ctx.StringValue("ListLogstash.Result["+ i +"].NetworkConfig.vswitchId"); instance.NetworkConfig = networkConfig; List instance_tags = new List(); for (int j = 0; j < _ctx.Length("ListLogstash.Result["+ i +"].Tags.Length"); j++) { ListLogstashResponse.ListLogstash_Instance.ListLogstash_TagsItem tagsItem = new ListLogstashResponse.ListLogstash_Instance.ListLogstash_TagsItem(); - tagsItem.TagKey = _ctx.StringValue("ListLogstash.Result["+ i +"].Tags["+ j +"].TagKey"); tagsItem.TagValue = _ctx.StringValue("ListLogstash.Result["+ i +"].Tags["+ j +"].TagValue"); + tagsItem.TagKey = _ctx.StringValue("ListLogstash.Result["+ i +"].Tags["+ j +"].TagKey"); instance_tags.Add(tagsItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListNodesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListNodesResponseUnmarshaller.cs index cdbc49bd78..7dc2c2acdc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListNodesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListNodesResponseUnmarshaller.cs @@ -40,11 +40,11 @@ public static ListNodesResponse Unmarshall(UnmarshallerContext _ctx) List listNodesResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListNodes.Result.Length"); i++) { ListNodesResponse.ListNodes_ResultItem resultItem = new ListNodesResponse.ListNodes_ResultItem(); - resultItem.EcsInstanceId = _ctx.StringValue("ListNodes.Result["+ i +"].ecsInstanceId"); + resultItem.CloudAssistantStatus = _ctx.StringValue("ListNodes.Result["+ i +"].cloudAssistantStatus"); resultItem.EcsInstanceName = _ctx.StringValue("ListNodes.Result["+ i +"].ecsInstanceName"); - resultItem.Status = _ctx.StringValue("ListNodes.Result["+ i +"].status"); + resultItem.EcsInstanceId = _ctx.StringValue("ListNodes.Result["+ i +"].ecsInstanceId"); resultItem.OsType = _ctx.StringValue("ListNodes.Result["+ i +"].osType"); - resultItem.CloudAssistantStatus = _ctx.StringValue("ListNodes.Result["+ i +"].cloudAssistantStatus"); + resultItem.Status = _ctx.StringValue("ListNodes.Result["+ i +"].status"); resultItem.AgentStatus = _ctx.StringValue("ListNodes.Result["+ i +"].agentStatus"); List resultItem_tags = new List(); @@ -60,8 +60,8 @@ public static ListNodesResponse Unmarshall(UnmarshallerContext _ctx) List resultItem_ipAddress = new List(); for (int j = 0; j < _ctx.Length("ListNodes.Result["+ i +"].IpAddress.Length"); j++) { ListNodesResponse.ListNodes_ResultItem.ListNodes_IpAddressItem ipAddressItem = new ListNodesResponse.ListNodes_ResultItem.ListNodes_IpAddressItem(); - ipAddressItem.Host = _ctx.StringValue("ListNodes.Result["+ i +"].IpAddress["+ j +"].host"); ipAddressItem.IpType = _ctx.StringValue("ListNodes.Result["+ i +"].IpAddress["+ j +"].ipType"); + ipAddressItem.Host = _ctx.StringValue("ListNodes.Result["+ i +"].IpAddress["+ j +"].host"); resultItem_ipAddress.Add(ipAddressItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPipelineResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPipelineResponseUnmarshaller.cs index 98ac98e270..1c953fc44c 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPipelineResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPipelineResponseUnmarshaller.cs @@ -41,9 +41,9 @@ public static ListPipelineResponse Unmarshall(UnmarshallerContext _ctx) for (int i = 0; i < _ctx.Length("ListPipeline.Result.Length"); i++) { ListPipelineResponse.ListPipeline_ResultItem resultItem = new ListPipelineResponse.ListPipeline_ResultItem(); resultItem.PipelineId = _ctx.StringValue("ListPipeline.Result["+ i +"].pipelineId"); - resultItem.PipelineStatus = _ctx.StringValue("ListPipeline.Result["+ i +"].pipelineStatus"); - resultItem.GmtCreatedTime = _ctx.StringValue("ListPipeline.Result["+ i +"].gmtCreatedTime"); resultItem.GmtUpdateTime = _ctx.StringValue("ListPipeline.Result["+ i +"].gmtUpdateTime"); + resultItem.GmtCreatedTime = _ctx.StringValue("ListPipeline.Result["+ i +"].gmtCreatedTime"); + resultItem.PipelineStatus = _ctx.StringValue("ListPipeline.Result["+ i +"].pipelineStatus"); listPipelineResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPluginsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPluginsResponseUnmarshaller.cs index d7a7fed0c7..9e8d8ebc02 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPluginsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListPluginsResponseUnmarshaller.cs @@ -40,11 +40,11 @@ public static ListPluginsResponse Unmarshall(UnmarshallerContext _ctx) List listPluginsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListPlugins.Result.Length"); i++) { ListPluginsResponse.ListPlugins_ResultItem resultItem = new ListPluginsResponse.ListPlugins_ResultItem(); - resultItem.Name = _ctx.StringValue("ListPlugins.Result["+ i +"].name"); - resultItem.State = _ctx.StringValue("ListPlugins.Result["+ i +"].state"); - resultItem.Source = _ctx.StringValue("ListPlugins.Result["+ i +"].source"); resultItem.Description = _ctx.StringValue("ListPlugins.Result["+ i +"].description"); resultItem.SpecificationUrl = _ctx.StringValue("ListPlugins.Result["+ i +"].specificationUrl"); + resultItem.State = _ctx.StringValue("ListPlugins.Result["+ i +"].state"); + resultItem.Source = _ctx.StringValue("ListPlugins.Result["+ i +"].source"); + resultItem.Name = _ctx.StringValue("ListPlugins.Result["+ i +"].name"); listPluginsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSearchLogResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSearchLogResponseUnmarshaller.cs index 1602b672f3..551f979914 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSearchLogResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSearchLogResponseUnmarshaller.cs @@ -40,12 +40,12 @@ public static ListSearchLogResponse Unmarshall(UnmarshallerContext _ctx) List listSearchLogResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListSearchLog.Result.Length"); i++) { ListSearchLogResponse.ListSearchLog_ResultItem resultItem = new ListSearchLogResponse.ListSearchLog_ResultItem(); - resultItem.Timestamp = _ctx.LongValue("ListSearchLog.Result["+ i +"].timestamp"); - resultItem.Host = _ctx.StringValue("ListSearchLog.Result["+ i +"].host"); - resultItem.InstanceId = _ctx.StringValue("ListSearchLog.Result["+ i +"].instanceId"); - resultItem.ContentCollection = _ctx.StringValue("ListSearchLog.Result["+ i +"].contentCollection"); resultItem.Level = _ctx.StringValue("ListSearchLog.Result["+ i +"].level"); + resultItem.Host = _ctx.StringValue("ListSearchLog.Result["+ i +"].host"); resultItem.Content = _ctx.StringValue("ListSearchLog.Result["+ i +"].content"); + resultItem.Timestamp = _ctx.LongValue("ListSearchLog.Result["+ i +"].timestamp"); + resultItem.ContentCollection = _ctx.StringValue("ListSearchLog.Result["+ i +"].contentCollection"); + resultItem.InstanceId = _ctx.StringValue("ListSearchLog.Result["+ i +"].instanceId"); listSearchLogResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListShardRecoveriesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListShardRecoveriesResponseUnmarshaller.cs index 6eb9eac0b6..77ff912531 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListShardRecoveriesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListShardRecoveriesResponseUnmarshaller.cs @@ -38,16 +38,16 @@ public static ListShardRecoveriesResponse Unmarshall(UnmarshallerContext _ctx) ListShardRecoveriesResponse.ListShardRecoveries_ResultItem resultItem = new ListShardRecoveriesResponse.ListShardRecoveries_ResultItem(); resultItem.Index = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].index"); resultItem.SourceHost = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].sourceHost"); - resultItem.TargetNode = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].targetNode"); - resultItem.Stage = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].stage"); + resultItem.SourceNode = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].sourceNode"); resultItem.FilesTotal = _ctx.LongValue("ListShardRecoveries.Result["+ i +"].filesTotal"); - resultItem.FilesPercent = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].filesPercent"); - resultItem.BytesTotal = _ctx.LongValue("ListShardRecoveries.Result["+ i +"].bytesTotal"); resultItem.BytesPercent = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].bytesPercent"); resultItem.TranslogOps = _ctx.LongValue("ListShardRecoveries.Result["+ i +"].translogOps"); resultItem.TranslogOpsPercent = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].translogOpsPercent"); - resultItem.SourceNode = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].sourceNode"); + resultItem.BytesTotal = _ctx.LongValue("ListShardRecoveries.Result["+ i +"].bytesTotal"); resultItem.TargetHost = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].targetHost"); + resultItem.TargetNode = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].targetNode"); + resultItem.FilesPercent = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].filesPercent"); + resultItem.Stage = _ctx.StringValue("ListShardRecoveries.Result["+ i +"].stage"); listShardRecoveriesResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSnapshotReposByInstanceIdResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSnapshotReposByInstanceIdResponseUnmarshaller.cs index 238ed95735..8ee8ffe9cd 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSnapshotReposByInstanceIdResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListSnapshotReposByInstanceIdResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static ListSnapshotReposByInstanceIdResponse Unmarshall(UnmarshallerConte List listSnapshotReposByInstanceIdResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListSnapshotReposByInstanceId.Result.Length"); i++) { ListSnapshotReposByInstanceIdResponse.ListSnapshotReposByInstanceId_Repo repo = new ListSnapshotReposByInstanceIdResponse.ListSnapshotReposByInstanceId_Repo(); - repo.InstanceId = _ctx.StringValue("ListSnapshotReposByInstanceId.Result["+ i +"].instanceId"); repo.SnapWarehouse = _ctx.StringValue("ListSnapshotReposByInstanceId.Result["+ i +"].snapWarehouse"); repo.RepoPath = _ctx.StringValue("ListSnapshotReposByInstanceId.Result["+ i +"].repoPath"); repo.Status = _ctx.StringValue("ListSnapshotReposByInstanceId.Result["+ i +"].status"); + repo.InstanceId = _ctx.StringValue("ListSnapshotReposByInstanceId.Result["+ i +"].instanceId"); listSnapshotReposByInstanceIdResponse_result.Add(repo); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagResourcesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagResourcesResponseUnmarshaller.cs index 86cb81f9f7..2d7a77ede4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagResourcesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagResourcesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ListTagResourcesResponse Unmarshall(UnmarshallerContext _ctx) ListTagResourcesResponse listTagResourcesResponse = new ListTagResourcesResponse(); listTagResourcesResponse.HttpResponse = _ctx.HttpResponse; - listTagResourcesResponse.RequestId = _ctx.StringValue("ListTagResources.RequestId"); listTagResourcesResponse.PageSize = _ctx.IntegerValue("ListTagResources.PageSize"); + listTagResourcesResponse.RequestId = _ctx.StringValue("ListTagResources.RequestId"); ListTagResourcesResponse.ListTagResources_Headers headers = new ListTagResourcesResponse.ListTagResources_Headers(); headers.XTotalCount = _ctx.IntegerValue("ListTagResources.Headers.X-Total-Count"); @@ -43,10 +43,10 @@ public static ListTagResourcesResponse Unmarshall(UnmarshallerContext _ctx) List tagResources_tagResource = new List(); for (int i = 0; i < _ctx.Length("ListTagResources.TagResources.TagResource.Length"); i++) { ListTagResourcesResponse.ListTagResources_TagResources.ListTagResources_TagResourceItem tagResourceItem = new ListTagResourcesResponse.ListTagResources_TagResources.ListTagResources_TagResourceItem(); - tagResourceItem.ResourceId = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].ResourceId"); + tagResourceItem.TagValue = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].TagValue"); tagResourceItem.ResourceType = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].ResourceType"); + tagResourceItem.ResourceId = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].ResourceId"); tagResourceItem.TagKey = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].TagKey"); - tagResourceItem.TagValue = _ctx.StringValue("ListTagResources.TagResources.TagResource["+ i +"].TagValue"); tagResources_tagResource.Add(tagResourceItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagsResponseUnmarshaller.cs index f1204117c2..7770e9d876 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListTagsResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static ListTagsResponse Unmarshall(UnmarshallerContext _ctx) List listTagsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListTags.Result.Length"); i++) { ListTagsResponse.ListTags_ResultItem resultItem = new ListTagsResponse.ListTags_ResultItem(); - resultItem.TagKey = _ctx.StringValue("ListTags.Result["+ i +"].TagKey"); resultItem.TagValue = _ctx.StringValue("ListTags.Result["+ i +"].TagValue"); + resultItem.TagKey = _ctx.StringValue("ListTags.Result["+ i +"].TagKey"); listTagsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListVpcEndpointsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListVpcEndpointsResponseUnmarshaller.cs index fa82b13d6f..f639928968 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListVpcEndpointsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ListVpcEndpointsResponseUnmarshaller.cs @@ -36,15 +36,15 @@ public static ListVpcEndpointsResponse Unmarshall(UnmarshallerContext _ctx) List listVpcEndpointsResponse_result = new List(); for (int i = 0; i < _ctx.Length("ListVpcEndpoints.Result.Length"); i++) { ListVpcEndpointsResponse.ListVpcEndpoints_ResultItem resultItem = new ListVpcEndpointsResponse.ListVpcEndpoints_ResultItem(); - resultItem.ConnectionStatus = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].connectionStatus"); - resultItem.CreateTime = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].createTime"); resultItem.EndpointBusinessStatus = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointBusinessStatus"); - resultItem.EndpointId = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointId"); - resultItem.EndpointName = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointName"); - resultItem.EndpointStatus = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointStatus"); resultItem.ServiceId = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].serviceId"); + resultItem.EndpointName = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointName"); + resultItem.EndpointId = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointId"); resultItem.ServiceName = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].serviceName"); + resultItem.CreateTime = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].createTime"); + resultItem.ConnectionStatus = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].connectionStatus"); resultItem.EndpointDomain = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointDomain"); + resultItem.EndpointStatus = _ctx.StringValue("ListVpcEndpoints.Result["+ i +"].endpointStatus"); listVpcEndpointsResponse_result.Add(resultItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MigrateToOtherZoneResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MigrateToOtherZoneResponseUnmarshaller.cs index bc1cc38ccb..f463069306 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MigrateToOtherZoneResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MigrateToOtherZoneResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static MigrateToOtherZoneResponse Unmarshall(UnmarshallerContext _ctx) MigrateToOtherZoneResponse migrateToOtherZoneResponse = new MigrateToOtherZoneResponse(); migrateToOtherZoneResponse.HttpResponse = _ctx.HttpResponse; - migrateToOtherZoneResponse.RequestId = _ctx.StringValue("MigrateToOtherZone.RequestId"); - migrateToOtherZoneResponse.Result = _ctx.BooleanValue("MigrateToOtherZone.Result"); + migrateToOtherZoneResponse.Result = _ctx.BooleanValue("MigrateToOtherZone.Result"); + migrateToOtherZoneResponse.RequestId = _ctx.StringValue("MigrateToOtherZone.RequestId"); return migrateToOtherZoneResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyDeployMachineResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyDeployMachineResponseUnmarshaller.cs index 58fa92f182..a612392eb0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyDeployMachineResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyDeployMachineResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ModifyDeployMachineResponse Unmarshall(UnmarshallerContext _ctx) ModifyDeployMachineResponse modifyDeployMachineResponse = new ModifyDeployMachineResponse(); modifyDeployMachineResponse.HttpResponse = _ctx.HttpResponse; - modifyDeployMachineResponse.RequestId = _ctx.StringValue("ModifyDeployMachine.RequestId"); - modifyDeployMachineResponse.Result = _ctx.BooleanValue("ModifyDeployMachine.Result"); + modifyDeployMachineResponse.Result = _ctx.BooleanValue("ModifyDeployMachine.Result"); + modifyDeployMachineResponse.RequestId = _ctx.StringValue("ModifyDeployMachine.RequestId"); return modifyDeployMachineResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyElastictaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyElastictaskResponseUnmarshaller.cs index 99d9394274..fac7d071f7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyElastictaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyElastictaskResponseUnmarshaller.cs @@ -37,9 +37,9 @@ public static ModifyElastictaskResponse Unmarshall(UnmarshallerContext _ctx) ModifyElastictaskResponse.ModifyElastictask_Result.ModifyElastictask_ElasticExpansionTask elasticExpansionTask = new ModifyElastictaskResponse.ModifyElastictask_Result.ModifyElastictask_ElasticExpansionTask(); elasticExpansionTask.TriggerType = _ctx.StringValue("ModifyElastictask.Result.ElasticExpansionTask.triggerType"); - elasticExpansionTask.CronExpression = _ctx.StringValue("ModifyElastictask.Result.ElasticExpansionTask.cronExpression"); - elasticExpansionTask.ElasticNodeCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticExpansionTask.elasticNodeCount"); elasticExpansionTask.ReplicaCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticExpansionTask.replicaCount"); + elasticExpansionTask.ElasticNodeCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticExpansionTask.elasticNodeCount"); + elasticExpansionTask.CronExpression = _ctx.StringValue("ModifyElastictask.Result.ElasticExpansionTask.cronExpression"); List elasticExpansionTask_targetIndices = new List(); for (int i = 0; i < _ctx.Length("ModifyElastictask.Result.ElasticExpansionTask.TargetIndices.Length"); i++) { @@ -50,9 +50,9 @@ public static ModifyElastictaskResponse Unmarshall(UnmarshallerContext _ctx) ModifyElastictaskResponse.ModifyElastictask_Result.ModifyElastictask_ElasticShrinkTask elasticShrinkTask = new ModifyElastictaskResponse.ModifyElastictask_Result.ModifyElastictask_ElasticShrinkTask(); elasticShrinkTask.TriggerType = _ctx.StringValue("ModifyElastictask.Result.ElasticShrinkTask.triggerType"); - elasticShrinkTask.CronExpression = _ctx.StringValue("ModifyElastictask.Result.ElasticShrinkTask.cronExpression"); - elasticShrinkTask.ElasticNodeCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticShrinkTask.elasticNodeCount"); elasticShrinkTask.ReplicaCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticShrinkTask.replicaCount"); + elasticShrinkTask.ElasticNodeCount = _ctx.IntegerValue("ModifyElastictask.Result.ElasticShrinkTask.elasticNodeCount"); + elasticShrinkTask.CronExpression = _ctx.StringValue("ModifyElastictask.Result.ElasticShrinkTask.cronExpression"); List elasticShrinkTask_targetIndices1 = new List(); for (int i = 0; i < _ctx.Length("ModifyElastictask.Result.ElasticShrinkTask.TargetIndices.Length"); i++) { diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyInstanceMaintainTimeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyInstanceMaintainTimeResponseUnmarshaller.cs index 3b87f94f05..167a2ea908 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyInstanceMaintainTimeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyInstanceMaintainTimeResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ModifyInstanceMaintainTimeResponse Unmarshall(UnmarshallerContext ModifyInstanceMaintainTimeResponse modifyInstanceMaintainTimeResponse = new ModifyInstanceMaintainTimeResponse(); modifyInstanceMaintainTimeResponse.HttpResponse = _ctx.HttpResponse; - modifyInstanceMaintainTimeResponse.RequestId = _ctx.StringValue("ModifyInstanceMaintainTime.RequestId"); - modifyInstanceMaintainTimeResponse.Result = _ctx.BooleanValue("ModifyInstanceMaintainTime.Result"); + modifyInstanceMaintainTimeResponse.Result = _ctx.BooleanValue("ModifyInstanceMaintainTime.Result"); + modifyInstanceMaintainTimeResponse.RequestId = _ctx.StringValue("ModifyInstanceMaintainTime.RequestId"); return modifyInstanceMaintainTimeResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyWhiteIpsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyWhiteIpsResponseUnmarshaller.cs index e388e3770a..79bbc882c2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyWhiteIpsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ModifyWhiteIpsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ModifyWhiteIpsResponse Unmarshall(UnmarshallerContext _ctx) ModifyWhiteIpsResponse modifyWhiteIpsResponse = new ModifyWhiteIpsResponse(); modifyWhiteIpsResponse.HttpResponse = _ctx.HttpResponse; - modifyWhiteIpsResponse.RequestId = _ctx.StringValue("ModifyWhiteIps.RequestId"); - modifyWhiteIpsResponse.Result = _ctx.BooleanValue("ModifyWhiteIps.Result"); + modifyWhiteIpsResponse.Result = _ctx.BooleanValue("ModifyWhiteIps.Result"); + modifyWhiteIpsResponse.RequestId = _ctx.StringValue("ModifyWhiteIps.RequestId"); return modifyWhiteIpsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MoveResourceGroupResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MoveResourceGroupResponseUnmarshaller.cs index a3b26387fe..0c549a59f0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MoveResourceGroupResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/MoveResourceGroupResponseUnmarshaller.cs @@ -34,19 +34,19 @@ public static MoveResourceGroupResponse Unmarshall(UnmarshallerContext _ctx) moveResourceGroupResponse.RequestId = _ctx.StringValue("MoveResourceGroup.RequestId"); MoveResourceGroupResponse.MoveResourceGroup_Result result = new MoveResourceGroupResponse.MoveResourceGroup_Result(); - result.InstanceId = _ctx.StringValue("MoveResourceGroup.Result.instanceId"); - result.Domain = _ctx.StringValue("MoveResourceGroup.Result.domain"); - result.Description = _ctx.StringValue("MoveResourceGroup.Result.description"); result.NodeAmount = _ctx.IntegerValue("MoveResourceGroup.Result.nodeAmount"); - result.PaymentType = _ctx.StringValue("MoveResourceGroup.Result.paymentType"); + result.PublicDomain = _ctx.StringValue("MoveResourceGroup.Result.publicDomain"); + result.CreatedAt = _ctx.StringValue("MoveResourceGroup.Result.createdAt"); result.Status = _ctx.StringValue("MoveResourceGroup.Result.status"); + result.PublicPort = _ctx.IntegerValue("MoveResourceGroup.Result.publicPort"); + result.KibanaPort = _ctx.IntegerValue("MoveResourceGroup.Result.kibanaPort"); + result.PaymentType = _ctx.StringValue("MoveResourceGroup.Result.paymentType"); + result.Domain = _ctx.StringValue("MoveResourceGroup.Result.domain"); + result.Description = _ctx.StringValue("MoveResourceGroup.Result.description"); result.EsVersion = _ctx.StringValue("MoveResourceGroup.Result.esVersion"); - result.CreatedAt = _ctx.StringValue("MoveResourceGroup.Result.createdAt"); - result.UpdatedAt = _ctx.StringValue("MoveResourceGroup.Result.updatedAt"); result.KibanaDomain = _ctx.StringValue("MoveResourceGroup.Result.kibanaDomain"); - result.KibanaPort = _ctx.IntegerValue("MoveResourceGroup.Result.kibanaPort"); - result.PublicDomain = _ctx.StringValue("MoveResourceGroup.Result.publicDomain"); - result.PublicPort = _ctx.IntegerValue("MoveResourceGroup.Result.publicPort"); + result.UpdatedAt = _ctx.StringValue("MoveResourceGroup.Result.updatedAt"); + result.InstanceId = _ctx.StringValue("MoveResourceGroup.Result.instanceId"); MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_NodeSpec nodeSpec = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_NodeSpec(); nodeSpec.Spec = _ctx.StringValue("MoveResourceGroup.Result.NodeSpec.spec"); @@ -55,33 +55,33 @@ public static MoveResourceGroupResponse Unmarshall(UnmarshallerContext _ctx) result.NodeSpec = nodeSpec; MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_NetworkConfig networkConfig = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.vpcId"); - networkConfig.VswitchId = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.vswitchId"); networkConfig.VsArea = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.type"); + networkConfig.VswitchId = _ctx.StringValue("MoveResourceGroup.Result.NetworkConfig.vswitchId"); result.NetworkConfig = networkConfig; MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_KibanaConfiguration kibanaConfiguration = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_KibanaConfiguration(); kibanaConfiguration.Spec = _ctx.StringValue("MoveResourceGroup.Result.KibanaConfiguration.spec"); kibanaConfiguration.Amount = _ctx.IntegerValue("MoveResourceGroup.Result.KibanaConfiguration.amount"); - kibanaConfiguration.DiskType = _ctx.StringValue("MoveResourceGroup.Result.KibanaConfiguration.diskType"); kibanaConfiguration.Disk = _ctx.IntegerValue("MoveResourceGroup.Result.KibanaConfiguration.disk"); + kibanaConfiguration.DiskType = _ctx.StringValue("MoveResourceGroup.Result.KibanaConfiguration.diskType"); result.KibanaConfiguration = kibanaConfiguration; MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_MasterConfiguration masterConfiguration = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_MasterConfiguration(); masterConfiguration.Spec = _ctx.StringValue("MoveResourceGroup.Result.MasterConfiguration.spec"); masterConfiguration.Amount = _ctx.IntegerValue("MoveResourceGroup.Result.MasterConfiguration.amount"); - masterConfiguration.DiskType = _ctx.StringValue("MoveResourceGroup.Result.MasterConfiguration.diskType"); masterConfiguration.Disk = _ctx.IntegerValue("MoveResourceGroup.Result.MasterConfiguration.disk"); + masterConfiguration.DiskType = _ctx.StringValue("MoveResourceGroup.Result.MasterConfiguration.diskType"); result.MasterConfiguration = masterConfiguration; List result_dictList = new List(); for (int i = 0; i < _ctx.Length("MoveResourceGroup.Result.DictList.Length"); i++) { MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_DictListItem dictListItem = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_DictListItem(); - dictListItem.Name = _ctx.StringValue("MoveResourceGroup.Result.DictList["+ i +"].name"); dictListItem.FileSize = _ctx.LongValue("MoveResourceGroup.Result.DictList["+ i +"].fileSize"); - dictListItem.Type = _ctx.StringValue("MoveResourceGroup.Result.DictList["+ i +"].type"); dictListItem.SourceType = _ctx.StringValue("MoveResourceGroup.Result.DictList["+ i +"].sourceType"); + dictListItem.Name = _ctx.StringValue("MoveResourceGroup.Result.DictList["+ i +"].name"); + dictListItem.Type = _ctx.StringValue("MoveResourceGroup.Result.DictList["+ i +"].type"); result_dictList.Add(dictListItem); } @@ -90,10 +90,10 @@ public static MoveResourceGroupResponse Unmarshall(UnmarshallerContext _ctx) List result_synonymsDicts = new List(); for (int i = 0; i < _ctx.Length("MoveResourceGroup.Result.SynonymsDicts.Length"); i++) { MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_SynonymsDictsItem synonymsDictsItem = new MoveResourceGroupResponse.MoveResourceGroup_Result.MoveResourceGroup_SynonymsDictsItem(); - synonymsDictsItem.Name = _ctx.StringValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].name"); synonymsDictsItem.FileSize = _ctx.LongValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].fileSize"); - synonymsDictsItem.Type = _ctx.StringValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].type"); synonymsDictsItem.SourceType = _ctx.StringValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].sourceType"); + synonymsDictsItem.Name = _ctx.StringValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].name"); + synonymsDictsItem.Type = _ctx.StringValue("MoveResourceGroup.Result.SynonymsDicts["+ i +"].type"); result_synonymsDicts.Add(synonymsDictsItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenDiagnosisResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenDiagnosisResponseUnmarshaller.cs index 1ec9c828ef..98e4ef29ec 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenDiagnosisResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenDiagnosisResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static OpenDiagnosisResponse Unmarshall(UnmarshallerContext _ctx) OpenDiagnosisResponse openDiagnosisResponse = new OpenDiagnosisResponse(); openDiagnosisResponse.HttpResponse = _ctx.HttpResponse; - openDiagnosisResponse.RequestId = _ctx.StringValue("OpenDiagnosis.RequestId"); - openDiagnosisResponse.Result = _ctx.BooleanValue("OpenDiagnosis.Result"); + openDiagnosisResponse.Result = _ctx.BooleanValue("OpenDiagnosis.Result"); + openDiagnosisResponse.RequestId = _ctx.StringValue("OpenDiagnosis.RequestId"); return openDiagnosisResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenHttpsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenHttpsResponseUnmarshaller.cs index 2d5f64e71d..9a5573fed4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenHttpsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/OpenHttpsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static OpenHttpsResponse Unmarshall(UnmarshallerContext _ctx) OpenHttpsResponse openHttpsResponse = new OpenHttpsResponse(); openHttpsResponse.HttpResponse = _ctx.HttpResponse; - openHttpsResponse.RequestId = _ctx.StringValue("OpenHttps.RequestId"); - openHttpsResponse.Result = _ctx.BooleanValue("OpenHttps.Result"); + openHttpsResponse.Result = _ctx.BooleanValue("OpenHttps.Result"); + openHttpsResponse.RequestId = _ctx.StringValue("OpenHttps.RequestId"); return openHttpsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/PostEmonTryAlarmRuleResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/PostEmonTryAlarmRuleResponseUnmarshaller.cs index 8e437db82d..9427c18c7b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/PostEmonTryAlarmRuleResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/PostEmonTryAlarmRuleResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static PostEmonTryAlarmRuleResponse Unmarshall(UnmarshallerContext _ctx) PostEmonTryAlarmRuleResponse postEmonTryAlarmRuleResponse = new PostEmonTryAlarmRuleResponse(); postEmonTryAlarmRuleResponse.HttpResponse = _ctx.HttpResponse; - postEmonTryAlarmRuleResponse.RequestId = _ctx.StringValue("PostEmonTryAlarmRule.RequestId"); postEmonTryAlarmRuleResponse.Code = _ctx.StringValue("PostEmonTryAlarmRule.Code"); postEmonTryAlarmRuleResponse.Message = _ctx.StringValue("PostEmonTryAlarmRule.Message"); + postEmonTryAlarmRuleResponse.RequestId = _ctx.StringValue("PostEmonTryAlarmRule.RequestId"); postEmonTryAlarmRuleResponse.Success = _ctx.BooleanValue("PostEmonTryAlarmRule.Success"); return postEmonTryAlarmRuleResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RecommendTemplatesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RecommendTemplatesResponseUnmarshaller.cs index 55ed2cf678..628036bfd0 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RecommendTemplatesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RecommendTemplatesResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static RecommendTemplatesResponse Unmarshall(UnmarshallerContext _ctx) List recommendTemplatesResponse_result = new List(); for (int i = 0; i < _ctx.Length("RecommendTemplates.Result.Length"); i++) { RecommendTemplatesResponse.RecommendTemplates_TemplateConfig templateConfig = new RecommendTemplatesResponse.RecommendTemplates_TemplateConfig(); - templateConfig.TemplateName = _ctx.StringValue("RecommendTemplates.Result["+ i +"].templateName"); templateConfig.Content = _ctx.StringValue("RecommendTemplates.Result["+ i +"].content"); + templateConfig.TemplateName = _ctx.StringValue("RecommendTemplates.Result["+ i +"].templateName"); recommendTemplatesResponse_result.Add(templateConfig); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ReinstallCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ReinstallCollectorResponseUnmarshaller.cs index 59a93d9dd0..73fc337edc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ReinstallCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ReinstallCollectorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ReinstallCollectorResponse Unmarshall(UnmarshallerContext _ctx) ReinstallCollectorResponse reinstallCollectorResponse = new ReinstallCollectorResponse(); reinstallCollectorResponse.HttpResponse = _ctx.HttpResponse; - reinstallCollectorResponse.RequestId = _ctx.StringValue("ReinstallCollector.RequestId"); - reinstallCollectorResponse.Result = _ctx.BooleanValue("ReinstallCollector.Result"); + reinstallCollectorResponse.Result = _ctx.BooleanValue("ReinstallCollector.Result"); + reinstallCollectorResponse.RequestId = _ctx.StringValue("ReinstallCollector.RequestId"); return reinstallCollectorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewInstanceResponseUnmarshaller.cs index 118d9144ad..4221ab53d9 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewInstanceResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static RenewInstanceResponse Unmarshall(UnmarshallerContext _ctx) RenewInstanceResponse renewInstanceResponse = new RenewInstanceResponse(); renewInstanceResponse.HttpResponse = _ctx.HttpResponse; - renewInstanceResponse.RequestId = _ctx.StringValue("RenewInstance.RequestId"); - renewInstanceResponse.Result = _ctx.BooleanValue("RenewInstance.Result"); + renewInstanceResponse.Result = _ctx.BooleanValue("RenewInstance.Result"); + renewInstanceResponse.RequestId = _ctx.StringValue("RenewInstance.RequestId"); return renewInstanceResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewLogstashResponseUnmarshaller.cs index 3d7a49a84d..cf54ffc754 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RenewLogstashResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static RenewLogstashResponse Unmarshall(UnmarshallerContext _ctx) RenewLogstashResponse renewLogstashResponse = new RenewLogstashResponse(); renewLogstashResponse.HttpResponse = _ctx.HttpResponse; - renewLogstashResponse.RequestId = _ctx.StringValue("RenewLogstash.RequestId"); - renewLogstashResponse.Result = _ctx.BooleanValue("RenewLogstash.Result"); + renewLogstashResponse.Result = _ctx.BooleanValue("RenewLogstash.Result"); + renewLogstashResponse.RequestId = _ctx.StringValue("RenewLogstash.RequestId"); return renewLogstashResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartCollectorResponseUnmarshaller.cs index 22270b89c4..163af43580 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartCollectorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static RestartCollectorResponse Unmarshall(UnmarshallerContext _ctx) RestartCollectorResponse restartCollectorResponse = new RestartCollectorResponse(); restartCollectorResponse.HttpResponse = _ctx.HttpResponse; - restartCollectorResponse.RequestId = _ctx.StringValue("RestartCollector.RequestId"); - restartCollectorResponse.Result = _ctx.BooleanValue("RestartCollector.Result"); + restartCollectorResponse.Result = _ctx.BooleanValue("RestartCollector.Result"); + restartCollectorResponse.RequestId = _ctx.StringValue("RestartCollector.RequestId"); return restartCollectorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartInstanceResponseUnmarshaller.cs index 4a015c8ac6..bb208302eb 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartInstanceResponseUnmarshaller.cs @@ -34,54 +34,54 @@ public static RestartInstanceResponse Unmarshall(UnmarshallerContext _ctx) restartInstanceResponse.RequestId = _ctx.StringValue("RestartInstance.RequestId"); RestartInstanceResponse.RestartInstance_Result result = new RestartInstanceResponse.RestartInstance_Result(); + result.NodeAmount = _ctx.IntegerValue("RestartInstance.Result.nodeAmount"); + result.PublicDomain = _ctx.StringValue("RestartInstance.Result.publicDomain"); result.CreatedAt = _ctx.StringValue("RestartInstance.Result.createdAt"); - result.Description = _ctx.StringValue("RestartInstance.Result.description"); + result.Status = _ctx.StringValue("RestartInstance.Result.status"); + result.KibanaPort = _ctx.IntegerValue("RestartInstance.Result.kibanaPort"); + result.PublicPort = _ctx.IntegerValue("RestartInstance.Result.publicPort"); + result.PaymentType = _ctx.StringValue("RestartInstance.Result.paymentType"); result.Domain = _ctx.StringValue("RestartInstance.Result.domain"); + result.Description = _ctx.StringValue("RestartInstance.Result.description"); result.EsVersion = _ctx.StringValue("RestartInstance.Result.esVersion"); - result.InstanceId = _ctx.StringValue("RestartInstance.Result.instanceId"); result.KibanaDomain = _ctx.StringValue("RestartInstance.Result.kibanaDomain"); - result.KibanaPort = _ctx.IntegerValue("RestartInstance.Result.kibanaPort"); - result.NodeAmount = _ctx.IntegerValue("RestartInstance.Result.nodeAmount"); - result.PaymentType = _ctx.StringValue("RestartInstance.Result.paymentType"); - result.PublicDomain = _ctx.StringValue("RestartInstance.Result.publicDomain"); - result.PublicPort = _ctx.IntegerValue("RestartInstance.Result.publicPort"); - result.Status = _ctx.StringValue("RestartInstance.Result.status"); result.UpdatedAt = _ctx.StringValue("RestartInstance.Result.updatedAt"); + result.InstanceId = _ctx.StringValue("RestartInstance.Result.instanceId"); RestartInstanceResponse.RestartInstance_Result.RestartInstance_KibanaConfiguration kibanaConfiguration = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_KibanaConfiguration(); + kibanaConfiguration.Spec = _ctx.StringValue("RestartInstance.Result.KibanaConfiguration.spec"); kibanaConfiguration.Amount = _ctx.IntegerValue("RestartInstance.Result.KibanaConfiguration.amount"); kibanaConfiguration.Disk = _ctx.IntegerValue("RestartInstance.Result.KibanaConfiguration.disk"); kibanaConfiguration.DiskType = _ctx.StringValue("RestartInstance.Result.KibanaConfiguration.diskType"); - kibanaConfiguration.Spec = _ctx.StringValue("RestartInstance.Result.KibanaConfiguration.spec"); result.KibanaConfiguration = kibanaConfiguration; RestartInstanceResponse.RestartInstance_Result.RestartInstance_MasterConfiguration masterConfiguration = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_MasterConfiguration(); + masterConfiguration.Spec = _ctx.StringValue("RestartInstance.Result.MasterConfiguration.spec"); masterConfiguration.Amount = _ctx.IntegerValue("RestartInstance.Result.MasterConfiguration.amount"); masterConfiguration.Disk = _ctx.IntegerValue("RestartInstance.Result.MasterConfiguration.disk"); masterConfiguration.DiskType = _ctx.StringValue("RestartInstance.Result.MasterConfiguration.diskType"); - masterConfiguration.Spec = _ctx.StringValue("RestartInstance.Result.MasterConfiguration.spec"); result.MasterConfiguration = masterConfiguration; RestartInstanceResponse.RestartInstance_Result.RestartInstance_NetworkConfig networkConfig = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("RestartInstance.Result.NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("RestartInstance.Result.NetworkConfig.vpcId"); networkConfig.VsArea = _ctx.StringValue("RestartInstance.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("RestartInstance.Result.NetworkConfig.type"); networkConfig.VswitchId = _ctx.StringValue("RestartInstance.Result.NetworkConfig.vswitchId"); result.NetworkConfig = networkConfig; RestartInstanceResponse.RestartInstance_Result.RestartInstance_NodeSpec nodeSpec = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_NodeSpec(); + nodeSpec.Spec = _ctx.StringValue("RestartInstance.Result.NodeSpec.spec"); nodeSpec.Disk = _ctx.IntegerValue("RestartInstance.Result.NodeSpec.disk"); nodeSpec.DiskType = _ctx.StringValue("RestartInstance.Result.NodeSpec.diskType"); - nodeSpec.Spec = _ctx.StringValue("RestartInstance.Result.NodeSpec.spec"); result.NodeSpec = nodeSpec; List result_dictList = new List(); for (int i = 0; i < _ctx.Length("RestartInstance.Result.DictList.Length"); i++) { RestartInstanceResponse.RestartInstance_Result.RestartInstance_DictListItem dictListItem = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_DictListItem(); dictListItem.FileSize = _ctx.LongValue("RestartInstance.Result.DictList["+ i +"].fileSize"); + dictListItem.Type = _ctx.StringValue("RestartInstance.Result.DictList["+ i +"].type"); dictListItem.Name = _ctx.StringValue("RestartInstance.Result.DictList["+ i +"].name"); dictListItem.SourceType = _ctx.StringValue("RestartInstance.Result.DictList["+ i +"].sourceType"); - dictListItem.Type = _ctx.StringValue("RestartInstance.Result.DictList["+ i +"].type"); result_dictList.Add(dictListItem); } @@ -91,9 +91,9 @@ public static RestartInstanceResponse Unmarshall(UnmarshallerContext _ctx) for (int i = 0; i < _ctx.Length("RestartInstance.Result.SynonymsDicts.Length"); i++) { RestartInstanceResponse.RestartInstance_Result.RestartInstance_SynonymsDictsItem synonymsDictsItem = new RestartInstanceResponse.RestartInstance_Result.RestartInstance_SynonymsDictsItem(); synonymsDictsItem.FileSize = _ctx.LongValue("RestartInstance.Result.SynonymsDicts["+ i +"].fileSize"); + synonymsDictsItem.Type = _ctx.StringValue("RestartInstance.Result.SynonymsDicts["+ i +"].type"); synonymsDictsItem.Name = _ctx.StringValue("RestartInstance.Result.SynonymsDicts["+ i +"].name"); synonymsDictsItem.SourceType = _ctx.StringValue("RestartInstance.Result.SynonymsDicts["+ i +"].sourceType"); - synonymsDictsItem.Type = _ctx.StringValue("RestartInstance.Result.SynonymsDicts["+ i +"].type"); result_synonymsDicts.Add(synonymsDictsItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartLogstashResponseUnmarshaller.cs index 60125a64a8..b5bfb1a77a 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RestartLogstashResponseUnmarshaller.cs @@ -31,7 +31,68 @@ public static RestartLogstashResponse Unmarshall(UnmarshallerContext _ctx) RestartLogstashResponse restartLogstashResponse = new RestartLogstashResponse(); restartLogstashResponse.HttpResponse = _ctx.HttpResponse; - restartLogstashResponse.RequestId = _ctx.StringValue("RestartLogstash.RequestId"); + restartLogstashResponse.RequestId = _ctx.StringValue("RestartLogstash.RequestId"); + + RestartLogstashResponse.RestartLogstash_Result result = new RestartLogstashResponse.RestartLogstash_Result(); + result.Status = _ctx.StringValue("RestartLogstash.Result.status"); + result.Description = _ctx.StringValue("RestartLogstash.Result.description"); + result.ResourceGroupId = _ctx.StringValue("RestartLogstash.Result.resourceGroupId"); + result.EndTime = _ctx.LongValue("RestartLogstash.Result.endTime"); + result.InstanceId = _ctx.StringValue("RestartLogstash.Result.instanceId"); + result.Config = _ctx.StringValue("RestartLogstash.Result.config"); + result.CreatedAt = _ctx.StringValue("RestartLogstash.Result.createdAt"); + result.NodeAmount = _ctx.LongValue("RestartLogstash.Result.nodeAmount"); + result.UpdatedAt = _ctx.StringValue("RestartLogstash.Result.updatedAt"); + result.Version = _ctx.StringValue("RestartLogstash.Result.version"); + result.DataNode = _ctx.BooleanValue("RestartLogstash.Result.dataNode"); + result.PaymentType = _ctx.StringValue("RestartLogstash.Result.paymentType"); + result.Protocol = _ctx.StringValue("RestartLogstash.Result.protocol"); + result.ZoneCount = _ctx.LongValue("RestartLogstash.Result.zoneCount"); + + RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_NetworkConfig networkConfig = new RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_NetworkConfig(); + networkConfig.Type = _ctx.StringValue("RestartLogstash.Result.NetworkConfig.type"); + networkConfig.VpcId = _ctx.StringValue("RestartLogstash.Result.NetworkConfig.vpcId"); + networkConfig.VsArea = _ctx.StringValue("RestartLogstash.Result.NetworkConfig.vsArea"); + networkConfig.VswitchId = _ctx.StringValue("RestartLogstash.Result.NetworkConfig.vswitchId"); + result.NetworkConfig = networkConfig; + + RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_NodeSpec nodeSpec = new RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_NodeSpec(); + nodeSpec.Disk = _ctx.LongValue("RestartLogstash.Result.NodeSpec.disk"); + nodeSpec.DiskType = _ctx.StringValue("RestartLogstash.Result.NodeSpec.diskType"); + nodeSpec.Spec = _ctx.StringValue("RestartLogstash.Result.NodeSpec.spec"); + result.NodeSpec = nodeSpec; + + List result_endpointList = new List(); + for (int i = 0; i < _ctx.Length("RestartLogstash.Result.EndpointList.Length"); i++) { + RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_EndpointListItem endpointListItem = new RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_EndpointListItem(); + endpointListItem.Host = _ctx.StringValue("RestartLogstash.Result.EndpointList["+ i +"].host"); + endpointListItem.Port = _ctx.LongValue("RestartLogstash.Result.EndpointList["+ i +"].port"); + endpointListItem.ZoneId = _ctx.StringValue("RestartLogstash.Result.EndpointList["+ i +"].zoneId"); + + result_endpointList.Add(endpointListItem); + } + result.EndpointList = result_endpointList; + + List result_zoneInfos = new List(); + for (int i = 0; i < _ctx.Length("RestartLogstash.Result.ZoneInfos.Length"); i++) { + RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_ZoneInfosItem zoneInfosItem = new RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_ZoneInfosItem(); + zoneInfosItem.Status = _ctx.StringValue("RestartLogstash.Result.ZoneInfos["+ i +"].status"); + zoneInfosItem.ZoneId = _ctx.StringValue("RestartLogstash.Result.ZoneInfos["+ i +"].zoneId"); + + result_zoneInfos.Add(zoneInfosItem); + } + result.ZoneInfos = result_zoneInfos; + + List result_tags = new List(); + for (int i = 0; i < _ctx.Length("RestartLogstash.Result.Tags.Length"); i++) { + RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_TagsItem tagsItem = new RestartLogstashResponse.RestartLogstash_Result.RestartLogstash_TagsItem(); + tagsItem.TagKey = _ctx.StringValue("RestartLogstash.Result.Tags["+ i +"].tagKey"); + tagsItem.TagValue = _ctx.StringValue("RestartLogstash.Result.Tags["+ i +"].tagValue"); + + result_tags.Add(tagsItem); + } + result.Tags = result_tags; + restartLogstashResponse.Result = result; return restartLogstashResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeElasticsearchTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeElasticsearchTaskResponseUnmarshaller.cs index f2bb1c0728..0446190b8d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeElasticsearchTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeElasticsearchTaskResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ResumeElasticsearchTaskResponse Unmarshall(UnmarshallerContext _ct ResumeElasticsearchTaskResponse resumeElasticsearchTaskResponse = new ResumeElasticsearchTaskResponse(); resumeElasticsearchTaskResponse.HttpResponse = _ctx.HttpResponse; - resumeElasticsearchTaskResponse.RequestId = _ctx.StringValue("ResumeElasticsearchTask.RequestId"); - resumeElasticsearchTaskResponse.Result = _ctx.BooleanValue("ResumeElasticsearchTask.Result"); + resumeElasticsearchTaskResponse.Result = _ctx.BooleanValue("ResumeElasticsearchTask.Result"); + resumeElasticsearchTaskResponse.RequestId = _ctx.StringValue("ResumeElasticsearchTask.RequestId"); return resumeElasticsearchTaskResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeLogstashTaskResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeLogstashTaskResponseUnmarshaller.cs index 57930369e4..808d69bfed 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeLogstashTaskResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ResumeLogstashTaskResponseUnmarshaller.cs @@ -31,9 +31,9 @@ public static ResumeLogstashTaskResponse Unmarshall(UnmarshallerContext _ctx) ResumeLogstashTaskResponse resumeLogstashTaskResponse = new ResumeLogstashTaskResponse(); resumeLogstashTaskResponse.HttpResponse = _ctx.HttpResponse; - resumeLogstashTaskResponse.RequestId = _ctx.StringValue("ResumeLogstashTask.RequestId"); resumeLogstashTaskResponse.Code = _ctx.StringValue("ResumeLogstashTask.Code"); resumeLogstashTaskResponse.Message = _ctx.StringValue("ResumeLogstashTask.Message"); + resumeLogstashTaskResponse.RequestId = _ctx.StringValue("ResumeLogstashTask.RequestId"); resumeLogstashTaskResponse.Result = _ctx.BooleanValue("ResumeLogstashTask.Result"); return resumeLogstashTaskResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RolloverDataStreamResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RolloverDataStreamResponseUnmarshaller.cs index 84b22a545f..c4a91729d6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RolloverDataStreamResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RolloverDataStreamResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static RolloverDataStreamResponse Unmarshall(UnmarshallerContext _ctx) RolloverDataStreamResponse rolloverDataStreamResponse = new RolloverDataStreamResponse(); rolloverDataStreamResponse.HttpResponse = _ctx.HttpResponse; - rolloverDataStreamResponse.RequestId = _ctx.StringValue("RolloverDataStream.RequestId"); - rolloverDataStreamResponse.Result = _ctx.BooleanValue("RolloverDataStream.Result"); + rolloverDataStreamResponse.Result = _ctx.BooleanValue("RolloverDataStream.Result"); + rolloverDataStreamResponse.RequestId = _ctx.StringValue("RolloverDataStream.RequestId"); return rolloverDataStreamResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RunPipelinesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RunPipelinesResponseUnmarshaller.cs index f6b56b43fa..376ce11e56 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RunPipelinesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/RunPipelinesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static RunPipelinesResponse Unmarshall(UnmarshallerContext _ctx) RunPipelinesResponse runPipelinesResponse = new RunPipelinesResponse(); runPipelinesResponse.HttpResponse = _ctx.HttpResponse; - runPipelinesResponse.RequestId = _ctx.StringValue("RunPipelines.RequestId"); - runPipelinesResponse.Result = _ctx.BooleanValue("RunPipelines.Result"); + runPipelinesResponse.Result = _ctx.BooleanValue("RunPipelines.Result"); + runPipelinesResponse.RequestId = _ctx.StringValue("RunPipelines.RequestId"); return runPipelinesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ShrinkNodeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ShrinkNodeResponseUnmarshaller.cs index 1cb0e00007..5fdee9fc6f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ShrinkNodeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ShrinkNodeResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ShrinkNodeResponse Unmarshall(UnmarshallerContext _ctx) ShrinkNodeResponse shrinkNodeResponse = new ShrinkNodeResponse(); shrinkNodeResponse.HttpResponse = _ctx.HttpResponse; - shrinkNodeResponse.RequestId = _ctx.StringValue("ShrinkNode.RequestId"); - shrinkNodeResponse.Result = _ctx.BooleanValue("ShrinkNode.Result"); + shrinkNodeResponse.Result = _ctx.BooleanValue("ShrinkNode.Result"); + shrinkNodeResponse.RequestId = _ctx.StringValue("ShrinkNode.RequestId"); return shrinkNodeResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StartCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StartCollectorResponseUnmarshaller.cs index 554a7b3804..dbee917aa5 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StartCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StartCollectorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static StartCollectorResponse Unmarshall(UnmarshallerContext _ctx) StartCollectorResponse startCollectorResponse = new StartCollectorResponse(); startCollectorResponse.HttpResponse = _ctx.HttpResponse; - startCollectorResponse.RequestId = _ctx.StringValue("StartCollector.RequestId"); - startCollectorResponse.Result = _ctx.BooleanValue("StartCollector.Result"); + startCollectorResponse.Result = _ctx.BooleanValue("StartCollector.Result"); + startCollectorResponse.RequestId = _ctx.StringValue("StartCollector.RequestId"); return startCollectorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopCollectorResponseUnmarshaller.cs index 6a24377936..a8b57a34a7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopCollectorResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static StopCollectorResponse Unmarshall(UnmarshallerContext _ctx) StopCollectorResponse stopCollectorResponse = new StopCollectorResponse(); stopCollectorResponse.HttpResponse = _ctx.HttpResponse; - stopCollectorResponse.RequestId = _ctx.StringValue("StopCollector.RequestId"); - stopCollectorResponse.Result = _ctx.BooleanValue("StopCollector.Result"); + stopCollectorResponse.Result = _ctx.BooleanValue("StopCollector.Result"); + stopCollectorResponse.RequestId = _ctx.StringValue("StopCollector.RequestId"); return stopCollectorResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopPipelinesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopPipelinesResponseUnmarshaller.cs index 60658dcd59..09a79a29f4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopPipelinesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/StopPipelinesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static StopPipelinesResponse Unmarshall(UnmarshallerContext _ctx) StopPipelinesResponse stopPipelinesResponse = new StopPipelinesResponse(); stopPipelinesResponse.HttpResponse = _ctx.HttpResponse; - stopPipelinesResponse.RequestId = _ctx.StringValue("StopPipelines.RequestId"); - stopPipelinesResponse.Result = _ctx.BooleanValue("StopPipelines.Result"); + stopPipelinesResponse.Result = _ctx.BooleanValue("StopPipelines.Result"); + stopPipelinesResponse.RequestId = _ctx.StringValue("StopPipelines.RequestId"); return stopPipelinesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TagResourcesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TagResourcesResponseUnmarshaller.cs index f5f3df669c..e3693e51f8 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TagResourcesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TagResourcesResponseUnmarshaller.cs @@ -31,6 +31,7 @@ public static TagResourcesResponse Unmarshall(UnmarshallerContext _ctx) TagResourcesResponse tagResourcesResponse = new TagResourcesResponse(); tagResourcesResponse.HttpResponse = _ctx.HttpResponse; + tagResourcesResponse.Result = _ctx.BooleanValue("TagResources.Result"); tagResourcesResponse.RequestId = _ctx.StringValue("TagResources.RequestId"); return tagResourcesResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TransferNodeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TransferNodeResponseUnmarshaller.cs index a3d45fb0a5..7db929044f 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TransferNodeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TransferNodeResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static TransferNodeResponse Unmarshall(UnmarshallerContext _ctx) TransferNodeResponse transferNodeResponse = new TransferNodeResponse(); transferNodeResponse.HttpResponse = _ctx.HttpResponse; - transferNodeResponse.RequestId = _ctx.StringValue("TransferNode.RequestId"); - transferNodeResponse.Result = _ctx.BooleanValue("TransferNode.Result"); + transferNodeResponse.Result = _ctx.BooleanValue("TransferNode.Result"); + transferNodeResponse.RequestId = _ctx.StringValue("TransferNode.RequestId"); return transferNodeResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TriggerNetworkResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TriggerNetworkResponseUnmarshaller.cs index d3d825a919..1ea6267a9d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TriggerNetworkResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/TriggerNetworkResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static TriggerNetworkResponse Unmarshall(UnmarshallerContext _ctx) TriggerNetworkResponse triggerNetworkResponse = new TriggerNetworkResponse(); triggerNetworkResponse.HttpResponse = _ctx.HttpResponse; - triggerNetworkResponse.RequestId = _ctx.StringValue("TriggerNetwork.RequestId"); - triggerNetworkResponse.Result = _ctx.BooleanValue("TriggerNetwork.Result"); + triggerNetworkResponse.Result = _ctx.BooleanValue("TriggerNetwork.Result"); + triggerNetworkResponse.RequestId = _ctx.StringValue("TriggerNetwork.RequestId"); return triggerNetworkResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UninstallLogstashPluginResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UninstallLogstashPluginResponseUnmarshaller.cs index 1449c3354d..a335f83134 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UninstallLogstashPluginResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UninstallLogstashPluginResponseUnmarshaller.cs @@ -32,6 +32,7 @@ public static UninstallLogstashPluginResponse Unmarshall(UnmarshallerContext _ct uninstallLogstashPluginResponse.HttpResponse = _ctx.HttpResponse; uninstallLogstashPluginResponse.RequestId = _ctx.StringValue("UninstallLogstashPlugin.RequestId"); + uninstallLogstashPluginResponse.Headers = _ctx.StringValue("UninstallLogstashPlugin.Headers"); List uninstallLogstashPluginResponse_result = new List(); for (int i = 0; i < _ctx.Length("UninstallLogstashPlugin.Result.Length"); i++) { diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UntagResourcesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UntagResourcesResponseUnmarshaller.cs index eae9d4a0a4..e85a06f7c3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UntagResourcesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UntagResourcesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UntagResourcesResponse Unmarshall(UnmarshallerContext _ctx) UntagResourcesResponse untagResourcesResponse = new UntagResourcesResponse(); untagResourcesResponse.HttpResponse = _ctx.HttpResponse; - untagResourcesResponse.RequestId = _ctx.StringValue("UntagResources.RequestId"); - untagResourcesResponse.Result = _ctx.BooleanValue("UntagResources.Result"); + untagResourcesResponse.Result = _ctx.BooleanValue("UntagResources.Result"); + untagResourcesResponse.RequestId = _ctx.StringValue("UntagResources.RequestId"); return untagResourcesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdminPasswordResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdminPasswordResponseUnmarshaller.cs index 6a8b2ecb15..39f5201d0b 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdminPasswordResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdminPasswordResponseUnmarshaller.cs @@ -31,7 +31,8 @@ public static UpdateAdminPasswordResponse Unmarshall(UnmarshallerContext _ctx) UpdateAdminPasswordResponse updateAdminPasswordResponse = new UpdateAdminPasswordResponse(); updateAdminPasswordResponse.HttpResponse = _ctx.HttpResponse; - updateAdminPasswordResponse.RequestId = _ctx.StringValue("UpdateAdminPassword.RequestId"); + updateAdminPasswordResponse.RequestId = _ctx.StringValue("UpdateAdminPassword.RequestId"); + updateAdminPasswordResponse.Result = _ctx.BooleanValue("UpdateAdminPassword.Result"); return updateAdminPasswordResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdvancedSettingResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdvancedSettingResponseUnmarshaller.cs index 6fe40d0174..d2cf4e7029 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdvancedSettingResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAdvancedSettingResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateAdvancedSettingResponse Unmarshall(UnmarshallerContext _ctx) UpdateAdvancedSettingResponse updateAdvancedSettingResponse = new UpdateAdvancedSettingResponse(); updateAdvancedSettingResponse.HttpResponse = _ctx.HttpResponse; - updateAdvancedSettingResponse.RequestId = _ctx.StringValue("UpdateAdvancedSetting.RequestId"); - updateAdvancedSettingResponse.Result = _ctx.BooleanValue("UpdateAdvancedSetting.Result"); + updateAdvancedSettingResponse.Result = _ctx.BooleanValue("UpdateAdvancedSetting.Result"); + updateAdvancedSettingResponse.RequestId = _ctx.StringValue("UpdateAdvancedSetting.RequestId"); return updateAdvancedSettingResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAliwsDictResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAliwsDictResponseUnmarshaller.cs index 2c349dd8c6..c437c9a915 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAliwsDictResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateAliwsDictResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static UpdateAliwsDictResponse Unmarshall(UnmarshallerContext _ctx) List updateAliwsDictResponse_result = new List(); for (int i = 0; i < _ctx.Length("UpdateAliwsDict.Result.Length"); i++) { UpdateAliwsDictResponse.UpdateAliwsDict_DictList dictList = new UpdateAliwsDictResponse.UpdateAliwsDict_DictList(); - dictList.Name = _ctx.StringValue("UpdateAliwsDict.Result["+ i +"].name"); dictList.FileSize = _ctx.LongValue("UpdateAliwsDict.Result["+ i +"].fileSize"); - dictList.Type = _ctx.StringValue("UpdateAliwsDict.Result["+ i +"].type"); dictList.SourceType = _ctx.StringValue("UpdateAliwsDict.Result["+ i +"].sourceType"); + dictList.Name = _ctx.StringValue("UpdateAliwsDict.Result["+ i +"].name"); + dictList.Type = _ctx.StringValue("UpdateAliwsDict.Result["+ i +"].type"); updateAliwsDictResponse_result.Add(dictList); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorNameResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorNameResponseUnmarshaller.cs index 4c82ff0ad0..84a8060ae6 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorNameResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorNameResponseUnmarshaller.cs @@ -34,16 +34,16 @@ public static UpdateCollectorNameResponse Unmarshall(UnmarshallerContext _ctx) updateCollectorNameResponse.RequestId = _ctx.StringValue("UpdateCollectorName.RequestId"); UpdateCollectorNameResponse.UpdateCollectorName_Result result = new UpdateCollectorNameResponse.UpdateCollectorName_Result(); - result.GmtCreatedTime = _ctx.StringValue("UpdateCollectorName.Result.gmtCreatedTime"); - result.GmtUpdateTime = _ctx.StringValue("UpdateCollectorName.Result.gmtUpdateTime"); - result.Name = _ctx.StringValue("UpdateCollectorName.Result.name"); result.ResId = _ctx.StringValue("UpdateCollectorName.Result.resId"); - result.ResVersion = _ctx.StringValue("UpdateCollectorName.Result.resVersion"); + result.GmtUpdateTime = _ctx.StringValue("UpdateCollectorName.Result.gmtUpdateTime"); + result.DryRun = _ctx.BooleanValue("UpdateCollectorName.Result.dryRun"); + result.OwnerId = _ctx.StringValue("UpdateCollectorName.Result.ownerId"); result.VpcId = _ctx.StringValue("UpdateCollectorName.Result.vpcId"); result.ResType = _ctx.StringValue("UpdateCollectorName.Result.resType"); - result.OwnerId = _ctx.StringValue("UpdateCollectorName.Result.ownerId"); + result.ResVersion = _ctx.StringValue("UpdateCollectorName.Result.resVersion"); + result.GmtCreatedTime = _ctx.StringValue("UpdateCollectorName.Result.gmtCreatedTime"); result.Status = _ctx.StringValue("UpdateCollectorName.Result.status"); - result.DryRun = _ctx.BooleanValue("UpdateCollectorName.Result.dryRun"); + result.Name = _ctx.StringValue("UpdateCollectorName.Result.name"); List result_collectorPaths = new List(); for (int i = 0; i < _ctx.Length("UpdateCollectorName.Result.CollectorPaths.Length"); i++) { @@ -54,8 +54,8 @@ public static UpdateCollectorNameResponse Unmarshall(UnmarshallerContext _ctx) List result_configs = new List(); for (int i = 0; i < _ctx.Length("UpdateCollectorName.Result.Configs.Length"); i++) { UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ConfigsItem configsItem = new UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ConfigsItem(); - configsItem.FileName = _ctx.StringValue("UpdateCollectorName.Result.Configs["+ i +"].fileName"); configsItem.Content = _ctx.StringValue("UpdateCollectorName.Result.Configs["+ i +"].content"); + configsItem.FileName = _ctx.StringValue("UpdateCollectorName.Result.Configs["+ i +"].fileName"); result_configs.Add(configsItem); } @@ -64,18 +64,18 @@ public static UpdateCollectorNameResponse Unmarshall(UnmarshallerContext _ctx) List result_extendConfigs = new List(); for (int i = 0; i < _ctx.Length("UpdateCollectorName.Result.ExtendConfigs.Length"); i++) { UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ExtendConfigsItem extendConfigsItem = new UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ExtendConfigsItem(); - extendConfigsItem.ConfigType = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].configType"); - extendConfigsItem.InstanceId = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].instanceId"); - extendConfigsItem.InstanceType = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].instanceType"); + extendConfigsItem.SuccessPodsCount = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].successPodsCount"); extendConfigsItem.Protocol = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].protocol"); extendConfigsItem.UserName = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].userName"); - extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.TotalPodsCount = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].totalPodsCount"); extendConfigsItem.Type = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].type"); + extendConfigsItem.KibanaHost = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].kibanaHost"); + extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.ConfigType = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].configType"); + extendConfigsItem.InstanceType = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].instanceType"); extendConfigsItem.GroupId = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].groupId"); extendConfigsItem.Host = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].host"); - extendConfigsItem.KibanaHost = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].kibanaHost"); - extendConfigsItem.TotalPodsCount = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].totalPodsCount"); - extendConfigsItem.SuccessPodsCount = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].successPodsCount"); + extendConfigsItem.InstanceId = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].instanceId"); List extendConfigsItem_hosts = new List(); for (int j = 0; j < _ctx.Length("UpdateCollectorName.Result.ExtendConfigs["+ i +"].Hosts.Length"); j++) { @@ -86,8 +86,8 @@ public static UpdateCollectorNameResponse Unmarshall(UnmarshallerContext _ctx) List extendConfigsItem_machines = new List(); for (int j = 0; j < _ctx.Length("UpdateCollectorName.Result.ExtendConfigs["+ i +"].Machines.Length"); j++) { UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ExtendConfigsItem.UpdateCollectorName_MachinesItem machinesItem = new UpdateCollectorNameResponse.UpdateCollectorName_Result.UpdateCollectorName_ExtendConfigsItem.UpdateCollectorName_MachinesItem(); - machinesItem.InstanceId = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); machinesItem.AgentStatus = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].Machines["+ j +"].agentStatus"); + machinesItem.InstanceId = _ctx.StringValue("UpdateCollectorName.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); extendConfigsItem_machines.Add(machinesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorResponseUnmarshaller.cs index f76f177176..000d21bea2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateCollectorResponseUnmarshaller.cs @@ -34,16 +34,16 @@ public static UpdateCollectorResponse Unmarshall(UnmarshallerContext _ctx) updateCollectorResponse.RequestId = _ctx.StringValue("UpdateCollector.RequestId"); UpdateCollectorResponse.UpdateCollector_Result result = new UpdateCollectorResponse.UpdateCollector_Result(); - result.GmtCreatedTime = _ctx.StringValue("UpdateCollector.Result.gmtCreatedTime"); - result.GmtUpdateTime = _ctx.StringValue("UpdateCollector.Result.gmtUpdateTime"); - result.Name = _ctx.StringValue("UpdateCollector.Result.name"); result.ResId = _ctx.StringValue("UpdateCollector.Result.resId"); - result.ResVersion = _ctx.StringValue("UpdateCollector.Result.resVersion"); + result.GmtUpdateTime = _ctx.StringValue("UpdateCollector.Result.gmtUpdateTime"); + result.DryRun = _ctx.BooleanValue("UpdateCollector.Result.dryRun"); + result.OwnerId = _ctx.StringValue("UpdateCollector.Result.ownerId"); result.VpcId = _ctx.StringValue("UpdateCollector.Result.vpcId"); result.ResType = _ctx.StringValue("UpdateCollector.Result.resType"); - result.OwnerId = _ctx.StringValue("UpdateCollector.Result.ownerId"); + result.ResVersion = _ctx.StringValue("UpdateCollector.Result.resVersion"); + result.GmtCreatedTime = _ctx.StringValue("UpdateCollector.Result.gmtCreatedTime"); result.Status = _ctx.StringValue("UpdateCollector.Result.status"); - result.DryRun = _ctx.BooleanValue("UpdateCollector.Result.dryRun"); + result.Name = _ctx.StringValue("UpdateCollector.Result.name"); List result_collectorPaths = new List(); for (int i = 0; i < _ctx.Length("UpdateCollector.Result.CollectorPaths.Length"); i++) { @@ -54,8 +54,8 @@ public static UpdateCollectorResponse Unmarshall(UnmarshallerContext _ctx) List result_configs = new List(); for (int i = 0; i < _ctx.Length("UpdateCollector.Result.Configs.Length"); i++) { UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ConfigsItem configsItem = new UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ConfigsItem(); - configsItem.FileName = _ctx.StringValue("UpdateCollector.Result.Configs["+ i +"].fileName"); configsItem.Content = _ctx.StringValue("UpdateCollector.Result.Configs["+ i +"].content"); + configsItem.FileName = _ctx.StringValue("UpdateCollector.Result.Configs["+ i +"].fileName"); result_configs.Add(configsItem); } @@ -64,18 +64,18 @@ public static UpdateCollectorResponse Unmarshall(UnmarshallerContext _ctx) List result_extendConfigs = new List(); for (int i = 0; i < _ctx.Length("UpdateCollector.Result.ExtendConfigs.Length"); i++) { UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ExtendConfigsItem extendConfigsItem = new UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ExtendConfigsItem(); - extendConfigsItem.ConfigType = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].configType"); - extendConfigsItem.InstanceId = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].instanceId"); - extendConfigsItem.InstanceType = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].instanceType"); + extendConfigsItem.SuccessPodsCount = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].successPodsCount"); extendConfigsItem.Protocol = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].protocol"); extendConfigsItem.UserName = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].userName"); - extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("UpdateCollector.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.TotalPodsCount = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].totalPodsCount"); extendConfigsItem.Type = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].type"); + extendConfigsItem.KibanaHost = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].kibanaHost"); + extendConfigsItem.EnableMonitoring = _ctx.BooleanValue("UpdateCollector.Result.ExtendConfigs["+ i +"].enableMonitoring"); + extendConfigsItem.ConfigType = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].configType"); + extendConfigsItem.InstanceType = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].instanceType"); extendConfigsItem.GroupId = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].groupId"); extendConfigsItem.Host = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].host"); - extendConfigsItem.KibanaHost = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].kibanaHost"); - extendConfigsItem.TotalPodsCount = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].totalPodsCount"); - extendConfigsItem.SuccessPodsCount = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].successPodsCount"); + extendConfigsItem.InstanceId = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].instanceId"); List extendConfigsItem_hosts = new List(); for (int j = 0; j < _ctx.Length("UpdateCollector.Result.ExtendConfigs["+ i +"].Hosts.Length"); j++) { @@ -86,8 +86,8 @@ public static UpdateCollectorResponse Unmarshall(UnmarshallerContext _ctx) List extendConfigsItem_machines = new List(); for (int j = 0; j < _ctx.Length("UpdateCollector.Result.ExtendConfigs["+ i +"].Machines.Length"); j++) { UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ExtendConfigsItem.UpdateCollector_MachinesItem machinesItem = new UpdateCollectorResponse.UpdateCollector_Result.UpdateCollector_ExtendConfigsItem.UpdateCollector_MachinesItem(); - machinesItem.InstanceId = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); machinesItem.AgentStatus = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].agentStatus"); + machinesItem.InstanceId = _ctx.StringValue("UpdateCollector.Result.ExtendConfigs["+ i +"].Machines["+ j +"].instanceId"); extendConfigsItem_machines.Add(machinesItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateComponentIndexResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateComponentIndexResponseUnmarshaller.cs new file mode 100644 index 0000000000..e95a1cf304 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateComponentIndexResponseUnmarshaller.cs @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class UpdateComponentIndexResponseUnmarshaller + { + public static UpdateComponentIndexResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateComponentIndexResponse updateComponentIndexResponse = new UpdateComponentIndexResponse(); + + updateComponentIndexResponse.HttpResponse = _ctx.HttpResponse; + updateComponentIndexResponse.RequestId = _ctx.StringValue("UpdateComponentIndex.requestId"); + + return updateComponentIndexResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDiagnosisSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDiagnosisSettingsResponseUnmarshaller.cs index 6040b8f8a0..e414ae90c1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDiagnosisSettingsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDiagnosisSettingsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateDiagnosisSettingsResponse Unmarshall(UnmarshallerContext _ct UpdateDiagnosisSettingsResponse updateDiagnosisSettingsResponse = new UpdateDiagnosisSettingsResponse(); updateDiagnosisSettingsResponse.HttpResponse = _ctx.HttpResponse; - updateDiagnosisSettingsResponse.RequestId = _ctx.StringValue("UpdateDiagnosisSettings.RequestId"); - updateDiagnosisSettingsResponse.Result = _ctx.BooleanValue("UpdateDiagnosisSettings.Result"); + updateDiagnosisSettingsResponse.Result = _ctx.BooleanValue("UpdateDiagnosisSettings.Result"); + updateDiagnosisSettingsResponse.RequestId = _ctx.StringValue("UpdateDiagnosisSettings.RequestId"); return updateDiagnosisSettingsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDictResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDictResponseUnmarshaller.cs index 9700162737..c36c5bf996 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDictResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDictResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static UpdateDictResponse Unmarshall(UnmarshallerContext _ctx) List updateDictResponse_result = new List(); for (int i = 0; i < _ctx.Length("UpdateDict.Result.Length"); i++) { UpdateDictResponse.UpdateDict_DictList dictList = new UpdateDictResponse.UpdateDict_DictList(); - dictList.Name = _ctx.StringValue("UpdateDict.Result["+ i +"].name"); dictList.FileSize = _ctx.LongValue("UpdateDict.Result["+ i +"].fileSize"); - dictList.Type = _ctx.StringValue("UpdateDict.Result["+ i +"].type"); dictList.SourceType = _ctx.StringValue("UpdateDict.Result["+ i +"].sourceType"); + dictList.Name = _ctx.StringValue("UpdateDict.Result["+ i +"].name"); + dictList.Type = _ctx.StringValue("UpdateDict.Result["+ i +"].type"); updateDictResponse_result.Add(dictList); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDynamicSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDynamicSettingsResponseUnmarshaller.cs new file mode 100644 index 0000000000..eff31fdbd5 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateDynamicSettingsResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class UpdateDynamicSettingsResponseUnmarshaller + { + public static UpdateDynamicSettingsResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateDynamicSettingsResponse updateDynamicSettingsResponse = new UpdateDynamicSettingsResponse(); + + updateDynamicSettingsResponse.HttpResponse = _ctx.HttpResponse; + updateDynamicSettingsResponse.Result = _ctx.BooleanValue("UpdateDynamicSettings.Result"); + updateDynamicSettingsResponse.RequestId = _ctx.StringValue("UpdateDynamicSettings.RequestId"); + + return updateDynamicSettingsResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendConfigResponseUnmarshaller.cs index 2e1c7a3a09..a40da2a125 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendConfigResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateExtendConfigResponse Unmarshall(UnmarshallerContext _ctx) UpdateExtendConfigResponse updateExtendConfigResponse = new UpdateExtendConfigResponse(); updateExtendConfigResponse.HttpResponse = _ctx.HttpResponse; - updateExtendConfigResponse.RequestId = _ctx.StringValue("UpdateExtendConfig.RequestId"); - updateExtendConfigResponse.Result = _ctx.BooleanValue("UpdateExtendConfig.Result"); + updateExtendConfigResponse.Result = _ctx.BooleanValue("UpdateExtendConfig.Result"); + updateExtendConfigResponse.RequestId = _ctx.StringValue("UpdateExtendConfig.RequestId"); return updateExtendConfigResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendfilesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendfilesResponseUnmarshaller.cs index 7bebe703f6..229cfd74dd 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendfilesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateExtendfilesResponseUnmarshaller.cs @@ -36,8 +36,8 @@ public static UpdateExtendfilesResponse Unmarshall(UnmarshallerContext _ctx) List updateExtendfilesResponse_result = new List(); for (int i = 0; i < _ctx.Length("UpdateExtendfiles.Result.Length"); i++) { UpdateExtendfilesResponse.UpdateExtendfiles_ResultItem resultItem = new UpdateExtendfilesResponse.UpdateExtendfiles_ResultItem(); - resultItem.Name = _ctx.StringValue("UpdateExtendfiles.Result["+ i +"].name"); resultItem.FileSize = _ctx.LongValue("UpdateExtendfiles.Result["+ i +"].fileSize"); + resultItem.Name = _ctx.StringValue("UpdateExtendfiles.Result["+ i +"].name"); resultItem.SourceType = _ctx.StringValue("UpdateExtendfiles.Result["+ i +"].sourceType"); updateExtendfilesResponse_result.Add(resultItem); diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateHotIkDictsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateHotIkDictsResponseUnmarshaller.cs index ac5178e253..4d34256fdc 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateHotIkDictsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateHotIkDictsResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static UpdateHotIkDictsResponse Unmarshall(UnmarshallerContext _ctx) List updateHotIkDictsResponse_result = new List(); for (int i = 0; i < _ctx.Length("UpdateHotIkDicts.Result.Length"); i++) { UpdateHotIkDictsResponse.UpdateHotIkDicts_DictList dictList = new UpdateHotIkDictsResponse.UpdateHotIkDicts_DictList(); - dictList.Name = _ctx.StringValue("UpdateHotIkDicts.Result["+ i +"].name"); dictList.FileSize = _ctx.LongValue("UpdateHotIkDicts.Result["+ i +"].fileSize"); - dictList.Type = _ctx.StringValue("UpdateHotIkDicts.Result["+ i +"].type"); dictList.SourceType = _ctx.StringValue("UpdateHotIkDicts.Result["+ i +"].sourceType"); + dictList.Name = _ctx.StringValue("UpdateHotIkDicts.Result["+ i +"].name"); + dictList.Type = _ctx.StringValue("UpdateHotIkDicts.Result["+ i +"].type"); updateHotIkDictsResponse_result.Add(dictList); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateILMPolicyResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateILMPolicyResponseUnmarshaller.cs index af6a35865e..8c75df14ee 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateILMPolicyResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateILMPolicyResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateILMPolicyResponse Unmarshall(UnmarshallerContext _ctx) UpdateILMPolicyResponse updateILMPolicyResponse = new UpdateILMPolicyResponse(); updateILMPolicyResponse.HttpResponse = _ctx.HttpResponse; - updateILMPolicyResponse.RequestId = _ctx.StringValue("UpdateILMPolicy.RequestId"); - updateILMPolicyResponse.Result = _ctx.StringValue("UpdateILMPolicy.Result"); + updateILMPolicyResponse.Result = _ctx.StringValue("UpdateILMPolicy.Result"); + updateILMPolicyResponse.RequestId = _ctx.StringValue("UpdateILMPolicy.RequestId"); return updateILMPolicyResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateIndexTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateIndexTemplateResponseUnmarshaller.cs index be433d71eb..c51f2436af 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateIndexTemplateResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateIndexTemplateResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateIndexTemplateResponse Unmarshall(UnmarshallerContext _ctx) UpdateIndexTemplateResponse updateIndexTemplateResponse = new UpdateIndexTemplateResponse(); updateIndexTemplateResponse.HttpResponse = _ctx.HttpResponse; - updateIndexTemplateResponse.RequestId = _ctx.StringValue("UpdateIndexTemplate.RequestId"); - updateIndexTemplateResponse.Result = _ctx.StringValue("UpdateIndexTemplate.Result"); + updateIndexTemplateResponse.Result = _ctx.StringValue("UpdateIndexTemplate.Result"); + updateIndexTemplateResponse.RequestId = _ctx.StringValue("UpdateIndexTemplate.RequestId"); return updateIndexTemplateResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceChargeTypeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceChargeTypeResponseUnmarshaller.cs index 96f8ffbe53..7e333249e7 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceChargeTypeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceChargeTypeResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateInstanceChargeTypeResponse Unmarshall(UnmarshallerContext _c UpdateInstanceChargeTypeResponse updateInstanceChargeTypeResponse = new UpdateInstanceChargeTypeResponse(); updateInstanceChargeTypeResponse.HttpResponse = _ctx.HttpResponse; - updateInstanceChargeTypeResponse.RequestId = _ctx.StringValue("UpdateInstanceChargeType.RequestId"); - updateInstanceChargeTypeResponse.Result = _ctx.BooleanValue("UpdateInstanceChargeType.Result"); + updateInstanceChargeTypeResponse.Result = _ctx.BooleanValue("UpdateInstanceChargeType.Result"); + updateInstanceChargeTypeResponse.RequestId = _ctx.StringValue("UpdateInstanceChargeType.RequestId"); return updateInstanceChargeTypeResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceResponseUnmarshaller.cs index 3eceddf68e..80aabda7ba 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateInstanceResponseUnmarshaller.cs @@ -32,21 +32,23 @@ public static UpdateInstanceResponse Unmarshall(UnmarshallerContext _ctx) updateInstanceResponse.HttpResponse = _ctx.HttpResponse; updateInstanceResponse.RequestId = _ctx.StringValue("UpdateInstance.RequestId"); + updateInstanceResponse.Code = _ctx.StringValue("UpdateInstance.Code"); + updateInstanceResponse.Message = _ctx.StringValue("UpdateInstance.Message"); UpdateInstanceResponse.UpdateInstance_Result result = new UpdateInstanceResponse.UpdateInstance_Result(); - result.InstanceId = _ctx.StringValue("UpdateInstance.Result.instanceId"); - result.Domain = _ctx.StringValue("UpdateInstance.Result.domain"); - result.Description = _ctx.StringValue("UpdateInstance.Result.description"); result.NodeAmount = _ctx.IntegerValue("UpdateInstance.Result.nodeAmount"); - result.PaymentType = _ctx.StringValue("UpdateInstance.Result.paymentType"); + result.PublicDomain = _ctx.StringValue("UpdateInstance.Result.publicDomain"); + result.CreatedAt = _ctx.StringValue("UpdateInstance.Result.createdAt"); result.Status = _ctx.StringValue("UpdateInstance.Result.status"); + result.PublicPort = _ctx.IntegerValue("UpdateInstance.Result.publicPort"); + result.KibanaPort = _ctx.IntegerValue("UpdateInstance.Result.kibanaPort"); + result.PaymentType = _ctx.StringValue("UpdateInstance.Result.paymentType"); + result.Domain = _ctx.StringValue("UpdateInstance.Result.domain"); + result.Description = _ctx.StringValue("UpdateInstance.Result.description"); result.EsVersion = _ctx.StringValue("UpdateInstance.Result.esVersion"); - result.CreatedAt = _ctx.StringValue("UpdateInstance.Result.createdAt"); - result.UpdatedAt = _ctx.StringValue("UpdateInstance.Result.updatedAt"); result.KibanaDomain = _ctx.StringValue("UpdateInstance.Result.kibanaDomain"); - result.KibanaPort = _ctx.IntegerValue("UpdateInstance.Result.kibanaPort"); - result.PublicDomain = _ctx.StringValue("UpdateInstance.Result.publicDomain"); - result.PublicPort = _ctx.IntegerValue("UpdateInstance.Result.publicPort"); + result.UpdatedAt = _ctx.StringValue("UpdateInstance.Result.updatedAt"); + result.InstanceId = _ctx.StringValue("UpdateInstance.Result.instanceId"); UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_NodeSpec nodeSpec = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_NodeSpec(); nodeSpec.Spec = _ctx.StringValue("UpdateInstance.Result.NodeSpec.spec"); @@ -55,33 +57,33 @@ public static UpdateInstanceResponse Unmarshall(UnmarshallerContext _ctx) result.NodeSpec = nodeSpec; UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_NetworkConfig networkConfig = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_NetworkConfig(); - networkConfig.Type = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.type"); networkConfig.VpcId = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.vpcId"); - networkConfig.VswitchId = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.vswitchId"); networkConfig.VsArea = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.type"); + networkConfig.VswitchId = _ctx.StringValue("UpdateInstance.Result.NetworkConfig.vswitchId"); result.NetworkConfig = networkConfig; UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_KibanaConfiguration kibanaConfiguration = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_KibanaConfiguration(); kibanaConfiguration.Spec = _ctx.StringValue("UpdateInstance.Result.KibanaConfiguration.spec"); kibanaConfiguration.Amount = _ctx.IntegerValue("UpdateInstance.Result.KibanaConfiguration.amount"); - kibanaConfiguration.DiskType = _ctx.StringValue("UpdateInstance.Result.KibanaConfiguration.diskType"); kibanaConfiguration.Disk = _ctx.IntegerValue("UpdateInstance.Result.KibanaConfiguration.disk"); + kibanaConfiguration.DiskType = _ctx.StringValue("UpdateInstance.Result.KibanaConfiguration.diskType"); result.KibanaConfiguration = kibanaConfiguration; UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_MasterConfiguration masterConfiguration = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_MasterConfiguration(); masterConfiguration.Spec = _ctx.StringValue("UpdateInstance.Result.MasterConfiguration.spec"); masterConfiguration.Amount = _ctx.IntegerValue("UpdateInstance.Result.MasterConfiguration.amount"); - masterConfiguration.DiskType = _ctx.StringValue("UpdateInstance.Result.MasterConfiguration.diskType"); masterConfiguration.Disk = _ctx.IntegerValue("UpdateInstance.Result.MasterConfiguration.disk"); + masterConfiguration.DiskType = _ctx.StringValue("UpdateInstance.Result.MasterConfiguration.diskType"); result.MasterConfiguration = masterConfiguration; List result_dictList = new List(); for (int i = 0; i < _ctx.Length("UpdateInstance.Result.DictList.Length"); i++) { UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_DictListItem dictListItem = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_DictListItem(); - dictListItem.Name = _ctx.StringValue("UpdateInstance.Result.DictList["+ i +"].name"); dictListItem.FileSize = _ctx.LongValue("UpdateInstance.Result.DictList["+ i +"].fileSize"); - dictListItem.Type = _ctx.StringValue("UpdateInstance.Result.DictList["+ i +"].type"); dictListItem.SourceType = _ctx.StringValue("UpdateInstance.Result.DictList["+ i +"].sourceType"); + dictListItem.Name = _ctx.StringValue("UpdateInstance.Result.DictList["+ i +"].name"); + dictListItem.Type = _ctx.StringValue("UpdateInstance.Result.DictList["+ i +"].type"); result_dictList.Add(dictListItem); } @@ -90,10 +92,10 @@ public static UpdateInstanceResponse Unmarshall(UnmarshallerContext _ctx) List result_synonymsDicts = new List(); for (int i = 0; i < _ctx.Length("UpdateInstance.Result.SynonymsDicts.Length"); i++) { UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_SynonymsDictsItem synonymsDictsItem = new UpdateInstanceResponse.UpdateInstance_Result.UpdateInstance_SynonymsDictsItem(); - synonymsDictsItem.Name = _ctx.StringValue("UpdateInstance.Result.SynonymsDicts["+ i +"].name"); synonymsDictsItem.FileSize = _ctx.LongValue("UpdateInstance.Result.SynonymsDicts["+ i +"].fileSize"); - synonymsDictsItem.Type = _ctx.StringValue("UpdateInstance.Result.SynonymsDicts["+ i +"].type"); synonymsDictsItem.SourceType = _ctx.StringValue("UpdateInstance.Result.SynonymsDicts["+ i +"].sourceType"); + synonymsDictsItem.Name = _ctx.StringValue("UpdateInstance.Result.SynonymsDicts["+ i +"].name"); + synonymsDictsItem.Type = _ctx.StringValue("UpdateInstance.Result.SynonymsDicts["+ i +"].type"); result_synonymsDicts.Add(synonymsDictsItem); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaPvlNetworkResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaPvlNetworkResponseUnmarshaller.cs new file mode 100644 index 0000000000..03175db917 --- /dev/null +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaPvlNetworkResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.elasticsearch.Model.V20170613; + +namespace Aliyun.Acs.elasticsearch.Transform.V20170613 +{ + public class UpdateKibanaPvlNetworkResponseUnmarshaller + { + public static UpdateKibanaPvlNetworkResponse Unmarshall(UnmarshallerContext _ctx) + { + UpdateKibanaPvlNetworkResponse updateKibanaPvlNetworkResponse = new UpdateKibanaPvlNetworkResponse(); + + updateKibanaPvlNetworkResponse.HttpResponse = _ctx.HttpResponse; + updateKibanaPvlNetworkResponse.Result = _ctx.BooleanValue("UpdateKibanaPvlNetwork.Result"); + updateKibanaPvlNetworkResponse.RequestId = _ctx.StringValue("UpdateKibanaPvlNetwork.RequestId"); + + return updateKibanaPvlNetworkResponse; + } + } +} diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaSettingsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaSettingsResponseUnmarshaller.cs index 40201de65c..da124faf15 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaSettingsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaSettingsResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateKibanaSettingsResponse Unmarshall(UnmarshallerContext _ctx) UpdateKibanaSettingsResponse updateKibanaSettingsResponse = new UpdateKibanaSettingsResponse(); updateKibanaSettingsResponse.HttpResponse = _ctx.HttpResponse; - updateKibanaSettingsResponse.RequestId = _ctx.StringValue("UpdateKibanaSettings.RequestId"); - updateKibanaSettingsResponse.Result = _ctx.BooleanValue("UpdateKibanaSettings.Result"); + updateKibanaSettingsResponse.Result = _ctx.BooleanValue("UpdateKibanaSettings.Result"); + updateKibanaSettingsResponse.RequestId = _ctx.StringValue("UpdateKibanaSettings.RequestId"); return updateKibanaSettingsResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaWhiteIpsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaWhiteIpsResponseUnmarshaller.cs index cca58138e9..6e9bc824ea 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaWhiteIpsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateKibanaWhiteIpsResponseUnmarshaller.cs @@ -35,17 +35,40 @@ public static UpdateKibanaWhiteIpsResponse Unmarshall(UnmarshallerContext _ctx) UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result result = new UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result(); + List result_kibanaPrivateIPWhitelist = new List(); + for (int i = 0; i < _ctx.Length("UpdateKibanaWhiteIps.Result.KibanaPrivateIPWhitelist.Length"); i++) { + result_kibanaPrivateIPWhitelist.Add(_ctx.StringValue("UpdateKibanaWhiteIps.Result.KibanaPrivateIPWhitelist["+ i +"]")); + } + result.KibanaPrivateIPWhitelist = result_kibanaPrivateIPWhitelist; + List result_kibanaIPWhitelist = new List(); for (int i = 0; i < _ctx.Length("UpdateKibanaWhiteIps.Result.KibanaIPWhitelist.Length"); i++) { result_kibanaIPWhitelist.Add(_ctx.StringValue("UpdateKibanaWhiteIps.Result.KibanaIPWhitelist["+ i +"]")); } result.KibanaIPWhitelist = result_kibanaIPWhitelist; - List result_kibanaPrivateIPWhitelist = new List(); - for (int i = 0; i < _ctx.Length("UpdateKibanaWhiteIps.Result.KibanaPrivateIPWhitelist.Length"); i++) { - result_kibanaPrivateIPWhitelist.Add(_ctx.StringValue("UpdateKibanaWhiteIps.Result.KibanaPrivateIPWhitelist["+ i +"]")); + UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result.UpdateKibanaWhiteIps_NetworkConfig networkConfig = new UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result.UpdateKibanaWhiteIps_NetworkConfig(); + networkConfig.VpcId = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.vpcId"); + networkConfig.VswitchId = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.vswitchId"); + networkConfig.VsArea = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.vsArea"); + networkConfig.Type = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.type"); + + List networkConfig_whiteIpGroupList = new List(); + for (int i = 0; i < _ctx.Length("UpdateKibanaWhiteIps.Result.NetworkConfig.WhiteIpGroupList.Length"); i++) { + UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result.UpdateKibanaWhiteIps_NetworkConfig.UpdateKibanaWhiteIps_WhiteIpGroupListItem whiteIpGroupListItem = new UpdateKibanaWhiteIpsResponse.UpdateKibanaWhiteIps_Result.UpdateKibanaWhiteIps_NetworkConfig.UpdateKibanaWhiteIps_WhiteIpGroupListItem(); + whiteIpGroupListItem.GroupName = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].groupName"); + whiteIpGroupListItem.WhiteIpType = _ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].whiteIpType"); + + List whiteIpGroupListItem_ips = new List(); + for (int j = 0; j < _ctx.Length("UpdateKibanaWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].Ips.Length"); j++) { + whiteIpGroupListItem_ips.Add(_ctx.StringValue("UpdateKibanaWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].Ips["+ j +"]")); + } + whiteIpGroupListItem.Ips = whiteIpGroupListItem_ips; + + networkConfig_whiteIpGroupList.Add(whiteIpGroupListItem); } - result.KibanaPrivateIPWhitelist = result_kibanaPrivateIPWhitelist; + networkConfig.WhiteIpGroupList = networkConfig_whiteIpGroupList; + result.NetworkConfig = networkConfig; updateKibanaWhiteIpsResponse.Result = result; return updateKibanaWhiteIpsResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashChargeTypeResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashChargeTypeResponseUnmarshaller.cs index 3913d44c33..b0776146ec 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashChargeTypeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashChargeTypeResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateLogstashChargeTypeResponse Unmarshall(UnmarshallerContext _c UpdateLogstashChargeTypeResponse updateLogstashChargeTypeResponse = new UpdateLogstashChargeTypeResponse(); updateLogstashChargeTypeResponse.HttpResponse = _ctx.HttpResponse; - updateLogstashChargeTypeResponse.RequestId = _ctx.StringValue("UpdateLogstashChargeType.RequestId"); - updateLogstashChargeTypeResponse.Result = _ctx.BooleanValue("UpdateLogstashChargeType.Result"); + updateLogstashChargeTypeResponse.Result = _ctx.BooleanValue("UpdateLogstashChargeType.Result"); + updateLogstashChargeTypeResponse.RequestId = _ctx.StringValue("UpdateLogstashChargeType.RequestId"); return updateLogstashChargeTypeResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashResponseUnmarshaller.cs index b1c3665a9b..b41c5f6718 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateLogstashResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateLogstashResponse Unmarshall(UnmarshallerContext _ctx) UpdateLogstashResponse updateLogstashResponse = new UpdateLogstashResponse(); updateLogstashResponse.HttpResponse = _ctx.HttpResponse; - updateLogstashResponse.RequestId = _ctx.StringValue("UpdateLogstash.RequestId"); - updateLogstashResponse.Result = _ctx.BooleanValue("UpdateLogstash.Result"); + updateLogstashResponse.Result = _ctx.BooleanValue("UpdateLogstash.Result"); + updateLogstashResponse.RequestId = _ctx.StringValue("UpdateLogstash.RequestId"); return updateLogstashResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelineManagementConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelineManagementConfigResponseUnmarshaller.cs index 004221f380..c93da53bc2 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelineManagementConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelineManagementConfigResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdatePipelineManagementConfigResponse Unmarshall(UnmarshallerCont UpdatePipelineManagementConfigResponse updatePipelineManagementConfigResponse = new UpdatePipelineManagementConfigResponse(); updatePipelineManagementConfigResponse.HttpResponse = _ctx.HttpResponse; - updatePipelineManagementConfigResponse.RequestId = _ctx.StringValue("UpdatePipelineManagementConfig.RequestId"); - updatePipelineManagementConfigResponse.Result = _ctx.BooleanValue("UpdatePipelineManagementConfig.Result"); + updatePipelineManagementConfigResponse.Result = _ctx.BooleanValue("UpdatePipelineManagementConfig.Result"); + updatePipelineManagementConfigResponse.RequestId = _ctx.StringValue("UpdatePipelineManagementConfig.RequestId"); return updatePipelineManagementConfigResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelinesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelinesResponseUnmarshaller.cs index 1c9c913c68..9ddbc56268 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelinesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdatePipelinesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdatePipelinesResponse Unmarshall(UnmarshallerContext _ctx) UpdatePipelinesResponse updatePipelinesResponse = new UpdatePipelinesResponse(); updatePipelinesResponse.HttpResponse = _ctx.HttpResponse; - updatePipelinesResponse.RequestId = _ctx.StringValue("UpdatePipelines.RequestId"); - updatePipelinesResponse.Result = _ctx.BooleanValue("UpdatePipelines.Result"); + updatePipelinesResponse.Result = _ctx.BooleanValue("UpdatePipelines.Result"); + updatePipelinesResponse.RequestId = _ctx.StringValue("UpdatePipelines.RequestId"); return updatePipelinesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateReadWritePolicyResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateReadWritePolicyResponseUnmarshaller.cs index 06bb326c92..8082b5c7e4 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateReadWritePolicyResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateReadWritePolicyResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateReadWritePolicyResponse Unmarshall(UnmarshallerContext _ctx) UpdateReadWritePolicyResponse updateReadWritePolicyResponse = new UpdateReadWritePolicyResponse(); updateReadWritePolicyResponse.HttpResponse = _ctx.HttpResponse; - updateReadWritePolicyResponse.RequestId = _ctx.StringValue("UpdateReadWritePolicy.RequestId"); - updateReadWritePolicyResponse.Result = _ctx.BooleanValue("UpdateReadWritePolicy.Result"); + updateReadWritePolicyResponse.Result = _ctx.BooleanValue("UpdateReadWritePolicy.Result"); + updateReadWritePolicyResponse.RequestId = _ctx.StringValue("UpdateReadWritePolicy.RequestId"); return updateReadWritePolicyResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateSynonymsDictsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateSynonymsDictsResponseUnmarshaller.cs index 5608c54277..b8ced6a335 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateSynonymsDictsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateSynonymsDictsResponseUnmarshaller.cs @@ -36,10 +36,10 @@ public static UpdateSynonymsDictsResponse Unmarshall(UnmarshallerContext _ctx) List updateSynonymsDictsResponse_result = new List(); for (int i = 0; i < _ctx.Length("UpdateSynonymsDicts.Result.Length"); i++) { UpdateSynonymsDictsResponse.UpdateSynonymsDicts_DictList dictList = new UpdateSynonymsDictsResponse.UpdateSynonymsDicts_DictList(); - dictList.Name = _ctx.StringValue("UpdateSynonymsDicts.Result["+ i +"].name"); dictList.FileSize = _ctx.LongValue("UpdateSynonymsDicts.Result["+ i +"].fileSize"); - dictList.Type = _ctx.StringValue("UpdateSynonymsDicts.Result["+ i +"].type"); dictList.SourceType = _ctx.StringValue("UpdateSynonymsDicts.Result["+ i +"].sourceType"); + dictList.Name = _ctx.StringValue("UpdateSynonymsDicts.Result["+ i +"].name"); + dictList.Type = _ctx.StringValue("UpdateSynonymsDicts.Result["+ i +"].type"); updateSynonymsDictsResponse_result.Add(dictList); } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateTemplateResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateTemplateResponseUnmarshaller.cs index 82a61c4e40..8c6a6cbf01 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateTemplateResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateTemplateResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateTemplateResponse Unmarshall(UnmarshallerContext _ctx) UpdateTemplateResponse updateTemplateResponse = new UpdateTemplateResponse(); updateTemplateResponse.HttpResponse = _ctx.HttpResponse; - updateTemplateResponse.RequestId = _ctx.StringValue("UpdateTemplate.RequestId"); - updateTemplateResponse.Result = _ctx.BooleanValue("UpdateTemplate.Result"); + updateTemplateResponse.Result = _ctx.BooleanValue("UpdateTemplate.Result"); + updateTemplateResponse.RequestId = _ctx.StringValue("UpdateTemplate.RequestId"); return updateTemplateResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateWhiteIpsResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateWhiteIpsResponseUnmarshaller.cs index 6e8561e2db..f7fb02afa1 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateWhiteIpsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateWhiteIpsResponseUnmarshaller.cs @@ -40,6 +40,25 @@ public static UpdateWhiteIpsResponse Unmarshall(UnmarshallerContext _ctx) result_esIPWhitelist.Add(_ctx.StringValue("UpdateWhiteIps.Result.EsIPWhitelist["+ i +"]")); } result.EsIPWhitelist = result_esIPWhitelist; + + UpdateWhiteIpsResponse.UpdateWhiteIps_Result.UpdateWhiteIps_NetworkConfig networkConfig = new UpdateWhiteIpsResponse.UpdateWhiteIps_Result.UpdateWhiteIps_NetworkConfig(); + + List networkConfig_whiteIpGroupList = new List(); + for (int i = 0; i < _ctx.Length("UpdateWhiteIps.Result.NetworkConfig.WhiteIpGroupList.Length"); i++) { + UpdateWhiteIpsResponse.UpdateWhiteIps_Result.UpdateWhiteIps_NetworkConfig.UpdateWhiteIps_WhiteIpGroupListItem whiteIpGroupListItem = new UpdateWhiteIpsResponse.UpdateWhiteIps_Result.UpdateWhiteIps_NetworkConfig.UpdateWhiteIps_WhiteIpGroupListItem(); + whiteIpGroupListItem.GroupName = _ctx.StringValue("UpdateWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].groupName"); + whiteIpGroupListItem.WhiteIpType = _ctx.StringValue("UpdateWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].whiteIpType"); + + List whiteIpGroupListItem_ips = new List(); + for (int j = 0; j < _ctx.Length("UpdateWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].Ips.Length"); j++) { + whiteIpGroupListItem_ips.Add(_ctx.StringValue("UpdateWhiteIps.Result.NetworkConfig.WhiteIpGroupList["+ i +"].Ips["+ j +"]")); + } + whiteIpGroupListItem.Ips = whiteIpGroupListItem_ips; + + networkConfig_whiteIpGroupList.Add(whiteIpGroupListItem); + } + networkConfig.WhiteIpGroupList = networkConfig_whiteIpGroupList; + result.NetworkConfig = networkConfig; updateWhiteIpsResponse.Result = result; return updateWhiteIpsResponse; diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateXpackMonitorConfigResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateXpackMonitorConfigResponseUnmarshaller.cs index 59dbac8054..040cb5045d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateXpackMonitorConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpdateXpackMonitorConfigResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static UpdateXpackMonitorConfigResponse Unmarshall(UnmarshallerContext _c UpdateXpackMonitorConfigResponse updateXpackMonitorConfigResponse = new UpdateXpackMonitorConfigResponse(); updateXpackMonitorConfigResponse.HttpResponse = _ctx.HttpResponse; - updateXpackMonitorConfigResponse.RequestId = _ctx.StringValue("UpdateXpackMonitorConfig.RequestId"); - updateXpackMonitorConfigResponse.Result = _ctx.BooleanValue("UpdateXpackMonitorConfig.Result"); + updateXpackMonitorConfigResponse.Result = _ctx.BooleanValue("UpdateXpackMonitorConfig.Result"); + updateXpackMonitorConfigResponse.RequestId = _ctx.StringValue("UpdateXpackMonitorConfig.RequestId"); return updateXpackMonitorConfigResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpgradeEngineVersionResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpgradeEngineVersionResponseUnmarshaller.cs index b655f0bda7..a0b3c26b9d 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpgradeEngineVersionResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/UpgradeEngineVersionResponseUnmarshaller.cs @@ -33,16 +33,26 @@ public static UpgradeEngineVersionResponse Unmarshall(UnmarshallerContext _ctx) upgradeEngineVersionResponse.HttpResponse = _ctx.HttpResponse; upgradeEngineVersionResponse.RequestId = _ctx.StringValue("UpgradeEngineVersion.RequestId"); - UpgradeEngineVersionResponse.UpgradeEngineVersion_Result result = new UpgradeEngineVersionResponse.UpgradeEngineVersion_Result(); - result.ValidateType = _ctx.StringValue("UpgradeEngineVersion.Result.validateType"); - result.Status = _ctx.StringValue("UpgradeEngineVersion.Result.status"); + List upgradeEngineVersionResponse_result = new List(); + for (int i = 0; i < _ctx.Length("UpgradeEngineVersion.Result.Length"); i++) { + UpgradeEngineVersionResponse.UpgradeEngineVersion_ResultItem resultItem = new UpgradeEngineVersionResponse.UpgradeEngineVersion_ResultItem(); + resultItem.ValidateType = _ctx.StringValue("UpgradeEngineVersion.Result["+ i +"].validateType"); + resultItem.Status = _ctx.StringValue("UpgradeEngineVersion.Result["+ i +"].status"); - UpgradeEngineVersionResponse.UpgradeEngineVersion_Result.UpgradeEngineVersion_ValidateResult validateResult = new UpgradeEngineVersionResponse.UpgradeEngineVersion_Result.UpgradeEngineVersion_ValidateResult(); - validateResult.ErrorType = _ctx.StringValue("UpgradeEngineVersion.Result.ValidateResult.errorType"); - validateResult.ErrorCode = _ctx.StringValue("UpgradeEngineVersion.Result.ValidateResult.errorCode"); - validateResult.ErrorMsg = _ctx.StringValue("UpgradeEngineVersion.Result.ValidateResult.errorMsg"); - result.ValidateResult = validateResult; - upgradeEngineVersionResponse.Result = result; + List resultItem_validateResult = new List(); + for (int j = 0; j < _ctx.Length("UpgradeEngineVersion.Result["+ i +"].ValidateResult.Length"); j++) { + UpgradeEngineVersionResponse.UpgradeEngineVersion_ResultItem.UpgradeEngineVersion_ValidateResultItem validateResultItem = new UpgradeEngineVersionResponse.UpgradeEngineVersion_ResultItem.UpgradeEngineVersion_ValidateResultItem(); + validateResultItem.ErrorType = _ctx.StringValue("UpgradeEngineVersion.Result["+ i +"].ValidateResult["+ j +"].errorType"); + validateResultItem.ErrorCode = _ctx.StringValue("UpgradeEngineVersion.Result["+ i +"].ValidateResult["+ j +"].errorCode"); + validateResultItem.ErrorMsg = _ctx.StringValue("UpgradeEngineVersion.Result["+ i +"].ValidateResult["+ j +"].errorMsg"); + + resultItem_validateResult.Add(validateResultItem); + } + resultItem.ValidateResult = resultItem_validateResult; + + upgradeEngineVersionResponse_result.Add(resultItem); + } + upgradeEngineVersionResponse.Result = upgradeEngineVersionResponse_result; return upgradeEngineVersionResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateConnectionResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateConnectionResponseUnmarshaller.cs index 0649f24c87..feb7454f78 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateConnectionResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateConnectionResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ValidateConnectionResponse Unmarshall(UnmarshallerContext _ctx) ValidateConnectionResponse validateConnectionResponse = new ValidateConnectionResponse(); validateConnectionResponse.HttpResponse = _ctx.HttpResponse; - validateConnectionResponse.RequestId = _ctx.StringValue("ValidateConnection.RequestId"); - validateConnectionResponse.Result = _ctx.BooleanValue("ValidateConnection.Result"); + validateConnectionResponse.Result = _ctx.BooleanValue("ValidateConnection.Result"); + validateConnectionResponse.RequestId = _ctx.StringValue("ValidateConnection.RequestId"); return validateConnectionResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateShrinkNodesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateShrinkNodesResponseUnmarshaller.cs index 6b9f6401b4..d1c8313a02 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateShrinkNodesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateShrinkNodesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ValidateShrinkNodesResponse Unmarshall(UnmarshallerContext _ctx) ValidateShrinkNodesResponse validateShrinkNodesResponse = new ValidateShrinkNodesResponse(); validateShrinkNodesResponse.HttpResponse = _ctx.HttpResponse; - validateShrinkNodesResponse.RequestId = _ctx.StringValue("ValidateShrinkNodes.RequestId"); - validateShrinkNodesResponse.Result = _ctx.BooleanValue("ValidateShrinkNodes.Result"); + validateShrinkNodesResponse.Result = _ctx.BooleanValue("ValidateShrinkNodes.Result"); + validateShrinkNodesResponse.RequestId = _ctx.StringValue("ValidateShrinkNodes.RequestId"); return validateShrinkNodesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateSlrPermissionResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateSlrPermissionResponseUnmarshaller.cs index 30856e88c6..9d394d44e3 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateSlrPermissionResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateSlrPermissionResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ValidateSlrPermissionResponse Unmarshall(UnmarshallerContext _ctx) ValidateSlrPermissionResponse validateSlrPermissionResponse = new ValidateSlrPermissionResponse(); validateSlrPermissionResponse.HttpResponse = _ctx.HttpResponse; - validateSlrPermissionResponse.RequestId = _ctx.StringValue("ValidateSlrPermission.RequestId"); - validateSlrPermissionResponse.Result = _ctx.BooleanValue("ValidateSlrPermission.Result"); + validateSlrPermissionResponse.Result = _ctx.BooleanValue("ValidateSlrPermission.Result"); + validateSlrPermissionResponse.RequestId = _ctx.StringValue("ValidateSlrPermission.RequestId"); return validateSlrPermissionResponse; } diff --git a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateTransferableNodesResponseUnmarshaller.cs b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateTransferableNodesResponseUnmarshaller.cs index 647c1f49bc..3cc5d7caed 100644 --- a/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateTransferableNodesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-elasticsearch/Elasticsearch/Transform/V20170613/ValidateTransferableNodesResponseUnmarshaller.cs @@ -31,8 +31,8 @@ public static ValidateTransferableNodesResponse Unmarshall(UnmarshallerContext _ ValidateTransferableNodesResponse validateTransferableNodesResponse = new ValidateTransferableNodesResponse(); validateTransferableNodesResponse.HttpResponse = _ctx.HttpResponse; - validateTransferableNodesResponse.RequestId = _ctx.StringValue("ValidateTransferableNodes.RequestId"); - validateTransferableNodesResponse.Result = _ctx.BooleanValue("ValidateTransferableNodes.Result"); + validateTransferableNodesResponse.Result = _ctx.BooleanValue("ValidateTransferableNodes.Result"); + validateTransferableNodesResponse.RequestId = _ctx.StringValue("ValidateTransferableNodes.RequestId"); return validateTransferableNodesResponse; } diff --git a/aliyun-net-sdk-elasticsearch/aliyun-net-sdk-elasticsearch.vs2017.csproj b/aliyun-net-sdk-elasticsearch/aliyun-net-sdk-elasticsearch.vs2017.csproj index a823653227..2f37052822 100644 --- a/aliyun-net-sdk-elasticsearch/aliyun-net-sdk-elasticsearch.vs2017.csproj +++ b/aliyun-net-sdk-elasticsearch/aliyun-net-sdk-elasticsearch.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0;net45 Aliyun.Acs.elasticsearch - 3.0.29 + 3.0.30 Alibaba Cloud ©2009-2019 Alibaba Cloud false