/* * 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 sms-2016-10-24.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.ServerMigrationService.Model { /// /// Represents a connector. /// public partial class Connector { private DateTime? _associatedOn; private List _capabilityList = new List(); private string _connectorId; private string _ipAddress; private string _macAddress; private ConnectorStatus _status; private string _version; private string _vmManagerId; private string _vmManagerName; private VmManagerType _vmManagerType; /// /// Gets and sets the property AssociatedOn. /// /// The time the connector was associated. /// /// public DateTime AssociatedOn { get { return this._associatedOn.GetValueOrDefault(); } set { this._associatedOn = value; } } // Check to see if AssociatedOn property is set internal bool IsSetAssociatedOn() { return this._associatedOn.HasValue; } /// /// Gets and sets the property CapabilityList. /// /// The capabilities of the connector. /// /// public List CapabilityList { get { return this._capabilityList; } set { this._capabilityList = value; } } // Check to see if CapabilityList property is set internal bool IsSetCapabilityList() { return this._capabilityList != null && this._capabilityList.Count > 0; } /// /// Gets and sets the property ConnectorId. /// /// The ID of the connector. /// /// public string ConnectorId { get { return this._connectorId; } set { this._connectorId = value; } } // Check to see if ConnectorId property is set internal bool IsSetConnectorId() { return this._connectorId != null; } /// /// Gets and sets the property IpAddress. /// /// The IP address of the connector. /// /// public string IpAddress { get { return this._ipAddress; } set { this._ipAddress = value; } } // Check to see if IpAddress property is set internal bool IsSetIpAddress() { return this._ipAddress != null; } /// /// Gets and sets the property MacAddress. /// /// The MAC address of the connector. /// /// public string MacAddress { get { return this._macAddress; } set { this._macAddress = value; } } // Check to see if MacAddress property is set internal bool IsSetMacAddress() { return this._macAddress != null; } /// /// Gets and sets the property Status. /// /// The status of the connector. /// /// public ConnectorStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property Version. /// /// The connector version. /// /// public string Version { get { return this._version; } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version != null; } /// /// Gets and sets the property VmManagerId. /// /// The ID of the VM manager. /// /// public string VmManagerId { get { return this._vmManagerId; } set { this._vmManagerId = value; } } // Check to see if VmManagerId property is set internal bool IsSetVmManagerId() { return this._vmManagerId != null; } /// /// Gets and sets the property VmManagerName. /// /// The name of the VM manager. /// /// public string VmManagerName { get { return this._vmManagerName; } set { this._vmManagerName = value; } } // Check to see if VmManagerName property is set internal bool IsSetVmManagerName() { return this._vmManagerName != null; } /// /// Gets and sets the property VmManagerType. /// /// The VM management product. /// /// public VmManagerType VmManagerType { get { return this._vmManagerType; } set { this._vmManagerType = value; } } // Check to see if VmManagerType property is set internal bool IsSetVmManagerType() { return this._vmManagerType != null; } } }