jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarasenko Evgeny <notificati...@github.com>
Subject Re: [jclouds] Implemented compute attach interfaces extension. (#497)
Date Mon, 01 Sep 2014 03:41:33 GMT
> +      this.portId = checkNotNull(portId, "portId");
> +      this.portState = portState;
> +      this.macAddress = macAddress;
> +      this.fixedIps = fixedIps;
> +   }
> +
> +   @Nullable
> +   public String getNetworkId() {
> +      return this.networkId;
> +   }
> +
> +   public String getPortId() {
> +      return this.portId;
> +   }
> +
> +   @Nullable

I'm not sure about this annotation, when we constracted request for PUT method we pass
```javascript
{
    "interfaceAttachment": {
        "port_id": "ce531f90-199f-48c0-816c-13e38010b442"
    }
}
```
Is it mean that all except portId is nullable? I suppose that can be rewritten with payload
annotation, after that all fields became not nullable.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/497/files#r16939975
Mime
View raw message