Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and Jenkins committed May 11, 2023
1 parent 9165efd commit 8289eea
Show file tree
Hide file tree
Showing 24 changed files with 983 additions and 264 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.10</version>
<version>20.10.12</version>
<authors>nuagenetworks</authors>
<owners>nuagenetworks</owners>
<projectUrl>https://github.com/nuagenetworks/vspk-csharp</projectUrl>
Expand Down
16 changes: 15 additions & 1 deletion vspk/vspk/Domain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ public enum EUplinkPreference {PRIMARY,PRIMARY_SECONDARY,SECONDARY,SECONDARY_PRI
[JsonProperty("importRouteTarget")]
protected String _importRouteTarget;

[JsonProperty("isSecondaryFIPDomain")]
protected bool _isSecondaryFIPDomain;

[JsonProperty("l2DomainAggregationEnabled")]
protected bool _l2DomainAggregationEnabled;

Expand Down Expand Up @@ -1178,6 +1181,17 @@ public String NUImportRouteTarget {
}


[JsonIgnore]
public bool NUIsSecondaryFIPDomain {
get {
return _isSecondaryFIPDomain;
}
set {
this._isSecondaryFIPDomain = value;
}
}


[JsonIgnore]
public bool NUL2DomainAggregationEnabled {
get {
Expand Down Expand Up @@ -1746,7 +1760,7 @@ public ZonesFetcher getZones() {


public String toString() {
return "Domain [" + "BGPEnabled=" + _BGPEnabled + ", DHCPBehavior=" + _DHCPBehavior + ", DHCPServerAddress=" + _DHCPServerAddress + ", DPI=" + _DPI + ", ECMPCount=" + _ECMPCount + ", EVPNRT5Type=" + _EVPNRT5Type + ", FIPIgnoreDefaultRoute=" + _FIPIgnoreDefaultRoute + ", FIPUnderlay=" + _FIPUnderlay + ", GRTEnabled=" + _GRTEnabled + ", IPv4IBGPMaxPaths=" + _IPv4IBGPMaxPaths + ", IPv6IBGPMaxPaths=" + _IPv6IBGPMaxPaths + ", PATEnabled=" + _PATEnabled + ", VXLANECMPEnabled=" + _VXLANECMPEnabled + ", advertiseCriteria=" + _advertiseCriteria + ", aggregateFlowsEnabled=" + _aggregateFlowsEnabled + ", aggregationFlowType=" + _aggregationFlowType + ", associatedBGPProfileID=" + _associatedBGPProfileID + ", associatedIDPProfileID=" + _associatedIDPProfileID + ", associatedMulticastChannelMapID=" + _associatedMulticastChannelMapID + ", associatedPATMapperID=" + _associatedPATMapperID + ", associatedSharedPATMapperID=" + _associatedSharedPATMapperID + ", associatedUnderlayID=" + _associatedUnderlayID + ", backHaulRouteDistinguisher=" + _backHaulRouteDistinguisher + ", backHaulRouteTarget=" + _backHaulRouteTarget + ", backHaulServiceID=" + _backHaulServiceID + ", backHaulVNID=" + _backHaulVNID + ", color=" + _color + ", createBackHaulSubnet=" + _createBackHaulSubnet + ", creationDate=" + _creationDate + ", customerID=" + _customerID + ", description=" + _description + ", dhcpServerAddresses=" + _dhcpServerAddresses + ", domainAggregationEnabled=" + _domainAggregationEnabled + ", domainID=" + _domainID + ", domainVLANID=" + _domainVLANID + ", embeddedMetadata=" + _embeddedMetadata + ", encryption=" + _encryption + ", enterpriseID=" + _enterpriseID + ", entityScope=" + _entityScope + ", exportRouteTarget=" + _exportRouteTarget + ", externalID=" + _externalID + ", externalLabel=" + _externalLabel + ", fecEnabled=" + _fecEnabled + ", flowCollectionEnabled=" + _flowCollectionEnabled + ", flowCount=" + _flowCount + ", flowLimitEnabled=" + _flowLimitEnabled + ", flowSetupRate=" + _flowSetupRate + ", flowSetupRateLimitEnabled=" + _flowSetupRateLimitEnabled + ", globalRoutingEnabled=" + _globalRoutingEnabled + ", importRouteTarget=" + _importRouteTarget + ", l2DomainAggregationEnabled=" + _l2DomainAggregationEnabled + ", labelID=" + _labelID + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", leakingEnabled=" + _leakingEnabled + ", localAS=" + _localAS + ", loopbackIntfDescription=" + _loopbackIntfDescription + ", loopbackIntfEnabled=" + _loopbackIntfEnabled + ", loopbackIntfIPv4Address=" + _loopbackIntfIPv4Address + ", loopbackIntfIPv6Address=" + _loopbackIntfIPv6Address + ", loopbackIntfId=" + _loopbackIntfId + ", maintenanceMode=" + _maintenanceMode + ", multicast=" + _multicast + ", name=" + _name + ", owner=" + _owner + ", permittedAction=" + _permittedAction + ", policyChangeStatus=" + _policyChangeStatus + ", routeDistinguisher=" + _routeDistinguisher + ", routeTarget=" + _routeTarget + ", secondaryDHCPServerAddress=" + _secondaryDHCPServerAddress + ", secondaryRouteTarget=" + _secondaryRouteTarget + ", serviceID=" + _serviceID + ", stretched=" + _stretched + ", templateID=" + _templateID + ", threatIntelligenceEnabled=" + _threatIntelligenceEnabled + ", tunnelType=" + _tunnelType + ", underlayEnabled=" + _underlayEnabled + ", uplinkPreference=" + _uplinkPreference + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
return "Domain [" + "BGPEnabled=" + _BGPEnabled + ", DHCPBehavior=" + _DHCPBehavior + ", DHCPServerAddress=" + _DHCPServerAddress + ", DPI=" + _DPI + ", ECMPCount=" + _ECMPCount + ", EVPNRT5Type=" + _EVPNRT5Type + ", FIPIgnoreDefaultRoute=" + _FIPIgnoreDefaultRoute + ", FIPUnderlay=" + _FIPUnderlay + ", GRTEnabled=" + _GRTEnabled + ", IPv4IBGPMaxPaths=" + _IPv4IBGPMaxPaths + ", IPv6IBGPMaxPaths=" + _IPv6IBGPMaxPaths + ", PATEnabled=" + _PATEnabled + ", VXLANECMPEnabled=" + _VXLANECMPEnabled + ", advertiseCriteria=" + _advertiseCriteria + ", aggregateFlowsEnabled=" + _aggregateFlowsEnabled + ", aggregationFlowType=" + _aggregationFlowType + ", associatedBGPProfileID=" + _associatedBGPProfileID + ", associatedIDPProfileID=" + _associatedIDPProfileID + ", associatedMulticastChannelMapID=" + _associatedMulticastChannelMapID + ", associatedPATMapperID=" + _associatedPATMapperID + ", associatedSharedPATMapperID=" + _associatedSharedPATMapperID + ", associatedUnderlayID=" + _associatedUnderlayID + ", backHaulRouteDistinguisher=" + _backHaulRouteDistinguisher + ", backHaulRouteTarget=" + _backHaulRouteTarget + ", backHaulServiceID=" + _backHaulServiceID + ", backHaulVNID=" + _backHaulVNID + ", color=" + _color + ", createBackHaulSubnet=" + _createBackHaulSubnet + ", creationDate=" + _creationDate + ", customerID=" + _customerID + ", description=" + _description + ", dhcpServerAddresses=" + _dhcpServerAddresses + ", domainAggregationEnabled=" + _domainAggregationEnabled + ", domainID=" + _domainID + ", domainVLANID=" + _domainVLANID + ", embeddedMetadata=" + _embeddedMetadata + ", encryption=" + _encryption + ", enterpriseID=" + _enterpriseID + ", entityScope=" + _entityScope + ", exportRouteTarget=" + _exportRouteTarget + ", externalID=" + _externalID + ", externalLabel=" + _externalLabel + ", fecEnabled=" + _fecEnabled + ", flowCollectionEnabled=" + _flowCollectionEnabled + ", flowCount=" + _flowCount + ", flowLimitEnabled=" + _flowLimitEnabled + ", flowSetupRate=" + _flowSetupRate + ", flowSetupRateLimitEnabled=" + _flowSetupRateLimitEnabled + ", globalRoutingEnabled=" + _globalRoutingEnabled + ", importRouteTarget=" + _importRouteTarget + ", isSecondaryFIPDomain=" + _isSecondaryFIPDomain + ", l2DomainAggregationEnabled=" + _l2DomainAggregationEnabled + ", labelID=" + _labelID + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", leakingEnabled=" + _leakingEnabled + ", localAS=" + _localAS + ", loopbackIntfDescription=" + _loopbackIntfDescription + ", loopbackIntfEnabled=" + _loopbackIntfEnabled + ", loopbackIntfIPv4Address=" + _loopbackIntfIPv4Address + ", loopbackIntfIPv6Address=" + _loopbackIntfIPv6Address + ", loopbackIntfId=" + _loopbackIntfId + ", maintenanceMode=" + _maintenanceMode + ", multicast=" + _multicast + ", name=" + _name + ", owner=" + _owner + ", permittedAction=" + _permittedAction + ", policyChangeStatus=" + _policyChangeStatus + ", routeDistinguisher=" + _routeDistinguisher + ", routeTarget=" + _routeTarget + ", secondaryDHCPServerAddress=" + _secondaryDHCPServerAddress + ", secondaryRouteTarget=" + _secondaryRouteTarget + ", serviceID=" + _serviceID + ", stretched=" + _stretched + ", templateID=" + _templateID + ", threatIntelligenceEnabled=" + _threatIntelligenceEnabled + ", tunnelType=" + _tunnelType + ", underlayEnabled=" + _underlayEnabled + ", uplinkPreference=" + _uplinkPreference + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}


Expand Down
16 changes: 15 additions & 1 deletion vspk/vspk/Enterprise.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ public enum EThreatIntelligenceEnabled {DISABLED,ENABLED };

[JsonProperty("sharedEnterprise")]
protected bool _sharedEnterprise;

[JsonProperty("statsProfileID")]
protected String _statsProfileID;
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("threatIntelligenceEnabled")]
protected EThreatIntelligenceEnabled? _threatIntelligenceEnabled;
Expand Down Expand Up @@ -1070,6 +1073,17 @@ public bool NUSharedEnterprise {
}


[JsonIgnore]
public String NUStatsProfileID {
get {
return _statsProfileID;
}
set {
this._statsProfileID = value;
}
}


[JsonIgnore]
public EThreatIntelligenceEnabled? NUThreatIntelligenceEnabled {
get {
Expand Down Expand Up @@ -1489,7 +1503,7 @@ public ZFBRequestsFetcher getZFBRequests() {


public String toString() {
return "Enterprise [" + "BGPEnabled=" + _BGPEnabled + ", DHCPLeaseInterval=" + _DHCPLeaseInterval + ", LDAPAuthorizationEnabled=" + _LDAPAuthorizationEnabled + ", LDAPEnabled=" + _LDAPEnabled + ", VNFManagementEnabled=" + _VNFManagementEnabled + ", allowAdvancedQOSConfiguration=" + _allowAdvancedQOSConfiguration + ", allowGatewayManagement=" + _allowGatewayManagement + ", allowTrustedForwardingClass=" + _allowTrustedForwardingClass + ", allowedForwardingClasses=" + _allowedForwardingClasses + ", allowedForwardingMode=" + _allowedForwardingMode + ", associatedEnterpriseSecurityID=" + _associatedEnterpriseSecurityID + ", associatedGroupKeyEncryptionProfileID=" + _associatedGroupKeyEncryptionProfileID + ", associatedKeyServerMonitorID=" + _associatedKeyServerMonitorID + ", avatarData=" + _avatarData + ", avatarType=" + _avatarType + ", blockedPageText=" + _blockedPageText + ", creationDate=" + _creationDate + ", customerID=" + _customerID + ", description=" + _description + ", dictionaryVersion=" + _dictionaryVersion + ", embeddedMetadata=" + _embeddedMetadata + ", enableApplicationPerformanceManagement=" + _enableApplicationPerformanceManagement + ", encryptionManagementMode=" + _encryptionManagementMode + ", enterpriseProfileID=" + _enterpriseProfileID + ", enterpriseType=" + _enterpriseType + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", floatingIPsQuota=" + _floatingIPsQuota + ", floatingIPsUsed=" + _floatingIPsUsed + ", flowCollectionEnabled=" + _flowCollectionEnabled + ", forwardingClass=" + _forwardingClass + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", localAS=" + _localAS + ", name=" + _name + ", owner=" + _owner + ", receiveMultiCastListID=" + _receiveMultiCastListID + ", sendMultiCastListID=" + _sendMultiCastListID + ", sharedEnterprise=" + _sharedEnterprise + ", threatIntelligenceEnabled=" + _threatIntelligenceEnabled + ", threatPreventionManagementEnabled=" + _threatPreventionManagementEnabled + ", useGlobalMAC=" + _useGlobalMAC + ", virtualFirewallRulesEnabled=" + _virtualFirewallRulesEnabled + ", webFilterEnabled=" + _webFilterEnabled + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
return "Enterprise [" + "BGPEnabled=" + _BGPEnabled + ", DHCPLeaseInterval=" + _DHCPLeaseInterval + ", LDAPAuthorizationEnabled=" + _LDAPAuthorizationEnabled + ", LDAPEnabled=" + _LDAPEnabled + ", VNFManagementEnabled=" + _VNFManagementEnabled + ", allowAdvancedQOSConfiguration=" + _allowAdvancedQOSConfiguration + ", allowGatewayManagement=" + _allowGatewayManagement + ", allowTrustedForwardingClass=" + _allowTrustedForwardingClass + ", allowedForwardingClasses=" + _allowedForwardingClasses + ", allowedForwardingMode=" + _allowedForwardingMode + ", associatedEnterpriseSecurityID=" + _associatedEnterpriseSecurityID + ", associatedGroupKeyEncryptionProfileID=" + _associatedGroupKeyEncryptionProfileID + ", associatedKeyServerMonitorID=" + _associatedKeyServerMonitorID + ", avatarData=" + _avatarData + ", avatarType=" + _avatarType + ", blockedPageText=" + _blockedPageText + ", creationDate=" + _creationDate + ", customerID=" + _customerID + ", description=" + _description + ", dictionaryVersion=" + _dictionaryVersion + ", embeddedMetadata=" + _embeddedMetadata + ", enableApplicationPerformanceManagement=" + _enableApplicationPerformanceManagement + ", encryptionManagementMode=" + _encryptionManagementMode + ", enterpriseProfileID=" + _enterpriseProfileID + ", enterpriseType=" + _enterpriseType + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", floatingIPsQuota=" + _floatingIPsQuota + ", floatingIPsUsed=" + _floatingIPsUsed + ", flowCollectionEnabled=" + _flowCollectionEnabled + ", forwardingClass=" + _forwardingClass + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", localAS=" + _localAS + ", name=" + _name + ", owner=" + _owner + ", receiveMultiCastListID=" + _receiveMultiCastListID + ", sendMultiCastListID=" + _sendMultiCastListID + ", sharedEnterprise=" + _sharedEnterprise + ", statsProfileID=" + _statsProfileID + ", threatIntelligenceEnabled=" + _threatIntelligenceEnabled + ", threatPreventionManagementEnabled=" + _threatPreventionManagementEnabled + ", useGlobalMAC=" + _useGlobalMAC + ", virtualFirewallRulesEnabled=" + _virtualFirewallRulesEnabled + ", webFilterEnabled=" + _webFilterEnabled + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}


Expand Down
16 changes: 15 additions & 1 deletion vspk/vspk/FloatingIp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public enum EEntityScope {ENTERPRISE,GLOBAL };
[JsonProperty("ingressRateLimiterID")]
protected String _ingressRateLimiterID;

[JsonProperty("isSecondaryFIP")]
protected bool _isSecondaryFIP;

[JsonProperty("lastUpdatedBy")]
protected String _lastUpdatedBy;

Expand Down Expand Up @@ -240,6 +243,17 @@ public String NUIngressRateLimiterID {
}


[JsonIgnore]
public bool NUIsSecondaryFIP {
get {
return _isSecondaryFIP;
}
set {
this._isSecondaryFIP = value;
}
}


[JsonIgnore]
public String NULastUpdatedBy {
get {
Expand Down Expand Up @@ -297,7 +311,7 @@ public VPortsFetcher getVPorts() {


public String toString() {
return "FloatingIp [" + "accessControl=" + _accessControl + ", address=" + _address + ", assigned=" + _assigned + ", assignedToObjectType=" + _assignedToObjectType + ", associatedSharedNetworkResourceID=" + _associatedSharedNetworkResourceID + ", creationDate=" + _creationDate + ", egressRateLimiterID=" + _egressRateLimiterID + ", embeddedMetadata=" + _embeddedMetadata + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", ingressRateLimiterID=" + _ingressRateLimiterID + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", owner=" + _owner + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
return "FloatingIp [" + "accessControl=" + _accessControl + ", address=" + _address + ", assigned=" + _assigned + ", assignedToObjectType=" + _assignedToObjectType + ", associatedSharedNetworkResourceID=" + _associatedSharedNetworkResourceID + ", creationDate=" + _creationDate + ", egressRateLimiterID=" + _egressRateLimiterID + ", embeddedMetadata=" + _embeddedMetadata + ", entityScope=" + _entityScope + ", externalID=" + _externalID + ", ingressRateLimiterID=" + _ingressRateLimiterID + ", isSecondaryFIP=" + _isSecondaryFIP + ", lastUpdatedBy=" + _lastUpdatedBy + ", lastUpdatedDate=" + _lastUpdatedDate + ", owner=" + _owner + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}


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

private const long serialVersionUID = 1L;


public enum EAggregationCriteria {FORWARD_AND_REVERSE_TRAFFIC_PORT_AGG };
public enum EMatchingCriteria {L4_SERVICE,L4_SERVICE_GROUP };

[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("aggregationCriteria")]
protected EAggregationCriteria? _aggregationCriteria;

[JsonProperty("associatedTrafficTypeID")]
protected String _associatedTrafficTypeID;

[JsonProperty("description")]
protected String _description;
[JsonConverter(typeof(StringEnumConverter))]
[JsonProperty("matchingCriteria")]
protected EMatchingCriteria? _matchingCriteria;

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



public Flowstatisticsaggregationrule() {

}


[JsonIgnore]
public EAggregationCriteria? NUAggregationCriteria {
get {
return _aggregationCriteria;
}
set {
this._aggregationCriteria = value;
}
}


[JsonIgnore]
public String NUAssociatedTrafficTypeID {
get {
return _associatedTrafficTypeID;
}
set {
this._associatedTrafficTypeID = value;
}
}


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


[JsonIgnore]
public EMatchingCriteria? NUMatchingCriteria {
get {
return _matchingCriteria;
}
set {
this._matchingCriteria = value;
}
}


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





public String toString() {
return "Flowstatisticsaggregationrule [" + "aggregationCriteria=" + _aggregationCriteria + ", associatedTrafficTypeID=" + _associatedTrafficTypeID + ", description=" + _description + ", matchingCriteria=" + _matchingCriteria + ", name=" + _name + ", id=" + NUId + ", parentId=" + NUParentId + ", parentType=" + NUParentType + "]";
}



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

public static String getRestName()
{
return "flowstatisticsaggregationrule";
}
}
}
Loading

0 comments on commit 8289eea

Please sign in to comment.