-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto generated from specifications change.
nuagebot
committed
Oct 13, 2017
1 parent
ae0579d
commit c713658
Showing
6 changed files
with
426 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
292 changes: 292 additions & 0 deletions
292
src/main/java/net/nuagenetworks/vspk/v4_0/IngressQOSPolicy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 + "]"; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/main/java/net/nuagenetworks/vspk/v4_0/fetchers/IngressQOSPoliciesFetcher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
|
||
|
||
} |