/**
* 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.compute.implementation;
import org.joda.time.DateTime;
import com.microsoft.azure.management.compute.ApiError;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Operation status response.
*/
public class OperationStatusResponseInner {
/**
* Operation ID.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
/**
* Operation status.
*/
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
private String status;
/**
* Start time of the operation.
*/
@JsonProperty(value = "startTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime startTime;
/**
* End time of the operation.
*/
@JsonProperty(value = "endTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime endTime;
/**
* Api error.
*/
@JsonProperty(value = "error", access = JsonProperty.Access.WRITE_ONLY)
private ApiError error;
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Get the status value.
*
* @return the status value
*/
public String status() {
return this.status;
}
/**
* Get the startTime value.
*
* @return the startTime value
*/
public DateTime startTime() {
return this.startTime;
}
/**
* Get the endTime value.
*
* @return the endTime value
*/
public DateTime endTime() {
return this.endTime;
}
/**
* Get the error value.
*
* @return the error value
*/
public ApiError error() {
return this.error;
}
}