Skip to content

Commit

Permalink
Auto generated from specifications change.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuagebot committed Oct 20, 2017
1 parent a7cb966 commit 27525bd
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.nuagenetworks</groupId>
<artifactId>vspk</artifactId>
<version>4.0.11</version>
<version>4.0.11.1</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/nuagenetworks/vspk/v4_0/NSPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public enum PermittedAction { ALL, DEPLOY, EXTEND, INSTANTIATE, READ, USE };

public enum PortType { ACCESS, NETWORK };

public enum Speed { AUTONEGOTIATE, BASE10, BASET1000, BASETX100, BASEX10G };
public enum Speed { AUTONEGOTIATE, BASET10, BASET1000, BASETX100, BASEX10G };

public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };

Expand Down
14 changes: 6 additions & 8 deletions src/main/java/net/nuagenetworks/vspk/v4_0/UplinkConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public class UplinkConnection extends RestObject {



public enum Address { IPv4, IPv6 };

public enum AdvertisementCriteria { BFD, CONTROL_SESSION, OPERATIONAL_LINK };

public enum InterfaceConnectionType { AUTOMATIC, EMBEDDED, PCI_EXPRESS, USB_ETHERNET, USB_MODEM };
Expand All @@ -62,7 +60,7 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN };
protected String DNSAddress;

@JsonProperty(value = "address")
protected Address address;
protected String address;

@JsonProperty(value = "advertisementCriteria")
protected AdvertisementCriteria advertisementCriteria;
Expand Down Expand Up @@ -95,7 +93,7 @@ public enum Role { NONE, PRIMARY, SECONDARY, TERTIARY, UNKNOWN };
protected Role role;

@JsonProperty(value = "uplinkID")
protected String uplinkID;
protected Long uplinkID;

@JsonProperty(value = "username")
protected String username;
Expand Down Expand Up @@ -134,12 +132,12 @@ public void setDNSAddress(String value) {
}

