Skip to content

Commit

Permalink
Auto generated from specifications change.
Browse files Browse the repository at this point in the history
nuagebot committed Oct 13, 2017
1 parent ae0579d commit c713658
Showing 6 changed files with 426 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/main/java/net/nuagenetworks/vspk/v4_0/Enterprise.java
Original file line number Diff line number Diff line change
@@ -64,6 +64,7 @@
import net.nuagenetworks.vspk.v4_0.fetchers.IKEGatewaysFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IKEGatewayProfilesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IKEPSKsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IngressQOSPoliciesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.JobsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.KeyServerMonitorsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.L2DomainsFetcher;
@@ -280,6 +281,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL };
@JsonIgnore
private IKEPSKsFetcher iKEPSKs;

@JsonIgnore
private IngressQOSPoliciesFetcher ingressQOSPolicies;

@JsonIgnore
private JobsFetcher jobs;

@@ -416,6 +420,8 @@ public Enterprise() {

iKEPSKs = new IKEPSKsFetcher(this);

ingressQOSPolicies = new IngressQOSPoliciesFetcher(this);

jobs = new JobsFetcher(this);

keyServerMonitors = new KeyServerMonitorsFetcher(this);
@@ -896,6 +902,11 @@ public IKEPSKsFetcher getIKEPSKs() {
return iKEPSKs;
}

@JsonIgnore
public IngressQOSPoliciesFetcher getIngressQOSPolicies() {
return ingressQOSPolicies;
}

@JsonIgnore
public JobsFetcher getJobs() {
return jobs;
292 changes: 292 additions & 0 deletions src/main/java/net/nuagenetworks/vspk/v4_0/IngressQOSPolicy.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
/*
Copyright (c) 2015, Alcatel-Lucent Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package net.nuagenetworks.vspk.v4_0;

import net.nuagenetworks.bambou.RestObject;
import net.nuagenetworks.bambou.annotation.RestEntity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;


import net.nuagenetworks.vspk.v4_0.fetchers.GlobalMetadatasFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.MetadatasFetcher;

@JsonIgnoreProperties(ignoreUnknown = true)
@RestEntity(restName = "ingressqospolicy", resourceName = "ingressqospolicies")
public class IngressQOSPolicy extends RestObject {

private static final long serialVersionUID = 1L;



public enum EntityScope { ENTERPRISE, GLOBAL };

public enum Queue1ForwardingClasses { NONE, A, B, C, D, E, F, G, H };

public enum Queue2ForwardingClasses { NONE, A, B, C, D, E, F, G, H };

public enum Queue3ForwardingClasses { NONE, A, B, C, D, E, F, G, H };

public enum Queue4ForwardingClasses { NONE, A, B, C, D, E, F, G, H };


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

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

@JsonProperty(value = "entityScope")
protected EntityScope entityScope;

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

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

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

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

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

@JsonProperty(value = "queue1ForwardingClasses")
protected java.util.List<Queue1ForwardingClasses> queue1ForwardingClasses;

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

@JsonProperty(value = "queue2ForwardingClasses")
protected java.util.List<Queue2ForwardingClasses> queue2ForwardingClasses;

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

@JsonProperty(value = "queue3ForwardingClasses")
protected java.util.List<Queue3ForwardingClasses> queue3ForwardingClasses;

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

@JsonProperty(value = "queue4ForwardingClasses")
protected java.util.List<Queue4ForwardingClasses> queue4ForwardingClasses;



@JsonIgnore
private GlobalMetadatasFetcher globalMetadatas;

@JsonIgnore
private MetadatasFetcher metadatas;


public IngressQOSPolicy() {

globalMetadatas = new GlobalMetadatasFetcher(this);

metadatas = new MetadatasFetcher(this);

}


@JsonIgnore
public String getAssocEgressQosId() {
return assocEgressQosId;
}

@JsonIgnore
public void setAssocEgressQosId(String value) {
this.assocEgressQosId = value;
}

@JsonIgnore
public String getDescription() {
return description;
}

@JsonIgnore
public void setDescription(String value) {
this.description = value;
}

@JsonIgnore
public EntityScope getEntityScope() {
return entityScope;
}

@JsonIgnore
public void setEntityScope(EntityScope value) {
this.entityScope = value;
}

@JsonIgnore
public String getExternalID() {
return externalID;
}

@JsonIgnore
public void setExternalID(String value) {
this.externalID = value;
}

@JsonIgnore
public String getLastUpdatedBy() {
return lastUpdatedBy;
}

@JsonIgnore
public void setLastUpdatedBy(String value) {
this.lastUpdatedBy = value;
}

@JsonIgnore
public String getName() {
return name;
}

@JsonIgnore
public void setName(String value) {
this.name = value;
}

@JsonIgnore
public String getParentQueueAssociatedRateLimiterID() {
return parentQueueAssociatedRateLimiterID;
}

@JsonIgnore
public void setParentQueueAssociatedRateLimiterID(String value) {
this.parentQueueAssociatedRateLimiterID = value;
}

@JsonIgnore
public String getQueue1AssociatedRateLimiterID() {
return queue1AssociatedRateLimiterID;
}

@JsonIgnore
public void setQueue1AssociatedRateLimiterID(String value) {
this.queue1AssociatedRateLimiterID = value;
}

@JsonIgnore
public java.util.List<Queue1ForwardingClasses> getQueue1ForwardingClasses() {
return queue1ForwardingClasses;
}

@JsonIgnore
public void setQueue1ForwardingClasses(java.util.List<Queue1ForwardingClasses> value) {
this.queue1ForwardingClasses = value;
}

@JsonIgnore
public String getQueue2AssociatedRateLimiterID() {
return queue2AssociatedRateLimiterID;
}

@JsonIgnore
public void setQueue2AssociatedRateLimiterID(String value) {
this.queue2AssociatedRateLimiterID = value;
}

@JsonIgnore
public java.util.List<Queue2ForwardingClasses> getQueue2ForwardingClasses() {
return queue2ForwardingClasses;
}

@JsonIgnore
public void setQueue2ForwardingClasses(java.util.List<Queue2ForwardingClasses> value) {
this.queue2ForwardingClasses = value;
}

@JsonIgnore
public String getQueue3AssociatedRateLimiterID() {
return queue3AssociatedRateLimiterID;
}

@JsonIgnore
public void setQueue3AssociatedRateLimiterID(String value) {
this.queue3AssociatedRateLimiterID = value;
}

@JsonIgnore
public java.util.List<Queue3ForwardingClasses> getQueue3ForwardingClasses() {
return queue3ForwardingClasses;
}

@JsonIgnore
public void setQueue3ForwardingClasses(java.util.List<Queue3ForwardingClasses> value) {
this.queue3ForwardingClasses = value;
}

@JsonIgnore
public String getQueue4AssociatedRateLimiterID() {
return queue4AssociatedRateLimiterID;
}

@JsonIgnore
public void setQueue4AssociatedRateLimiterID(String value) {
this.queue4AssociatedRateLimiterID = value;
}

@JsonIgnore
public java.util.List<Queue4ForwardingClasses> getQueue4ForwardingClasses() {
return queue4ForwardingClasses;
}

@JsonIgnore
public void setQueue4ForwardingClasses(java.util.List<Queue4ForwardingClasses> value) {
this.queue4ForwardingClasses = value;
}



@JsonIgnore
public GlobalMetadatasFetcher getGlobalMetadatas() {
return globalMetadatas;
}

@JsonIgnore
public MetadatasFetcher getMetadatas() {
return metadatas;
}


public String toString() {
return "IngressQOSPolicy [" + "assocEgressQosId=" + assocEgressQosId + ", description=" + description + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", name=" + name + ", parentQueueAssociatedRateLimiterID=" + parentQueueAssociatedRateLimiterID + ", queue1AssociatedRateLimiterID=" + queue1AssociatedRateLimiterID + ", queue1ForwardingClasses=" + queue1ForwardingClasses + ", queue2AssociatedRateLimiterID=" + queue2AssociatedRateLimiterID + ", queue2ForwardingClasses=" + queue2ForwardingClasses + ", queue3AssociatedRateLimiterID=" + queue3AssociatedRateLimiterID + ", queue3ForwardingClasses=" + queue3ForwardingClasses + ", queue4AssociatedRateLimiterID=" + queue4AssociatedRateLimiterID + ", queue4ForwardingClasses=" + queue4ForwardingClasses + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", owner=" + owner + "]";
}


}
11 changes: 11 additions & 0 deletions src/main/java/net/nuagenetworks/vspk/v4_0/Me.java
Original file line number Diff line number Diff line change
@@ -66,6 +66,7 @@
import net.nuagenetworks.vspk.v4_0.fetchers.IngressACLEntryTemplatesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IngressACLTemplatesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IngressAdvFwdEntryTemplatesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.IngressQOSPoliciesFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.JobsFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.KeyServerMembersFetcher;
import net.nuagenetworks.vspk.v4_0.fetchers.L2DomainsFetcher;
@@ -270,6 +271,9 @@ public enum EntityScope { ENTERPRISE, GLOBAL };
@JsonIgnore
private IngressAdvFwdEntryTemplatesFetcher ingressAdvFwdEntryTemplates;

@JsonIgnore
private IngressQOSPoliciesFetcher ingressQOSPolicies;

@JsonIgnore
private JobsFetcher jobs;

@@ -458,6 +462,8 @@ public Me() {

ingressAdvFwdEntryTemplates = new IngressAdvFwdEntryTemplatesFetcher(this);

ingressQOSPolicies = new IngressQOSPoliciesFetcher(this);

jobs = new JobsFetcher(this);

keyServerMembers = new KeyServerMembersFetcher(this);
@@ -880,6 +886,11 @@ public IngressAdvFwdEntryTemplatesFetcher getIngressAdvFwdEntryTemplates() {
return ingressAdvFwdEntryTemplates;
}

@JsonIgnore
public IngressQOSPoliciesFetcher getIngressQOSPolicies() {
return ingressQOSPolicies;
}

@JsonIgnore
public JobsFetcher getJobs() {
return jobs;
Original file line number Diff line number Diff line change
@@ -45,15 +45,26 @@ public class PerformanceMonitor extends RestObject {



public enum EntityScope { ENTERPRISE, GLOBAL };

public enum ServiceClass { A, B, C, D, E, F, G, H };


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

@JsonProperty(value = "entityScope")
protected EntityScope entityScope;

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

@JsonProperty(value = "interval")
protected Long interval;

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

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

@@ -92,6 +103,26 @@ public void setDescription(String value) {
this.description = value;
}

@JsonIgnore
public EntityScope getEntityScope() {
return entityScope;
}

@JsonIgnore
public void setEntityScope(EntityScope value) {
this.entityScope = value;
}

@JsonIgnore
public String getExternalID() {
return externalID;
}

@JsonIgnore
public void setExternalID(String value) {
this.externalID = value;
}

@JsonIgnore
public Long getInterval() {
return interval;
@@ -102,6 +133,16 @@ public void setInterval(Long value) {
this.interval = value;
}

@JsonIgnore
public String getLastUpdatedBy() {
return lastUpdatedBy;
}

@JsonIgnore
public void setLastUpdatedBy(String value) {
this.lastUpdatedBy = value;
}

@JsonIgnore
public String getName() {
return name;
@@ -161,7 +202,7 @@ public ApplicationperformancemanagementsFetcher getApplicationperformancemanagem


public String toString() {
return "PerformanceMonitor [" + "description=" + description + ", interval=" + interval + ", name=" + name + ", numberOfPackets=" + numberOfPackets + ", payloadSize=" + payloadSize + ", readOnly=" + readOnly + ", serviceClass=" + serviceClass + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
return "PerformanceMonitor [" + "description=" + description + ", entityScope=" + entityScope + ", externalID=" + externalID + ", interval=" + interval + ", lastUpdatedBy=" + lastUpdatedBy + ", name=" + name + ", numberOfPackets=" + numberOfPackets + ", payloadSize=" + payloadSize + ", readOnly=" + readOnly + ", serviceClass=" + serviceClass + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", owner=" + owner + "]";
}

Original file line number Diff line number Diff line change
@@ -124,6 +124,12 @@ public enum UseGlobalMAC { DISABLED, ENABLED };
@JsonProperty(value = "sharedResourceParentID")
protected String sharedResourceParentID;

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

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

@JsonProperty(value = "type")
protected Type type;

@@ -408,6 +414,26 @@ public void setSharedResourceParentID(String value) {
this.sharedResourceParentID = value;
}

@JsonIgnore
public String getSubnetRouteDistinguisher() {
return subnetRouteDistinguisher;
}

@JsonIgnore
public void setSubnetRouteDistinguisher(String value) {
this.subnetRouteDistinguisher = value;
}

@JsonIgnore
public String getSubnetRouteTarget() {
return subnetRouteTarget;
}

@JsonIgnore
public void setSubnetRouteTarget(String value) {
this.subnetRouteTarget = value;
}

@JsonIgnore
public Type getType() {
return type;
@@ -532,7 +558,7 @@ public VPNConnectionsFetcher getVPNConnections() {


public String toString() {
return "SharedNetworkResource [" + "DHCPManaged=" + DHCPManaged + ", ECMPCount=" + ECMPCount + ", accessRestrictionEnabled=" + accessRestrictionEnabled + ", address=" + address + ", associatedPATMapperID=" + associatedPATMapperID + ", backHaulRouteDistinguisher=" + backHaulRouteDistinguisher + ", backHaulRouteTarget=" + backHaulRouteTarget + ", backHaulVNID=" + backHaulVNID + ", description=" + description + ", domainRouteDistinguisher=" + domainRouteDistinguisher + ", domainRouteTarget=" + domainRouteTarget + ", dynamicPATAllocationEnabled=" + dynamicPATAllocationEnabled + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gateway=" + gateway + ", gatewayMACAddress=" + gatewayMACAddress + ", lastUpdatedBy=" + lastUpdatedBy + ", name=" + name + ", netmask=" + netmask + ", permittedActionType=" + permittedActionType + ", sharedResourceParentID=" + sharedResourceParentID + ", type=" + type + ", underlay=" + underlay + ", uplinkGWVlanAttachmentID=" + uplinkGWVlanAttachmentID + ", uplinkInterfaceIP=" + uplinkInterfaceIP + ", uplinkInterfaceMAC=" + uplinkInterfaceMAC + ", uplinkVPortName=" + uplinkVPortName + ", useGlobalMAC=" + useGlobalMAC + ", vnID=" + vnID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
return "SharedNetworkResource [" + "DHCPManaged=" + DHCPManaged + ", ECMPCount=" + ECMPCount + ", accessRestrictionEnabled=" + accessRestrictionEnabled + ", address=" + address + ", associatedPATMapperID=" + associatedPATMapperID + ", backHaulRouteDistinguisher=" + backHaulRouteDistinguisher + ", backHaulRouteTarget=" + backHaulRouteTarget + ", backHaulVNID=" + backHaulVNID + ", description=" + description + ", domainRouteDistinguisher=" + domainRouteDistinguisher + ", domainRouteTarget=" + domainRouteTarget + ", dynamicPATAllocationEnabled=" + dynamicPATAllocationEnabled + ", entityScope=" + entityScope + ", externalID=" + externalID + ", gateway=" + gateway + ", gatewayMACAddress=" + gatewayMACAddress + ", lastUpdatedBy=" + lastUpdatedBy + ", name=" + name + ", netmask=" + netmask + ", permittedActionType=" + permittedActionType + ", sharedResourceParentID=" + sharedResourceParentID + ", subnetRouteDistinguisher=" + subnetRouteDistinguisher + ", subnetRouteTarget=" + subnetRouteTarget + ", type=" + type + ", underlay=" + underlay + ", uplinkGWVlanAttachmentID=" + uplinkGWVlanAttachmentID + ", uplinkInterfaceIP=" + uplinkInterfaceIP + ", uplinkInterfaceMAC=" + uplinkInterfaceMAC + ", uplinkVPortName=" + uplinkVPortName + ", useGlobalMAC=" + useGlobalMAC + ", vnID=" + vnID + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + ", creationDate=" + creationDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", owner=" + owner + "]";
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
Copyright (c) 2015, Alcatel-Lucent Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

package net.nuagenetworks.vspk.v4_0.fetchers;

import net.nuagenetworks.bambou.RestObject;
import net.nuagenetworks.bambou.RestFetcher;
import net.nuagenetworks.vspk.v4_0.IngressQOSPolicy;

public class IngressQOSPoliciesFetcher extends RestFetcher<IngressQOSPolicy> {

private static final long serialVersionUID = 1L;

public IngressQOSPoliciesFetcher(RestObject parentRestObj) {
super(parentRestObj, IngressQOSPolicy.class);
}


}

0 comments on commit c713658

Please sign in to comment.