Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR containerinstance/resource-manager] ContainerInstance: Adding April Swagger For GA #36

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,52 @@ public class ContainerExecRequestTerminalSize {
/**
* The row size of the terminal.
*/
@JsonProperty(value = "rows")
private Integer rows;
@JsonProperty(value = "row")
private Integer row;

/**
* The column size of the terminal.
*/
@JsonProperty(value = "cols")
private Integer cols;
@JsonProperty(value = "column")
private Integer column;

/**
* Get the rows value.
* Get the row value.
*
* @return the rows value
* @return the row value
*/
public Integer rows() {
return this.rows;
public Integer row() {
return this.row;
}

/**
* Set the rows value.
* Set the row value.
*
* @param rows the rows value to set
* @param row the row value to set
* @return the ContainerExecRequestTerminalSize object itself.
*/
public ContainerExecRequestTerminalSize withRows(Integer rows) {
this.rows = rows;
public ContainerExecRequestTerminalSize withRow(Integer row) {
this.row = row;
return this;
}

/**
* Get the cols value.
* Get the column value.
*
* @return the cols value
* @return the column value
*/
public Integer cols() {
return this.cols;
public Integer column() {
return this.column;
}

/**
* Set the cols value.
* Set the column value.
*
* @param cols the cols value to set
* @param column the column value to set
* @return the ContainerExecRequestTerminalSize object itself.
*/
public ContainerExecRequestTerminalSize withCols(Integer cols) {
this.cols = cols;
public ContainerExecRequestTerminalSize withColumn(Integer column) {
this.column = column;
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@ public class ContainerState {
/**
* The state of the container instance.
*/
@JsonProperty(value = "state")
@JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
private String state;

/**
* The date-time when the container instance state started.
*/
@JsonProperty(value = "startTime")
@JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime startTime;

/**
* The container instance exit codes correspond to those from the `docker
* run` command.
*/
@JsonProperty(value = "exitCode")
@JsonProperty(value = "exitCode", access = JsonProperty.Access.WRITE_ONLY)
private Integer exitCode;

/**
* The date-time when the container instance state finished.
*/
@JsonProperty(value = "finishTime")
@JsonProperty(value = "finishTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime finishTime;

/**
* The human-readable status of the container instance state.
*/
@JsonProperty(value = "detailStatus")
@JsonProperty(value = "detailStatus", access = JsonProperty.Access.WRITE_ONLY)
private String detailStatus;

/**
Expand All @@ -55,17 +55,6 @@ public String state() {
return this.state;
}

/**
* Set the state value.
*
* @param state the state value to set
* @return the ContainerState object itself.
*/
public ContainerState withState(String state) {
this.state = state;
return this;
}

/**
* Get the startTime value.
*
Expand All @@ -75,17 +64,6 @@ public DateTime startTime() {
return this.startTime;
}

/**
* Set the startTime value.
*
* @param startTime the startTime value to set
* @return the ContainerState object itself.
*/
public ContainerState withStartTime(DateTime startTime) {
this.startTime = startTime;
return this;
}

/**
* Get the exitCode value.
*
Expand All @@ -95,17 +73,6 @@ public Integer exitCode() {
return this.exitCode;
}

/**
* Set the exitCode value.
*
* @param exitCode the exitCode value to set
* @return the ContainerState object itself.
*/
public ContainerState withExitCode(Integer exitCode) {
this.exitCode = exitCode;
return this;
}

/**
* Get the finishTime value.
*
Expand All @@ -115,17 +82,6 @@ public DateTime finishTime() {
return this.finishTime;
}

/**
* Set the finishTime value.
*
* @param finishTime the finishTime value to set
* @return the ContainerState object itself.
*/
public ContainerState withFinishTime(DateTime finishTime) {
this.finishTime = finishTime;
return this;
}

/**
* Get the detailStatus value.
*
Expand All @@ -135,15 +91,4 @@ public String detailStatus() {
return this.detailStatus;
}

/**
* Set the detailStatus value.
*
* @param detailStatus the detailStatus value to set
* @return the ContainerState object itself.
*/
public ContainerState withDetailStatus(String detailStatus) {
this.detailStatus = detailStatus;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,37 @@ public class Event {
/**
* The count of the event.
*/
@JsonProperty(value = "count")
@JsonProperty(value = "count", access = JsonProperty.Access.WRITE_ONLY)
private Integer count;

/**
* The date-time of the earliest logged event.
*/
@JsonProperty(value = "firstTimestamp")
@JsonProperty(value = "firstTimestamp", access = JsonProperty.Access.WRITE_ONLY)
private DateTime firstTimestamp;

/**
* The date-time of the latest logged event.
*/
@JsonProperty(value = "lastTimestamp")
@JsonProperty(value = "lastTimestamp", access = JsonProperty.Access.WRITE_ONLY)
private DateTime lastTimestamp;

/**
* The event name.
*/
@JsonProperty(value = "name")
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;

/**
* The event message.
*/
@JsonProperty(value = "message")
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
private String message;

/**
* The event type.
*/
@JsonProperty(value = "type")
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;

/**
Expand All @@ -60,17 +60,6 @@ public Integer count() {
return this.count;
}

/**
* Set the count value.
*
* @param count the count value to set
* @return the Event object itself.
*/
public Event withCount(Integer count) {
this.count = count;
return this;
}

/**
* Get the firstTimestamp value.
*
Expand All @@ -80,17 +69,6 @@ public DateTime firstTimestamp() {
return this.firstTimestamp;
}

/**
* Set the firstTimestamp value.
*
* @param firstTimestamp the firstTimestamp value to set
* @return the Event object itself.
*/
public Event withFirstTimestamp(DateTime firstTimestamp) {
this.firstTimestamp = firstTimestamp;
return this;
}

/**
* Get the lastTimestamp value.
*
Expand All @@ -100,17 +78,6 @@ public DateTime lastTimestamp() {
return this.lastTimestamp;
}

/**
* Set the lastTimestamp value.
*
* @param lastTimestamp the lastTimestamp value to set
* @return the Event object itself.
*/
public Event withLastTimestamp(DateTime lastTimestamp) {
this.lastTimestamp = lastTimestamp;
return this;
}

/**
* Get the name value.
*
Expand All @@ -120,17 +87,6 @@ public String name() {
return this.name;
}

/**
* Set the name value.
*
* @param name the name value to set
* @return the Event object itself.
*/
public Event withName(String name) {
this.name = name;
return this;
}

/**
* Get the message value.
*
Expand All @@ -140,17 +96,6 @@ public String message() {
return this.message;
}

/**
* Set the message value.
*
* @param message the message value to set
* @return the Event object itself.
*/
public Event withMessage(String message) {
this.message = message;
return this;
}

/**
* Get the type value.
*
Expand All @@ -160,15 +105,4 @@ public String type() {
return this.type;
}

/**
* Set the type value.
*
* @param type the type value to set
* @return the Event object itself.
*/
public Event withType(String type) {
this.type = type;
return this;
}

}
Loading