@JsonIgnore
public Address getAddress() {
public String getAddress() {
return address;
}

@JsonIgnore
public void setAddress(Address value) {
public void setAddress(String value) {
this.address = value;
}

Expand Down Expand Up @@ -244,12 +242,12 @@ public void setRole(Role value) {
}

@JsonIgnore
public String getUplinkID() {
public Long getUplinkID() {
return uplinkID;
}

@JsonIgnore
public void setUplinkID(String value) {
public void setUplinkID(Long value) {
this.uplinkID = value;
}

Expand Down
54 changes: 53 additions & 1 deletion src/main/java/net/nuagenetworks/vspk/v4_0/VLAN.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import net.nuagenetworks.vspk.v4_0.fetchers.MetadatasFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.PATNATPoolsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.PermissionsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.StatisticsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.UplinkConnectionsFetcher;

@JsonIgnoreProperties(ignoreUnknown = true)
Expand All @@ -56,6 +57,8 @@ public class VLAN extends RestObject {



public enum AssociatedConnectionType { BR_CONNECTION, UPLINK_CONNECTION };

public enum EntityScope { ENTERPRISE, GLOBAL };

public enum PermittedAction { ALL, DEPLOY, EXTEND, INSTANTIATE, READ, USE };
Expand All @@ -66,9 +69,15 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonProperty(value = "associatedBGPProfileID")
protected String associatedBGPProfileID;

@JsonProperty(value = "associatedConnectionType")
protected AssociatedConnectionType associatedConnectionType;

@JsonProperty(value = "associatedEgressQOSPolicyID")
protected String associatedEgressQOSPolicyID;

@JsonProperty(value = "associatedIngressQOSPolicyID")
protected String associatedIngressQOSPolicyID;

@JsonProperty(value = "associatedUplinkConnectionID")
protected String associatedUplinkConnectionID;

Expand All @@ -90,6 +99,9 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonProperty(value = "gatewayID")
protected String gatewayID;

@JsonProperty(value = "isUplink")
protected Boolean isUplink;

@JsonProperty(value = "lastUpdatedBy")
protected String lastUpdatedBy;

Expand Down Expand Up @@ -155,6 +167,9 @@ public enum Status { INITIALIZED, MISMATCH, ORPHAN, READY };
@JsonIgnore
private PermissionsFetcher permissions;

@JsonIgnore
private StatisticsFetcher statistics;

@JsonIgnore
private UplinkConnectionsFetcher uplinkConnections;

Expand Down Expand Up @@ -183,6 +198,8 @@ public VLAN() {

permissions = new PermissionsFetcher(this);

statistics = new StatisticsFetcher(this);

uplinkConnections = new UplinkConnectionsFetcher(this);

}
Expand All @@ -198,6 +215,16 @@ public void setAssociatedBGPProfileID(String value) {
this.associatedBGPProfileID = value;
}

@JsonIgnore
public AssociatedConnectionType getAssociatedConnectionType() {
return associatedConnectionType;
}

@JsonIgnore
public void setAssociatedConnectionType(AssociatedConnectionType value) {
this.associatedConnectionType = value;
}

@JsonIgnore
public String getAssociatedEgressQOSPolicyID() {
return associatedEgressQOSPolicyID;
Expand All @@ -208,6 +235,16 @@ public void setAssociatedEgressQOSPolicyID(String value) {
this.associatedEgressQOSPolicyID = value;
}

@JsonIgnore
public String getAssociatedIngressQOSPolicyID() {
return associatedIngressQOSPolicyID;
}

@JsonIgnore
public void setAssociatedIngressQOSPolicyID(String value) {
this.associatedIngressQOSPolicyID = value;
}

@JsonIgnore
public String getAssociatedUplinkConnectionID() {
return associatedUplinkConnectionID;
Expand Down Expand Up @@ -278,6 +315,16 @@ public void setGatewayID(String value) {
this.gatewayID = value;
}

@JsonIgnore
public Boolean getIsUplink() {
return isUplink;
}

@JsonIgnore
public void setIsUplink(Boolean value) {
this.isUplink = value;
}

@JsonIgnore
public String getLastUpdatedBy() {
return lastUpdatedBy;
Expand Down Expand Up @@ -435,14 +482,19 @@ public PermissionsFetcher getPermissions() {
return permissions;
}

@JsonIgnore
public StatisticsFetcher getStatistics() {
return statistics;
}

@JsonIgnore
public UplinkConnectionsFetcher getUplinkConnections() {
return uplinkConnections;
}


public String toString() {
return "VLAN [" + "associatedBGPProfileID=" + associatedBGPProfileID + ", associatedEgressQOSPolicyID=" + associatedEgressQOSPolicyID + ", associatedUplinkConnectionID=" + associatedUplinkConnectionID + ", associatedVSCProfileID=" + associatedVSCProfileID + ", description=" + description + ", ducVlan=" + ducVlan + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gatewayID=" + gatewayID + ", lastUpdatedBy=" + lastUpdatedBy + ", permittedAction=" + permittedAction + ", readonly=" + readonly + ", restricted=" + restricted + ", status=" + status + ", templateID=" + templateID + ", useUserMnemonic=" + useUserMnemonic + ", userMnemonic=" + userMnemonic + ", value=" + value + ", vportID=" + vportID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
return "VLAN [" + "associatedBGPProfileID=" + associatedBGPProfileID + ", associatedConnectionType=" + associatedConnectionType + ", associatedEgressQOSPolicyID=" + associatedEgressQOSPolicyID + ", associatedIngressQOSPolicyID=" + associatedIngressQOSPolicyID + ", associatedUplinkConnectionID=" + associatedUplinkConnectionID + ", associatedVSCProfileID=" + associatedVSCProfileID + ", description=" + description + ", ducVlan=" + ducVlan + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gatewayID=" + gatewayID + ", isUplink=" + isUplink + ", lastUpdatedBy=" + lastUpdatedBy + ", permittedAction=" + permittedAction + ", readonly=" + readonly + ", restricted=" + restricted + ", status=" + status + ", templateID=" + templateID + ", useUserMnemonic=" + useUserMnemonic + ", userMnemonic=" + userMnemonic + ", value=" + value + ", vportID=" + vportID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", owner=" + owner + "]";
}

Expand Down

0 comments on commit 27525bd

Please sign in to comment.