Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pdellaert committed Dec 30, 2021
1 parent 670926c commit ebb2b69
Show file tree
Hide file tree
Showing 19 changed files with 1,188 additions and 18 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.6</version>
<version>20.10.7</version>
<authors>nuagenetworks</authors>
<owners>nuagenetworks</owners>
<projectUrl>https://github.com/nuagenetworks/vspk-csharp</projectUrl>
Expand Down
18 changes: 18 additions & 0 deletions vspk/vspk/Enterprise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ public enum EThreatIntelligenceEnabled {DISABLED,ENABLED };
[JsonIgnore]
private GroupKeyEncryptionProfilesFetcher _groupKeyEncryptionProfiles;

[JsonIgnore]
private ICMPEchoTestDefinitionsFetcher _iCMPEchoTestDefinitions;

[JsonIgnore]
private IDPProfilesFetcher _iDPProfiles;

Expand Down Expand Up @@ -408,6 +411,9 @@ public enum EThreatIntelligenceEnabled {DISABLED,ENABLED };
[JsonIgnore]
private SAPIngressQoSProfilesFetcher _sAPIngressQoSProfiles;

[JsonIgnore]
private ScheduledTestSuitesFetcher _scheduledTestSuites;

[JsonIgnore]
private SharedNetworkResourcesFetcher _sharedNetworkResources;

