Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pdellaert committed Aug 2, 2022
1 parent 42aae1f commit 1e81f56
Show file tree
Hide file tree
Showing 12 changed files with 672 additions and 6 deletions.
2 changes: 1 addition & 1 deletion vspk/package.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>net.nuagenetworks.vspk.dll</id>
<version>20.10.8</version>
<version>20.10.9</version>
<authors>nuagenetworks</authors>
<owners>nuagenetworks</owners>
<projectUrl>https://github.com/nuagenetworks/vspk-csharp</projectUrl>
Expand Down
182 changes: 182 additions & 0 deletions vspk/vspk/Ddnsconfig.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
/*
Copyright (c) 2017, Nokia
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.
*/


using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using net.nuagenetworks.bambou;

using net.nuagenetworks.vspk.v6.fetchers;

namespace net.nuagenetworks.vspk.v6
{

public class Ddnsconfig: RestObject {

private const long serialVersionUID = 1L;


public enum EConnectionStatus {FAILED,SUCCESS,UNKNOWN };
public enum EProviderName {DYN_DNS,NO_IP };


[JsonProperty("assocGatewayId")]
protected String _assocGatewayId;
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("connectionStatus")]
protected EConnectionStatus? _connectionStatus;

[JsonProperty("enableDDNSConfig")]
protected bool _enableDDNSConfig;

[JsonProperty("hostname")]
protected String _hostname;

[JsonProperty("password")]
protected String _password;
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("providerName")]
protected EProviderName? _providerName;

[JsonProperty("username")]
protected String _username;



[JsonIgnore]
private DdnsconfigbindingsFetcher _ddnsconfigbindings;

public Ddnsconfig() {

_ddnsconfigbindings = new DdnsconfigbindingsFetcher(this);

}


[JsonIgnore]
public String NUAssocGatewayId {
get {
return _assocGatewayId;
}
set {
this._assocGatewayId = value;
}
}


[JsonIgnore]
public EConnectionStatus? NUConnectionStatus {
get {
return _connectionStatus;
}
set {
this._connectionStatus = value;
}
}


[JsonIgnore]
public bool NUEnableDDNSConfig {
get {
return _enableDDNSConfig;
}
set {
this._enableDDNSConfig = value;
}
}


[JsonIgnore]
public String NUHostname {
get {
return _hostname;
}
set {
this._hostname = value;
}
}


[JsonIgnore]
public String NUPassword {
get {
return _password;
}
set {
this._password = value;
}
}


[JsonIgnore]
public EProviderName? NUProviderName {
get {
return _providerName;
}
set {
this._providerName = value;
}
}


[JsonIgnore]
public String NUUsername {
get {
return _username;
}
set {
this._username = value;
}
}




public DdnsconfigbindingsFetcher getDdnsconfigbindings() {
return _ddnsconfigbindings;
}


public String toString() {
return "Ddnsconfig [" + "assocGatewayId=" + _assocGatewayId + ", connectionStatus=" + _connectionStatus + ", enableDDNSConfig=" + _enableDDNSConfig + ", hostname=" + _hostname + ", password=" + _password + ", providerName=" + _providerName + ", username=" + _username + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}



public static String getResourceName()
{
return "ddnsconfigs";
}

public static String getRestName()
{
return "ddnsconfig";
}
}
}
129 changes: 129 additions & 0 deletions vspk/vspk/Ddnsconfigbinding.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*
Copyright (c) 2017, Nokia
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.
*/


using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using net.nuagenetworks.bambou;

using net.nuagenetworks.vspk.v6.fetchers;

namespace net.nuagenetworks.vspk.v6
{

public class Ddnsconfigbinding: RestObject {

private const long serialVersionUID = 1L;




[JsonProperty("assocDDNSConfigId")]
protected String _assocDDNSConfigId;

[JsonProperty("associatedUplinkID")]
protected String _associatedUplinkID;

[JsonProperty("uplinkName")]
protected String _uplinkName;

[JsonProperty("uplinkPriority")]
protected long? _uplinkPriority;



public Ddnsconfigbinding() {

}


[JsonIgnore]
public String NUAssocDDNSConfigId {
get {
return _assocDDNSConfigId;
}
set {
this._assocDDNSConfigId = value;
}
}


[JsonIgnore]
public String NUAssociatedUplinkID {
get {
return _associatedUplinkID;
}
set {
this._associatedUplinkID = value;
}
}


[JsonIgnore]
public String NUUplinkName {
get {
return _uplinkName;
}
set {
this._uplinkName = value;
}
}


[JsonIgnore]
public long? NUUplinkPriority {
get {
return _uplinkPriority;
}
set {
this._uplinkPriority = value;
}
}





public String toString() {
return "Ddnsconfigbinding [" + "assocDDNSConfigId=" + _assocDDNSConfigId + ", associatedUplinkID=" + _associatedUplinkID + ", uplinkName=" + _uplinkName + ", uplinkPriority=" + _uplinkPriority + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}



public static String getResourceName()
{
return "ddnsconfigbindings";
}

public static String getRestName()
{
return "ddnsconfigbinding";
}
}
}
47 changes: 47 additions & 0 deletions vspk/vspk/DdnsconfigbindingsFetcher.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
Copyright (c) 2017, Nokia
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.
*/



using net.nuagenetworks.bambou;
using net.nuagenetworks.vspk.v6;

namespace net.nuagenetworks.vspk.v6.fetchers
{
public class DdnsconfigbindingsFetcher: RestFetcher<Ddnsconfigbinding>
{

private const long serialVersionUID = 1L;

public DdnsconfigbindingsFetcher(RestObject parentRestObj)
: base(parentRestObj, typeof(Ddnsconfigbinding))
{
}


}
}
Loading

0 comments on commit 1e81f56

Please sign in to comment.