-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 9fecbb9feb0b8ea3cbba6a02e84973b2bdf11378 (#250)
remvoing extra async operations
- Loading branch information
1 parent
27915c3
commit 3d1ee7f
Showing
6 changed files
with
434 additions
and
41 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
...va/com/microsoft/azure/management/containerinstance/ContainerExecRequestTerminalSize.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,69 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerinstance; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The size of the terminal. | ||
*/ | ||
public class ContainerExecRequestTerminalSize { | ||
/** | ||
* The row size of the terminal. | ||
*/ | ||
@JsonProperty(value = "row") | ||
private Integer row; | ||
|
||
/** | ||
* The column size of the terminal. | ||
*/ | ||
@JsonProperty(value = "column") | ||
private Integer column; | ||
|
||
/** | ||
* Get the row value. | ||
* | ||
* @return the row value | ||
*/ | ||
public Integer row() { | ||
return this.row; | ||
} | ||
|
||
/** | ||
* Set the row value. | ||
* | ||
* @param row the row value to set | ||
* @return the ContainerExecRequestTerminalSize object itself. | ||
*/ | ||
public ContainerExecRequestTerminalSize withRow(Integer row) { | ||
this.row = row; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the column value. | ||
* | ||
* @return the column value | ||
*/ | ||
public Integer column() { | ||
return this.column; | ||
} | ||
|
||
/** | ||
* Set the column value. | ||
* | ||
* @param column the column value to set | ||
* @return the ContainerExecRequestTerminalSize object itself. | ||
*/ | ||
public ContainerExecRequestTerminalSize withColumn(Integer column) { | ||
this.column = column; | ||
return this; | ||
} | ||
|
||
} |
70 changes: 70 additions & 0 deletions
70
...icrosoft/azure/management/containerinstance/implementation/ContainerExecRequestInner.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,70 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerinstance.implementation; | ||
|
||
import com.microsoft.azure.management.containerinstance.ContainerExecRequestTerminalSize; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The start container exec request. | ||
*/ | ||
public class ContainerExecRequestInner { | ||
/** | ||
* The command to be executed. | ||
*/ | ||
@JsonProperty(value = "command") | ||
private String command; | ||
|
||
/** | ||
* The size of the terminal. | ||
*/ | ||
@JsonProperty(value = "terminalSize") | ||
private ContainerExecRequestTerminalSize terminalSize; | ||
|
||
/** | ||
* Get the command value. | ||
* | ||
* @return the command value | ||
*/ | ||
public String command() { | ||
return this.command; | ||
} | ||
|
||
/** | ||
* Set the command value. | ||
* | ||
* @param command the command value to set | ||
* @return the ContainerExecRequestInner object itself. | ||
*/ | ||
public ContainerExecRequestInner withCommand(String command) { | ||
this.command = command; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the terminalSize value. | ||
* | ||
* @return the terminalSize value | ||
*/ | ||
public ContainerExecRequestTerminalSize terminalSize() { | ||
return this.terminalSize; | ||
} | ||
|
||
/** | ||
* Set the terminalSize value. | ||
* | ||
* @param terminalSize the terminalSize value to set | ||
* @return the ContainerExecRequestInner object itself. | ||
*/ | ||
public ContainerExecRequestInner withTerminalSize(ContainerExecRequestTerminalSize terminalSize) { | ||
this.terminalSize = terminalSize; | ||
return this; | ||
} | ||
|
||
} |
69 changes: 69 additions & 0 deletions
69
...crosoft/azure/management/containerinstance/implementation/ContainerExecResponseInner.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,69 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.containerinstance.implementation; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The information for the container exec command. | ||
*/ | ||
public class ContainerExecResponseInner { | ||
/** | ||
* The uri for the exec websocket. | ||
*/ | ||
@JsonProperty(value = "webSocketUri") | ||
private String webSocketUri; | ||
|
||
/** | ||
* The password to start the exec command. | ||
*/ | ||
@JsonProperty(value = "password") | ||
private String password; | ||
|
||
/** | ||
* Get the webSocketUri value. | ||
* | ||
* @return the webSocketUri value | ||
*/ | ||
public String webSocketUri() { | ||
return this.webSocketUri; | ||
} | ||
|
||
/** | ||
* Set the webSocketUri value. | ||
* | ||
* @param webSocketUri the webSocketUri value to set | ||
* @return the ContainerExecResponseInner object itself. | ||
*/ | ||
public ContainerExecResponseInner withWebSocketUri(String webSocketUri) { | ||
this.webSocketUri = webSocketUri; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the password value. | ||
* | ||
* @return the password value | ||
*/ | ||
public String password() { | ||
return this.password; | ||
} | ||
|
||
/** | ||
* Set the password value. | ||
* | ||
* @param password the password value to set | ||
* @return the ContainerExecResponseInner object itself. | ||
*/ | ||
public ContainerExecResponseInner withPassword(String password) { | ||
this.password = password; | ||
return this; | ||
} | ||
|
||
} |
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
Oops, something went wrong.