diff --git a/CHANGELOG b/CHANGELOG index 0744315306..7f7cfdff83 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +2024-10-28 Version: 3.2.6 +- Support Fileset for BmCPFS. +- Support Fileset Quota for BmCPFS. + 2024-10-24 Version: 1.1.13 - Publish sdk. diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/AddClientToBlackListRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/AddClientToBlackListRequest.cs index d027eb255e..e0715b7ea4 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/AddClientToBlackListRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/AddClientToBlackListRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class AddClientToBlackListRequest : RpcAcsRequest { public AddClientToBlackListRequest() - : base("NAS", "2017-06-26", "AddClientToBlackList", "NAS", "openAPI") + : base("NAS", "2017-06-26", "AddClientToBlackList", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/AddTagsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/AddTagsRequest.cs index 983e9d4a80..58993b8359 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/AddTagsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/AddTagsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class AddTagsRequest : RpcAcsRequest { public AddTagsRequest() - : base("NAS", "2017-06-26", "AddTags", "NAS", "openAPI") + : base("NAS", "2017-06-26", "AddTags", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyAutoSnapshotPolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyAutoSnapshotPolicyRequest.cs index a900a3bf51..758e712086 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyAutoSnapshotPolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyAutoSnapshotPolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ApplyAutoSnapshotPolicyRequest : RpcAcsRequest { public ApplyAutoSnapshotPolicyRequest() - : base("NAS", "2017-06-26", "ApplyAutoSnapshotPolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ApplyAutoSnapshotPolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyDataFlowAutoRefreshRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyDataFlowAutoRefreshRequest.cs index 2ed2399b40..60f86d5909 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyDataFlowAutoRefreshRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ApplyDataFlowAutoRefreshRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ApplyDataFlowAutoRefreshRequest : RpcAcsRequest { public ApplyDataFlowAutoRefreshRequest() - : base("NAS", "2017-06-26", "ApplyDataFlowAutoRefresh", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ApplyDataFlowAutoRefresh", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelAutoSnapshotPolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelAutoSnapshotPolicyRequest.cs index 7bb02de5ab..9fc030cae0 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelAutoSnapshotPolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelAutoSnapshotPolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelAutoSnapshotPolicyRequest : RpcAcsRequest { public CancelAutoSnapshotPolicyRequest() - : base("NAS", "2017-06-26", "CancelAutoSnapshotPolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelAutoSnapshotPolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowAutoRefreshRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowAutoRefreshRequest.cs index ad077a97f4..461f591b7d 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowAutoRefreshRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowAutoRefreshRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelDataFlowAutoRefreshRequest : RpcAcsRequest { public CancelDataFlowAutoRefreshRequest() - : base("NAS", "2017-06-26", "CancelDataFlowAutoRefresh", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelDataFlowAutoRefresh", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskRequest.cs new file mode 100644 index 0000000000..1e6fc2284a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskRequest.cs @@ -0,0 +1,138 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class CancelDataFlowSubTaskRequest : RpcAcsRequest + { + public CancelDataFlowSubTaskRequest() + : base("NAS", "2017-06-26", "CancelDataFlowSubTask", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string clientToken; + + private string dataFlowTaskId; + + private string dataFlowSubTaskId; + + private string fileSystemId; + + private bool? dryRun; + + private string dataFlowId; + + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } + + public string DataFlowTaskId + { + get + { + return dataFlowTaskId; + } + set + { + dataFlowTaskId = value; + DictionaryUtil.Add(QueryParameters, "DataFlowTaskId", value); + } + } + + public string DataFlowSubTaskId + { + get + { + return dataFlowSubTaskId; + } + set + { + dataFlowSubTaskId = value; + DictionaryUtil.Add(QueryParameters, "DataFlowSubTaskId", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public bool? DryRun + { + get + { + return dryRun; + } + set + { + dryRun = value; + DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString()); + } + } + + public string DataFlowId + { + get + { + return dataFlowId; + } + set + { + dataFlowId = value; + DictionaryUtil.Add(QueryParameters, "DataFlowId", value); + } + } + + public override CancelDataFlowSubTaskResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CancelDataFlowSubTaskResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskResponse.cs new file mode 100644 index 0000000000..f9a447a2a1 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowSubTaskResponse.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.NAS.Model.V20170626 +{ + public class CancelDataFlowSubTaskResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowTaskRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowTaskRequest.cs index 052b5b318b..a4fea5d5e0 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowTaskRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDataFlowTaskRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelDataFlowTaskRequest : RpcAcsRequest { public CancelDataFlowTaskRequest() - : base("NAS", "2017-06-26", "CancelDataFlowTask", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelDataFlowTask", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDirQuotaRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDirQuotaRequest.cs index 5d7b7ece29..9de6f8aa31 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDirQuotaRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelDirQuotaRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelDirQuotaRequest : RpcAcsRequest { public CancelDirQuotaRequest() - : base("NAS", "2017-06-26", "CancelDirQuota", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelDirQuota", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaRequest.cs new file mode 100644 index 0000000000..1bd8ac3d91 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaRequest.cs @@ -0,0 +1,109 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class CancelFilesetQuotaRequest : RpcAcsRequest + { + public CancelFilesetQuotaRequest() + : base("NAS", "2017-06-26", "CancelFilesetQuota", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + Method = MethodType.POST; + } + + private string fsetId; + + private string clientToken; + + private string fileSystemId; + + private bool? dryRun; + + public string FsetId + { + get + { + return fsetId; + } + set + { + fsetId = value; + DictionaryUtil.Add(QueryParameters, "FsetId", value); + } + } + + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public bool? DryRun + { + get + { + return dryRun; + } + set + { + dryRun = value; + DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString()); + } + } + + public override CancelFilesetQuotaResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CancelFilesetQuotaResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaResponse.cs new file mode 100644 index 0000000000..7f7b15a537 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelFilesetQuotaResponse.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.NAS.Model.V20170626 +{ + public class CancelFilesetQuotaResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelLifecycleRetrieveJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelLifecycleRetrieveJobRequest.cs index 2911d0f3d7..68b3e2f629 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelLifecycleRetrieveJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelLifecycleRetrieveJobRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelLifecycleRetrieveJobRequest : RpcAcsRequest { public CancelLifecycleRetrieveJobRequest() - : base("NAS", "2017-06-26", "CancelLifecycleRetrieveJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelLifecycleRetrieveJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelRecycleBinJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelRecycleBinJobRequest.cs index af8b26d0dc..fd26452e1f 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelRecycleBinJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CancelRecycleBinJobRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CancelRecycleBinJobRequest : RpcAcsRequest { public CancelRecycleBinJobRequest() - : base("NAS", "2017-06-26", "CancelRecycleBinJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CancelRecycleBinJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupRequest.cs new file mode 100644 index 0000000000..476fed82a2 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupRequest.cs @@ -0,0 +1,98 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class ChangeResourceGroupRequest : RpcAcsRequest + { + public ChangeResourceGroupRequest() + : base("NAS", "2017-06-26", "ChangeResourceGroup", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string resourceId; + + private string resourceType; + + private string newResourceGroupId; + + public string ResourceId + { + get + { + return resourceId; + } + set + { + resourceId = value; + DictionaryUtil.Add(QueryParameters, "ResourceId", value); + } + } + + public string ResourceType + { + get + { + return resourceType; + } + set + { + resourceType = value; + DictionaryUtil.Add(QueryParameters, "ResourceType", value); + } + } + + public string NewResourceGroupId + { + get + { + return newResourceGroupId; + } + set + { + newResourceGroupId = value; + DictionaryUtil.Add(QueryParameters, "NewResourceGroupId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ChangeResourceGroupResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ChangeResourceGroupResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupResponse.cs new file mode 100644 index 0000000000..8e3aa8ff0a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ChangeResourceGroupResponse.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.NAS.Model.V20170626 +{ + public class ChangeResourceGroupResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessGroupRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessGroupRequest.cs index 3c2a2cf184..869f5dcffe 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessGroupRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessGroupRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateAccessGroupRequest : RpcAcsRequest { public CreateAccessGroupRequest() - : base("NAS", "2017-06-26", "CreateAccessGroup", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateAccessGroup", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointRequest.cs new file mode 100644 index 0000000000..06f8e964b2 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointRequest.cs @@ -0,0 +1,248 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class CreateAccessPointRequest : RpcAcsRequest + { + public CreateAccessPointRequest() + : base("NAS", "2017-06-26", "CreateAccessPoint", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string vswId; + + private string accessPointName; + + private int? posixGroupId; + + private string posixSecondaryGroupIds; + + private string fileSystemId; + + private int? ownerGroupId; + + private bool? enabledRam; + + private int? ownerUserId; + + private string permission; + + private string vpcId; + + private string rootDirectory; + + private string accessGroup; + + private int? posixUserId; + + public string VswId + { + get + { + return vswId; + } + set + { + vswId = value; + DictionaryUtil.Add(QueryParameters, "VswId", value); + } + } + + public string AccessPointName + { + get + { + return accessPointName; + } + set + { + accessPointName = value; + DictionaryUtil.Add(QueryParameters, "AccessPointName", value); + } + } + + public int? PosixGroupId + { + get + { + return posixGroupId; + } + set + { + posixGroupId = value; + DictionaryUtil.Add(QueryParameters, "PosixGroupId", value.ToString()); + } + } + + public string PosixSecondaryGroupIds + { + get + { + return posixSecondaryGroupIds; + } + set + { + posixSecondaryGroupIds = value; + DictionaryUtil.Add(QueryParameters, "PosixSecondaryGroupIds", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public int? OwnerGroupId + { + get + { + return ownerGroupId; + } + set + { + ownerGroupId = value; + DictionaryUtil.Add(QueryParameters, "OwnerGroupId", value.ToString()); + } + } + + public bool? EnabledRam + { + get + { + return enabledRam; + } + set + { + enabledRam = value; + DictionaryUtil.Add(QueryParameters, "EnabledRam", value.ToString()); + } + } + + public int? OwnerUserId + { + get + { + return ownerUserId; + } + set + { + ownerUserId = value; + DictionaryUtil.Add(QueryParameters, "OwnerUserId", value.ToString()); + } + } + + public string Permission + { + get + { + return permission; + } + set + { + permission = value; + DictionaryUtil.Add(QueryParameters, "Permission", value); + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + DictionaryUtil.Add(QueryParameters, "VpcId", value); + } + } + + public string RootDirectory + { + get + { + return rootDirectory; + } + set + { + rootDirectory = value; + DictionaryUtil.Add(QueryParameters, "RootDirectory", value); + } + } + + public string AccessGroup + { + get + { + return accessGroup; + } + set + { + accessGroup = value; + DictionaryUtil.Add(QueryParameters, "AccessGroup", value); + } + } + + public int? PosixUserId + { + get + { + return posixUserId; + } + set + { + posixUserId = value; + DictionaryUtil.Add(QueryParameters, "PosixUserId", value.ToString()); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override CreateAccessPointResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateAccessPointResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointResponse.cs similarity index 67% rename from aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigResponse.cs rename to aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointResponse.cs index 0cb38b8bdc..3218396478 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessPointResponse.cs @@ -22,12 +22,12 @@ namespace Aliyun.Acs.NAS.Model.V20170626 { - public class DescribeLDAPConfigResponse : AcsResponse + public class CreateAccessPointResponse : AcsResponse { private string requestId; - private DescribeLDAPConfig_Ldap ldap; + private CreateAccessPoint_AccessPoint accessPoint; public string RequestId { @@ -41,60 +41,46 @@ public string RequestId } } - public DescribeLDAPConfig_Ldap Ldap + public CreateAccessPoint_AccessPoint AccessPoint { get { - return ldap; + return accessPoint; } set { - ldap = value; + accessPoint = value; } } - public class DescribeLDAPConfig_Ldap + public class CreateAccessPoint_AccessPoint { - private string bindDN; + private string accessPointDomain; - private string searchBase; + private string accessPointId; - private string uRI; - - public string BindDN - { - get - { - return bindDN; - } - set - { - bindDN = value; - } - } - - public string SearchBase + public string AccessPointDomain { get { - return searchBase; + return accessPointDomain; } set { - searchBase = value; + accessPointDomain = value; } } - public string URI + public string AccessPointId { get { - return uRI; + return accessPointId; } set { - uRI = value; + accessPointId = value; } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessRuleRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessRuleRequest.cs index d189356cd0..7e4d6bcafb 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessRuleRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAccessRuleRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateAccessRuleRequest : RpcAcsRequest { public CreateAccessRuleRequest() - : base("NAS", "2017-06-26", "CreateAccessRule", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateAccessRule", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAutoSnapshotPolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAutoSnapshotPolicyRequest.cs index f256ba46f2..d9706e420b 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAutoSnapshotPolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateAutoSnapshotPolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateAutoSnapshotPolicyRequest : RpcAcsRequest { public CreateAutoSnapshotPolicyRequest() - : base("NAS", "2017-06-26", "CreateAutoSnapshotPolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateAutoSnapshotPolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowRequest.cs index 8f34f2c81d..91c63e9f7c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateDataFlowRequest : RpcAcsRequest { public CreateDataFlowRequest() - : base("NAS", "2017-06-26", "CreateDataFlow", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateDataFlow", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -62,6 +62,10 @@ public CreateDataFlowRequest() private long? autoRefreshInterval; + private string sourceStoragePath; + + private string fileSystemPath; + public string AutoRefreshPolicy { get @@ -212,6 +216,32 @@ public long? AutoRefreshInterval } } + public string SourceStoragePath + { + get + { + return sourceStoragePath; + } + set + { + sourceStoragePath = value; + DictionaryUtil.Add(QueryParameters, "SourceStoragePath", value); + } + } + + public string FileSystemPath + { + get + { + return fileSystemPath; + } + set + { + fileSystemPath = value; + DictionaryUtil.Add(QueryParameters, "FileSystemPath", value); + } + } + public class AutoRefreshs { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskRequest.cs new file mode 100644 index 0000000000..221d51cca1 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskRequest.cs @@ -0,0 +1,206 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class CreateDataFlowSubTaskRequest : RpcAcsRequest + { + public CreateDataFlowSubTaskRequest() + : base("NAS", "2017-06-26", "CreateDataFlowSubTask", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string clientToken; + + private string dataFlowTaskId; + + private string srcFilePath; + + private string fileSystemId; + + private bool? dryRun; + + private string dataFlowId; + + private string dstFilePath; + + private Condition condition_; + + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } + + public string DataFlowTaskId + { + get + { + return dataFlowTaskId; + } + set + { + dataFlowTaskId = value; + DictionaryUtil.Add(QueryParameters, "DataFlowTaskId", value); + } + } + + public string SrcFilePath + { + get + { + return srcFilePath; + } + set + { + srcFilePath = value; + DictionaryUtil.Add(QueryParameters, "SrcFilePath", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public bool? DryRun + { + get + { + return dryRun; + } + set + { + dryRun = value; + DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString()); + } + } + + public string DataFlowId + { + get + { + return dataFlowId; + } + set + { + dataFlowId = value; + DictionaryUtil.Add(QueryParameters, "DataFlowId", value); + } + } + + public string DstFilePath + { + get + { + return dstFilePath; + } + set + { + dstFilePath = value; + DictionaryUtil.Add(QueryParameters, "DstFilePath", value); + } + } + + public Condition Condition_ + { + get + { + return condition_; + } + + set + { + condition_ = value; + if(condition_ != null) + { + + DictionaryUtil.Add(QueryParameters,"Condition.Size", condition_.Size); + DictionaryUtil.Add(QueryParameters,"Condition.ModifyTime", condition_.ModifyTime); + } + } + } + + public class Condition + { + + private long? size; + + private long? modifyTime; + + public long? Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public long? ModifyTime + { + get + { + return modifyTime; + } + set + { + modifyTime = value; + } + } + } + + public override CreateDataFlowSubTaskResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateDataFlowSubTaskResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskResponse.cs new file mode 100644 index 0000000000..bd3749b82d --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowSubTaskResponse.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.NAS.Model.V20170626 +{ + public class CreateDataFlowSubTaskResponse : AcsResponse + { + + private string requestId; + + private string dataFlowSubTaskId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string DataFlowSubTaskId + { + get + { + return dataFlowSubTaskId; + } + set + { + dataFlowSubTaskId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowTaskRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowTaskRequest.cs index 6ee8a5fc5a..6bbf9611b7 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowTaskRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDataFlowTaskRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateDataFlowTaskRequest : RpcAcsRequest { public CreateDataFlowTaskRequest() - : base("NAS", "2017-06-26", "CreateDataFlowTask", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateDataFlowTask", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -40,6 +40,8 @@ public CreateDataFlowTaskRequest() Method = MethodType.POST; } + private string dstDirectory; + private string clientToken; private string directory; @@ -48,6 +50,8 @@ public CreateDataFlowTaskRequest() private string dataType; + private bool? createDirIfNotExist; + private string fileSystemId; private bool? dryRun; @@ -56,8 +60,23 @@ public CreateDataFlowTaskRequest() private string entryList; + private string conflictPolicy; + private string taskAction; + public string DstDirectory + { + get + { + return dstDirectory; + } + set + { + dstDirectory = value; + DictionaryUtil.Add(QueryParameters, "DstDirectory", value); + } + } + public string ClientToken { get @@ -110,6 +129,19 @@ public string DataType } } + public bool? CreateDirIfNotExist + { + get + { + return createDirIfNotExist; + } + set + { + createDirIfNotExist = value; + DictionaryUtil.Add(QueryParameters, "CreateDirIfNotExist", value.ToString()); + } + } + public string FileSystemId { get @@ -162,6 +194,19 @@ public string EntryList } } + public string ConflictPolicy + { + get + { + return conflictPolicy; + } + set + { + conflictPolicy = value; + DictionaryUtil.Add(QueryParameters, "ConflictPolicy", value); + } + } + public string TaskAction { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirRequest.cs new file mode 100644 index 0000000000..94fe582fd8 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirRequest.cs @@ -0,0 +1,143 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class CreateDirRequest : RpcAcsRequest + { + public CreateDirRequest() + : base("NAS", "2017-06-26", "CreateDir", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private bool? recursion; + + private string fileSystemId; + + private int? ownerGroupId; + + private int? ownerUserId; + + private string permission; + + private string rootDirectory; + + public bool? Recursion + { + get + { + return recursion; + } + set + { + recursion = value; + DictionaryUtil.Add(QueryParameters, "Recursion", value.ToString()); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public int? OwnerGroupId + { + get + { + return ownerGroupId; + } + set + { + ownerGroupId = value; + DictionaryUtil.Add(QueryParameters, "OwnerGroupId", value.ToString()); + } + } + + public int? OwnerUserId + { + get + { + return ownerUserId; + } + set + { + ownerUserId = value; + DictionaryUtil.Add(QueryParameters, "OwnerUserId", value.ToString()); + } + } + + public string Permission + { + get + { + return permission; + } + set + { + permission = value; + DictionaryUtil.Add(QueryParameters, "Permission", value); + } + } + + public string RootDirectory + { + get + { + return rootDirectory; + } + set + { + rootDirectory = value; + DictionaryUtil.Add(QueryParameters, "RootDirectory", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override CreateDirResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return CreateDirResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirResponse.cs new file mode 100644 index 0000000000..6595043e28 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateDirResponse.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.NAS.Model.V20170626 +{ + public class CreateDirResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileRequest.cs index 5994cf4478..b3876a4c44 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateFileRequest : RpcAcsRequest { public CreateFileRequest() - : base("NAS", "2017-06-26", "CreateFile", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateFile", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileSystemRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileSystemRequest.cs index dd8a3e5e78..2a42dd3e50 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileSystemRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFileSystemRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateFileSystemRequest : RpcAcsRequest { public CreateFileSystemRequest() - : base("NAS", "2017-06-26", "CreateFileSystem", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateFileSystem", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -56,6 +56,8 @@ public CreateFileSystemRequest() private int? duration; + private string resourceGroupId; + private bool? dryRun; private long? bandwidth; @@ -176,6 +178,19 @@ public int? Duration } } + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; + DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value); + } + } + public bool? DryRun { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFilesetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFilesetRequest.cs index feab7596c4..343bf33157 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFilesetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateFilesetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateFilesetRequest : RpcAcsRequest { public CreateFilesetRequest() - : base("NAS", "2017-06-26", "CreateFileset", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateFileset", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -44,6 +44,10 @@ public CreateFilesetRequest() private string description; + private bool? deletionProtection; + + private Quota quota_; + private string fileSystemId; private bool? dryRun; @@ -76,6 +80,38 @@ public string Description } } + public bool? DeletionProtection + { + get + { + return deletionProtection; + } + set + { + deletionProtection = value; + DictionaryUtil.Add(QueryParameters, "DeletionProtection", value.ToString()); + } + } + + public Quota Quota_ + { + get + { + return quota_; + } + + set + { + quota_ = value; + if(quota_ != null) + { + + DictionaryUtil.Add(QueryParameters,"Quota.SizeLimit", quota_.SizeLimit); + DictionaryUtil.Add(QueryParameters,"Quota.FileCountLimit", quota_.FileCountLimit); + } + } + } + public string FileSystemId { get @@ -113,6 +149,38 @@ public string FileSystemPath fileSystemPath = value; DictionaryUtil.Add(QueryParameters, "FileSystemPath", value); } + } + + public class Quota + { + + private long? sizeLimit; + + private long? fileCountLimit; + + public long? SizeLimit + { + get + { + return sizeLimit; + } + set + { + sizeLimit = value; + } + } + + public long? FileCountLimit + { + get + { + return fileCountLimit; + } + set + { + fileCountLimit = value; + } + } } public override CreateFilesetResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLDAPConfigRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLDAPConfigRequest.cs index 8d8a15de36..092aa568db 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLDAPConfigRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLDAPConfigRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateLDAPConfigRequest : RpcAcsRequest { public CreateLDAPConfigRequest() - : base("NAS", "2017-06-26", "CreateLDAPConfig", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateLDAPConfig", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecyclePolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecyclePolicyRequest.cs index 6b7c84e864..1702abc795 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecyclePolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecyclePolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateLifecyclePolicyRequest : RpcAcsRequest { public CreateLifecyclePolicyRequest() - : base("NAS", "2017-06-26", "CreateLifecyclePolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateLifecyclePolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecycleRetrieveJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecycleRetrieveJobRequest.cs index 365680c6c4..74a5d85133 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecycleRetrieveJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLifecycleRetrieveJobRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateLifecycleRetrieveJobRequest : RpcAcsRequest { public CreateLifecycleRetrieveJobRequest() - : base("NAS", "2017-06-26", "CreateLifecycleRetrieveJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateLifecycleRetrieveJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -40,10 +40,25 @@ public CreateLifecycleRetrieveJobRequest() Method = MethodType.POST; } + private string storageType; + private string fileSystemId; private List pathss = new List(){ }; + public string StorageType + { + get + { + return storageType; + } + set + { + storageType = value; + DictionaryUtil.Add(QueryParameters, "StorageType", value); + } + } + public string FileSystemId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisRequest.cs similarity index 81% rename from aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigRequest.cs rename to aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisRequest.cs index c8e82e93b5..90c399abcc 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLDAPConfigRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisRequest.cs @@ -27,10 +27,10 @@ namespace Aliyun.Acs.NAS.Model.V20170626 { - public class DescribeLDAPConfigRequest : RpcAcsRequest + public class CreateLogAnalysisRequest : RpcAcsRequest { - public DescribeLDAPConfigRequest() - : base("NAS", "2017-06-26", "DescribeLDAPConfig", "NAS", "openAPI") + public CreateLogAnalysisRequest() + : base("NAS", "2017-06-26", "CreateLogAnalysis", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -55,9 +55,9 @@ public string FileSystemId } } - public override DescribeLDAPConfigResponse GetResponse(UnmarshallerContext unmarshallerContext) + public override CreateLogAnalysisResponse GetResponse(UnmarshallerContext unmarshallerContext) { - return DescribeLDAPConfigResponseUnmarshaller.Unmarshall(unmarshallerContext); + return CreateLogAnalysisResponseUnmarshaller.Unmarshall(unmarshallerContext); } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisResponse.cs new file mode 100644 index 0000000000..9731d093c1 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateLogAnalysisResponse.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.NAS.Model.V20170626 +{ + public class CreateLogAnalysisResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateMountTargetRequest.cs index 9b508649a0..7a28d4f3ee 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateMountTargetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateMountTargetRequest : RpcAcsRequest { public CreateMountTargetRequest() - : base("NAS", "2017-06-26", "CreateMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolMountTargetRequest.cs index 55f426b7e6..6f44af7a73 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolMountTargetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateProtocolMountTargetRequest : RpcAcsRequest { public CreateProtocolMountTargetRequest() - : base("NAS", "2017-06-26", "CreateProtocolMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateProtocolMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolServiceRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolServiceRequest.cs index d07c387fb7..f2f5e85ef9 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolServiceRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateProtocolServiceRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateProtocolServiceRequest : RpcAcsRequest { public CreateProtocolServiceRequest() - : base("NAS", "2017-06-26", "CreateProtocolService", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateProtocolService", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinDeleteJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinDeleteJobRequest.cs index a7a3594d9b..645e309579 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinDeleteJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinDeleteJobRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateRecycleBinDeleteJobRequest : RpcAcsRequest { public CreateRecycleBinDeleteJobRequest() - : base("NAS", "2017-06-26", "CreateRecycleBinDeleteJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateRecycleBinDeleteJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinRestoreJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinRestoreJobRequest.cs index 51af251bdb..a3599e3ee1 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinRestoreJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateRecycleBinRestoreJobRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateRecycleBinRestoreJobRequest : RpcAcsRequest { public CreateRecycleBinRestoreJobRequest() - : base("NAS", "2017-06-26", "CreateRecycleBinRestoreJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateRecycleBinRestoreJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateSnapshotRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateSnapshotRequest.cs index 976f5f6c51..419b88ca5a 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateSnapshotRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/CreateSnapshotRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class CreateSnapshotRequest : RpcAcsRequest { public CreateSnapshotRequest() - : base("NAS", "2017-06-26", "CreateSnapshot", "NAS", "openAPI") + : base("NAS", "2017-06-26", "CreateSnapshot", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessGroupRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessGroupRequest.cs index 86df779b4d..070b01d529 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessGroupRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessGroupRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteAccessGroupRequest : RpcAcsRequest { public DeleteAccessGroupRequest() - : base("NAS", "2017-06-26", "DeleteAccessGroup", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteAccessGroup", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointRequest.cs new file mode 100644 index 0000000000..7bb75c76dc --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointRequest.cs @@ -0,0 +1,83 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DeleteAccessPointRequest : RpcAcsRequest + { + public DeleteAccessPointRequest() + : base("NAS", "2017-06-26", "DeleteAccessPoint", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string accessPointId; + + private string fileSystemId; + + public string AccessPointId + { + get + { + return accessPointId; + } + set + { + accessPointId = value; + DictionaryUtil.Add(QueryParameters, "AccessPointId", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DeleteAccessPointResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteAccessPointResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointResponse.cs new file mode 100644 index 0000000000..8a87682ced --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessPointResponse.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.NAS.Model.V20170626 +{ + public class DeleteAccessPointResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessRuleRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessRuleRequest.cs index 5bc5abe453..61a1fc975e 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessRuleRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAccessRuleRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteAccessRuleRequest : RpcAcsRequest { public DeleteAccessRuleRequest() - : base("NAS", "2017-06-26", "DeleteAccessRule", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteAccessRule", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAutoSnapshotPolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAutoSnapshotPolicyRequest.cs index 7abad0d164..f741b7bca6 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAutoSnapshotPolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteAutoSnapshotPolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteAutoSnapshotPolicyRequest : RpcAcsRequest { public DeleteAutoSnapshotPolicyRequest() - : base("NAS", "2017-06-26", "DeleteAutoSnapshotPolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteAutoSnapshotPolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteDataFlowRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteDataFlowRequest.cs index 5264403471..d0a6ab1748 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteDataFlowRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteDataFlowRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteDataFlowRequest : RpcAcsRequest { public DeleteDataFlowRequest() - : base("NAS", "2017-06-26", "DeleteDataFlow", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteDataFlow", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFileSystemRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFileSystemRequest.cs index b53dcee888..428b41f542 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFileSystemRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFileSystemRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteFileSystemRequest : RpcAcsRequest { public DeleteFileSystemRequest() - : base("NAS", "2017-06-26", "DeleteFileSystem", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteFileSystem", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFilesetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFilesetRequest.cs index 8937ef216a..924637a8f1 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFilesetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteFilesetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteFilesetRequest : RpcAcsRequest { public DeleteFilesetRequest() - : base("NAS", "2017-06-26", "DeleteFileset", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteFileset", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLDAPConfigRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLDAPConfigRequest.cs index 6e97edca8d..ca499b9024 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLDAPConfigRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLDAPConfigRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteLDAPConfigRequest : RpcAcsRequest { public DeleteLDAPConfigRequest() - : base("NAS", "2017-06-26", "DeleteLDAPConfig", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteLDAPConfig", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLifecyclePolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLifecyclePolicyRequest.cs index ac1c40f4f6..b8e110494d 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLifecyclePolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLifecyclePolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteLifecyclePolicyRequest : RpcAcsRequest { public DeleteLifecyclePolicyRequest() - : base("NAS", "2017-06-26", "DeleteLifecyclePolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteLifecyclePolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisRequest.cs new file mode 100644 index 0000000000..0b1d90205a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisRequest.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.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DeleteLogAnalysisRequest : RpcAcsRequest + { + public DeleteLogAnalysisRequest() + : base("NAS", "2017-06-26", "DeleteLogAnalysis", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string fileSystemId; + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override DeleteLogAnalysisResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DeleteLogAnalysisResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisResponse.cs new file mode 100644 index 0000000000..23cd7594f9 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteLogAnalysisResponse.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.NAS.Model.V20170626 +{ + public class DeleteLogAnalysisResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteMountTargetRequest.cs index 33a741e61e..8b21624990 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteMountTargetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteMountTargetRequest : RpcAcsRequest { public DeleteMountTargetRequest() - : base("NAS", "2017-06-26", "DeleteMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolMountTargetRequest.cs index 248d85cef9..c46fb0bee0 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolMountTargetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteProtocolMountTargetRequest : RpcAcsRequest { public DeleteProtocolMountTargetRequest() - : base("NAS", "2017-06-26", "DeleteProtocolMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteProtocolMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolServiceRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolServiceRequest.cs index 5da2f5c826..4f8dcb97ee 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolServiceRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteProtocolServiceRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteProtocolServiceRequest : RpcAcsRequest { public DeleteProtocolServiceRequest() - : base("NAS", "2017-06-26", "DeleteProtocolService", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteProtocolService", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteSnapshotRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteSnapshotRequest.cs index 6ddcd608ba..22571b3db8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteSnapshotRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DeleteSnapshotRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DeleteSnapshotRequest : RpcAcsRequest { public DeleteSnapshotRequest() - : base("NAS", "2017-06-26", "DeleteSnapshot", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DeleteSnapshot", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsRequest.cs index b93e1ee217..593bbda3b1 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeAccessGroupsRequest : RpcAcsRequest { public DescribeAccessGroupsRequest() - : base("NAS", "2017-06-26", "DescribeAccessGroups", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeAccessGroups", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsResponse.cs index 14c3bcf9e4..bfd9e3c28a 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessGroupsResponse.cs @@ -110,6 +110,10 @@ public class DescribeAccessGroups_AccessGroup private int? mountTargetCount; + private string fileSystemType; + + private string regionId; + private List tags; public string AccessGroupName @@ -184,6 +188,30 @@ public int? MountTargetCount } } + public string FileSystemType + { + get + { + return fileSystemType; + } + set + { + fileSystemType = value; + } + } + + public string RegionId + { + get + { + return regionId; + } + set + { + regionId = value; + } + } + public List Tags { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointRequest.cs new file mode 100644 index 0000000000..de712f4d8c --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointRequest.cs @@ -0,0 +1,83 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DescribeAccessPointRequest : RpcAcsRequest + { + public DescribeAccessPointRequest() + : base("NAS", "2017-06-26", "DescribeAccessPoint", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string accessPointId; + + private string fileSystemId; + + public string AccessPointId + { + get + { + return accessPointId; + } + set + { + accessPointId = value; + DictionaryUtil.Add(QueryParameters, "AccessPointId", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeAccessPointResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeAccessPointResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointResponse.cs new file mode 100644 index 0000000000..bcdd12d8d4 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointResponse.cs @@ -0,0 +1,436 @@ +/* + * 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.NAS.Model.V20170626 +{ + public class DescribeAccessPointResponse : AcsResponse + { + + private string requestId; + + private DescribeAccessPoint_AccessPoint accessPoint; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public DescribeAccessPoint_AccessPoint AccessPoint + { + get + { + return accessPoint; + } + set + { + accessPoint = value; + } + } + + public class DescribeAccessPoint_AccessPoint + { + + private string aRN; + + private string accessGroup; + + private string accessPointId; + + private string accessPointName; + + private string createTime; + + private string domainName; + + private bool? enabledRam; + + private string fileSystemId; + + private string modifyTime; + + private string rootPath; + + private string rootPathStatus; + + private string status; + + private string vSwitchId; + + private string vpcId; + + private string regionId; + + private List tags; + + private DescribeAccessPoint_RootPathPermission rootPathPermission; + + private DescribeAccessPoint_PosixUser posixUser; + + public string ARN + { + get + { + return aRN; + } + set + { + aRN = value; + } + } + + public string AccessGroup + { + get + { + return accessGroup; + } + set + { + accessGroup = value; + } + } + + public string AccessPointId + { + get + { + return accessPointId; + } + set + { + accessPointId = value; + } + } + + public string AccessPointName + { + get + { + return accessPointName; + } + set + { + accessPointName = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string DomainName + { + get + { + return domainName; + } + set + { + domainName = value; + } + } + + public bool? EnabledRam + { + get + { + return enabledRam; + } + set + { + enabledRam = value; + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + } + } + + public string ModifyTime + { + get + { + return modifyTime; + } + set + { + modifyTime = value; + } + } + + public string RootPath + { + get + { + return rootPath; + } + set + { + rootPath = value; + } + } + + public string RootPathStatus + { + get + { + return rootPathStatus; + } + set + { + rootPathStatus = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string VSwitchId + { + get + { + return vSwitchId; + } + set + { + vSwitchId = value; + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public string RegionId + { + get + { + return regionId; + } + set + { + regionId = value; + } + } + + public List Tags + { + get + { + return tags; + } + set + { + tags = value; + } + } + + public DescribeAccessPoint_RootPathPermission RootPathPermission + { + get + { + return rootPathPermission; + } + set + { + rootPathPermission = value; + } + } + + public DescribeAccessPoint_PosixUser PosixUser + { + get + { + return posixUser; + } + set + { + posixUser = value; + } + } + + public class DescribeAccessPoint_Tag + { + + private string key; + + private string _value; + + public string Key + { + get + { + return key; + } + set + { + key = value; + } + } + + public string _Value + { + get + { + return _value; + } + set + { + _value = value; + } + } + } + + public class DescribeAccessPoint_RootPathPermission + { + + private int? ownerGroupId; + + private int? ownerUserId; + + private string permission; + + public int? OwnerGroupId + { + get + { + return ownerGroupId; + } + set + { + ownerGroupId = value; + } + } + + public int? OwnerUserId + { + get + { + return ownerUserId; + } + set + { + ownerUserId = value; + } + } + + public string Permission + { + get + { + return permission; + } + set + { + permission = value; + } + } + } + + public class DescribeAccessPoint_PosixUser + { + + private int? posixGroupId; + + private int? posixUserId; + + private List posixSecondaryGroupIds; + + public int? PosixGroupId + { + get + { + return posixGroupId; + } + set + { + posixGroupId = value; + } + } + + public int? PosixUserId + { + get + { + return posixUserId; + } + set + { + posixUserId = value; + } + } + + public List PosixSecondaryGroupIds + { + get + { + return posixSecondaryGroupIds; + } + set + { + posixSecondaryGroupIds = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsRequest.cs new file mode 100644 index 0000000000..82f59f0192 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsRequest.cs @@ -0,0 +1,113 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DescribeAccessPointsRequest : RpcAcsRequest + { + public DescribeAccessPointsRequest() + : base("NAS", "2017-06-26", "DescribeAccessPoints", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string nextToken; + + private string fileSystemId; + + private int? maxResults; + + private string accessGroup; + + public string NextToken + { + get + { + return nextToken; + } + set + { + nextToken = value; + DictionaryUtil.Add(QueryParameters, "NextToken", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public int? MaxResults + { + get + { + return maxResults; + } + set + { + maxResults = value; + DictionaryUtil.Add(QueryParameters, "MaxResults", value.ToString()); + } + } + + public string AccessGroup + { + get + { + return accessGroup; + } + set + { + accessGroup = value; + DictionaryUtil.Add(QueryParameters, "AccessGroup", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeAccessPointsResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeAccessPointsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsResponse.cs new file mode 100644 index 0000000000..2b44de8340 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessPointsResponse.cs @@ -0,0 +1,404 @@ +/* + * 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.NAS.Model.V20170626 +{ + public class DescribeAccessPointsResponse : AcsResponse + { + + private string requestId; + + private string nextToken; + + private int? totalCount; + + private List accessPoints; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextToken + { + get + { + return nextToken; + } + set + { + nextToken = value; + } + } + + public int? TotalCount + { + get + { + return totalCount; + } + set + { + totalCount = value; + } + } + + public List AccessPoints + { + get + { + return accessPoints; + } + set + { + accessPoints = value; + } + } + + public class DescribeAccessPoints_AccessPoint + { + + private string aRN; + + private string accessGroup; + + private string accessPointId; + + private string accessPointName; + + private string createTime; + + private string domainName; + + private bool? enabledRam; + + private string fileSystemId; + + private string modifyTime; + + private string rootPath; + + private string rootPathStatus; + + private string status; + + private string vSwitchId; + + private string vpcId; + + private DescribeAccessPoints_PosixUser posixUser; + + private DescribeAccessPoints_RootPathPermission rootPathPermission; + + public string ARN + { + get + { + return aRN; + } + set + { + aRN = value; + } + } + + public string AccessGroup + { + get + { + return accessGroup; + } + set + { + accessGroup = value; + } + } + + public string AccessPointId + { + get + { + return accessPointId; + } + set + { + accessPointId = value; + } + } + + public string AccessPointName + { + get + { + return accessPointName; + } + set + { + accessPointName = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string DomainName + { + get + { + return domainName; + } + set + { + domainName = value; + } + } + + public bool? EnabledRam + { + get + { + return enabledRam; + } + set + { + enabledRam = value; + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + } + } + + public string ModifyTime + { + get + { + return modifyTime; + } + set + { + modifyTime = value; + } + } + + public string RootPath + { + get + { + return rootPath; + } + set + { + rootPath = value; + } + } + + public string RootPathStatus + { + get + { + return rootPathStatus; + } + set + { + rootPathStatus = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string VSwitchId + { + get + { + return vSwitchId; + } + set + { + vSwitchId = value; + } + } + + public string VpcId + { + get + { + return vpcId; + } + set + { + vpcId = value; + } + } + + public DescribeAccessPoints_PosixUser PosixUser + { + get + { + return posixUser; + } + set + { + posixUser = value; + } + } + + public DescribeAccessPoints_RootPathPermission RootPathPermission + { + get + { + return rootPathPermission; + } + set + { + rootPathPermission = value; + } + } + + public class DescribeAccessPoints_PosixUser + { + + private int? posixGroupId; + + private int? posixUserId; + + private List posixSecondaryGroupIds; + + public int? PosixGroupId + { + get + { + return posixGroupId; + } + set + { + posixGroupId = value; + } + } + + public int? PosixUserId + { + get + { + return posixUserId; + } + set + { + posixUserId = value; + } + } + + public List PosixSecondaryGroupIds + { + get + { + return posixSecondaryGroupIds; + } + set + { + posixSecondaryGroupIds = value; + } + } + } + + public class DescribeAccessPoints_RootPathPermission + { + + private long? ownerGroupId; + + private long? ownerUserId; + + private string permission; + + public long? OwnerGroupId + { + get + { + return ownerGroupId; + } + set + { + ownerGroupId = value; + } + } + + public long? OwnerUserId + { + get + { + return ownerUserId; + } + set + { + ownerUserId = value; + } + } + + public string Permission + { + get + { + return permission; + } + set + { + permission = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesRequest.cs index b651b8f2a6..c3550ba443 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeAccessRulesRequest : RpcAcsRequest { public DescribeAccessRulesRequest() - : base("NAS", "2017-06-26", "DescribeAccessRules", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeAccessRules", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesResponse.cs index 881ff2f1af..2d0df34ec4 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAccessRulesResponse.cs @@ -110,6 +110,12 @@ public class DescribeAccessRules_AccessRule private int? priority; + private string fileSystemType; + + private string accessGroupName; + + private string regionId; + public string AccessRuleId { get @@ -181,6 +187,42 @@ public int? Priority priority = value; } } + + public string FileSystemType + { + get + { + return fileSystemType; + } + set + { + fileSystemType = value; + } + } + + public string AccessGroupName + { + get + { + return accessGroupName; + } + set + { + accessGroupName = value; + } + } + + public string RegionId + { + get + { + return regionId; + } + set + { + regionId = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesRequest.cs index 26ece32d3b..9f386251a1 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeAutoSnapshotPoliciesRequest : RpcAcsRequest { public DescribeAutoSnapshotPoliciesRequest() - : base("NAS", "2017-06-26", "DescribeAutoSnapshotPolicies", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeAutoSnapshotPolicies", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesResponse.cs index 84c57e47d0..12e7774bfe 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotPoliciesResponse.cs @@ -116,6 +116,8 @@ public class DescribeAutoSnapshotPolicies_AutoSnapshotPolicy private string regionId; + private string fileSystemType; + public string TimePoints { get @@ -223,6 +225,18 @@ public string RegionId regionId = value; } } + + public string FileSystemType + { + get + { + return fileSystemType; + } + set + { + fileSystemType = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotTasksRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotTasksRequest.cs index 1a5cab6dec..6d58e40143 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotTasksRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeAutoSnapshotTasksRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeAutoSnapshotTasksRequest : RpcAcsRequest { public DescribeAutoSnapshotTasksRequest() - : base("NAS", "2017-06-26", "DescribeAutoSnapshotTasks", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeAutoSnapshotTasks", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeBlackListClientsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeBlackListClientsRequest.cs index 77239542b1..bf43a5ebb8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeBlackListClientsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeBlackListClientsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeBlackListClientsRequest : RpcAcsRequest { public DescribeBlackListClientsRequest() - : base("NAS", "2017-06-26", "DescribeBlackListClients", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeBlackListClients", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksRequest.cs similarity index 63% rename from aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsRequest.cs rename to aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksRequest.cs index e2c81812cc..391fa70007 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksRequest.cs @@ -27,10 +27,10 @@ namespace Aliyun.Acs.NAS.Model.V20170626 { - public class DescribeTagsRequest : RpcAcsRequest + public class DescribeDataFlowSubTasksRequest : RpcAcsRequest { - public DescribeTagsRequest() - : base("NAS", "2017-06-26", "DescribeTags", "NAS", "openAPI") + public DescribeDataFlowSubTasksRequest() + : base("NAS", "2017-06-26", "DescribeDataFlowSubTasks", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -40,75 +40,75 @@ public DescribeTagsRequest() Method = MethodType.POST; } - private int? pageNumber; + private string nextToken; - private int? pageSize; + private string fileSystemId; - private List tags = new List(){ }; + private List filterss = new List(){ }; - private string fileSystemId; + private long? maxResults; - public int? PageNumber + public string NextToken { get { - return pageNumber; + return nextToken; } set { - pageNumber = value; - DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString()); + nextToken = value; + DictionaryUtil.Add(QueryParameters, "NextToken", value); } } - public int? PageSize + public string FileSystemId { get { - return pageSize; + return fileSystemId; } set { - pageSize = value; - DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString()); + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); } } - public List Tags + public List Filterss { get { - return tags; + return filterss; } set { - tags = value; - if(tags != null) + filterss = value; + if(filterss != null) { - for (int depth1 = 0; depth1 < tags.Count; depth1++) + for (int depth1 = 0; depth1 < filterss.Count; depth1++) { - DictionaryUtil.Add(QueryParameters,"Tag." + (depth1 + 1), tags[depth1]); - DictionaryUtil.Add(QueryParameters,"Tag." + (depth1 + 1), tags[depth1]); + DictionaryUtil.Add(QueryParameters,"Filters." + (depth1 + 1), filterss[depth1]); + DictionaryUtil.Add(QueryParameters,"Filters." + (depth1 + 1), filterss[depth1]); } } } } - public string FileSystemId + public long? MaxResults { get { - return fileSystemId; + return maxResults; } set { - fileSystemId = value; - DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + maxResults = value; + DictionaryUtil.Add(QueryParameters, "MaxResults", value.ToString()); } } - public class Tag + public class Filters { private string value_; @@ -140,9 +140,9 @@ public string Key } } - public override DescribeTagsResponse GetResponse(UnmarshallerContext unmarshallerContext) + public override DescribeDataFlowSubTasksResponse GetResponse(UnmarshallerContext unmarshallerContext) { - return DescribeTagsResponseUnmarshaller.Unmarshall(unmarshallerContext); + return DescribeDataFlowSubTasksResponseUnmarshaller.Unmarshall(unmarshallerContext); } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksResponse.cs new file mode 100644 index 0000000000..90098ed72a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowSubTasksResponse.cs @@ -0,0 +1,376 @@ +/* + * 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.NAS.Model.V20170626 +{ + public class DescribeDataFlowSubTasksResponse : AcsResponse + { + + private string requestId; + + private string nextToken; + + private List dataFlowSubTask; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextToken + { + get + { + return nextToken; + } + set + { + nextToken = value; + } + } + + public List DataFlowSubTask + { + get + { + return dataFlowSubTask; + } + set + { + dataFlowSubTask = value; + } + } + + public class DescribeDataFlowSubTasks_DataFlowSubTaskItem + { + + private string fileSystemId; + + private string dataFlowId; + + private string dataFlowTaskId; + + private string dataFlowSubTaskId; + + private string srcFilePath; + + private string dstFilePath; + + private string status; + + private int? progress; + + private string createTime; + + private string startTime; + + private string endTime; + + private string errorMsg; + + private DescribeDataFlowSubTasks_ProgressStats progressStats; + + private DescribeDataFlowSubTasks_FileDetail fileDetail; + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + } + } + + public string DataFlowId + { + get + { + return dataFlowId; + } + set + { + dataFlowId = value; + } + } + + public string DataFlowTaskId + { + get + { + return dataFlowTaskId; + } + set + { + dataFlowTaskId = value; + } + } + + public string DataFlowSubTaskId + { + get + { + return dataFlowSubTaskId; + } + set + { + dataFlowSubTaskId = value; + } + } + + public string SrcFilePath + { + get + { + return srcFilePath; + } + set + { + srcFilePath = value; + } + } + + public string DstFilePath + { + get + { + return dstFilePath; + } + set + { + dstFilePath = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public int? Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + + public string CreateTime + { + get + { + return createTime; + } + set + { + createTime = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string ErrorMsg + { + get + { + return errorMsg; + } + set + { + errorMsg = value; + } + } + + public DescribeDataFlowSubTasks_ProgressStats ProgressStats + { + get + { + return progressStats; + } + set + { + progressStats = value; + } + } + + public DescribeDataFlowSubTasks_FileDetail FileDetail + { + get + { + return fileDetail; + } + set + { + fileDetail = value; + } + } + + public class DescribeDataFlowSubTasks_ProgressStats + { + + private long? bytesTotal; + + private long? bytesDone; + + private long? actualBytes; + + private long? averageSpeed; + + public long? BytesTotal + { + get + { + return bytesTotal; + } + set + { + bytesTotal = value; + } + } + + public long? BytesDone + { + get + { + return bytesDone; + } + set + { + bytesDone = value; + } + } + + public long? ActualBytes + { + get + { + return actualBytes; + } + set + { + actualBytes = value; + } + } + + public long? AverageSpeed + { + get + { + return averageSpeed; + } + set + { + averageSpeed = value; + } + } + } + + public class DescribeDataFlowSubTasks_FileDetail + { + + private long? modifyTime; + + private long? size; + + private string checksum; + + public long? ModifyTime + { + get + { + return modifyTime; + } + set + { + modifyTime = value; + } + } + + public long? Size + { + get + { + return size; + } + set + { + size = value; + } + } + + public string Checksum + { + get + { + return checksum; + } + set + { + checksum = value; + } + } + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksRequest.cs index 92d7ed4fb9..3654d7fa57 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeDataFlowTasksRequest : RpcAcsRequest { public DescribeDataFlowTasksRequest() - : base("NAS", "2017-06-26", "DescribeDataFlowTasks", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeDataFlowTasks", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksResponse.cs index 00aab2083e..8830990815 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowTasksResponse.cs @@ -100,6 +100,18 @@ public class DescribeDataFlowTasks_Task private string fsPath; + private string conflictPolicy; + + private string directory; + + private string dstDirectory; + + private string errorMsg; + + private List reports; + + private DescribeDataFlowTasks_ProgressStats progressStats; + public string FilesystemId { get @@ -279,6 +291,226 @@ public string FsPath fsPath = value; } } + + public string ConflictPolicy + { + get + { + return conflictPolicy; + } + set + { + conflictPolicy = value; + } + } + + public string Directory + { + get + { + return directory; + } + set + { + directory = value; + } + } + + public string DstDirectory + { + get + { + return dstDirectory; + } + set + { + dstDirectory = value; + } + } + + public string ErrorMsg + { + get + { + return errorMsg; + } + set + { + errorMsg = value; + } + } + + public List Reports + { + get + { + return reports; + } + set + { + reports = value; + } + } + + public DescribeDataFlowTasks_ProgressStats ProgressStats + { + get + { + return progressStats; + } + set + { + progressStats = value; + } + } + + public class DescribeDataFlowTasks_Report + { + + private string name; + + private string path; + + public string Name + { + get + { + return name; + } + set + { + name = value; + } + } + + public string Path + { + get + { + return path; + } + set + { + path = value; + } + } + } + + public class DescribeDataFlowTasks_ProgressStats + { + + private long? filesTotal; + + private long? filesDone; + + private long? actualFiles; + + private long? bytesTotal; + + private long? bytesDone; + + private long? actualBytes; + + private long? remainTime; + + private long? averageSpeed; + + public long? FilesTotal + { + get + { + return filesTotal; + } + set + { + filesTotal = value; + } + } + + public long? FilesDone + { + get + { + return filesDone; + } + set + { + filesDone = value; + } + } + + public long? ActualFiles + { + get + { + return actualFiles; + } + set + { + actualFiles = value; + } + } + + public long? BytesTotal + { + get + { + return bytesTotal; + } + set + { + bytesTotal = value; + } + } + + public long? BytesDone + { + get + { + return bytesDone; + } + set + { + bytesDone = value; + } + } + + public long? ActualBytes + { + get + { + return actualBytes; + } + set + { + actualBytes = value; + } + } + + public long? RemainTime + { + get + { + return remainTime; + } + set + { + remainTime = value; + } + } + + public long? AverageSpeed + { + get + { + return averageSpeed; + } + set + { + averageSpeed = value; + } + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsRequest.cs index 0f1d94cd6b..bd186a45e5 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeDataFlowsRequest : RpcAcsRequest { public DescribeDataFlowsRequest() - : base("NAS", "2017-06-26", "DescribeDataFlows", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeDataFlows", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsResponse.cs index ddae2f99d6..117532f185 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDataFlowsResponse.cs @@ -100,6 +100,8 @@ public class DescribeDataFlows_DataFlow private string autoRefreshPolicy; + private string sourceStoragePath; + private List autoRefresh; public string FileSystemId @@ -282,6 +284,18 @@ public string AutoRefreshPolicy } } + public string SourceStoragePath + { + get + { + return sourceStoragePath; + } + set + { + sourceStoragePath = value; + } + } + public List AutoRefresh { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasRequest.cs index 714156df69..d604acb88c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeDirQuotasRequest : RpcAcsRequest { public DescribeDirQuotasRequest() - : base("NAS", "2017-06-26", "DescribeDirQuotas", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeDirQuotas", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasResponse.cs index 2598be571c..e152bdc16c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeDirQuotasResponse.cs @@ -171,6 +171,8 @@ public class DescribeDirQuotas_UserQuotaInfo private long? sizeReal; + private long? sizeRealInByte; + public long? FileCountReal { get @@ -254,6 +256,18 @@ public long? SizeReal sizeReal = value; } } + + public long? SizeRealInByte + { + get + { + return sizeRealInByte; + } + set + { + sizeRealInByte = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemStatisticsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemStatisticsRequest.cs index 8346060895..675b951539 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemStatisticsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemStatisticsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeFileSystemStatisticsRequest : RpcAcsRequest { public DescribeFileSystemStatisticsRequest() - : base("NAS", "2017-06-26", "DescribeFileSystemStatistics", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeFileSystemStatistics", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsRequest.cs index 9168efa28f..54af130627 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeFileSystemsRequest : RpcAcsRequest { public DescribeFileSystemsRequest() - : base("NAS", "2017-06-26", "DescribeFileSystems", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeFileSystems", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -44,6 +44,8 @@ public DescribeFileSystemsRequest() private int? pageNumber; + private string resourceGroupId; + private int? pageSize; private List tags = new List(){ }; @@ -78,6 +80,19 @@ public int? PageNumber } } + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; + DictionaryUtil.Add(QueryParameters, "ResourceGroupId", value); + } + } + public int? PageSize { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsResponse.cs index 678c47131f..120fb56d1f 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFileSystemsResponse.cs @@ -142,6 +142,18 @@ public class DescribeFileSystems_FileSystem private string vpcId; + private int? nodeNum; + + private string hpnZone; + + private string accessPointCount; + + private string resourceGroupId; + + private long? meteredArchiveSize; + + private string quorumVswId; + private List tags; private List mountTargets; @@ -154,6 +166,10 @@ public class DescribeFileSystems_FileSystem private DescribeFileSystems_Ldap ldap; + private DescribeFileSystems_GuiInfo guiInfo; + + private DescribeFileSystems_Options options; + public string Status { get @@ -418,6 +434,78 @@ public string VpcId } } + public int? NodeNum + { + get + { + return nodeNum; + } + set + { + nodeNum = value; + } + } + + public string HpnZone + { + get + { + return hpnZone; + } + set + { + hpnZone = value; + } + } + + public string AccessPointCount + { + get + { + return accessPointCount; + } + set + { + accessPointCount = value; + } + } + + public string ResourceGroupId + { + get + { + return resourceGroupId; + } + set + { + resourceGroupId = value; + } + } + + public long? MeteredArchiveSize + { + get + { + return meteredArchiveSize; + } + set + { + meteredArchiveSize = value; + } + } + + public string QuorumVswId + { + get + { + return quorumVswId; + } + set + { + quorumVswId = value; + } + } + public List Tags { get @@ -490,6 +578,30 @@ public DescribeFileSystems_Ldap Ldap } } + public DescribeFileSystems_GuiInfo GuiInfo + { + get + { + return guiInfo; + } + set + { + guiInfo = value; + } + } + + public DescribeFileSystems_Options Options + { + get + { + return options; + } + set + { + options = value; + } + } + public class DescribeFileSystems_Tag { @@ -539,6 +651,8 @@ public class DescribeFileSystems_MountTarget private string networkType; + private string mountTargetIp; + private List clientMasterNodes; private List tags1; @@ -627,6 +741,18 @@ public string NetworkType } } + public string MountTargetIp + { + get + { + return mountTargetIp; + } + set + { + mountTargetIp = value; + } + } + public List ClientMasterNodes { get @@ -849,6 +975,70 @@ public string URI } } } + + public class DescribeFileSystems_GuiInfo + { + + private string endpoint; + + private string password; + + private string user; + + public string Endpoint + { + get + { + return endpoint; + } + set + { + endpoint = value; + } + } + + public string Password + { + get + { + return password; + } + set + { + password = value; + } + } + + public string User + { + get + { + return user; + } + set + { + user = value; + } + } + } + + public class DescribeFileSystems_Options + { + + private bool? enableOplock; + + public bool? EnableOplock + { + get + { + return enableOplock; + } + set + { + enableOplock = value; + } + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsRequest.cs index 9b217c9891..53612ac0e5 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeFilesetsRequest : RpcAcsRequest { public DescribeFilesetsRequest() - : base("NAS", "2017-06-26", "DescribeFilesets", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeFilesets", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsResponse.cs index c3f03f5095..ea5eead4b8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeFilesetsResponse.cs @@ -96,6 +96,16 @@ public class DescribeFilesets_Entrie private string updateTime; + private bool? deletionProtection; + + private long? fileCountUsage; + + private long? spaceUsage; + + private string fileSystemId; + + private DescribeFilesets_Quota quota; + public string Description { get @@ -167,6 +177,98 @@ public string UpdateTime updateTime = value; } } + + public bool? DeletionProtection + { + get + { + return deletionProtection; + } + set + { + deletionProtection = value; + } + } + + public long? FileCountUsage + { + get + { + return fileCountUsage; + } + set + { + fileCountUsage = value; + } + } + + public long? SpaceUsage + { + get + { + return spaceUsage; + } + set + { + spaceUsage = value; + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + } + } + + public DescribeFilesets_Quota Quota + { + get + { + return quota; + } + set + { + quota = value; + } + } + + public class DescribeFilesets_Quota + { + + private long? sizeLimit; + + private long? fileCountLimit; + + public long? SizeLimit + { + get + { + return sizeLimit; + } + set + { + sizeLimit = value; + } + } + + public long? FileCountLimit + { + get + { + return fileCountLimit; + } + set + { + fileCountLimit = value; + } + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLifecyclePoliciesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLifecyclePoliciesRequest.cs index 9edfabf852..4b1f7ed816 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLifecyclePoliciesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLifecyclePoliciesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeLifecyclePoliciesRequest : RpcAcsRequest { public DescribeLifecyclePoliciesRequest() - : base("NAS", "2017-06-26", "DescribeLifecyclePolicies", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeLifecyclePolicies", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -41,6 +41,10 @@ public DescribeLifecyclePoliciesRequest() private int? pageNumber; + private string storageType; + + private string lifecyclePolicyName; + private int? pageSize; private string fileSystemId; @@ -58,6 +62,32 @@ public int? PageNumber } } + public string StorageType + { + get + { + return storageType; + } + set + { + storageType = value; + DictionaryUtil.Add(QueryParameters, "StorageType", value); + } + } + + public string LifecyclePolicyName + { + get + { + return lifecyclePolicyName; + } + set + { + lifecyclePolicyName = value; + DictionaryUtil.Add(QueryParameters, "LifecyclePolicyName", value); + } + } + public int? PageSize { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLogAnalysisRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLogAnalysisRequest.cs index 6487884f52..109c410a1b 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLogAnalysisRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeLogAnalysisRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeLogAnalysisRequest : RpcAcsRequest { public DescribeLogAnalysisRequest() - : base("NAS", "2017-06-26", "DescribeLogAnalysis", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeLogAnalysis", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -40,10 +40,25 @@ public DescribeLogAnalysisRequest() Method = MethodType.POST; } + private string fileSystemType; + private int? pageNumber; private int? pageSize; + public string FileSystemType + { + get + { + return fileSystemType; + } + set + { + fileSystemType = value; + DictionaryUtil.Add(QueryParameters, "FileSystemType", value); + } + } + public int? PageNumber { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsRequest.cs index 8eef9f11dc..6dda955a41 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeMountTargetsRequest : RpcAcsRequest { public DescribeMountTargetsRequest() - : base("NAS", "2017-06-26", "DescribeMountTargets", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeMountTargets", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsResponse.cs index de41d594cf..a66dcd71f2 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountTargetsResponse.cs @@ -114,6 +114,8 @@ public class DescribeMountTargets_MountTarget private string iPVersion; + private string mountTargetIp; + private List clientMasterNodes; private List tags; @@ -214,6 +216,18 @@ public string IPVersion } } + public string MountTargetIp + { + get + { + return mountTargetIp; + } + set + { + mountTargetIp = value; + } + } + public List ClientMasterNodes { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountedClientsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountedClientsRequest.cs index ee2f087de8..671912ee15 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountedClientsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeMountedClientsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeMountedClientsRequest : RpcAcsRequest { public DescribeMountedClientsRequest() - : base("NAS", "2017-06-26", "DescribeMountedClients", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeMountedClients", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclRequest.cs new file mode 100644 index 0000000000..640e01a75b --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclRequest.cs @@ -0,0 +1,68 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DescribeNfsAclRequest : RpcAcsRequest + { + public DescribeNfsAclRequest() + : base("NAS", "2017-06-26", "DescribeNfsAcl", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string fileSystemId; + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DescribeNfsAclResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeNfsAclResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclResponse.cs similarity index 51% rename from aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsResponse.cs rename to aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclResponse.cs index 1b214697dc..4e6b93b51c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeTagsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeNfsAclResponse.cs @@ -22,30 +22,12 @@ namespace Aliyun.Acs.NAS.Model.V20170626 { - public class DescribeTagsResponse : AcsResponse + public class DescribeNfsAclResponse : AcsResponse { - private int? totalCount; - private string requestId; - private int? pageSize; - - private int? pageNumber; - - private List tags; - - public int? TotalCount - { - get - { - return totalCount; - } - set - { - totalCount = value; - } - } + private DescribeNfsAcl_Acl acl; public string RequestId { @@ -59,84 +41,32 @@ public string RequestId } } - public int? PageSize - { - get - { - return pageSize; - } - set - { - pageSize = value; - } - } - - public int? PageNumber - { - get - { - return pageNumber; - } - set - { - pageNumber = value; - } - } - - public List Tags + public DescribeNfsAcl_Acl Acl { get { - return tags; + return acl; } set { - tags = value; + acl = value; } } - public class DescribeTags_Tag + public class DescribeNfsAcl_Acl { - private string key; - - private string _value; - - private List fileSystemIds; - - public string Key - { - get - { - return key; - } - set - { - key = value; - } - } - - public string _Value - { - get - { - return _value; - } - set - { - _value = value; - } - } + private bool? enabled; - public List FileSystemIds + public bool? Enabled { get { - return fileSystemIds; + return enabled; } set { - fileSystemIds = value; + enabled = value; } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolMountTargetRequest.cs index cab3e776c6..219f5b36cd 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolMountTargetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeProtocolMountTargetRequest : RpcAcsRequest { public DescribeProtocolMountTargetRequest() - : base("NAS", "2017-06-26", "DescribeProtocolMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeProtocolMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolServiceRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolServiceRequest.cs index 4ed9685b88..abe3fae349 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolServiceRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeProtocolServiceRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeProtocolServiceRequest : RpcAcsRequest { public DescribeProtocolServiceRequest() - : base("NAS", "2017-06-26", "DescribeProtocolService", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeProtocolService", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeRegionsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeRegionsRequest.cs index 899643e7bd..9316a6de8b 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeRegionsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeRegionsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeRegionsRequest : RpcAcsRequest { public DescribeRegionsRequest() - : base("NAS", "2017-06-26", "DescribeRegions", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeRegions", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSmbAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSmbAclRequest.cs index ba5cc07041..7d0c2e5178 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSmbAclRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSmbAclRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeSmbAclRequest : RpcAcsRequest { public DescribeSmbAclRequest() - : base("NAS", "2017-06-26", "DescribeSmbAcl", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeSmbAcl", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsRequest.cs index 4f94f13949..429e8562b3 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeSnapshotsRequest : RpcAcsRequest { public DescribeSnapshotsRequest() - : base("NAS", "2017-06-26", "DescribeSnapshots", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeSnapshots", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsResponse.cs index a546dba6f7..3a0f56119e 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeSnapshotsResponse.cs @@ -122,6 +122,10 @@ public class DescribeSnapshots_Snapshot private string snapshotId; + private string fileSystemType; + + private string snapshotType; + public string Status { get @@ -265,6 +269,30 @@ public string SnapshotId snapshotId = value; } } + + public string FileSystemType + { + get + { + return fileSystemType; + } + set + { + fileSystemType = value; + } + } + + public string SnapshotType + { + get + { + return snapshotType; + } + set + { + snapshotType = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeStoragePackagesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeStoragePackagesRequest.cs index a2461fe314..f458970ae9 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeStoragePackagesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeStoragePackagesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeStoragePackagesRequest : RpcAcsRequest { public DescribeStoragePackagesRequest() - : base("NAS", "2017-06-26", "DescribeStoragePackages", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeStoragePackages", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeZonesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeZonesRequest.cs index ec0fd48dca..e6f53e068a 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeZonesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DescribeZonesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DescribeZonesRequest : RpcAcsRequest { public DescribeZonesRequest() - : base("NAS", "2017-06-26", "DescribeZones", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DescribeZones", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableAndCleanRecycleBinRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableAndCleanRecycleBinRequest.cs index 08031c615b..a05ecb2a43 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableAndCleanRecycleBinRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableAndCleanRecycleBinRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DisableAndCleanRecycleBinRequest : RpcAcsRequest { public DisableAndCleanRecycleBinRequest() - : base("NAS", "2017-06-26", "DisableAndCleanRecycleBin", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DisableAndCleanRecycleBin", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclRequest.cs new file mode 100644 index 0000000000..eb4e4aa6e0 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclRequest.cs @@ -0,0 +1,68 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class DisableNfsAclRequest : RpcAcsRequest + { + public DisableNfsAclRequest() + : base("NAS", "2017-06-26", "DisableNfsAcl", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string fileSystemId; + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DisableNfsAclResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DisableNfsAclResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclResponse.cs new file mode 100644 index 0000000000..e1290781a8 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableNfsAclResponse.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.NAS.Model.V20170626 +{ + public class DisableNfsAclResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableSmbAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableSmbAclRequest.cs index 7b9708db5d..7bb03fa934 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableSmbAclRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/DisableSmbAclRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class DisableSmbAclRequest : RpcAcsRequest { public DisableSmbAclRequest() - : base("NAS", "2017-06-26", "DisableSmbAcl", "NAS", "openAPI") + : base("NAS", "2017-06-26", "DisableSmbAcl", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclRequest.cs new file mode 100644 index 0000000000..7568ee9c34 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclRequest.cs @@ -0,0 +1,68 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class EnableNfsAclRequest : RpcAcsRequest + { + public EnableNfsAclRequest() + : base("NAS", "2017-06-26", "EnableNfsAcl", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string fileSystemId; + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override EnableNfsAclResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return EnableNfsAclResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclResponse.cs new file mode 100644 index 0000000000..da8350f819 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableNfsAclResponse.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.NAS.Model.V20170626 +{ + public class EnableNfsAclResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableRecycleBinRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableRecycleBinRequest.cs index 0a8f16510b..c345e84632 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableRecycleBinRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableRecycleBinRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class EnableRecycleBinRequest : RpcAcsRequest { public EnableRecycleBinRequest() - : base("NAS", "2017-06-26", "EnableRecycleBin", "NAS", "openAPI") + : base("NAS", "2017-06-26", "EnableRecycleBin", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableSmbAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableSmbAclRequest.cs index 6ff37f38de..85e9e62c42 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableSmbAclRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/EnableSmbAclRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class EnableSmbAclRequest : RpcAcsRequest { public EnableSmbAclRequest() - : base("NAS", "2017-06-26", "EnableSmbAcl", "NAS", "openAPI") + : base("NAS", "2017-06-26", "EnableSmbAcl", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -46,10 +46,6 @@ public EnableSmbAclRequest() private string fileSystemId; - private string authCenter; - - private string authMethod; - public string Keytab { get @@ -89,32 +85,6 @@ public string FileSystemId } } - public string AuthCenter - { - get - { - return authCenter; - } - set - { - authCenter = value; - DictionaryUtil.Add(QueryParameters, "AuthCenter", value); - } - } - - public string AuthMethod - { - get - { - return authMethod; - } - set - { - authMethod = value; - DictionaryUtil.Add(QueryParameters, "AuthMethod", value); - } - } - public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesRequest.cs index 5387ff8d02..caae3ab2c5 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class GetDirectoryOrFilePropertiesRequest : RpcAcsRequest { public GetDirectoryOrFilePropertiesRequest() - : base("NAS", "2017-06-26", "GetDirectoryOrFileProperties", "NAS", "openAPI") + : base("NAS", "2017-06-26", "GetDirectoryOrFileProperties", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesResponse.cs index 6ea641f56c..93756b54b7 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetDirectoryOrFilePropertiesResponse.cs @@ -76,6 +76,8 @@ public class GetDirectoryOrFileProperties_Entry private string inode; + private bool? hasArchiveFile; + public string Type { get @@ -195,6 +197,18 @@ public string Inode inode = value; } } + + public bool? HasArchiveFile + { + get + { + return hasArchiveFile; + } + set + { + hasArchiveFile = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeRequest.cs index 82759a7f63..9dd35cea92 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class GetRecycleBinAttributeRequest : RpcAcsRequest { public GetRecycleBinAttributeRequest() - : base("NAS", "2017-06-26", "GetRecycleBinAttribute", "NAS", "openAPI") + : base("NAS", "2017-06-26", "GetRecycleBinAttribute", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeResponse.cs index 9a3a1d98c2..0d166636d8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/GetRecycleBinAttributeResponse.cs @@ -66,6 +66,8 @@ public class GetRecycleBinAttribute_RecycleBinAttribute private string enableTime; + private long? archiveSize; + public long? Size { get @@ -125,6 +127,18 @@ public string EnableTime enableTime = value; } } + + public long? ArchiveSize + { + get + { + return archiveSize; + } + set + { + archiveSize = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesRequest.cs index d6b76e9958..168dcf43af 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListDirectoriesAndFilesRequest : RpcAcsRequest { public ListDirectoriesAndFilesRequest() - : base("NAS", "2017-06-26", "ListDirectoriesAndFiles", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListDirectoriesAndFiles", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesResponse.cs index d4b1efd168..a2226a17dd 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListDirectoriesAndFilesResponse.cs @@ -94,6 +94,8 @@ public class ListDirectoriesAndFiles_Entry private string owner; + private string hasArchiveFile; + public string Type { get @@ -237,6 +239,18 @@ public string Owner owner = value; } } + + public string HasArchiveFile + { + get + { + return hasArchiveFile; + } + set + { + hasArchiveFile = value; + } + } } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsRequest.cs index b66bcb3a29..8444949934 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListLifecycleRetrieveJobsRequest : RpcAcsRequest { public ListLifecycleRetrieveJobsRequest() - : base("NAS", "2017-06-26", "ListLifecycleRetrieveJobs", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListLifecycleRetrieveJobs", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -42,6 +42,8 @@ public ListLifecycleRetrieveJobsRequest() private int? pageNumber; + private string storageType; + private int? pageSize; private string fileSystemId; @@ -61,6 +63,19 @@ public int? PageNumber } } + public string StorageType + { + get + { + return storageType; + } + set + { + storageType = value; + DictionaryUtil.Add(QueryParameters, "StorageType", value); + } + } + public int? PageSize { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsResponse.cs index 8d2cd293fe..a033556af2 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListLifecycleRetrieveJobsResponse.cs @@ -112,6 +112,8 @@ public class ListLifecycleRetrieveJobs_LifecycleRetrieveJob private string createTime; + private string storageType; + private List paths; public string FileSystemId @@ -198,6 +200,18 @@ public string CreateTime } } + public string StorageType + { + get + { + return storageType; + } + set + { + storageType = value; + } + } + public List Paths { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecentlyRecycledDirectoriesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecentlyRecycledDirectoriesRequest.cs index 69c50d7714..194967de58 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecentlyRecycledDirectoriesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecentlyRecycledDirectoriesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListRecentlyRecycledDirectoriesRequest : RpcAcsRequest { public ListRecentlyRecycledDirectoriesRequest() - : base("NAS", "2017-06-26", "ListRecentlyRecycledDirectories", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListRecentlyRecycledDirectories", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycleBinJobsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycleBinJobsRequest.cs index f076977666..311fdfc416 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycleBinJobsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycleBinJobsRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListRecycleBinJobsRequest : RpcAcsRequest { public ListRecycleBinJobsRequest() - : base("NAS", "2017-06-26", "ListRecycleBinJobs", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListRecycleBinJobs", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycledDirectoriesAndFilesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycledDirectoriesAndFilesRequest.cs index 99dc7ed61a..6eaea99ace 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycledDirectoriesAndFilesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListRecycledDirectoriesAndFilesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListRecycledDirectoriesAndFilesRequest : RpcAcsRequest { public ListRecycledDirectoriesAndFilesRequest() - : base("NAS", "2017-06-26", "ListRecycledDirectoriesAndFiles", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListRecycledDirectoriesAndFiles", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListTagResourcesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListTagResourcesRequest.cs index 2f30e6901e..f7191c7a4d 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ListTagResourcesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ListTagResourcesRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ListTagResourcesRequest : RpcAcsRequest { public ListTagResourcesRequest() - : base("NAS", "2017-06-26", "ListTagResources", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ListTagResources", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessGroupRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessGroupRequest.cs index 6973cb0cd1..7f5f0bf830 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessGroupRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessGroupRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyAccessGroupRequest : RpcAcsRequest { public ModifyAccessGroupRequest() - : base("NAS", "2017-06-26", "ModifyAccessGroup", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyAccessGroup", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointRequest.cs new file mode 100644 index 0000000000..8bc36beab3 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointRequest.cs @@ -0,0 +1,128 @@ +/* + * 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.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class ModifyAccessPointRequest : RpcAcsRequest + { + public ModifyAccessPointRequest() + : base("NAS", "2017-06-26", "ModifyAccessPoint", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Method = MethodType.POST; + } + + private string accessPointId; + + private string accessPointName; + + private string fileSystemId; + + private bool? enabledRam; + + private string accessGroup; + + public string AccessPointId + { + get + { + return accessPointId; + } + set + { + accessPointId = value; + DictionaryUtil.Add(QueryParameters, "AccessPointId", value); + } + } + + public string AccessPointName + { + get + { + return accessPointName; + } + set + { + accessPointName = value; + DictionaryUtil.Add(QueryParameters, "AccessPointName", value); + } + } + + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + public bool? EnabledRam + { + get + { + return enabledRam; + } + set + { + enabledRam = value; + DictionaryUtil.Add(QueryParameters, "EnabledRam", value.ToString()); + } + } + + public string AccessGroup + { + get + { + return accessGroup; + } + set + { + accessGroup = value; + DictionaryUtil.Add(QueryParameters, "AccessGroup", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ModifyAccessPointResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return ModifyAccessPointResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointResponse.cs new file mode 100644 index 0000000000..b6df647dc0 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessPointResponse.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.NAS.Model.V20170626 +{ + public class ModifyAccessPointResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessRuleRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessRuleRequest.cs index dc090df051..9ad7dfd36a 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessRuleRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAccessRuleRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyAccessRuleRequest : RpcAcsRequest { public ModifyAccessRuleRequest() - : base("NAS", "2017-06-26", "ModifyAccessRule", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyAccessRule", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAutoSnapshotPolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAutoSnapshotPolicyRequest.cs index ddc30d602b..55e0b30a9b 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAutoSnapshotPolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyAutoSnapshotPolicyRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyAutoSnapshotPolicyRequest : RpcAcsRequest { public ModifyAutoSnapshotPolicyRequest() - : base("NAS", "2017-06-26", "ModifyAutoSnapshotPolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyAutoSnapshotPolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowAutoRefreshRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowAutoRefreshRequest.cs index e96851e6e8..b448f3b668 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowAutoRefreshRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowAutoRefreshRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyDataFlowAutoRefreshRequest : RpcAcsRequest { public ModifyDataFlowAutoRefreshRequest() - : base("NAS", "2017-06-26", "ModifyDataFlowAutoRefresh", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyDataFlowAutoRefresh", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowRequest.cs index 5c0433e366..cfec64a831 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyDataFlowRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyDataFlowRequest : RpcAcsRequest { public ModifyDataFlowRequest() - : base("NAS", "2017-06-26", "ModifyDataFlow", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyDataFlow", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemRequest.cs index bb02b962e8..3f88d1ed60 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyFileSystemRequest : RpcAcsRequest { public ModifyFileSystemRequest() - : base("NAS", "2017-06-26", "ModifyFileSystem", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyFileSystem", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -42,8 +43,11 @@ public ModifyFileSystemRequest() private string description; + private Options options_; + private string fileSystemId; + [JsonProperty(PropertyName = "Description")] public string Description { get @@ -57,6 +61,23 @@ public string Description } } + [JsonProperty(PropertyName = "Options")] + public Options Options_ + { + get + { + return options_; + } + + set + { + options_ = value; + DictionaryUtil.Add(QueryParameters, "Options", JsonConvert.SerializeObject(value)); + + } + } + + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -68,6 +89,25 @@ public string FileSystemId fileSystemId = value; DictionaryUtil.Add(QueryParameters, "FileSystemId", value); } + } + + public class Options + { + + private bool? enableOplock; + + [JsonProperty(PropertyName = "EnableOplock")] + public bool? EnableOplock + { + get + { + return enableOplock; + } + set + { + enableOplock = value; + } + } } public override ModifyFileSystemResponse GetResponse(UnmarshallerContext unmarshallerContext) diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemResponse.cs index 75bacb8be5..c75bcdd47f 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFileSystemResponse.cs @@ -27,6 +27,7 @@ public class ModifyFileSystemResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFilesetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFilesetRequest.cs index b970dbb870..5e153405fd 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFilesetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyFilesetRequest.cs @@ -30,7 +30,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyFilesetRequest : RpcAcsRequest { public ModifyFilesetRequest() - : base("NAS", "2017-06-26", "ModifyFileset", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyFileset", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -46,6 +46,8 @@ public ModifyFilesetRequest() private string description; + private bool? deletionProtection; + private string fileSystemId; private bool? dryRun; @@ -89,6 +91,19 @@ public string Description } } + public bool? DeletionProtection + { + get + { + return deletionProtection; + } + set + { + deletionProtection = value; + DictionaryUtil.Add(QueryParameters, "DeletionProtection", value.ToString()); + } + } + public string FileSystemId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigRequest.cs index cff45848dc..7d7ad6c339 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyLDAPConfigRequest : RpcAcsRequest { public ModifyLDAPConfigRequest() - : base("NAS", "2017-06-26", "ModifyLDAPConfig", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyLDAPConfig", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -48,6 +49,7 @@ public ModifyLDAPConfigRequest() private string bindDN; + [JsonProperty(PropertyName = "SearchBase")] public string SearchBase { get @@ -61,6 +63,7 @@ public string SearchBase } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -74,6 +77,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "URI")] public string URI { get @@ -87,6 +91,7 @@ public string URI } } + [JsonProperty(PropertyName = "BindDN")] public string BindDN { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigResponse.cs index c05bc361f6..055b710d80 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLDAPConfigResponse.cs @@ -27,6 +27,7 @@ public class ModifyLDAPConfigResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyRequest.cs index bc679d40a5..31184bc2cc 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyLifecyclePolicyRequest : RpcAcsRequest { public ModifyLifecyclePolicyRequest() - : base("NAS", "2017-06-26", "ModifyLifecyclePolicy", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyLifecyclePolicy", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -51,6 +52,7 @@ public ModifyLifecyclePolicyRequest() private string lifecycleRuleName; + [JsonProperty(PropertyName = "StorageType")] public string StorageType { get @@ -64,6 +66,7 @@ public string StorageType } } + [JsonProperty(PropertyName = "Path")] public string Path { get @@ -77,6 +80,7 @@ public string Path } } + [JsonProperty(PropertyName = "LifecyclePolicyName")] public string LifecyclePolicyName { get @@ -90,6 +94,7 @@ public string LifecyclePolicyName } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -103,6 +108,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "LifecycleRuleName")] public string LifecycleRuleName { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyResponse.cs index eb0d734759..5ac9b034ee 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyLifecyclePolicyResponse.cs @@ -29,6 +29,7 @@ public class ModifyLifecyclePolicyResponse : AcsResponse private bool? success; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get @@ -41,6 +42,7 @@ public string RequestId } } + [JsonProperty(PropertyName = "Success")] public bool? Success { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetRequest.cs index a8e2047820..0885d7c3b5 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyMountTargetRequest : RpcAcsRequest { public ModifyMountTargetRequest() - : base("NAS", "2017-06-26", "ModifyMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -50,6 +51,7 @@ public ModifyMountTargetRequest() private string status; + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -63,6 +65,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "MountTargetDomain")] public string MountTargetDomain { get @@ -76,6 +79,7 @@ public string MountTargetDomain } } + [JsonProperty(PropertyName = "AccessGroupName")] public string AccessGroupName { get @@ -89,6 +93,7 @@ public string AccessGroupName } } + [JsonProperty(PropertyName = "DualStackMountTargetDomain")] public string DualStackMountTargetDomain { get @@ -102,6 +107,7 @@ public string DualStackMountTargetDomain } } + [JsonProperty(PropertyName = "Status")] public string Status { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetResponse.cs index 637b8dbd4e..e0e5d6afed 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyMountTargetResponse.cs @@ -27,6 +27,7 @@ public class ModifyMountTargetResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetRequest.cs index 0cf1a9483d..357dff3cad 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyProtocolMountTargetRequest : RpcAcsRequest { public ModifyProtocolMountTargetRequest() - : base("NAS", "2017-06-26", "ModifyProtocolMountTarget", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyProtocolMountTarget", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -52,6 +53,7 @@ public ModifyProtocolMountTargetRequest() private string exportId; + [JsonProperty(PropertyName = "ProtocolServiceId")] public string ProtocolServiceId { get @@ -65,6 +67,7 @@ public string ProtocolServiceId } } + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -78,6 +81,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "Description")] public string Description { get @@ -91,6 +95,7 @@ public string Description } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -104,6 +109,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "DryRun")] public bool? DryRun { get @@ -117,6 +123,7 @@ public bool? DryRun } } + [JsonProperty(PropertyName = "ExportId")] public string ExportId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetResponse.cs index 6eb9b691ae..5f11553b3d 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolMountTargetResponse.cs @@ -27,6 +27,7 @@ public class ModifyProtocolMountTargetResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceRequest.cs index f7db125a53..02a28f6540 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifyProtocolServiceRequest : RpcAcsRequest { public ModifyProtocolServiceRequest() - : base("NAS", "2017-06-26", "ModifyProtocolService", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifyProtocolService", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -50,6 +51,7 @@ public ModifyProtocolServiceRequest() private bool? dryRun; + [JsonProperty(PropertyName = "ProtocolServiceId")] public string ProtocolServiceId { get @@ -63,6 +65,7 @@ public string ProtocolServiceId } } + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -76,6 +79,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "Description")] public string Description { get @@ -89,6 +93,7 @@ public string Description } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -102,6 +107,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "DryRun")] public bool? DryRun { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceResponse.cs index 3ca9b78aec..5307268136 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifyProtocolServiceResponse.cs @@ -27,6 +27,7 @@ public class ModifyProtocolServiceResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclRequest.cs index 8f6757d7bd..662e16eba1 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ModifySmbAclRequest : RpcAcsRequest { public ModifySmbAclRequest() - : base("NAS", "2017-06-26", "ModifySmbAcl", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ModifySmbAcl", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -52,14 +53,11 @@ public ModifySmbAclRequest() private string fileSystemId; - private string authCenter; - private string homeDirPath; private bool? enableAnonymousAccess; - private string authMethod; - + [JsonProperty(PropertyName = "EncryptData")] public bool? EncryptData { get @@ -73,6 +71,7 @@ public bool? EncryptData } } + [JsonProperty(PropertyName = "Keytab")] public string Keytab { get @@ -86,6 +85,7 @@ public string Keytab } } + [JsonProperty(PropertyName = "SuperAdminSid")] public string SuperAdminSid { get @@ -99,6 +99,7 @@ public string SuperAdminSid } } + [JsonProperty(PropertyName = "KeytabMd5")] public string KeytabMd5 { get @@ -112,6 +113,7 @@ public string KeytabMd5 } } + [JsonProperty(PropertyName = "RejectUnencryptedAccess")] public bool? RejectUnencryptedAccess { get @@ -125,6 +127,7 @@ public bool? RejectUnencryptedAccess } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -138,19 +141,7 @@ public string FileSystemId } } - public string AuthCenter - { - get - { - return authCenter; - } - set - { - authCenter = value; - DictionaryUtil.Add(QueryParameters, "AuthCenter", value); - } - } - + [JsonProperty(PropertyName = "HomeDirPath")] public string HomeDirPath { get @@ -164,6 +155,7 @@ public string HomeDirPath } } + [JsonProperty(PropertyName = "EnableAnonymousAccess")] public bool? EnableAnonymousAccess { get @@ -177,19 +169,6 @@ public bool? EnableAnonymousAccess } } - public string AuthMethod - { - get - { - return authMethod; - } - set - { - authMethod = value; - DictionaryUtil.Add(QueryParameters, "AuthMethod", value); - } - } - public override bool CheckShowJsonItemName() { return false; diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclResponse.cs index c5cceb5697..85d95ca604 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ModifySmbAclResponse.cs @@ -27,6 +27,7 @@ public class ModifySmbAclResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceRequest.cs index 9ccf9c6483..29f9d20762 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class OpenNASServiceRequest : RpcAcsRequest { public OpenNASServiceRequest() - : base("NAS", "2017-06-26", "OpenNASService", "NAS", "openAPI") + : base("NAS", "2017-06-26", "OpenNASService", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceResponse.cs index 12ed48cc4e..95605e7d96 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/OpenNASServiceResponse.cs @@ -29,6 +29,9 @@ public class OpenNASServiceResponse : AcsResponse private string orderId; + private string accessDeniedDetail; + + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get @@ -41,6 +44,7 @@ public string RequestId } } + [JsonProperty(PropertyName = "OrderId")] public string OrderId { get @@ -52,5 +56,18 @@ public string OrderId orderId = value; } } + + [JsonProperty(PropertyName = "AccessDeniedDetail")] + public string AccessDeniedDetail + { + get + { + return accessDeniedDetail; + } + set + { + accessDeniedDetail = value; + } + } } } diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListRequest.cs index 55dffaa5e4..952747213c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class RemoveClientFromBlackListRequest : RpcAcsRequest { public RemoveClientFromBlackListRequest() - : base("NAS", "2017-06-26", "RemoveClientFromBlackList", "NAS", "openAPI") + : base("NAS", "2017-06-26", "RemoveClientFromBlackList", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -46,6 +47,7 @@ public RemoveClientFromBlackListRequest() private string fileSystemId; + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -59,6 +61,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "ClientIP")] public string ClientIP { get @@ -72,6 +75,7 @@ public string ClientIP } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListResponse.cs index 6521a0ca5e..2704ad4c19 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveClientFromBlackListResponse.cs @@ -27,6 +27,7 @@ public class RemoveClientFromBlackListResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsRequest.cs index e39f1246e0..b69950b25c 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class RemoveTagsRequest : RpcAcsRequest { public RemoveTagsRequest() - : base("NAS", "2017-06-26", "RemoveTags", "NAS", "openAPI") + : base("NAS", "2017-06-26", "RemoveTags", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -44,6 +45,7 @@ public RemoveTagsRequest() private string fileSystemId; + [JsonProperty(PropertyName = "Tag")] public List Tags { get @@ -65,6 +67,7 @@ public List Tags } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -85,6 +88,7 @@ public class Tag private string key; + [JsonProperty(PropertyName = "Value")] public string Value_ { get @@ -97,6 +101,7 @@ public string Value_ } } + [JsonProperty(PropertyName = "Key")] public string Key { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsResponse.cs index 579ba6a705..1d90bfc27b 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RemoveTagsResponse.cs @@ -27,6 +27,7 @@ public class RemoveTagsResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemRequest.cs index 7d569b357d..a407d56d62 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class ResetFileSystemRequest : RpcAcsRequest { public ResetFileSystemRequest() - : base("NAS", "2017-06-26", "ResetFileSystem", "NAS", "openAPI") + : base("NAS", "2017-06-26", "ResetFileSystem", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -44,6 +45,7 @@ public ResetFileSystemRequest() private string fileSystemId; + [JsonProperty(PropertyName = "SnapshotId")] public string SnapshotId { get @@ -57,6 +59,7 @@ public string SnapshotId } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemResponse.cs index 71adc41c10..d4f9304613 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/ResetFileSystemResponse.cs @@ -27,6 +27,7 @@ public class ResetFileSystemResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobRequest.cs index 95e0c50980..ad3d88eebc 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class RetryLifecycleRetrieveJobRequest : RpcAcsRequest { public RetryLifecycleRetrieveJobRequest() - : base("NAS", "2017-06-26", "RetryLifecycleRetrieveJob", "NAS", "openAPI") + : base("NAS", "2017-06-26", "RetryLifecycleRetrieveJob", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -42,6 +43,7 @@ public RetryLifecycleRetrieveJobRequest() private string jobId; + [JsonProperty(PropertyName = "JobId")] public string JobId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobResponse.cs index fc8340c717..e4aa75c715 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/RetryLifecycleRetrieveJobResponse.cs @@ -27,6 +27,7 @@ public class RetryLifecycleRetrieveJobResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaRequest.cs index c75655fde2..ae531f5ab8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class SetDirQuotaRequest : RpcAcsRequest { public SetDirQuotaRequest() - : base("NAS", "2017-06-26", "SetDirQuota", "NAS", "openAPI") + : base("NAS", "2017-06-26", "SetDirQuota", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -54,6 +55,7 @@ public SetDirQuotaRequest() private string userType; + [JsonProperty(PropertyName = "QuotaType")] public string QuotaType { get @@ -67,6 +69,7 @@ public string QuotaType } } + [JsonProperty(PropertyName = "UserId")] public string UserId { get @@ -80,6 +83,7 @@ public string UserId } } + [JsonProperty(PropertyName = "FileCountLimit")] public long? FileCountLimit { get @@ -93,6 +97,7 @@ public long? FileCountLimit } } + [JsonProperty(PropertyName = "Path")] public string Path { get @@ -106,6 +111,7 @@ public string Path } } + [JsonProperty(PropertyName = "SizeLimit")] public long? SizeLimit { get @@ -119,6 +125,7 @@ public long? SizeLimit } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -132,6 +139,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "UserType")] public string UserType { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaResponse.cs index 7c765a2a60..b448237b08 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetDirQuotaResponse.cs @@ -29,6 +29,7 @@ public class SetDirQuotaResponse : AcsResponse private bool? success; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get @@ -41,6 +42,7 @@ public string RequestId } } + [JsonProperty(PropertyName = "Success")] public bool? Success { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaRequest.cs new file mode 100644 index 0000000000..ac0da1d549 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaRequest.cs @@ -0,0 +1,146 @@ +/* + * 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; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.NAS.Transform; +using Aliyun.Acs.NAS.Transform.V20170626; + +namespace Aliyun.Acs.NAS.Model.V20170626 +{ + public class SetFilesetQuotaRequest : RpcAcsRequest + { + public SetFilesetQuotaRequest() + : base("NAS", "2017-06-26", "SetFilesetQuota", "nas", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.NAS.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + Method = MethodType.POST; + } + + private string fsetId; + + private string clientToken; + + private long? fileCountLimit; + + private long? sizeLimit; + + private string fileSystemId; + + private bool? dryRun; + + [JsonProperty(PropertyName = "FsetId")] + public string FsetId + { + get + { + return fsetId; + } + set + { + fsetId = value; + DictionaryUtil.Add(QueryParameters, "FsetId", value); + } + } + + [JsonProperty(PropertyName = "ClientToken")] + public string ClientToken + { + get + { + return clientToken; + } + set + { + clientToken = value; + DictionaryUtil.Add(QueryParameters, "ClientToken", value); + } + } + + [JsonProperty(PropertyName = "FileCountLimit")] + public long? FileCountLimit + { + get + { + return fileCountLimit; + } + set + { + fileCountLimit = value; + DictionaryUtil.Add(QueryParameters, "FileCountLimit", value.ToString()); + } + } + + [JsonProperty(PropertyName = "SizeLimit")] + public long? SizeLimit + { + get + { + return sizeLimit; + } + set + { + sizeLimit = value; + DictionaryUtil.Add(QueryParameters, "SizeLimit", value.ToString()); + } + } + + [JsonProperty(PropertyName = "FileSystemId")] + public string FileSystemId + { + get + { + return fileSystemId; + } + set + { + fileSystemId = value; + DictionaryUtil.Add(QueryParameters, "FileSystemId", value); + } + } + + [JsonProperty(PropertyName = "DryRun")] + public bool? DryRun + { + get + { + return dryRun; + } + set + { + dryRun = value; + DictionaryUtil.Add(QueryParameters, "DryRun", value.ToString()); + } + } + + public override SetFilesetQuotaResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return SetFilesetQuotaResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaResponse.cs new file mode 100644 index 0000000000..99696c7c33 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/SetFilesetQuotaResponse.cs @@ -0,0 +1,43 @@ +/* + * 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.NAS.Model.V20170626 +{ + public class SetFilesetQuotaResponse : AcsResponse + { + + private string requestId; + + [JsonProperty(PropertyName = "RequestId")] + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowRequest.cs index 4c91eee9a9..695001d78d 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class StartDataFlowRequest : RpcAcsRequest { public StartDataFlowRequest() - : base("NAS", "2017-06-26", "StartDataFlow", "NAS", "openAPI") + : base("NAS", "2017-06-26", "StartDataFlow", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -48,6 +49,7 @@ public StartDataFlowRequest() private string dataFlowId; + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -61,6 +63,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -74,6 +77,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "DryRun")] public bool? DryRun { get @@ -87,6 +91,7 @@ public bool? DryRun } } + [JsonProperty(PropertyName = "DataFlowId")] public string DataFlowId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowResponse.cs index 1d62fb65b4..1f06256615 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/StartDataFlowResponse.cs @@ -27,6 +27,7 @@ public class StartDataFlowResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowRequest.cs index ac8b0a697c..daea649134 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class StopDataFlowRequest : RpcAcsRequest { public StopDataFlowRequest() - : base("NAS", "2017-06-26", "StopDataFlow", "NAS", "openAPI") + : base("NAS", "2017-06-26", "StopDataFlow", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -48,6 +49,7 @@ public StopDataFlowRequest() private string dataFlowId; + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -61,6 +63,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -74,6 +77,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "DryRun")] public bool? DryRun { get @@ -87,6 +91,7 @@ public bool? DryRun } } + [JsonProperty(PropertyName = "DataFlowId")] public string DataFlowId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowResponse.cs index 5e437d3ba4..beb540865a 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/StopDataFlowResponse.cs @@ -27,6 +27,7 @@ public class StopDataFlowResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesRequest.cs index b10ff2d675..f304ef9998 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class TagResourcesRequest : RpcAcsRequest { public TagResourcesRequest() - : base("NAS", "2017-06-26", "TagResources", "NAS", "openAPI") + : base("NAS", "2017-06-26", "TagResources", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -46,6 +47,7 @@ public TagResourcesRequest() private string resourceType; + [JsonProperty(PropertyName = "Tag")] public List Tags { get @@ -67,6 +69,7 @@ public List Tags } } + [JsonProperty(PropertyName = "ResourceId")] public List ResourceIds { get @@ -80,6 +83,7 @@ public List ResourceIds } } + [JsonProperty(PropertyName = "ResourceType")] public string ResourceType { get @@ -100,6 +104,7 @@ public class Tag private string key; + [JsonProperty(PropertyName = "Value")] public string Value_ { get @@ -112,6 +117,7 @@ public string Value_ } } + [JsonProperty(PropertyName = "Key")] public string Key { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesResponse.cs index befbacd3b4..0b27d6e1e8 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/TagResourcesResponse.cs @@ -27,6 +27,7 @@ public class TagResourcesResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesRequest.cs index e891404b4d..9d1d0c0ddd 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class UntagResourcesRequest : RpcAcsRequest { public UntagResourcesRequest() - : base("NAS", "2017-06-26", "UntagResources", "NAS", "openAPI") + : base("NAS", "2017-06-26", "UntagResources", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -48,6 +49,7 @@ public UntagResourcesRequest() private List tagKeys = new List(){ }; + [JsonProperty(PropertyName = "All")] public bool? All { get @@ -61,6 +63,7 @@ public bool? All } } + [JsonProperty(PropertyName = "ResourceId")] public List ResourceIds { get @@ -74,6 +77,7 @@ public List ResourceIds } } + [JsonProperty(PropertyName = "ResourceType")] public string ResourceType { get @@ -87,6 +91,7 @@ public string ResourceType } } + [JsonProperty(PropertyName = "TagKey")] public List TagKeys { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesResponse.cs index 281e4513cd..534f835997 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UntagResourcesResponse.cs @@ -27,6 +27,7 @@ public class UntagResourcesResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeRequest.cs index 368e4585f4..dd42252043 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class UpdateRecycleBinAttributeRequest : RpcAcsRequest { public UpdateRecycleBinAttributeRequest() - : base("NAS", "2017-06-26", "UpdateRecycleBinAttribute", "NAS", "openAPI") + : base("NAS", "2017-06-26", "UpdateRecycleBinAttribute", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -43,6 +44,7 @@ public UpdateRecycleBinAttributeRequest() private long? reservedDays; + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -56,6 +58,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "ReservedDays")] public long? ReservedDays { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeResponse.cs index 78879c0f6b..e79e345eca 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpdateRecycleBinAttributeResponse.cs @@ -27,6 +27,7 @@ public class UpdateRecycleBinAttributeResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemRequest.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemRequest.cs index 721ecb9e9b..780e1d00ea 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemRequest.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemRequest.cs @@ -17,6 +17,7 @@ * under the License. */ using System.Collections.Generic; +using Newtonsoft.Json; using Aliyun.Acs.Core; using Aliyun.Acs.Core.Http; @@ -30,7 +31,7 @@ namespace Aliyun.Acs.NAS.Model.V20170626 public class UpgradeFileSystemRequest : RpcAcsRequest { public UpgradeFileSystemRequest() - : base("NAS", "2017-06-26", "UpgradeFileSystem", "NAS", "openAPI") + : base("NAS", "2017-06-26", "UpgradeFileSystem", "nas", "openAPI") { if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) { @@ -49,6 +50,7 @@ public UpgradeFileSystemRequest() private bool? dryRun; + [JsonProperty(PropertyName = "ClientToken")] public string ClientToken { get @@ -62,6 +64,7 @@ public string ClientToken } } + [JsonProperty(PropertyName = "Capacity")] public long? Capacity { get @@ -75,6 +78,7 @@ public long? Capacity } } + [JsonProperty(PropertyName = "FileSystemId")] public string FileSystemId { get @@ -88,6 +92,7 @@ public string FileSystemId } } + [JsonProperty(PropertyName = "DryRun")] public bool? DryRun { get diff --git a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemResponse.cs b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemResponse.cs index 4275a56a4a..602f11a2f2 100644 --- a/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemResponse.cs +++ b/aliyun-net-sdk-nas/NAS/Model/V20170626/UpgradeFileSystemResponse.cs @@ -27,6 +27,7 @@ public class UpgradeFileSystemResponse : AcsResponse private string requestId; + [JsonProperty(PropertyName = "RequestId")] public string RequestId { get diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelDataFlowSubTaskResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelDataFlowSubTaskResponseUnmarshaller.cs new file mode 100644 index 0000000000..8a6b85c2cf --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelDataFlowSubTaskResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class CancelDataFlowSubTaskResponseUnmarshaller + { + public static CancelDataFlowSubTaskResponse Unmarshall(UnmarshallerContext _ctx) + { + CancelDataFlowSubTaskResponse cancelDataFlowSubTaskResponse = new CancelDataFlowSubTaskResponse(); + + cancelDataFlowSubTaskResponse.HttpResponse = _ctx.HttpResponse; + cancelDataFlowSubTaskResponse.RequestId = _ctx.StringValue("CancelDataFlowSubTask.RequestId"); + + return cancelDataFlowSubTaskResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeLDAPConfigResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelFilesetQuotaResponseUnmarshaller.cs similarity index 56% rename from aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeLDAPConfigResponseUnmarshaller.cs rename to aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelFilesetQuotaResponseUnmarshaller.cs index 7ad545f587..18aea4fad8 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeLDAPConfigResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CancelFilesetQuotaResponseUnmarshaller.cs @@ -24,22 +24,16 @@ namespace Aliyun.Acs.NAS.Transform.V20170626 { - public class DescribeLDAPConfigResponseUnmarshaller + public class CancelFilesetQuotaResponseUnmarshaller { - public static DescribeLDAPConfigResponse Unmarshall(UnmarshallerContext _ctx) + public static CancelFilesetQuotaResponse Unmarshall(UnmarshallerContext _ctx) { - DescribeLDAPConfigResponse describeLDAPConfigResponse = new DescribeLDAPConfigResponse(); + CancelFilesetQuotaResponse cancelFilesetQuotaResponse = new CancelFilesetQuotaResponse(); - describeLDAPConfigResponse.HttpResponse = _ctx.HttpResponse; - describeLDAPConfigResponse.RequestId = _ctx.StringValue("DescribeLDAPConfig.RequestId"); - - DescribeLDAPConfigResponse.DescribeLDAPConfig_Ldap ldap = new DescribeLDAPConfigResponse.DescribeLDAPConfig_Ldap(); - ldap.BindDN = _ctx.StringValue("DescribeLDAPConfig.Ldap.BindDN"); - ldap.SearchBase = _ctx.StringValue("DescribeLDAPConfig.Ldap.SearchBase"); - ldap.URI = _ctx.StringValue("DescribeLDAPConfig.Ldap.URI"); - describeLDAPConfigResponse.Ldap = ldap; + cancelFilesetQuotaResponse.HttpResponse = _ctx.HttpResponse; + cancelFilesetQuotaResponse.RequestId = _ctx.StringValue("CancelFilesetQuota.RequestId"); - return describeLDAPConfigResponse; + return cancelFilesetQuotaResponse; } } } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ChangeResourceGroupResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ChangeResourceGroupResponseUnmarshaller.cs new file mode 100644 index 0000000000..ba40bfa58a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ChangeResourceGroupResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class ChangeResourceGroupResponseUnmarshaller + { + public static ChangeResourceGroupResponse Unmarshall(UnmarshallerContext _ctx) + { + ChangeResourceGroupResponse changeResourceGroupResponse = new ChangeResourceGroupResponse(); + + changeResourceGroupResponse.HttpResponse = _ctx.HttpResponse; + changeResourceGroupResponse.RequestId = _ctx.StringValue("ChangeResourceGroup.RequestId"); + + return changeResourceGroupResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateAccessPointResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateAccessPointResponseUnmarshaller.cs new file mode 100644 index 0000000000..887c918e38 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateAccessPointResponseUnmarshaller.cs @@ -0,0 +1,44 @@ +/* + * 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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class CreateAccessPointResponseUnmarshaller + { + public static CreateAccessPointResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateAccessPointResponse createAccessPointResponse = new CreateAccessPointResponse(); + + createAccessPointResponse.HttpResponse = _ctx.HttpResponse; + createAccessPointResponse.RequestId = _ctx.StringValue("CreateAccessPoint.RequestId"); + + CreateAccessPointResponse.CreateAccessPoint_AccessPoint accessPoint = new CreateAccessPointResponse.CreateAccessPoint_AccessPoint(); + accessPoint.AccessPointDomain = _ctx.StringValue("CreateAccessPoint.AccessPoint.AccessPointDomain"); + accessPoint.AccessPointId = _ctx.StringValue("CreateAccessPoint.AccessPoint.AccessPointId"); + createAccessPointResponse.AccessPoint = accessPoint; + + return createAccessPointResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDataFlowSubTaskResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDataFlowSubTaskResponseUnmarshaller.cs new file mode 100644 index 0000000000..80c84b49d8 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDataFlowSubTaskResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class CreateDataFlowSubTaskResponseUnmarshaller + { + public static CreateDataFlowSubTaskResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateDataFlowSubTaskResponse createDataFlowSubTaskResponse = new CreateDataFlowSubTaskResponse(); + + createDataFlowSubTaskResponse.HttpResponse = _ctx.HttpResponse; + createDataFlowSubTaskResponse.RequestId = _ctx.StringValue("CreateDataFlowSubTask.RequestId"); + createDataFlowSubTaskResponse.DataFlowSubTaskId = _ctx.StringValue("CreateDataFlowSubTask.DataFlowSubTaskId"); + + return createDataFlowSubTaskResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDirResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDirResponseUnmarshaller.cs new file mode 100644 index 0000000000..977ea7153b --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateDirResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class CreateDirResponseUnmarshaller + { + public static CreateDirResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateDirResponse createDirResponse = new CreateDirResponse(); + + createDirResponse.HttpResponse = _ctx.HttpResponse; + createDirResponse.RequestId = _ctx.StringValue("CreateDir.RequestId"); + + return createDirResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateLogAnalysisResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateLogAnalysisResponseUnmarshaller.cs new file mode 100644 index 0000000000..5aec82b075 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/CreateLogAnalysisResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class CreateLogAnalysisResponseUnmarshaller + { + public static CreateLogAnalysisResponse Unmarshall(UnmarshallerContext _ctx) + { + CreateLogAnalysisResponse createLogAnalysisResponse = new CreateLogAnalysisResponse(); + + createLogAnalysisResponse.HttpResponse = _ctx.HttpResponse; + createLogAnalysisResponse.RequestId = _ctx.StringValue("CreateLogAnalysis.RequestId"); + + return createLogAnalysisResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteAccessPointResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteAccessPointResponseUnmarshaller.cs new file mode 100644 index 0000000000..19b46c67ae --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteAccessPointResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DeleteAccessPointResponseUnmarshaller + { + public static DeleteAccessPointResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteAccessPointResponse deleteAccessPointResponse = new DeleteAccessPointResponse(); + + deleteAccessPointResponse.HttpResponse = _ctx.HttpResponse; + deleteAccessPointResponse.RequestId = _ctx.StringValue("DeleteAccessPoint.RequestId"); + + return deleteAccessPointResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteLogAnalysisResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteLogAnalysisResponseUnmarshaller.cs new file mode 100644 index 0000000000..4cb04fdd43 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DeleteLogAnalysisResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DeleteLogAnalysisResponseUnmarshaller + { + public static DeleteLogAnalysisResponse Unmarshall(UnmarshallerContext _ctx) + { + DeleteLogAnalysisResponse deleteLogAnalysisResponse = new DeleteLogAnalysisResponse(); + + deleteLogAnalysisResponse.HttpResponse = _ctx.HttpResponse; + deleteLogAnalysisResponse.RequestId = _ctx.StringValue("DeleteLogAnalysis.RequestId"); + + return deleteLogAnalysisResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessGroupsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessGroupsResponseUnmarshaller.cs index 4077dea79d..99b85ef0d5 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessGroupsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessGroupsResponseUnmarshaller.cs @@ -45,6 +45,8 @@ public static DescribeAccessGroupsResponse Unmarshall(UnmarshallerContext _ctx) accessGroup.AccessGroupType = _ctx.StringValue("DescribeAccessGroups.AccessGroups["+ i +"].AccessGroupType"); accessGroup.RuleCount = _ctx.IntegerValue("DescribeAccessGroups.AccessGroups["+ i +"].RuleCount"); accessGroup.MountTargetCount = _ctx.IntegerValue("DescribeAccessGroups.AccessGroups["+ i +"].MountTargetCount"); + accessGroup.FileSystemType = _ctx.StringValue("DescribeAccessGroups.AccessGroups["+ i +"].FileSystemType"); + accessGroup.RegionId = _ctx.StringValue("DescribeAccessGroups.AccessGroups["+ i +"].RegionId"); List accessGroup_tags = new List(); for (int j = 0; j < _ctx.Length("DescribeAccessGroups.AccessGroups["+ i +"].Tags.Length"); j++) { diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointResponseUnmarshaller.cs new file mode 100644 index 0000000000..a92bf5d5f8 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointResponseUnmarshaller.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; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DescribeAccessPointResponseUnmarshaller + { + public static DescribeAccessPointResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeAccessPointResponse describeAccessPointResponse = new DescribeAccessPointResponse(); + + describeAccessPointResponse.HttpResponse = _ctx.HttpResponse; + describeAccessPointResponse.RequestId = _ctx.StringValue("DescribeAccessPoint.RequestId"); + + DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint accessPoint = new DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint(); + accessPoint.ARN = _ctx.StringValue("DescribeAccessPoint.AccessPoint.ARN"); + accessPoint.AccessGroup = _ctx.StringValue("DescribeAccessPoint.AccessPoint.AccessGroup"); + accessPoint.AccessPointId = _ctx.StringValue("DescribeAccessPoint.AccessPoint.AccessPointId"); + accessPoint.AccessPointName = _ctx.StringValue("DescribeAccessPoint.AccessPoint.AccessPointName"); + accessPoint.CreateTime = _ctx.StringValue("DescribeAccessPoint.AccessPoint.CreateTime"); + accessPoint.DomainName = _ctx.StringValue("DescribeAccessPoint.AccessPoint.DomainName"); + accessPoint.EnabledRam = _ctx.BooleanValue("DescribeAccessPoint.AccessPoint.EnabledRam"); + accessPoint.FileSystemId = _ctx.StringValue("DescribeAccessPoint.AccessPoint.FileSystemId"); + accessPoint.ModifyTime = _ctx.StringValue("DescribeAccessPoint.AccessPoint.ModifyTime"); + accessPoint.RootPath = _ctx.StringValue("DescribeAccessPoint.AccessPoint.RootPath"); + accessPoint.RootPathStatus = _ctx.StringValue("DescribeAccessPoint.AccessPoint.RootPathStatus"); + accessPoint.Status = _ctx.StringValue("DescribeAccessPoint.AccessPoint.Status"); + accessPoint.VSwitchId = _ctx.StringValue("DescribeAccessPoint.AccessPoint.VSwitchId"); + accessPoint.VpcId = _ctx.StringValue("DescribeAccessPoint.AccessPoint.VpcId"); + accessPoint.RegionId = _ctx.StringValue("DescribeAccessPoint.AccessPoint.RegionId"); + + DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_RootPathPermission rootPathPermission = new DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_RootPathPermission(); + rootPathPermission.OwnerGroupId = _ctx.IntegerValue("DescribeAccessPoint.AccessPoint.RootPathPermission.OwnerGroupId"); + rootPathPermission.OwnerUserId = _ctx.IntegerValue("DescribeAccessPoint.AccessPoint.RootPathPermission.OwnerUserId"); + rootPathPermission.Permission = _ctx.StringValue("DescribeAccessPoint.AccessPoint.RootPathPermission.Permission"); + accessPoint.RootPathPermission = rootPathPermission; + + DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_PosixUser posixUser = new DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_PosixUser(); + posixUser.PosixGroupId = _ctx.IntegerValue("DescribeAccessPoint.AccessPoint.PosixUser.PosixGroupId"); + posixUser.PosixUserId = _ctx.IntegerValue("DescribeAccessPoint.AccessPoint.PosixUser.PosixUserId"); + + List posixUser_posixSecondaryGroupIds = new List(); + for (int i = 0; i < _ctx.Length("DescribeAccessPoint.AccessPoint.PosixUser.PosixSecondaryGroupIds.Length"); i++) { + posixUser_posixSecondaryGroupIds.Add(_ctx.StringValue("DescribeAccessPoint.AccessPoint.PosixUser.PosixSecondaryGroupIds["+ i +"]")); + } + posixUser.PosixSecondaryGroupIds = posixUser_posixSecondaryGroupIds; + accessPoint.PosixUser = posixUser; + + List accessPoint_tags = new List(); + for (int i = 0; i < _ctx.Length("DescribeAccessPoint.AccessPoint.Tags.Length"); i++) { + DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_Tag tag = new DescribeAccessPointResponse.DescribeAccessPoint_AccessPoint.DescribeAccessPoint_Tag(); + tag.Key = _ctx.StringValue("DescribeAccessPoint.AccessPoint.Tags["+ i +"].Key"); + tag._Value = _ctx.StringValue("DescribeAccessPoint.AccessPoint.Tags["+ i +"].Value"); + + accessPoint_tags.Add(tag); + } + accessPoint.Tags = accessPoint_tags; + describeAccessPointResponse.AccessPoint = accessPoint; + + return describeAccessPointResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointsResponseUnmarshaller.cs new file mode 100644 index 0000000000..da83fb2a17 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessPointsResponseUnmarshaller.cs @@ -0,0 +1,80 @@ +/* + * 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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DescribeAccessPointsResponseUnmarshaller + { + public static DescribeAccessPointsResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeAccessPointsResponse describeAccessPointsResponse = new DescribeAccessPointsResponse(); + + describeAccessPointsResponse.HttpResponse = _ctx.HttpResponse; + describeAccessPointsResponse.RequestId = _ctx.StringValue("DescribeAccessPoints.RequestId"); + describeAccessPointsResponse.NextToken = _ctx.StringValue("DescribeAccessPoints.NextToken"); + describeAccessPointsResponse.TotalCount = _ctx.IntegerValue("DescribeAccessPoints.TotalCount"); + + List describeAccessPointsResponse_accessPoints = new List(); + for (int i = 0; i < _ctx.Length("DescribeAccessPoints.AccessPoints.Length"); i++) { + DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint accessPoint = new DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint(); + accessPoint.ARN = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].ARN"); + accessPoint.AccessGroup = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].AccessGroup"); + accessPoint.AccessPointId = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].AccessPointId"); + accessPoint.AccessPointName = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].AccessPointName"); + accessPoint.CreateTime = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].CreateTime"); + accessPoint.DomainName = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].DomainName"); + accessPoint.EnabledRam = _ctx.BooleanValue("DescribeAccessPoints.AccessPoints["+ i +"].EnabledRam"); + accessPoint.FileSystemId = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].FileSystemId"); + accessPoint.ModifyTime = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].ModifyTime"); + accessPoint.RootPath = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].RootPath"); + accessPoint.RootPathStatus = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].RootPathStatus"); + accessPoint.Status = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].Status"); + accessPoint.VSwitchId = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].VSwitchId"); + accessPoint.VpcId = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].VpcId"); + + DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint.DescribeAccessPoints_PosixUser posixUser = new DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint.DescribeAccessPoints_PosixUser(); + posixUser.PosixGroupId = _ctx.IntegerValue("DescribeAccessPoints.AccessPoints["+ i +"].PosixUser.PosixGroupId"); + posixUser.PosixUserId = _ctx.IntegerValue("DescribeAccessPoints.AccessPoints["+ i +"].PosixUser.PosixUserId"); + + List posixUser_posixSecondaryGroupIds = new List(); + for (int j = 0; j < _ctx.Length("DescribeAccessPoints.AccessPoints["+ i +"].PosixUser.PosixSecondaryGroupIds.Length"); j++) { + posixUser_posixSecondaryGroupIds.Add(_ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].PosixUser.PosixSecondaryGroupIds["+ j +"]")); + } + posixUser.PosixSecondaryGroupIds = posixUser_posixSecondaryGroupIds; + accessPoint.PosixUser = posixUser; + + DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint.DescribeAccessPoints_RootPathPermission rootPathPermission = new DescribeAccessPointsResponse.DescribeAccessPoints_AccessPoint.DescribeAccessPoints_RootPathPermission(); + rootPathPermission.OwnerGroupId = _ctx.LongValue("DescribeAccessPoints.AccessPoints["+ i +"].RootPathPermission.OwnerGroupId"); + rootPathPermission.OwnerUserId = _ctx.LongValue("DescribeAccessPoints.AccessPoints["+ i +"].RootPathPermission.OwnerUserId"); + rootPathPermission.Permission = _ctx.StringValue("DescribeAccessPoints.AccessPoints["+ i +"].RootPathPermission.Permission"); + accessPoint.RootPathPermission = rootPathPermission; + + describeAccessPointsResponse_accessPoints.Add(accessPoint); + } + describeAccessPointsResponse.AccessPoints = describeAccessPointsResponse_accessPoints; + + return describeAccessPointsResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessRulesResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessRulesResponseUnmarshaller.cs index fe757a297f..57a594954c 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessRulesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAccessRulesResponseUnmarshaller.cs @@ -45,6 +45,9 @@ public static DescribeAccessRulesResponse Unmarshall(UnmarshallerContext _ctx) accessRule.RWAccess = _ctx.StringValue("DescribeAccessRules.AccessRules["+ i +"].RWAccess"); accessRule.UserAccess = _ctx.StringValue("DescribeAccessRules.AccessRules["+ i +"].UserAccess"); accessRule.Priority = _ctx.IntegerValue("DescribeAccessRules.AccessRules["+ i +"].Priority"); + accessRule.FileSystemType = _ctx.StringValue("DescribeAccessRules.AccessRules["+ i +"].FileSystemType"); + accessRule.AccessGroupName = _ctx.StringValue("DescribeAccessRules.AccessRules["+ i +"].AccessGroupName"); + accessRule.RegionId = _ctx.StringValue("DescribeAccessRules.AccessRules["+ i +"].RegionId"); describeAccessRulesResponse_accessRules.Add(accessRule); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAutoSnapshotPoliciesResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAutoSnapshotPoliciesResponseUnmarshaller.cs index a11bfdb544..d5a1cdfc1e 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAutoSnapshotPoliciesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeAutoSnapshotPoliciesResponseUnmarshaller.cs @@ -48,6 +48,7 @@ public static DescribeAutoSnapshotPoliciesResponse Unmarshall(UnmarshallerContex autoSnapshotPolicy.RetentionDays = _ctx.IntegerValue("DescribeAutoSnapshotPolicies.AutoSnapshotPolicies["+ i +"].RetentionDays"); autoSnapshotPolicy.FileSystemNums = _ctx.IntegerValue("DescribeAutoSnapshotPolicies.AutoSnapshotPolicies["+ i +"].FileSystemNums"); autoSnapshotPolicy.RegionId = _ctx.StringValue("DescribeAutoSnapshotPolicies.AutoSnapshotPolicies["+ i +"].RegionId"); + autoSnapshotPolicy.FileSystemType = _ctx.StringValue("DescribeAutoSnapshotPolicies.AutoSnapshotPolicies["+ i +"].FileSystemType"); describeAutoSnapshotPoliciesResponse_autoSnapshotPolicies.Add(autoSnapshotPolicy); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowSubTasksResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowSubTasksResponseUnmarshaller.cs new file mode 100644 index 0000000000..8567c13672 --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowSubTasksResponseUnmarshaller.cs @@ -0,0 +1,73 @@ +/* + * 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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DescribeDataFlowSubTasksResponseUnmarshaller + { + public static DescribeDataFlowSubTasksResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeDataFlowSubTasksResponse describeDataFlowSubTasksResponse = new DescribeDataFlowSubTasksResponse(); + + describeDataFlowSubTasksResponse.HttpResponse = _ctx.HttpResponse; + describeDataFlowSubTasksResponse.RequestId = _ctx.StringValue("DescribeDataFlowSubTasks.RequestId"); + describeDataFlowSubTasksResponse.NextToken = _ctx.StringValue("DescribeDataFlowSubTasks.NextToken"); + + List describeDataFlowSubTasksResponse_dataFlowSubTask = new List(); + for (int i = 0; i < _ctx.Length("DescribeDataFlowSubTasks.DataFlowSubTask.Length"); i++) { + DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem dataFlowSubTaskItem = new DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem(); + dataFlowSubTaskItem.FileSystemId = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].FileSystemId"); + dataFlowSubTaskItem.DataFlowId = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].DataFlowId"); + dataFlowSubTaskItem.DataFlowTaskId = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].DataFlowTaskId"); + dataFlowSubTaskItem.DataFlowSubTaskId = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].DataFlowSubTaskId"); + dataFlowSubTaskItem.SrcFilePath = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].SrcFilePath"); + dataFlowSubTaskItem.DstFilePath = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].DstFilePath"); + dataFlowSubTaskItem.Status = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].Status"); + dataFlowSubTaskItem.Progress = _ctx.IntegerValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].Progress"); + dataFlowSubTaskItem.CreateTime = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].CreateTime"); + dataFlowSubTaskItem.StartTime = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].StartTime"); + dataFlowSubTaskItem.EndTime = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].EndTime"); + dataFlowSubTaskItem.ErrorMsg = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].ErrorMsg"); + + DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem.DescribeDataFlowSubTasks_ProgressStats progressStats = new DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem.DescribeDataFlowSubTasks_ProgressStats(); + progressStats.BytesTotal = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].ProgressStats.BytesTotal"); + progressStats.BytesDone = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].ProgressStats.BytesDone"); + progressStats.ActualBytes = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].ProgressStats.ActualBytes"); + progressStats.AverageSpeed = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].ProgressStats.AverageSpeed"); + dataFlowSubTaskItem.ProgressStats = progressStats; + + DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem.DescribeDataFlowSubTasks_FileDetail fileDetail = new DescribeDataFlowSubTasksResponse.DescribeDataFlowSubTasks_DataFlowSubTaskItem.DescribeDataFlowSubTasks_FileDetail(); + fileDetail.ModifyTime = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].FileDetail.ModifyTime"); + fileDetail.Size = _ctx.LongValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].FileDetail.Size"); + fileDetail.Checksum = _ctx.StringValue("DescribeDataFlowSubTasks.DataFlowSubTask["+ i +"].FileDetail.Checksum"); + dataFlowSubTaskItem.FileDetail = fileDetail; + + describeDataFlowSubTasksResponse_dataFlowSubTask.Add(dataFlowSubTaskItem); + } + describeDataFlowSubTasksResponse.DataFlowSubTask = describeDataFlowSubTasksResponse_dataFlowSubTask; + + return describeDataFlowSubTasksResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowTasksResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowTasksResponseUnmarshaller.cs index 4498b1fe9d..4439cc57a9 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowTasksResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowTasksResponseUnmarshaller.cs @@ -52,6 +52,31 @@ public static DescribeDataFlowTasksResponse Unmarshall(UnmarshallerContext _ctx) task.StartTime = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].StartTime"); task.EndTime = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].EndTime"); task.FsPath = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].FsPath"); + task.ConflictPolicy = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ConflictPolicy"); + task.Directory = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].Directory"); + task.DstDirectory = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].DstDirectory"); + task.ErrorMsg = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ErrorMsg"); + + DescribeDataFlowTasksResponse.DescribeDataFlowTasks_Task.DescribeDataFlowTasks_ProgressStats progressStats = new DescribeDataFlowTasksResponse.DescribeDataFlowTasks_Task.DescribeDataFlowTasks_ProgressStats(); + progressStats.FilesTotal = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.FilesTotal"); + progressStats.FilesDone = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.FilesDone"); + progressStats.ActualFiles = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.ActualFiles"); + progressStats.BytesTotal = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.BytesTotal"); + progressStats.BytesDone = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.BytesDone"); + progressStats.ActualBytes = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.ActualBytes"); + progressStats.RemainTime = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.RemainTime"); + progressStats.AverageSpeed = _ctx.LongValue("DescribeDataFlowTasks.TaskInfo["+ i +"].ProgressStats.AverageSpeed"); + task.ProgressStats = progressStats; + + List task_reports = new List(); + for (int j = 0; j < _ctx.Length("DescribeDataFlowTasks.TaskInfo["+ i +"].Reports.Length"); j++) { + DescribeDataFlowTasksResponse.DescribeDataFlowTasks_Task.DescribeDataFlowTasks_Report report = new DescribeDataFlowTasksResponse.DescribeDataFlowTasks_Task.DescribeDataFlowTasks_Report(); + report.Name = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].Reports["+ j +"].Name"); + report.Path = _ctx.StringValue("DescribeDataFlowTasks.TaskInfo["+ i +"].Reports["+ j +"].Path"); + + task_reports.Add(report); + } + task.Reports = task_reports; describeDataFlowTasksResponse_taskInfo.Add(task); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowsResponseUnmarshaller.cs index 2c3b21c40d..60cd157628 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDataFlowsResponseUnmarshaller.cs @@ -52,6 +52,7 @@ public static DescribeDataFlowsResponse Unmarshall(UnmarshallerContext _ctx) dataFlow.FsetDescription = _ctx.StringValue("DescribeDataFlows.DataFlowInfo["+ i +"].FsetDescription"); dataFlow.AutoRefreshInterval = _ctx.LongValue("DescribeDataFlows.DataFlowInfo["+ i +"].AutoRefreshInterval"); dataFlow.AutoRefreshPolicy = _ctx.StringValue("DescribeDataFlows.DataFlowInfo["+ i +"].AutoRefreshPolicy"); + dataFlow.SourceStoragePath = _ctx.StringValue("DescribeDataFlows.DataFlowInfo["+ i +"].SourceStoragePath"); List dataFlow_autoRefresh = new List(); for (int j = 0; j < _ctx.Length("DescribeDataFlows.DataFlowInfo["+ i +"].AutoRefresh.Length"); j++) { diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDirQuotasResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDirQuotasResponseUnmarshaller.cs index 00a98789f0..918f806aba 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDirQuotasResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeDirQuotasResponseUnmarshaller.cs @@ -53,6 +53,7 @@ public static DescribeDirQuotasResponse Unmarshall(UnmarshallerContext _ctx) userQuotaInfo.SizeLimit = _ctx.LongValue("DescribeDirQuotas.DirQuotaInfos["+ i +"].UserQuotaInfos["+ j +"].SizeLimit"); userQuotaInfo.QuotaType = _ctx.StringValue("DescribeDirQuotas.DirQuotaInfos["+ i +"].UserQuotaInfos["+ j +"].QuotaType"); userQuotaInfo.SizeReal = _ctx.LongValue("DescribeDirQuotas.DirQuotaInfos["+ i +"].UserQuotaInfos["+ j +"].SizeReal"); + userQuotaInfo.SizeRealInByte = _ctx.LongValue("DescribeDirQuotas.DirQuotaInfos["+ i +"].UserQuotaInfos["+ j +"].SizeRealInByte"); dirQuotaInfo_userQuotaInfos.Add(userQuotaInfo); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFileSystemsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFileSystemsResponseUnmarshaller.cs index 8d12b2681e..309125bcd8 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFileSystemsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFileSystemsResponseUnmarshaller.cs @@ -61,6 +61,12 @@ public static DescribeFileSystemsResponse Unmarshall(UnmarshallerContext _ctx) fileSystem.ExpiredTime = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].ExpiredTime"); fileSystem.ZoneId = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].ZoneId"); fileSystem.VpcId = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].VpcId"); + fileSystem.NodeNum = _ctx.IntegerValue("DescribeFileSystems.FileSystems["+ i +"].NodeNum"); + fileSystem.HpnZone = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].HpnZone"); + fileSystem.AccessPointCount = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].AccessPointCount"); + fileSystem.ResourceGroupId = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].ResourceGroupId"); + fileSystem.MeteredArchiveSize = _ctx.LongValue("DescribeFileSystems.FileSystems["+ i +"].MeteredArchiveSize"); + fileSystem.QuorumVswId = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].QuorumVswId"); List fileSystem_supportedFeatures = new List(); for (int j = 0; j < _ctx.Length("DescribeFileSystems.FileSystems["+ i +"].SupportedFeatures.Length"); j++) { @@ -80,6 +86,16 @@ public static DescribeFileSystemsResponse Unmarshall(UnmarshallerContext _ctx) ldap.URI = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].Ldap.URI"); fileSystem.Ldap = ldap; + DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_GuiInfo guiInfo = new DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_GuiInfo(); + guiInfo.Endpoint = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].GuiInfo.Endpoint"); + guiInfo.Password = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].GuiInfo.Password"); + guiInfo.User = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].GuiInfo.User"); + fileSystem.GuiInfo = guiInfo; + + DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_Options options = new DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_Options(); + options.EnableOplock = _ctx.BooleanValue("DescribeFileSystems.FileSystems["+ i +"].Options.EnableOplock"); + fileSystem.Options = options; + List fileSystem_tags = new List(); for (int j = 0; j < _ctx.Length("DescribeFileSystems.FileSystems["+ i +"].Tags.Length"); j++) { DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_Tag tag = new DescribeFileSystemsResponse.DescribeFileSystems_FileSystem.DescribeFileSystems_Tag(); @@ -100,6 +116,7 @@ public static DescribeFileSystemsResponse Unmarshall(UnmarshallerContext _ctx) mountTarget.DualStackMountTargetDomain = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].MountTargets["+ j +"].DualStackMountTargetDomain"); mountTarget.VswId = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].MountTargets["+ j +"].VswId"); mountTarget.NetworkType = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].MountTargets["+ j +"].NetworkType"); + mountTarget.MountTargetIp = _ctx.StringValue("DescribeFileSystems.FileSystems["+ i +"].MountTargets["+ j +"].MountTargetIp"); List mountTarget_clientMasterNodes = new List(); for (int k = 0; k < _ctx.Length("DescribeFileSystems.FileSystems["+ i +"].MountTargets["+ j +"].ClientMasterNodes.Length"); k++) { diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFilesetsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFilesetsResponseUnmarshaller.cs index 2fb7561cfa..b422c9f12a 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFilesetsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeFilesetsResponseUnmarshaller.cs @@ -44,6 +44,15 @@ public static DescribeFilesetsResponse Unmarshall(UnmarshallerContext _ctx) entrie.Status = _ctx.StringValue("DescribeFilesets.Entries["+ i +"].Status"); entrie.CreateTime = _ctx.StringValue("DescribeFilesets.Entries["+ i +"].CreateTime"); entrie.UpdateTime = _ctx.StringValue("DescribeFilesets.Entries["+ i +"].UpdateTime"); + entrie.DeletionProtection = _ctx.BooleanValue("DescribeFilesets.Entries["+ i +"].DeletionProtection"); + entrie.FileCountUsage = _ctx.LongValue("DescribeFilesets.Entries["+ i +"].FileCountUsage"); + entrie.SpaceUsage = _ctx.LongValue("DescribeFilesets.Entries["+ i +"].SpaceUsage"); + entrie.FileSystemId = _ctx.StringValue("DescribeFilesets.Entries["+ i +"].FileSystemId"); + + DescribeFilesetsResponse.DescribeFilesets_Entrie.DescribeFilesets_Quota quota = new DescribeFilesetsResponse.DescribeFilesets_Entrie.DescribeFilesets_Quota(); + quota.SizeLimit = _ctx.LongValue("DescribeFilesets.Entries["+ i +"].Quota.SizeLimit"); + quota.FileCountLimit = _ctx.LongValue("DescribeFilesets.Entries["+ i +"].Quota.FileCountLimit"); + entrie.Quota = quota; describeFilesetsResponse_entries.Add(entrie); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeMountTargetsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeMountTargetsResponseUnmarshaller.cs index b76b715383..3b595b955d 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeMountTargetsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeMountTargetsResponseUnmarshaller.cs @@ -47,6 +47,7 @@ public static DescribeMountTargetsResponse Unmarshall(UnmarshallerContext _ctx) mountTarget.VswId = _ctx.StringValue("DescribeMountTargets.MountTargets["+ i +"].VswId"); mountTarget.NetworkType = _ctx.StringValue("DescribeMountTargets.MountTargets["+ i +"].NetworkType"); mountTarget.IPVersion = _ctx.StringValue("DescribeMountTargets.MountTargets["+ i +"].IPVersion"); + mountTarget.MountTargetIp = _ctx.StringValue("DescribeMountTargets.MountTargets["+ i +"].MountTargetIp"); List mountTarget_clientMasterNodes = new List(); for (int j = 0; j < _ctx.Length("DescribeMountTargets.MountTargets["+ i +"].ClientMasterNodes.Length"); j++) { diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeNfsAclResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeNfsAclResponseUnmarshaller.cs new file mode 100644 index 0000000000..0c86ad3e8d --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeNfsAclResponseUnmarshaller.cs @@ -0,0 +1,43 @@ +/* + * 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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DescribeNfsAclResponseUnmarshaller + { + public static DescribeNfsAclResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeNfsAclResponse describeNfsAclResponse = new DescribeNfsAclResponse(); + + describeNfsAclResponse.HttpResponse = _ctx.HttpResponse; + describeNfsAclResponse.RequestId = _ctx.StringValue("DescribeNfsAcl.RequestId"); + + DescribeNfsAclResponse.DescribeNfsAcl_Acl acl = new DescribeNfsAclResponse.DescribeNfsAcl_Acl(); + acl.Enabled = _ctx.BooleanValue("DescribeNfsAcl.Acl.Enabled"); + describeNfsAclResponse.Acl = acl; + + return describeNfsAclResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeSnapshotsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeSnapshotsResponseUnmarshaller.cs index 9d8d763a11..1e53474ec9 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeSnapshotsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeSnapshotsResponseUnmarshaller.cs @@ -51,6 +51,8 @@ public static DescribeSnapshotsResponse Unmarshall(UnmarshallerContext _ctx) snapshot.EncryptType = _ctx.IntegerValue("DescribeSnapshots.Snapshots["+ i +"].EncryptType"); snapshot.Description = _ctx.StringValue("DescribeSnapshots.Snapshots["+ i +"].Description"); snapshot.SnapshotId = _ctx.StringValue("DescribeSnapshots.Snapshots["+ i +"].SnapshotId"); + snapshot.FileSystemType = _ctx.StringValue("DescribeSnapshots.Snapshots["+ i +"].FileSystemType"); + snapshot.SnapshotType = _ctx.StringValue("DescribeSnapshots.Snapshots["+ i +"].SnapshotType"); describeSnapshotsResponse_snapshots.Add(snapshot); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeTagsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeTagsResponseUnmarshaller.cs deleted file mode 100644 index a7611c4348..0000000000 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DescribeTagsResponseUnmarshaller.cs +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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.NAS.Model.V20170626; - -namespace Aliyun.Acs.NAS.Transform.V20170626 -{ - public class DescribeTagsResponseUnmarshaller - { - public static DescribeTagsResponse Unmarshall(UnmarshallerContext _ctx) - { - DescribeTagsResponse describeTagsResponse = new DescribeTagsResponse(); - - describeTagsResponse.HttpResponse = _ctx.HttpResponse; - describeTagsResponse.TotalCount = _ctx.IntegerValue("DescribeTags.TotalCount"); - describeTagsResponse.RequestId = _ctx.StringValue("DescribeTags.RequestId"); - describeTagsResponse.PageSize = _ctx.IntegerValue("DescribeTags.PageSize"); - describeTagsResponse.PageNumber = _ctx.IntegerValue("DescribeTags.PageNumber"); - - List describeTagsResponse_tags = new List(); - for (int i = 0; i < _ctx.Length("DescribeTags.Tags.Length"); i++) { - DescribeTagsResponse.DescribeTags_Tag tag = new DescribeTagsResponse.DescribeTags_Tag(); - tag.Key = _ctx.StringValue("DescribeTags.Tags["+ i +"].Key"); - tag._Value = _ctx.StringValue("DescribeTags.Tags["+ i +"].Value"); - - List tag_fileSystemIds = new List(); - for (int j = 0; j < _ctx.Length("DescribeTags.Tags["+ i +"].FileSystemIds.Length"); j++) { - tag_fileSystemIds.Add(_ctx.StringValue("DescribeTags.Tags["+ i +"].FileSystemIds["+ j +"]")); - } - tag.FileSystemIds = tag_fileSystemIds; - - describeTagsResponse_tags.Add(tag); - } - describeTagsResponse.Tags = describeTagsResponse_tags; - - return describeTagsResponse; - } - } -} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/DisableNfsAclResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DisableNfsAclResponseUnmarshaller.cs new file mode 100644 index 0000000000..cc5fdf907f --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/DisableNfsAclResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class DisableNfsAclResponseUnmarshaller + { + public static DisableNfsAclResponse Unmarshall(UnmarshallerContext _ctx) + { + DisableNfsAclResponse disableNfsAclResponse = new DisableNfsAclResponse(); + + disableNfsAclResponse.HttpResponse = _ctx.HttpResponse; + disableNfsAclResponse.RequestId = _ctx.StringValue("DisableNfsAcl.RequestId"); + + return disableNfsAclResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/EnableNfsAclResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/EnableNfsAclResponseUnmarshaller.cs new file mode 100644 index 0000000000..c8d6f7173c --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/EnableNfsAclResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class EnableNfsAclResponseUnmarshaller + { + public static EnableNfsAclResponse Unmarshall(UnmarshallerContext _ctx) + { + EnableNfsAclResponse enableNfsAclResponse = new EnableNfsAclResponse(); + + enableNfsAclResponse.HttpResponse = _ctx.HttpResponse; + enableNfsAclResponse.RequestId = _ctx.StringValue("EnableNfsAcl.RequestId"); + + return enableNfsAclResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetDirectoryOrFilePropertiesResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetDirectoryOrFilePropertiesResponseUnmarshaller.cs index 9cae1d50b9..b25a501173 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetDirectoryOrFilePropertiesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetDirectoryOrFilePropertiesResponseUnmarshaller.cs @@ -44,6 +44,7 @@ public static GetDirectoryOrFilePropertiesResponse Unmarshall(UnmarshallerContex entry.Name = _ctx.StringValue("GetDirectoryOrFileProperties.Entry.Name"); entry.RetrieveTime = _ctx.StringValue("GetDirectoryOrFileProperties.Entry.RetrieveTime"); entry.Inode = _ctx.StringValue("GetDirectoryOrFileProperties.Entry.Inode"); + entry.HasArchiveFile = _ctx.BooleanValue("GetDirectoryOrFileProperties.Entry.HasArchiveFile"); getDirectoryOrFilePropertiesResponse.Entry = entry; return getDirectoryOrFilePropertiesResponse; diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetRecycleBinAttributeResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetRecycleBinAttributeResponseUnmarshaller.cs index 2f82da8bbc..ed773551e1 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetRecycleBinAttributeResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/GetRecycleBinAttributeResponseUnmarshaller.cs @@ -39,6 +39,7 @@ public static GetRecycleBinAttributeResponse Unmarshall(UnmarshallerContext _ctx recycleBinAttribute.Status = _ctx.StringValue("GetRecycleBinAttribute.RecycleBinAttribute.Status"); recycleBinAttribute.ReservedDays = _ctx.LongValue("GetRecycleBinAttribute.RecycleBinAttribute.ReservedDays"); recycleBinAttribute.EnableTime = _ctx.StringValue("GetRecycleBinAttribute.RecycleBinAttribute.EnableTime"); + recycleBinAttribute.ArchiveSize = _ctx.LongValue("GetRecycleBinAttribute.RecycleBinAttribute.ArchiveSize"); getRecycleBinAttributeResponse.RecycleBinAttribute = recycleBinAttribute; return getRecycleBinAttributeResponse; diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListDirectoriesAndFilesResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListDirectoriesAndFilesResponseUnmarshaller.cs index 1fb689c4b5..4395b9f3ea 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListDirectoriesAndFilesResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListDirectoriesAndFilesResponseUnmarshaller.cs @@ -49,6 +49,7 @@ public static ListDirectoriesAndFilesResponse Unmarshall(UnmarshallerContext _ct entry.Inode = _ctx.StringValue("ListDirectoriesAndFiles.Entries["+ i +"].Inode"); entry.FileId = _ctx.StringValue("ListDirectoriesAndFiles.Entries["+ i +"].FileId"); entry.Owner = _ctx.StringValue("ListDirectoriesAndFiles.Entries["+ i +"].Owner"); + entry.HasArchiveFile = _ctx.StringValue("ListDirectoriesAndFiles.Entries["+ i +"].HasArchiveFile"); listDirectoriesAndFilesResponse_entries.Add(entry); } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListLifecycleRetrieveJobsResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListLifecycleRetrieveJobsResponseUnmarshaller.cs index 5b93aa0ebe..b2e5e48c7c 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListLifecycleRetrieveJobsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ListLifecycleRetrieveJobsResponseUnmarshaller.cs @@ -46,6 +46,7 @@ public static ListLifecycleRetrieveJobsResponse Unmarshall(UnmarshallerContext _ lifecycleRetrieveJob.RetrievedFileCount = _ctx.LongValue("ListLifecycleRetrieveJobs.LifecycleRetrieveJobs["+ i +"].RetrievedFileCount"); lifecycleRetrieveJob.JobId = _ctx.StringValue("ListLifecycleRetrieveJobs.LifecycleRetrieveJobs["+ i +"].JobId"); lifecycleRetrieveJob.CreateTime = _ctx.StringValue("ListLifecycleRetrieveJobs.LifecycleRetrieveJobs["+ i +"].CreateTime"); + lifecycleRetrieveJob.StorageType = _ctx.StringValue("ListLifecycleRetrieveJobs.LifecycleRetrieveJobs["+ i +"].StorageType"); List lifecycleRetrieveJob_paths = new List(); for (int j = 0; j < _ctx.Length("ListLifecycleRetrieveJobs.LifecycleRetrieveJobs["+ i +"].Paths.Length"); j++) { diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/ModifyAccessPointResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ModifyAccessPointResponseUnmarshaller.cs new file mode 100644 index 0000000000..b9c6c64c0a --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/ModifyAccessPointResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class ModifyAccessPointResponseUnmarshaller + { + public static ModifyAccessPointResponse Unmarshall(UnmarshallerContext _ctx) + { + ModifyAccessPointResponse modifyAccessPointResponse = new ModifyAccessPointResponse(); + + modifyAccessPointResponse.HttpResponse = _ctx.HttpResponse; + modifyAccessPointResponse.RequestId = _ctx.StringValue("ModifyAccessPoint.RequestId"); + + return modifyAccessPointResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/OpenNASServiceResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/OpenNASServiceResponseUnmarshaller.cs index 9be6cdeefc..7bec0270a9 100644 --- a/aliyun-net-sdk-nas/NAS/Transform/V20170626/OpenNASServiceResponseUnmarshaller.cs +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/OpenNASServiceResponseUnmarshaller.cs @@ -32,7 +32,8 @@ public static OpenNASServiceResponse Unmarshall(UnmarshallerContext _ctx) openNASServiceResponse.HttpResponse = _ctx.HttpResponse; openNASServiceResponse.RequestId = _ctx.StringValue("OpenNASService.RequestId"); - openNASServiceResponse.OrderId = _ctx.StringValue("OpenNASService.OrderId"); + openNASServiceResponse.OrderId = _ctx.StringValue("OpenNASService.OrderId"); + openNASServiceResponse.AccessDeniedDetail = _ctx.StringValue("OpenNASService.AccessDeniedDetail"); return openNASServiceResponse; } diff --git a/aliyun-net-sdk-nas/NAS/Transform/V20170626/SetFilesetQuotaResponseUnmarshaller.cs b/aliyun-net-sdk-nas/NAS/Transform/V20170626/SetFilesetQuotaResponseUnmarshaller.cs new file mode 100644 index 0000000000..25f91de6df --- /dev/null +++ b/aliyun-net-sdk-nas/NAS/Transform/V20170626/SetFilesetQuotaResponseUnmarshaller.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.NAS.Model.V20170626; + +namespace Aliyun.Acs.NAS.Transform.V20170626 +{ + public class SetFilesetQuotaResponseUnmarshaller + { + public static SetFilesetQuotaResponse Unmarshall(UnmarshallerContext _ctx) + { + SetFilesetQuotaResponse setFilesetQuotaResponse = new SetFilesetQuotaResponse(); + + setFilesetQuotaResponse.HttpResponse = _ctx.HttpResponse; + setFilesetQuotaResponse.RequestId = _ctx.StringValue("SetFilesetQuota.RequestId"); + + return setFilesetQuotaResponse; + } + } +} diff --git a/aliyun-net-sdk-nas/aliyun-net-sdk-nas.vs2017.csproj b/aliyun-net-sdk-nas/aliyun-net-sdk-nas.vs2017.csproj index 4a918998f7..6fe93dd14c 100644 --- a/aliyun-net-sdk-nas/aliyun-net-sdk-nas.vs2017.csproj +++ b/aliyun-net-sdk-nas/aliyun-net-sdk-nas.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0;net45 Aliyun.Acs.NAS - 3.2.5 + 3.2.6 Alibaba Cloud ©2009-2019 Alibaba Cloud false @@ -24,11 +24,10 @@ runtime; build; native; contentfiles; analyzers - - + + -