-
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 API Specifications for 20.10.6
- Loading branch information
Showing
2 changed files
with
254 additions
and
0 deletions.
There are no files selected for viewing
211 changes: 211 additions & 0 deletions
211
src/main/java/net/nuagenetworks/vspk/v6/NSGMigrationProfile.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,211 @@ | ||
/* | ||
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.v6; | ||
|
||
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.v6.fetchers.PermissionsFetcher; | ||
|
||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
@RestEntity(restName = "nsgmigrationprofile", resourceName = "nsgmigrationprofiles") | ||
public class NSGMigrationProfile extends RestObject { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
|
||
public enum EEntityScope { ENTERPRISE, GLOBAL }; | ||
|
||
|
||
@JsonProperty(value = "creationDate") | ||
|
||
protected String creationDate; | ||
|
||
@JsonProperty(value = "description") | ||
|
||
protected String description; | ||
|
||
@JsonProperty(value = "destinationProxyFQDN") | ||
|
||
protected String destinationProxyFQDN; | ||
|
||
@JsonProperty(value = "entityScope") | ||
|
||
protected EEntityScope entityScope; | ||
|
||
@JsonProperty(value = "externalID") | ||
|
||
protected String externalID; | ||
|
||
@JsonProperty(value = "lastUpdatedBy") | ||
|
||
protected String lastUpdatedBy; | ||
|
||
@JsonProperty(value = "lastUpdatedDate") | ||
|
||
protected String lastUpdatedDate; | ||
|
||
@JsonProperty(value = "name") | ||
|
||
protected String name; | ||
|
||
@JsonProperty(value = "owner") | ||
|
||
protected String owner; | ||
|
||
|
||
|
||
@JsonIgnore | ||
private PermissionsFetcher permissions; | ||
|
||
|
||
public NSGMigrationProfile() { | ||
|
||
permissions = new PermissionsFetcher(this); | ||
|
||
} | ||
|
||
|
||
|
||
@JsonIgnore | ||
public String getCreationDate() { | ||
return creationDate; | ||
} | ||
|
||
@JsonIgnore | ||
public void setCreationDate(String value) { | ||
this.creationDate = value; | ||
} | ||
|
||
|
||
@JsonIgnore | ||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
@JsonIgnore | ||
public void setDescription(String value) { | ||
this.description = value; | ||
} | ||
|
||
|
||
@JsonIgnore | ||
public String getDestinationProxyFQDN() { | ||
return destinationProxyFQDN; | ||
} | ||
|
||
@JsonIgnore | ||
public void setDestinationProxyFQDN(String value) { | ||
this.destinationProxyFQDN = value; | ||
} | ||
|
||
|
||
@JsonIgnore | ||
public EEntityScope getEntityScope() { | ||
return entityScope; | ||
} | ||
|
||
@JsonIgnore | ||
public void setEntityScope(EEntityScope 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 getLastUpdatedDate() { | ||
return lastUpdatedDate; | ||
} | ||
|
||
@JsonIgnore | ||
public void setLastUpdatedDate(String value) { | ||
this.lastUpdatedDate = value; | ||
} | ||
|
||
|
||
@JsonIgnore | ||
public String getName() { | ||
return name; | ||
} | ||
|
||
@JsonIgnore | ||
public void setName(String value) { | ||
this.name = value; | ||
} | ||
|
||
|
||
@JsonIgnore | ||
public String getOwner() { | ||
return owner; | ||
} | ||
|
||
@JsonIgnore | ||
public void setOwner(String value) { | ||
this.owner = value; | ||
} | ||
|
||
|
||
|
||
@JsonIgnore | ||
public PermissionsFetcher getPermissions() { | ||
return permissions; | ||
} | ||
|
||
|
||
public String toString() { | ||
return "NSGMigrationProfile [" + "creationDate=" + creationDate + ", description=" + description + ", destinationProxyFQDN=" + destinationProxyFQDN + ", entityScope=" + entityScope + ", externalID=" + externalID + ", lastUpdatedBy=" + lastUpdatedBy + ", lastUpdatedDate=" + lastUpdatedDate + ", name=" + name + ", owner=" + owner + ", id=" + id + ", parentId=" + parentId + ", parentType=" + parentType + "]"; | ||
} | ||
|
||
|
||
} |
43 changes: 43 additions & 0 deletions
43
src/main/java/net/nuagenetworks/vspk/v6/fetchers/NSGMigrationProfilesFetcher.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.v6.fetchers; | ||
|
||
import net.nuagenetworks.bambou.RestObject; | ||
import net.nuagenetworks.bambou.RestFetcher; | ||
import net.nuagenetworks.vspk.v6.NSGMigrationProfile; | ||
|
||
public class NSGMigrationProfilesFetcher extends RestFetcher<NSGMigrationProfile> { | ||
|
||
private static final long serialVersionUID = 1L; | ||
|
||
public NSGMigrationProfilesFetcher(RestObject parentRestObj) { | ||
super(parentRestObj, NSGMigrationProfile.class); | ||
} | ||
|
||
|
||
} |