Expand Down Expand Up @@ -509,6 +515,8 @@ public Enterprise() {

_groupKeyEncryptionProfiles = new GroupKeyEncryptionProfilesFetcher(this);

_iCMPEchoTestDefinitions = new ICMPEchoTestDefinitionsFetcher(this);

_iDPProfiles = new IDPProfilesFetcher(this);

_iKECertificates = new IKECertificatesFetcher(this);
Expand Down Expand Up @@ -597,6 +605,8 @@ public Enterprise() {

_sAPIngressQoSProfiles = new SAPIngressQoSProfilesFetcher(this);

_scheduledTestSuites = new ScheduledTestSuitesFetcher(this);

_sharedNetworkResources = new SharedNetworkResourcesFetcher(this);

_syslogDestinations = new SyslogDestinationsFetcher(this);
Expand Down Expand Up @@ -1232,6 +1242,10 @@ public GroupKeyEncryptionProfilesFetcher getGroupKeyEncryptionProfiles() {
return _groupKeyEncryptionProfiles;
}

public ICMPEchoTestDefinitionsFetcher getICMPEchoTestDefinitions() {
return _iCMPEchoTestDefinitions;
}

public IDPProfilesFetcher getIDPProfiles() {
return _iDPProfiles;
}
Expand Down Expand Up @@ -1408,6 +1422,10 @@ public SAPIngressQoSProfilesFetcher getSAPIngressQoSProfiles() {
return _sAPIngressQoSProfiles;
}

public ScheduledTestSuitesFetcher getScheduledTestSuites() {
return _scheduledTestSuites;
}

public SharedNetworkResourcesFetcher getSharedNetworkResources() {
return _sharedNetworkResources;
}
Expand Down
16 changes: 15 additions & 1 deletion vspk/vspk/EnterpriseProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ public enum EEntityScope {ENTERPRISE,GLOBAL };

[JsonProperty("enableApplicationPerformanceManagement")]
protected bool _enableApplicationPerformanceManagement;

[JsonProperty("enableOAMConnectivityStatisticsCollection")]
protected bool _enableOAMConnectivityStatisticsCollection;
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("encryptionManagementMode")]
protected EEncryptionManagementMode? _encryptionManagementMode;
Expand Down Expand Up @@ -279,6 +282,17 @@ public bool NUEnableApplicationPerformanceManagement {
}


[JsonIgnore]
public bool NUEnableOAMConnectivityStatisticsCollection {
get {
return _enableOAMConnectivityStatisticsCollection;
}
set {
this._enableOAMConnectivityStatisticsCollection = value;
}
}


[JsonIgnore]
public EEncryptionManagementMode? NUEncryptionManagementMode {
get {
Expand Down Expand Up @@ -450,7 +464,7 @@ public PermissionsFetcher getPermissions() {


public String toString() {
return "EnterpriseProfile [" + "BGPEnabled=" + _BGPEnabled + ", DHCPLeaseInterval=" + _DHCPLeaseInterval + ", VNFManagementEnabled=" + _VNFManagementEnabled + ", allowAdvancedQOSConfiguration=" + _allowAdvancedQOSConfiguration + ", allowGatewayManagement=" + _allowGatewayManagement + ", allowTrustedForwardingClass=" + _allowTrustedForwardingClass + ", allowedForwardingClasses=" + _allowedForwardingClasses + ", creationDate=" + _creationDate + ", description=" + _description + ", embeddedMetadata=" + _embeddedMetadata + ", enableApplicationPerformanceManagement=" + _enableApplicationPerformanceManagement + ", encryptionManagementMode=" + _encryptionManagementMode + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", floatingIPsQuota=" + _floatingIPsQuota + ", forwardingClass=" + _forwardingClass + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", name=" + _name + ", owner=" + _owner + ", receiveMultiCastListID=" + _receiveMultiCastListID + ", sendMultiCastListID=" + _sendMultiCastListID + ", threatPreventionManagementEnabled=" + _threatPreventionManagementEnabled + ", webFilterEnabled=" + _webFilterEnabled + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
return "EnterpriseProfile [" + "BGPEnabled=" + _BGPEnabled + ", DHCPLeaseInterval=" + _DHCPLeaseInterval + ", VNFManagementEnabled=" + _VNFManagementEnabled + ", allowAdvancedQOSConfiguration=" + _allowAdvancedQOSConfiguration + ", allowGatewayManagement=" + _allowGatewayManagement + ", allowTrustedForwardingClass=" + _allowTrustedForwardingClass + ", allowedForwardingClasses=" + _allowedForwardingClasses + ", creationDate=" + _creationDate + ", description=" + _description + ", embeddedMetadata=" + _embeddedMetadata + ", enableApplicationPerformanceManagement=" + _enableApplicationPerformanceManagement + ", enableOAMConnectivityStatisticsCollection=" + _enableOAMConnectivityStatisticsCollection + ", encryptionManagementMode=" + _encryptionManagementMode + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", floatingIPsQuota=" + _floatingIPsQuota + ", forwardingClass=" + _forwardingClass + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", name=" + _name + ", owner=" + _owner + ", receiveMultiCastListID=" + _receiveMultiCastListID + ", sendMultiCastListID=" + _sendMultiCastListID + ", threatPreventionManagementEnabled=" + _threatPreventionManagementEnabled + ", webFilterEnabled=" + _webFilterEnabled + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}


Expand Down
227 changes: 227 additions & 0 deletions vspk/vspk/ICMPEchoTestDefinition.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
/*
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 ICMPEchoTestDefinition: RestObject {

private const long serialVersionUID = 1L;




[JsonProperty("description")]
protected String _description;

[JsonProperty("donotFragment")]
protected bool _donotFragment;

[JsonProperty("name")]
protected String _name;

[JsonProperty("packetCount")]
protected long? _packetCount;

[JsonProperty("packetInterval")]
protected long? _packetInterval;

[JsonProperty("packetSize")]
protected long? _packetSize;

[JsonProperty("slaMonitoring")]
protected bool _slaMonitoring;

[JsonProperty("thresholdAverageRoundTripTime")]
protected float _thresholdAverageRoundTripTime;

[JsonProperty("thresholdPacketLoss")]
protected float _thresholdPacketLoss;

[JsonProperty("timeout")]
protected long? _timeout;

[JsonProperty("tos")]
protected long? _tos;



public ICMPEchoTestDefinition() {

}


[JsonIgnore]
public String NUDescription {
get {
return _description;
}
set {
this._description = value;
}
}


[JsonIgnore]
public bool NUDonotFragment {
get {
return _donotFragment;
}
set {
this._donotFragment = value;
}
}


[JsonIgnore]
public String NUName {
get {
return _name;
}
set {
this._name = value;
}
}


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


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


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


[JsonIgnore]
public bool NUSlaMonitoring {
get {
return _slaMonitoring;
}
set {
this._slaMonitoring = value;
}
}


[JsonIgnore]
public float NUThresholdAverageRoundTripTime {
get {
return _thresholdAverageRoundTripTime;
}
set {
this._thresholdAverageRoundTripTime = value;
}
}


[JsonIgnore]
public float NUThresholdPacketLoss {
get {
return _thresholdPacketLoss;
}
set {
this._thresholdPacketLoss = value;
}
}


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


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





public String toString() {
return "ICMPEchoTestDefinition [" + "description=" + _description + ", donotFragment=" + _donotFragment + ", name=" + _name + ", packetCount=" + _packetCount + ", packetInterval=" + _packetInterval + ", packetSize=" + _packetSize + ", slaMonitoring=" + _slaMonitoring + ", thresholdAverageRoundTripTime=" + _thresholdAverageRoundTripTime + ", thresholdPacketLoss=" + _thresholdPacketLoss + ", timeout=" + _timeout + ", tos=" + _tos + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}



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

public static String getRestName()
{
return "icmpechotestdefinition";
}
}
}
47 changes: 47 additions & 0 deletions vspk/vspk/ICMPEchoTestDefinitionsFetcher.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 ICMPEchoTestDefinitionsFetcher: RestFetcher<ICMPEchoTestDefinition>
{

private const long serialVersionUID = 1L;

public ICMPEchoTestDefinitionsFetcher(RestObject parentRestObj)
: base(parentRestObj, typeof(ICMPEchoTestDefinition))
{
}


}
}
2 changes: 1 addition & 1 deletion vspk/vspk/NSGateway.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public enum EEntityScope {ENTERPRISE,GLOBAL };
public enum EFamily {ANY,NSG_AMI,NSG_AZ,NSG_C,NSG_E,NSG_E200,NSG_E300,NSG_V,NSG_X,NSG_X200 };
public enum EFunctions {GATEWAY,HUB,UBR };
public enum EInheritedSSHServiceState {DISABLED,ENABLED };
public enum ENetworkAcceleration {NONE,PERFORMANCE,SESSION_OPTIMIZED,TP_AWARE,VNF_AWARE };
public enum ENetworkAcceleration {NONE,PERFORMANCE,SESSION_OPTIMIZED,TP_AWARE,VNF_AWARE,WIFI_OPTIMIZED,WIFI_TP_AWARE,WIFI_VNF_AWARE };
public enum EPermittedAction {ALL,DEPLOY,EXTEND,INSTANTIATE,READ,USE };
public enum EPersonality {NSG,NSGBR,NSGDUC };
public enum ESyslogLevel {ALERT,CRITICAL,EMERGENCY,ERROR,INFO,NOTICE,WARNING };
Expand Down
Loading

0 comments on commit ebb2b69

Please sign in to comment.