-
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.
- Loading branch information
nuagebot
committed
Jun 26, 2017
1 parent
99b3afa
commit b662a30
Showing
18 changed files
with
398 additions
and
17 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
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
172 changes: 172 additions & 0 deletions
172
src/main/java/net/nuagenetworks/vspk/v4_0/BFDSession.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,172 @@ | ||
/* | ||
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 = "bfdsession", resourceName = "bfdsessions") | ||
public class BFDSession extends RestObject { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
|
||
public enum EntityScope { ENTERPRISE, GLOBAL }; | ||
|
||
|
||
@JsonProperty(value = "BFDDestinationIP") | ||
protected String BFDDestinationIP; | ||
|
||
@JsonProperty(value = "BFDMultiplier") | ||
protected Long BFDMultiplier; | ||
|
||
@JsonProperty(value = "BFDTimer") | ||
protected Long BFDTimer; | ||
|
||
@JsonProperty(value = "entityScope") | ||
protected EntityScope entityScope; | ||
|
||
@JsonProperty(value = "externalID") | ||
protected String externalID; | ||
|
||
@JsonProperty(value = "lastUpdatedBy") | ||
protected String lastUpdatedBy; | ||
|
||
@JsonProperty(value = "multiHopEnabled") | ||
protected Boolean multiHopEnabled; | ||
|
||
|
||
|
||
@JsonIgnore | ||
private GlobalMetadatasFetcher globalMetadatas; | ||
|
||
@JsonIgnore | ||
private MetadatasFetcher metadatas; | ||
|
||
|
||
public BFDSession() { | ||
|
||
globalMetadatas = new GlobalMetadatasFetcher(this); | ||
|
||
metadatas = new MetadatasFetcher(this); | ||
|
||
} | ||
|
||
@JsonIgnore | ||
public String getBFDDestinationIP() { | ||
return BFDDestinationIP; | ||
} | ||
|
||
@JsonIgnore | ||
public void setBFDDestinationIP(String value) { | ||
this.BFDDestinationIP = value; | ||
} | ||
@JsonIgnore | ||
public Long getBFDMultiplier() { | ||
return BFDMultiplier; | ||
} | ||
|
||
@JsonIgnore | ||
public void setBFDMultiplier(Long value) { | ||
this.BFDMultiplier = value; | ||
} | ||
@JsonIgnore | ||
public Long getBFDTimer() { | ||
return BFDTimer; | ||
} | ||
|
||
@JsonIgnore | ||
public void setBFDTimer(Long value) { | ||
this.BFDTimer = 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 Boolean getMultiHopEnabled() { | ||
return multiHopEnabled; | ||
} | ||
|
||
@JsonIgnore | ||
public void setMultiHopEnabled(Boolean value) { | ||
this.multiHopEnabled = value; | ||
} | ||
|
||
|
||
|
||
@JsonIgnore | ||
public GlobalMetadatasFetcher getGlobalMetadatas() { | ||
return globalMetadatas; | ||
} | ||
|
||
@JsonIgnore | ||
public MetadatasFetcher getMetadatas() { | ||
return metadatas; | ||
} | ||
|
||
|
||
public String toString() { | ||
return "BFDSession [" + "BFDDestinationIP=" + BFDDestinationIP + ", BFDMultiplier=" + BFDMultiplier + ", BFDTimer=" + BFDTimer + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", multiHopEnabled=" + multiHopEnabled + ", 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
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
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
Oops, something went wrong.