/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file 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. */ /* * Do not modify this file. This file is generated from the apigatewayv2-2018-11-29.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ApiGatewayV2.Model { /// /// This is the response object from the CreateDeployment operation. /// public partial class CreateDeploymentResponse : AmazonWebServiceResponse { private bool? _autoDeployed; private DateTime? _createdDate; private string _deploymentId; private DeploymentStatus _deploymentStatus; private string _deploymentStatusMessage; private string _description; /// /// Gets and sets the property AutoDeployed. /// /// Specifies whether a deployment was automatically released. /// /// public bool AutoDeployed { get { return this._autoDeployed.GetValueOrDefault(); } set { this._autoDeployed = value; } } // Check to see if AutoDeployed property is set internal bool IsSetAutoDeployed() { return this._autoDeployed.HasValue; } /// /// Gets and sets the property CreatedDate. /// /// The date and time when the Deployment resource was created. /// /// public DateTime CreatedDate { get { return this._createdDate.GetValueOrDefault(); } set { this._createdDate = value; } } // Check to see if CreatedDate property is set internal bool IsSetCreatedDate() { return this._createdDate.HasValue; } /// /// Gets and sets the property DeploymentId. /// /// The identifier for the deployment. /// /// public string DeploymentId { get { return this._deploymentId; } set { this._deploymentId = value; } } // Check to see if DeploymentId property is set internal bool IsSetDeploymentId() { return this._deploymentId != null; } /// /// Gets and sets the property DeploymentStatus. /// /// The status of the deployment: PENDING, FAILED, or SUCCEEDED. /// /// public DeploymentStatus DeploymentStatus { get { return this._deploymentStatus; } set { this._deploymentStatus = value; } } // Check to see if DeploymentStatus property is set internal bool IsSetDeploymentStatus() { return this._deploymentStatus != null; } /// /// Gets and sets the property DeploymentStatusMessage. /// /// May contain additional feedback on the status of an API deployment. /// /// public string DeploymentStatusMessage { get { return this._deploymentStatusMessage; } set { this._deploymentStatusMessage = value; } } // Check to see if DeploymentStatusMessage property is set internal bool IsSetDeploymentStatusMessage() { return this._deploymentStatusMessage != null; } /// /// Gets and sets the property Description. /// /// The description for the deployment. /// /// public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } } }