-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support user customized desktop list.
- Loading branch information
Showing
49 changed files
with
3,005 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
...ecd/src/main/java/com/aliyuncs/ecd/model/v20200930/CreateAndBindNasFileSystemRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
/* | ||
* Licensed 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. | ||
*/ | ||
|
||
package com.aliyuncs.ecd.model.v20200930; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import java.util.List; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.ecd.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class CreateAndBindNasFileSystemRequest extends RpcAcsRequest<CreateAndBindNasFileSystemResponse> { | ||
|
||
|
||
private String officeSiteId; | ||
|
||
private List<String> endUserIdss; | ||
|
||
private String description; | ||
|
||
private String storageType; | ||
|
||
private Integer encryptType; | ||
|
||
private String desktopGroupId; | ||
|
||
private String fileSystemName; | ||
public CreateAndBindNasFileSystemRequest() { | ||
super("ecd", "2020-09-30", "CreateAndBindNasFileSystem"); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getOfficeSiteId() { | ||
return this.officeSiteId; | ||
} | ||
|
||
public void setOfficeSiteId(String officeSiteId) { | ||
this.officeSiteId = officeSiteId; | ||
if(officeSiteId != null){ | ||
putQueryParameter("OfficeSiteId", officeSiteId); | ||
} | ||
} | ||
|
||
public List<String> getEndUserIdss() { | ||
return this.endUserIdss; | ||
} | ||
|
||
public void setEndUserIdss(List<String> endUserIdss) { | ||
this.endUserIdss = endUserIdss; | ||
if (endUserIdss != null) { | ||
for (int i = 0; i < endUserIdss.size(); i++) { | ||
putQueryParameter("EndUserIds." + (i + 1) , endUserIdss.get(i)); | ||
} | ||
} | ||
} | ||
|
||
public String getDescription() { | ||
return this.description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
if(description != null){ | ||
putQueryParameter("Description", description); | ||
} | ||
} | ||
|
||
public String getStorageType() { | ||
return this.storageType; | ||
} | ||
|
||
public void setStorageType(String storageType) { | ||
this.storageType = storageType; | ||
if(storageType != null){ | ||
putQueryParameter("StorageType", storageType); | ||
} | ||
} | ||
|
||
public Integer getEncryptType() { | ||
return this.encryptType; | ||
} | ||
|
||
public void setEncryptType(Integer encryptType) { | ||
this.encryptType = encryptType; | ||
if(encryptType != null){ | ||
putQueryParameter("EncryptType", encryptType.toString()); | ||
} | ||
} | ||
|
||
public String getDesktopGroupId() { | ||
return this.desktopGroupId; | ||
} | ||
|
||
public void setDesktopGroupId(String desktopGroupId) { | ||
this.desktopGroupId = desktopGroupId; | ||
if(desktopGroupId != null){ | ||
putQueryParameter("DesktopGroupId", desktopGroupId); | ||
} | ||
} | ||
|
||
public String getFileSystemName() { | ||
return this.fileSystemName; | ||
} | ||
|
||
public void setFileSystemName(String fileSystemName) { | ||
this.fileSystemName = fileSystemName; | ||
if(fileSystemName != null){ | ||
putQueryParameter("FileSystemName", fileSystemName); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<CreateAndBindNasFileSystemResponse> getResponseClass() { | ||
return CreateAndBindNasFileSystemResponse.class; | ||
} | ||
|
||
} |
46 changes: 46 additions & 0 deletions
46
...cd/src/main/java/com/aliyuncs/ecd/model/v20200930/CreateAndBindNasFileSystemResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* Licensed 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. | ||
*/ | ||
|
||
package com.aliyuncs.ecd.model.v20200930; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.ecd.transform.v20200930.CreateAndBindNasFileSystemResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class CreateAndBindNasFileSystemResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
@Override | ||
public CreateAndBindNasFileSystemResponse getInstance(UnmarshallerContext context) { | ||
return CreateAndBindNasFileSystemResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
Oops, something went wrong.