/** * 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.appservice.implementation; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource; /** * User crendentials used for publishing activity. */ @JsonFlatten public class DeploymentInner extends Resource { /** * ID. */ @JsonProperty(value = "properties.id") private String deploymentId; /** * Status. */ @JsonProperty(value = "properties.status") private Integer status; /** * Message. */ @JsonProperty(value = "properties.message") private String message; /** * Author. */ @JsonProperty(value = "properties.author") private String author; /** * Deployer. */ @JsonProperty(value = "properties.deployer") private String deployer; /** * Author email. */ @JsonProperty(value = "properties.author_email") private String authorEmail; /** * Start time. */ @JsonProperty(value = "properties.start_time") private DateTime startTime; /** * End time. */ @JsonProperty(value = "properties.end_time") private DateTime endTime; /** * Active. */ @JsonProperty(value = "properties.active") private Boolean active; /** * Detail. */ @JsonProperty(value = "properties.details") private String details; /** * Get the deploymentId value. * * @return the deploymentId value */ public String deploymentId() { return this.deploymentId; } /** * Set the deploymentId value. * * @param deploymentId the deploymentId value to set * @return the DeploymentInner object itself. */ public DeploymentInner withDeploymentId(String deploymentId) { this.deploymentId = deploymentId; return this; } /** * Get the status value. * * @return the status value */ public Integer status() { return this.status; } /** * Set the status value. * * @param status the status value to set * @return the DeploymentInner object itself. */ public DeploymentInner withStatus(Integer status) { this.status = status; return this; } /** * Get the message value. * * @return the message value */ public String message() { return this.message; } /** * Set the message value. * * @param message the message value to set * @return the DeploymentInner object itself. */ public DeploymentInner withMessage(String message) { this.message = message; return this; } /** * Get the author value. * * @return the author value */ public String author() { return this.author; } /** * Set the author value. * * @param author the author value to set * @return the DeploymentInner object itself. */ public DeploymentInner withAuthor(String author) { this.author = author; return this; } /** * Get the deployer value. * * @return the deployer value */ public String deployer() { return this.deployer; } /** * Set the deployer value. * * @param deployer the deployer value to set * @return the DeploymentInner object itself. */ public DeploymentInner withDeployer(String deployer) { this.deployer = deployer; return this; } /** * Get the authorEmail value. * * @return the authorEmail value */ public String authorEmail() { return this.authorEmail; } /** * Set the authorEmail value. * * @param authorEmail the authorEmail value to set * @return the DeploymentInner object itself. */ public DeploymentInner withAuthorEmail(String authorEmail) { this.authorEmail = authorEmail; return this; } /** * Get the startTime value. * * @return the startTime value */ public DateTime startTime() { return this.startTime; } /** * Set the startTime value. * * @param startTime the startTime value to set * @return the DeploymentInner object itself. */ public DeploymentInner withStartTime(DateTime startTime) { this.startTime = startTime; return this; } /** * Get the endTime value. * * @return the endTime value */ public DateTime endTime() { return this.endTime; } /** * Set the endTime value. * * @param endTime the endTime value to set * @return the DeploymentInner object itself. */ public DeploymentInner withEndTime(DateTime endTime) { this.endTime = endTime; return this; } /** * Get the active value. * * @return the active value */ public Boolean active() { return this.active; } /** * Set the active value. * * @param active the active value to set * @return the DeploymentInner object itself. */ public DeploymentInner withActive(Boolean active) { this.active = active; return this; } /** * Get the details value. * * @return the details value */ public String details() { return this.details; } /** * Set the details value. * * @param details the details value to set * @return the DeploymentInner object itself. */ public DeploymentInner withDetails(String details) { this.details = details; return this; } }