Inheritance: ExtensibleJsonObject
Exemplo n.º 1
0
 public UpdatePortRequest(string portId, bool? adminStateUp = null, string[] securityGroups = null, FixedIp[] fixedIps = null, AllowedAddressPair[] allowedAddressPairs = null)
 {
     this.Port = new Port()
     {
         AdminStateUp = adminStateUp,
         SecurityGroups = securityGroups,
         FixedIPs = fixedIps,
         AllowedAddressPairs = allowedAddressPairs
     };
 }
Exemplo n.º 2
0
 public NewPort(string networkId, FixedIp[] fixedIps = null, Dictionary<string, string> allowedAddressPairs = null, string tenantId = null, string[] securityGroups = null, string status = null)
 {
     this.NetworkId = networkId;
     this.FixedIPs = fixedIps;
     this.AllowedAddressPairs = allowedAddressPairs;
     this.TenantId = tenantId;
     this.SecurityGroups = securityGroups;
     this.Status = status;
 }