/* * 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 medialive-2017-10-14.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.MediaLive.Model { /// /// The network settings for the input device. /// public partial class InputDeviceNetworkSettings { private List _dnsAddresses = new List(); private string _gateway; private string _ipAddress; private InputDeviceIpScheme _ipScheme; private string _subnetMask; /// /// Gets and sets the property DnsAddresses. The DNS addresses of the input device. /// public List DnsAddresses { get { return this._dnsAddresses; } set { this._dnsAddresses = value; } } // Check to see if DnsAddresses property is set internal bool IsSetDnsAddresses() { return this._dnsAddresses != null && this._dnsAddresses.Count > 0; } /// /// Gets and sets the property Gateway. The network gateway IP address. /// public string Gateway { get { return this._gateway; } set { this._gateway = value; } } // Check to see if Gateway property is set internal bool IsSetGateway() { return this._gateway != null; } /// /// Gets and sets the property IpAddress. The IP address of the input device. /// 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 IpScheme. Specifies whether the input device has been configured /// (outside of MediaLive) to use a dynamic IP address assignment (DHCP) or a static IP /// address. /// public InputDeviceIpScheme IpScheme { get { return this._ipScheme; } set { this._ipScheme = value; } } // Check to see if IpScheme property is set internal bool IsSetIpScheme() { return this._ipScheme != null; } /// /// Gets and sets the property SubnetMask. The subnet mask of the input device. /// public string SubnetMask { get { return this._subnetMask; } set { this._subnetMask = value; } } // Check to see if SubnetMask property is set internal bool IsSetSubnetMask() { return this._subnetMask != null; } } }