public bool Equals(NetworkTypeEnum obj)
 {
     if ((object)obj == null)
     {
         return(false);
     }
     return(StringComparer.OrdinalIgnoreCase.Equals(this.Value, obj.Value));
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FraudRegistrationDeviceItems" /> class.
 /// </summary>
 /// <param name="networkType">Defines the type of network associated with the device. (required).</param>
 /// <param name="ip">The IPv4 or IPv6 address of the device if the network assigned one..</param>
 /// <param name="mac">The MAC address of the device that is connected to the Wi-Fi network..</param>
 /// <param name="ssid">The Wi-Fi networks Service Set Identifier (SSID)..</param>
 /// <param name="bssid">The Wi-Fi networks Basic Service Set Identifier (BSSID)..</param>
 /// <param name="userDefined">A JSON object that can carry any additional information about the network that might be helpful for fraud detection..</param>
 public FraudRegistrationDeviceItems(NetworkTypeEnum networkType = default(NetworkTypeEnum), string ip = default(string), string mac = default(string), string ssid = default(string), string bssid = default(string), Object userDefined = default(Object))
 {
     this.NetworkType = networkType;
     this.Ip          = ip;
     this.Mac         = mac;
     this.Ssid        = ssid;
     this.Bssid       = bssid;
     this.UserDefined = userDefined;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Items" /> class.
 /// </summary>
 /// <param name="networkType">Defines the type of network associated with the device. (required).</param>
 /// <param name="ip">The IPv4 or IPv6 address of the device if the network assigned one..</param>
 /// <param name="phoneNumber">The devices primary phone number. This value should be supplied directly without any transformation (e.g. removal of spaces, hyphens or parentheses). If this data is available in segregated fields, it should be concatenated using a blank space (\&quot; \&quot;) as a separator..</param>
 /// <param name="carrierName">The network carrier name..</param>
 /// <param name="mobileCountryCode">The Mobile Country Code (MCC) as described in the ITUs E.212 specification..</param>
 /// <param name="mobileNetworkCode">The Mobile Network Code (MNC) as described in the ITUs E.212 specification..</param>
 /// <param name="subscriptionIdentificationNumber">The Mobile Subscription Identification Number code (MSIN) as described in the ITUs E.212 specification..</param>
 /// <param name="locationAreaCode">The Location Area Code (LAC) is a 16-bit identifier for a region that is covered by a set of network antennas..</param>
 /// <param name="cellId">The Cell ID (CID) is identifier for a specific Base Transceiver Station (BTS) within a specific Location Area Code (LAC)..</param>
 /// <param name="standard">An identifier of the network standard used..</param>
 /// <param name="mac">The MAC address of the device that is connected to the Wi-Fi network..</param>
 /// <param name="ssid">The Wi-Fi networks Service Set Identifier (SSID)..</param>
 /// <param name="bssid">The Wi-Fi networks Basic Service Set Identifier (BSSID)..</param>
 /// <param name="userDefined">A JSON object that can carry any additional information about the network that might be helpful for fraud detection..</param>
 public Items(NetworkTypeEnum networkType = default(NetworkTypeEnum), string ip = default(string), string phoneNumber = default(string), string carrierName = default(string), string mobileCountryCode = default(string), string mobileNetworkCode = default(string), string subscriptionIdentificationNumber = default(string), string locationAreaCode = default(string), string cellId = default(string), string standard = default(string), string mac = default(string), string ssid = default(string), string bssid = default(string), Object userDefined = default(Object))
 {
     this.NetworkType       = networkType;
     this.Ip                = ip;
     this.PhoneNumber       = phoneNumber;
     this.CarrierName       = carrierName;
     this.MobileCountryCode = mobileCountryCode;
     this.MobileNetworkCode = mobileNetworkCode;
     this.SubscriptionIdentificationNumber = subscriptionIdentificationNumber;
     this.LocationAreaCode = locationAreaCode;
     this.CellId           = cellId;
     this.Standard         = standard;
     this.Mac         = mac;
     this.Ssid        = ssid;
     this.Bssid       = bssid;
     this.UserDefined = userDefined;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseVMInfo" /> class.
 /// </summary>
 /// <param name="datacenterId">Datacenter id for this VM. (required).</param>
 /// <param name="id">Unique ID representing a VM. (required).</param>
 /// <param name="incompatibleReasons">Reasons that may preclude this BaseVM from having its snapshots used in linked or instant clone desktop or farm creation..</param>
 /// <param name="name">VM name. (required).</param>
 /// <param name="networkType">Type of network base VM belongs to. * STANDARD_NETWORK: Standard network. * OPAQUE_NETWORK: Opaque network. * DISTRUBUTED_VIRTUAL_PORT_GROUP: DVS port group. (required).</param>
 /// <param name="operatingSystem">Operating system. * UNKNOWN: Unknown * WINDOWS_XP: Windows XP * WINDOWS_VISTA: Windows Vista * WINDOWS_7: Windows 7 * WINDOWS_8: Windows 8 * WINDOWS_10: Windows 10 * WINDOWS_SERVER_2003: Windows Server 2003 * WINDOWS_SERVER_2008: Windows Server 2008 * WINDOWS_SERVER_2008_R2: Windows Server 2008 R2 * WINDOWS_SERVER_2012: Windows Server 2012 * WINDOWS_SERVER_2012_R2: Windows Server 2012 R2 * WINDOWS_SERVER_2016_OR_ABOVE: Windows Server 2016 or above * LINUX_OTHER: Linux (other) * LINUX_SERVER_OTHER: Linux server (other) * LINUX_UBUNTU: Linux (Ubuntu) * LINUX_RHEL: Linux (Red Hat Enterprise) * LINUX_SUSE: Linux (Suse) * LINUX_CENTOS: Linux (CentOS) (required).</param>
 /// <param name="operatingSystemDisplayName">Operating system display name from Virtual Center. (required).</param>
 /// <param name="path">VM path. (required).</param>
 /// <param name="vcenterId">Virtual Center id for this VM. (required).</param>
 public BaseVMInfo(string datacenterId = default(string), string id = default(string), List <IncompatibleReasonsEnum> incompatibleReasons = default(List <IncompatibleReasonsEnum>), string name = default(string), NetworkTypeEnum networkType = default(NetworkTypeEnum), OperatingSystemEnum operatingSystem = default(OperatingSystemEnum), string operatingSystemDisplayName = default(string), string path = default(string), string vcenterId = default(string))
 {
     // to ensure "datacenterId" is required (not null)
     if (datacenterId == null)
     {
         throw new InvalidDataException("datacenterId is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.DatacenterId = datacenterId;
     }
     // to ensure "id" is required (not null)
     if (id == null)
     {
         throw new InvalidDataException("id is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.Id = id;
     }
     // to ensure "name" is required (not null)
     if (name == null)
     {
         throw new InvalidDataException("name is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.Name = name;
     }
     // to ensure "networkType" is required (not null)
     if (networkType == null)
     {
         throw new InvalidDataException("networkType is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.NetworkType = networkType;
     }
     // to ensure "operatingSystem" is required (not null)
     if (operatingSystem == null)
     {
         throw new InvalidDataException("operatingSystem is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.OperatingSystem = operatingSystem;
     }
     // to ensure "operatingSystemDisplayName" is required (not null)
     if (operatingSystemDisplayName == null)
     {
         throw new InvalidDataException("operatingSystemDisplayName is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.OperatingSystemDisplayName = operatingSystemDisplayName;
     }
     // to ensure "path" is required (not null)
     if (path == null)
     {
         throw new InvalidDataException("path is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.Path = path;
     }
     // to ensure "vcenterId" is required (not null)
     if (vcenterId == null)
     {
         throw new InvalidDataException("vcenterId is a required property for BaseVMInfo and cannot be null");
     }
     else
     {
         this.VcenterId = vcenterId;
     }
     this.IncompatibleReasons = incompatibleReasons;
 }