/* * 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 ecs-2014-11-13.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.ECS.Model { /// /// The Docker and Amazon ECS container agent version information about a container instance. /// public partial class VersionInfo { private string _agentHash; private string _agentVersion; private string _dockerVersion; /// /// Gets and sets the property AgentHash. /// /// The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent /// GitHub repository. /// /// public string AgentHash { get { return this._agentHash; } set { this._agentHash = value; } } // Check to see if AgentHash property is set internal bool IsSetAgentHash() { return this._agentHash != null; } /// /// Gets and sets the property AgentVersion. /// /// The version number of the Amazon ECS container agent. /// /// public string AgentVersion { get { return this._agentVersion; } set { this._agentVersion = value; } } // Check to see if AgentVersion property is set internal bool IsSetAgentVersion() { return this._agentVersion != null; } /// /// Gets and sets the property DockerVersion. /// /// The Docker version that's running on the container instance. /// /// public string DockerVersion { get { return this._dockerVersion; } set { this._dockerVersion = value; } } // Check to see if DockerVersion property is set internal bool IsSetDockerVersion() { return this._dockerVersion != null; } } }