switch_operations

package
v0.0.0-...-6c9a280 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"

	// CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled"
	CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled"

	// CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x string = "802.1x"

	// CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth"

	// CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain captures enum value "Multi-Domain"
	CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain string = "Multi-Domain"

	// CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost captures enum value "Multi-Host"
	CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost string = "Multi-Host"

	// CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host"
	CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeNr802Dot1x string = "802.1x"

	// CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashAuth string = "Multi-Auth"

	// CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashDomain captures enum value "Multi-Domain"
	CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashDomain string = "Multi-Domain"

	// CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashHost captures enum value "Multi-Host"
	CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashHost string = "Multi-Host"

	// CreateNetworkSwitchAccessPolicyCreatedBodyHostModeSingleDashHost captures enum value "Single-Host"
	CreateNetworkSwitchAccessPolicyCreatedBodyHostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionBoth captures enum value "both"
	CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionBoth string = "both"

	// CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionInbound captures enum value "inbound"
	CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth captures enum value "both"
	CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth string = "both"

	// CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound captures enum value "inbound"
	CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// CreateNetworkSwitchQosRuleBodyProtocolANY captures enum value "ANY"
	CreateNetworkSwitchQosRuleBodyProtocolANY string = "ANY"

	// CreateNetworkSwitchQosRuleBodyProtocolTCP captures enum value "TCP"
	CreateNetworkSwitchQosRuleBodyProtocolTCP string = "TCP"

	// CreateNetworkSwitchQosRuleBodyProtocolUDP captures enum value "UDP"
	CreateNetworkSwitchQosRuleBodyProtocolUDP string = "UDP"
)
View Source
const (

	// CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"

	// CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled"
	CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled"

	// CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"
)
View Source
const (

	// GetDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	GetDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// GetDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	GetDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// GetDeviceSwitchPortOKBodyAccessPolicyTypeOpen captures enum value "Open"
	GetDeviceSwitchPortOKBodyAccessPolicyTypeOpen string = "Open"

	// GetDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	GetDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// GetDeviceSwitchPortOKBodyStpGuardBpduGuard captures enum value "bpdu guard"
	GetDeviceSwitchPortOKBodyStpGuardBpduGuard string = "bpdu guard"

	// GetDeviceSwitchPortOKBodyStpGuardDisabled captures enum value "disabled"
	GetDeviceSwitchPortOKBodyStpGuardDisabled string = "disabled"

	// GetDeviceSwitchPortOKBodyStpGuardLoopGuard captures enum value "loop guard"
	GetDeviceSwitchPortOKBodyStpGuardLoopGuard string = "loop guard"

	// GetDeviceSwitchPortOKBodyStpGuardRootGuard captures enum value "root guard"
	GetDeviceSwitchPortOKBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// GetDeviceSwitchPortOKBodyTypeAccess captures enum value "access"
	GetDeviceSwitchPortOKBodyTypeAccess string = "access"

	// GetDeviceSwitchPortOKBodyTypeTrunk captures enum value "trunk"
	GetDeviceSwitchPortOKBodyTypeTrunk string = "trunk"
)
View Source
const (

	// GetDeviceSwitchPortOKBodyUdldAlertOnly captures enum value "Alert only"
	GetDeviceSwitchPortOKBodyUdldAlertOnly string = "Alert only"

	// GetDeviceSwitchPortOKBodyUdldEnforce captures enum value "Enforce"
	GetDeviceSwitchPortOKBodyUdldEnforce string = "Enforce"
)
View Source
const (

	// GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeMACAllowList string = "MAC allow list"

	// GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeOpen captures enum value "Open"
	GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeOpen string = "Open"

	// GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// GetDeviceSwitchPortsOKBodyItems0StpGuardBpduGuard captures enum value "bpdu guard"
	GetDeviceSwitchPortsOKBodyItems0StpGuardBpduGuard string = "bpdu guard"

	// GetDeviceSwitchPortsOKBodyItems0StpGuardDisabled captures enum value "disabled"
	GetDeviceSwitchPortsOKBodyItems0StpGuardDisabled string = "disabled"

	// GetDeviceSwitchPortsOKBodyItems0StpGuardLoopGuard captures enum value "loop guard"
	GetDeviceSwitchPortsOKBodyItems0StpGuardLoopGuard string = "loop guard"

	// GetDeviceSwitchPortsOKBodyItems0StpGuardRootGuard captures enum value "root guard"
	GetDeviceSwitchPortsOKBodyItems0StpGuardRootGuard string = "root guard"
)
View Source
const (

	// GetDeviceSwitchPortsOKBodyItems0TypeAccess captures enum value "access"
	GetDeviceSwitchPortsOKBodyItems0TypeAccess string = "access"

	// GetDeviceSwitchPortsOKBodyItems0TypeTrunk captures enum value "trunk"
	GetDeviceSwitchPortsOKBodyItems0TypeTrunk string = "trunk"
)
View Source
const (

	// GetDeviceSwitchPortsOKBodyItems0UdldAlertOnly captures enum value "Alert only"
	GetDeviceSwitchPortsOKBodyItems0UdldAlertOnly string = "Alert only"

	// GetDeviceSwitchPortsOKBodyItems0UdldEnforce captures enum value "Enforce"
	GetDeviceSwitchPortsOKBodyItems0UdldEnforce string = "Enforce"
)
View Source
const (

	// GetDeviceSwitchPortsStatusesOKBodyItems0DuplexEmpty captures enum value ""
	GetDeviceSwitchPortsStatusesOKBodyItems0DuplexEmpty string = ""

	// GetDeviceSwitchPortsStatusesOKBodyItems0DuplexFull captures enum value "full"
	GetDeviceSwitchPortsStatusesOKBodyItems0DuplexFull string = "full"

	// GetDeviceSwitchPortsStatusesOKBodyItems0DuplexHalf captures enum value "half"
	GetDeviceSwitchPortsStatusesOKBodyItems0DuplexHalf string = "half"
)
View Source
const (

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedEmpty captures enum value ""
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedEmpty string = ""

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr1Gbps captures enum value "1 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr1Gbps string = "1 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Gbps captures enum value "10 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Gbps string = "10 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Mbps captures enum value "10 Mbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Mbps string = "10 Mbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Gbps captures enum value "100 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Gbps string = "100 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Mbps captures enum value "100 Mbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Mbps string = "100 Mbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr2Dot5Gbps captures enum value "2.5 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr2Dot5Gbps string = "2.5 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr20Gbps captures enum value "20 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr20Gbps string = "20 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr40Gbps captures enum value "40 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr40Gbps string = "40 Gbps"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr5Gbps captures enum value "5 Gbps"
	GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr5Gbps string = "5 Gbps"
)
View Source
const (

	// GetDeviceSwitchPortsStatusesOKBodyItems0StatusConnected captures enum value "Connected"
	GetDeviceSwitchPortsStatusesOKBodyItems0StatusConnected string = "Connected"

	// GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisabled captures enum value "Disabled"
	GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisabled string = "Disabled"

	// GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisconnected captures enum value "Disconnected"
	GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisconnected string = "Disconnected"
)
View Source
const (

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationFailure captures enum value "Authentication failure"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationFailure string = "Authentication failure"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationInProgress captures enum value "Authentication in progress"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationInProgress string = "Authentication in progress"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationSuccessful captures enum value "Authentication successful"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationSuccessful string = "Authentication successful"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationTimedOut captures enum value "Authentication timed out"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationTimedOut string = "Authentication timed out"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusDisabled captures enum value "Disabled"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusDisabled string = "Disabled"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusEnabled captures enum value "Enabled"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusEnabled string = "Enabled"
)
View Source
const (

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeAccess captures enum value "access"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeAccess string = "access"

	// GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeTrunk captures enum value "trunk"
	GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeTrunk string = "trunk"
)
View Source
const (

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny captures enum value "any"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny string = "any"

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 captures enum value "ipv4"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 string = "ipv4"

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 captures enum value "ipv6"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 string = "ipv6"
)
View Source
const (

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow captures enum value "allow"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow string = "allow"

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny captures enum value "deny"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny string = "deny"
)
View Source
const (

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny captures enum value "any"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny string = "any"

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP captures enum value "tcp"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP string = "tcp"

	// GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP captures enum value "udp"
	GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP string = "udp"
)
View Source
const (

	// GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeNr802Dot1x string = "802.1x"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashAuth captures enum value "Multi-Auth"
	GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashAuth string = "Multi-Auth"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashDomain captures enum value "Multi-Domain"
	GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashDomain string = "Multi-Domain"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashHost captures enum value "Multi-Host"
	GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashHost string = "Multi-Host"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeSingleDashHost captures enum value "Single-Host"
	GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionBoth captures enum value "both"
	GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionBoth string = "both"

	// GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionInbound captures enum value "inbound"
	GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x string = "802.1x"

	// GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth string = "Multi-Auth"

	// GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain captures enum value "Multi-Domain"
	GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain string = "Multi-Domain"

	// GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost captures enum value "Multi-Host"
	GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost string = "Multi-Host"

	// GetNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost captures enum value "Single-Host"
	GetNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth captures enum value "both"
	GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth string = "both"

	// GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound captures enum value "inbound"
	GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyAllow captures enum value "allow"
	GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyAllow string = "allow"

	// GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyBlock captures enum value "block"
	GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyBlock string = "block"
)
View Source
const (

	// GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDevice captures enum value "device"
	GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDevice string = "device"

	// GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDiscovered captures enum value "discovered"
	GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDiscovered string = "discovered"

	// GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeStack captures enum value "stack"
	GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeStack string = "stack"
)
View Source
const (

	// GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined captures enum value "combined"
	GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined string = "combined"

	// GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant captures enum value "redundant"
	GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant string = "redundant"

	// GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting captures enum value "useNetworkSetting"
	GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting string = "useNetworkSetting"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen captures enum value "Open"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen string = "Open"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard captures enum value "bpdu guard"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard string = "bpdu guard"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled captures enum value "disabled"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled string = "disabled"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard captures enum value "loop guard"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard string = "loop guard"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard captures enum value "root guard"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess captures enum value "access"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess string = "access"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk captures enum value "trunk"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk string = "trunk"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly captures enum value "Alert only"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly string = "Alert only"

	// GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce captures enum value "Enforce"
	GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce string = "Enforce"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeMACAllowList string = "MAC allow list"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeOpen captures enum value "Open"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeOpen string = "Open"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardBpduGuard captures enum value "bpdu guard"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardBpduGuard string = "bpdu guard"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardDisabled captures enum value "disabled"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardDisabled string = "disabled"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardLoopGuard captures enum value "loop guard"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardLoopGuard string = "loop guard"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardRootGuard captures enum value "root guard"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardRootGuard string = "root guard"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeAccess captures enum value "access"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeAccess string = "access"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeTrunk captures enum value "trunk"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeTrunk string = "trunk"
)
View Source
const (

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldAlertOnly captures enum value "Alert only"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldAlertOnly string = "Alert only"

	// GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldEnforce captures enum value "Enforce"
	GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldEnforce string = "Enforce"
)
View Source
const (

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeMACAllowList string = "MAC allow list"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeOpen captures enum value "Open"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeOpen string = "Open"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardBpduGuard captures enum value "bpdu guard"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardBpduGuard string = "bpdu guard"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardDisabled captures enum value "disabled"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardDisabled string = "disabled"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardLoopGuard captures enum value "loop guard"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardLoopGuard string = "loop guard"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardRootGuard captures enum value "root guard"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardRootGuard string = "root guard"
)
View Source
const (

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeAccess captures enum value "access"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeAccess string = "access"

	// GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeTrunk captures enum value "trunk"
	GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeTrunk string = "trunk"
)
View Source
const (

	// UpdateDeviceSwitchPortBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	UpdateDeviceSwitchPortBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// UpdateDeviceSwitchPortBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	UpdateDeviceSwitchPortBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// UpdateDeviceSwitchPortBodyAccessPolicyTypeOpen captures enum value "Open"
	UpdateDeviceSwitchPortBodyAccessPolicyTypeOpen string = "Open"

	// UpdateDeviceSwitchPortBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	UpdateDeviceSwitchPortBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// UpdateDeviceSwitchPortBodyStpGuardBpduGuard captures enum value "bpdu guard"
	UpdateDeviceSwitchPortBodyStpGuardBpduGuard string = "bpdu guard"

	// UpdateDeviceSwitchPortBodyStpGuardDisabled captures enum value "disabled"
	UpdateDeviceSwitchPortBodyStpGuardDisabled string = "disabled"

	// UpdateDeviceSwitchPortBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateDeviceSwitchPortBodyStpGuardLoopGuard string = "loop guard"

	// UpdateDeviceSwitchPortBodyStpGuardRootGuard captures enum value "root guard"
	UpdateDeviceSwitchPortBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// UpdateDeviceSwitchPortBodyTypeAccess captures enum value "access"
	UpdateDeviceSwitchPortBodyTypeAccess string = "access"

	// UpdateDeviceSwitchPortBodyTypeTrunk captures enum value "trunk"
	UpdateDeviceSwitchPortBodyTypeTrunk string = "trunk"
)
View Source
const (

	// UpdateDeviceSwitchPortBodyUdldAlertOnly captures enum value "Alert only"
	UpdateDeviceSwitchPortBodyUdldAlertOnly string = "Alert only"

	// UpdateDeviceSwitchPortBodyUdldEnforce captures enum value "Enforce"
	UpdateDeviceSwitchPortBodyUdldEnforce string = "Enforce"
)
View Source
const (

	// UpdateDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	UpdateDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// UpdateDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	UpdateDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// UpdateDeviceSwitchPortOKBodyAccessPolicyTypeOpen captures enum value "Open"
	UpdateDeviceSwitchPortOKBodyAccessPolicyTypeOpen string = "Open"

	// UpdateDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	UpdateDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// UpdateDeviceSwitchPortOKBodyStpGuardBpduGuard captures enum value "bpdu guard"
	UpdateDeviceSwitchPortOKBodyStpGuardBpduGuard string = "bpdu guard"

	// UpdateDeviceSwitchPortOKBodyStpGuardDisabled captures enum value "disabled"
	UpdateDeviceSwitchPortOKBodyStpGuardDisabled string = "disabled"

	// UpdateDeviceSwitchPortOKBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateDeviceSwitchPortOKBodyStpGuardLoopGuard string = "loop guard"

	// UpdateDeviceSwitchPortOKBodyStpGuardRootGuard captures enum value "root guard"
	UpdateDeviceSwitchPortOKBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// UpdateDeviceSwitchPortOKBodyTypeAccess captures enum value "access"
	UpdateDeviceSwitchPortOKBodyTypeAccess string = "access"

	// UpdateDeviceSwitchPortOKBodyTypeTrunk captures enum value "trunk"
	UpdateDeviceSwitchPortOKBodyTypeTrunk string = "trunk"
)
View Source
const (

	// UpdateDeviceSwitchPortOKBodyUdldAlertOnly captures enum value "Alert only"
	UpdateDeviceSwitchPortOKBodyUdldAlertOnly string = "Alert only"

	// UpdateDeviceSwitchPortOKBodyUdldEnforce captures enum value "Enforce"
	UpdateDeviceSwitchPortOKBodyUdldEnforce string = "Enforce"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day captures enum value "1 day"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day string = "1 day"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour captures enum value "1 hour"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour string = "1 hour"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours captures enum value "12 hours"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours string = "12 hours"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes captures enum value "30 minutes"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes string = "30 minutes"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpDisabled captures enum value "dhcpDisabled"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpDisabled string = "dhcpDisabled"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpRelay captures enum value "dhcpRelay"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpRelay string = "dhcpRelay"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpServer captures enum value "dhcpServer"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpModeDhcpServer string = "dhcpServer"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS captures enum value "googlePublicDns"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS string = "googlePublicDns"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex"

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger captures enum value "integer"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger string = "integer"

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP captures enum value "ip"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP string = "ip"

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"

	// UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled"
	UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled"

	// UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny captures enum value "any"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny string = "any"

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 captures enum value "ipv4"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 string = "ipv4"

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 captures enum value "ipv6"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 string = "ipv6"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow captures enum value "allow"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow string = "allow"

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny captures enum value "deny"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny string = "deny"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny captures enum value "any"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny string = "any"

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP captures enum value "tcp"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP string = "tcp"

	// UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP captures enum value "udp"
	UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP string = "udp"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionAny captures enum value "any"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionAny string = "any"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionIPV4 captures enum value "ipv4"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionIPV4 string = "ipv4"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionIPV6 captures enum value "ipv6"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0IPVersionIPV6 string = "ipv6"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyAllow captures enum value "allow"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyAllow string = "allow"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyDeny captures enum value "deny"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyDeny string = "deny"
)
View Source
const (

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny captures enum value "any"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny string = "any"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolTCP captures enum value "tcp"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolTCP string = "tcp"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP captures enum value "udp"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP string = "udp"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x string = "802.1x"

	// UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth"

	// UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain captures enum value "Multi-Domain"
	UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain string = "Multi-Domain"

	// UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost captures enum value "Multi-Host"
	UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost string = "Multi-Host"

	// UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host"
	UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x"
	UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x string = "802.1x"

	// UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"

	// UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth string = "Multi-Auth"

	// UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain captures enum value "Multi-Domain"
	UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain string = "Multi-Domain"

	// UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost captures enum value "Multi-Host"
	UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost string = "Multi-Host"

	// UpdateNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost captures enum value "Single-Host"
	UpdateNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost string = "Single-Host"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth captures enum value "both"
	UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth string = "both"

	// UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound captures enum value "inbound"
	UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth captures enum value "both"
	UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth string = "both"

	// UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound captures enum value "inbound"
	UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound string = "inbound"
)
View Source
const (

	// UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyAllow captures enum value "allow"
	UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyAllow string = "allow"

	// UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyBlock captures enum value "block"
	UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyBlock string = "block"
)
View Source
const (

	// UpdateNetworkSwitchQosRuleBodyProtocolANY captures enum value "ANY"
	UpdateNetworkSwitchQosRuleBodyProtocolANY string = "ANY"

	// UpdateNetworkSwitchQosRuleBodyProtocolTCP captures enum value "TCP"
	UpdateNetworkSwitchQosRuleBodyProtocolTCP string = "TCP"

	// UpdateNetworkSwitchQosRuleBodyProtocolUDP captures enum value "UDP"
	UpdateNetworkSwitchQosRuleBodyProtocolUDP string = "UDP"
)
View Source
const (

	// UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNormal captures enum value "normal"
	UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNormal string = "normal"

	// UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa captures enum value "nssa"
	UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa string = "nssa"

	// UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub captures enum value "stub"
	UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub string = "stub"
)
View Source
const (

	// UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNormal captures enum value "normal"
	UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNormal string = "normal"

	// UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa captures enum value "nssa"
	UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa string = "nssa"

	// UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub captures enum value "stub"
	UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub string = "stub"
)
View Source
const (

	// UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined captures enum value "combined"
	UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined string = "combined"

	// UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant captures enum value "redundant"
	UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant string = "redundant"

	// UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting captures enum value "useNetworkSetting"
	UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting string = "useNetworkSetting"
)
View Source
const (

	// UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeCombined captures enum value "combined"
	UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeCombined string = "combined"

	// UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeRedundant captures enum value "redundant"
	UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeRedundant string = "redundant"

	// UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeUseNetworkSetting captures enum value "useNetworkSetting"
	UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0PowerTypeUseNetworkSetting string = "useNetworkSetting"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day captures enum value "1 day"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day string = "1 day"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour captures enum value "1 hour"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour string = "1 hour"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours captures enum value "12 hours"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours string = "12 hours"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes captures enum value "30 minutes"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes string = "30 minutes"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpDisabled captures enum value "dhcpDisabled"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpDisabled string = "dhcpDisabled"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpRelay captures enum value "dhcpRelay"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpRelay string = "dhcpRelay"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpServer captures enum value "dhcpServer"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpModeDhcpServer string = "dhcpServer"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS captures enum value "googlePublicDns"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS string = "googlePublicDns"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger captures enum value "integer"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger string = "integer"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP captures enum value "ip"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP string = "ip"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"

	// UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled"
	UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled"

	// UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeOpen captures enum value "Open"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeOpen string = "Open"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardBpduGuard captures enum value "bpdu guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardBpduGuard string = "bpdu guard"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardDisabled captures enum value "disabled"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardDisabled string = "disabled"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard string = "loop guard"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard captures enum value "root guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess captures enum value "access"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess string = "access"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk captures enum value "trunk"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk string = "trunk"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldAlertOnly captures enum value "Alert only"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldAlertOnly string = "Alert only"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce captures enum value "Enforce"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce string = "Enforce"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen captures enum value "Open"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen string = "Open"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard captures enum value "bpdu guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard string = "bpdu guard"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled captures enum value "disabled"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled string = "disabled"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard string = "loop guard"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard captures enum value "root guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard string = "root guard"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess captures enum value "access"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess string = "access"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk captures enum value "trunk"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk string = "trunk"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly captures enum value "Alert only"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly string = "Alert only"

	// UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce captures enum value "Enforce"
	UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce string = "Enforce"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddNetworkSwitchStackBody

type AddNetworkSwitchStackBody struct {

	// The serial of the switch to be added
	// Required: true
	Serial *string `json:"serial"`
}

AddNetworkSwitchStackBody add network switch stack body // Example: {"serial":"QBZY-XWVU-TSRQ"} swagger:model AddNetworkSwitchStackBody

func (*AddNetworkSwitchStackBody) ContextValidate

func (o *AddNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add network switch stack body based on context it is used

func (*AddNetworkSwitchStackBody) MarshalBinary

func (o *AddNetworkSwitchStackBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddNetworkSwitchStackBody) UnmarshalBinary

func (o *AddNetworkSwitchStackBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddNetworkSwitchStackBody) Validate

func (o *AddNetworkSwitchStackBody) Validate(formats strfmt.Registry) error

Validate validates this add network switch stack body

type AddNetworkSwitchStackOK

type AddNetworkSwitchStackOK struct {
	Payload *AddNetworkSwitchStackOKBody
}

AddNetworkSwitchStackOK describes a response with status code 200, with default header values.

Successful operation

func NewAddNetworkSwitchStackOK

func NewAddNetworkSwitchStackOK() *AddNetworkSwitchStackOK

NewAddNetworkSwitchStackOK creates a AddNetworkSwitchStackOK with default headers values

func (*AddNetworkSwitchStackOK) Code

func (o *AddNetworkSwitchStackOK) Code() int

Code gets the status code for the add network switch stack o k response

func (*AddNetworkSwitchStackOK) Error

func (o *AddNetworkSwitchStackOK) Error() string

func (*AddNetworkSwitchStackOK) GetPayload

func (*AddNetworkSwitchStackOK) IsClientError

func (o *AddNetworkSwitchStackOK) IsClientError() bool

IsClientError returns true when this add network switch stack o k response has a 4xx status code

func (*AddNetworkSwitchStackOK) IsCode

func (o *AddNetworkSwitchStackOK) IsCode(code int) bool

IsCode returns true when this add network switch stack o k response a status code equal to that given

func (*AddNetworkSwitchStackOK) IsRedirect

func (o *AddNetworkSwitchStackOK) IsRedirect() bool

IsRedirect returns true when this add network switch stack o k response has a 3xx status code

func (*AddNetworkSwitchStackOK) IsServerError

func (o *AddNetworkSwitchStackOK) IsServerError() bool

IsServerError returns true when this add network switch stack o k response has a 5xx status code

func (*AddNetworkSwitchStackOK) IsSuccess

func (o *AddNetworkSwitchStackOK) IsSuccess() bool

IsSuccess returns true when this add network switch stack o k response has a 2xx status code

func (*AddNetworkSwitchStackOK) String

func (o *AddNetworkSwitchStackOK) String() string

type AddNetworkSwitchStackOKBody

type AddNetworkSwitchStackOKBody struct {

	// Switch stacks id
	ID string `json:"id,omitempty"`

	// Switch stacks name
	Name string `json:"name,omitempty"`

	// Serials of the switches in the switch stack
	Serials []string `json:"serials"`
}

AddNetworkSwitchStackOKBody add network switch stack o k body swagger:model AddNetworkSwitchStackOKBody

func (*AddNetworkSwitchStackOKBody) ContextValidate

func (o *AddNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add network switch stack o k body based on context it is used

func (*AddNetworkSwitchStackOKBody) MarshalBinary

func (o *AddNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddNetworkSwitchStackOKBody) UnmarshalBinary

func (o *AddNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddNetworkSwitchStackOKBody) Validate

func (o *AddNetworkSwitchStackOKBody) Validate(formats strfmt.Registry) error

Validate validates this add network switch stack o k body

type AddNetworkSwitchStackParams

type AddNetworkSwitchStackParams struct {

	// AddNetworkSwitchStack.
	AddNetworkSwitchStack AddNetworkSwitchStackBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddNetworkSwitchStackParams contains all the parameters to send to the API endpoint

for the add network switch stack operation.

Typically these are written to a http.Request.

func NewAddNetworkSwitchStackParams

func NewAddNetworkSwitchStackParams() *AddNetworkSwitchStackParams

NewAddNetworkSwitchStackParams creates a new AddNetworkSwitchStackParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddNetworkSwitchStackParamsWithContext

func NewAddNetworkSwitchStackParamsWithContext(ctx context.Context) *AddNetworkSwitchStackParams

NewAddNetworkSwitchStackParamsWithContext creates a new AddNetworkSwitchStackParams object with the ability to set a context for a request.

func NewAddNetworkSwitchStackParamsWithHTTPClient

func NewAddNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams

NewAddNetworkSwitchStackParamsWithHTTPClient creates a new AddNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.

func NewAddNetworkSwitchStackParamsWithTimeout

func NewAddNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams

NewAddNetworkSwitchStackParamsWithTimeout creates a new AddNetworkSwitchStackParams object with the ability to set a timeout on a request.

func (*AddNetworkSwitchStackParams) SetAddNetworkSwitchStack

func (o *AddNetworkSwitchStackParams) SetAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody)

SetAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetContext

func (o *AddNetworkSwitchStackParams) SetContext(ctx context.Context)

SetContext adds the context to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetDefaults

func (o *AddNetworkSwitchStackParams) SetDefaults()

SetDefaults hydrates default values in the add network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*AddNetworkSwitchStackParams) SetHTTPClient

func (o *AddNetworkSwitchStackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetNetworkID

func (o *AddNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetSwitchStackID

func (o *AddNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the add network switch stack params

func (*AddNetworkSwitchStackParams) SetTimeout

func (o *AddNetworkSwitchStackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithAddNetworkSwitchStack

func (o *AddNetworkSwitchStackParams) WithAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody) *AddNetworkSwitchStackParams

WithAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithContext

WithContext adds the context to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithDefaults

WithDefaults hydrates default values in the add network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*AddNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithNetworkID

func (o *AddNetworkSwitchStackParams) WithNetworkID(networkID string) *AddNetworkSwitchStackParams

WithNetworkID adds the networkID to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithSwitchStackID

func (o *AddNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *AddNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the add network switch stack params

func (*AddNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the add network switch stack params

func (*AddNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddNetworkSwitchStackReader

type AddNetworkSwitchStackReader struct {
	// contains filtered or unexported fields
}

AddNetworkSwitchStackReader is a Reader for the AddNetworkSwitchStack structure.

func (*AddNetworkSwitchStackReader) ReadResponse

func (o *AddNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for switch operations API

func (*Client) AddNetworkSwitchStack

func (a *Client) AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNetworkSwitchStackOK, error)

AddNetworkSwitchStack adds a switch to a stack

Add a switch to a stack

func (*Client) CloneOrganizationSwitchDevices

func (a *Client) CloneOrganizationSwitchDevices(params *CloneOrganizationSwitchDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloneOrganizationSwitchDevicesOK, error)

CloneOrganizationSwitchDevices clones port level and some switch level configuration settings from a source switch to one or more target switches

Clone port-level and some switch-level configuration settings from a source switch to one or more target switches. Cloned settings include: Aggregation Groups, Power Settings, Multicast Settings, MTU Configuration, STP Bridge priority, Port Mirroring

func (*Client) CreateDeviceSwitchRoutingInterface

CreateDeviceSwitchRoutingInterface creates a layer 3 interface for a switch

Create a layer 3 interface for a switch

func (*Client) CreateDeviceSwitchRoutingStaticRoute

CreateDeviceSwitchRoutingStaticRoute creates a layer 3 static route for a switch

Create a layer 3 static route for a switch

func (*Client) CreateNetworkSwitchAccessPolicy

CreateNetworkSwitchAccessPolicy creates an access policy for a switch network

Create an access policy for a switch network. If you would like to enable Meraki Authentication, set radiusServers to empty array.

func (*Client) CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds a server to be trusted by dynamic a r p inspection on this network

Add a server to be trusted by Dynamic ARP Inspection on this network

func (*Client) CreateNetworkSwitchLinkAggregation

CreateNetworkSwitchLinkAggregation creates a link aggregation group

Create a link aggregation group

func (*Client) CreateNetworkSwitchPortSchedule

CreateNetworkSwitchPortSchedule adds a switch port schedule

Add a switch port schedule

func (*Client) CreateNetworkSwitchQosRule

func (a *Client) CreateNetworkSwitchQosRule(params *CreateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchQosRuleCreated, error)

CreateNetworkSwitchQosRule adds a quality of service rule

Add a quality of service rule

func (*Client) CreateNetworkSwitchRoutingMulticastRendezvousPoint

CreateNetworkSwitchRoutingMulticastRendezvousPoint creates a multicast rendezvous point

Create a multicast rendezvous point

func (*Client) CreateNetworkSwitchStack

func (a *Client) CreateNetworkSwitchStack(params *CreateNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackCreated, error)

CreateNetworkSwitchStack creates a stack

Create a stack

func (*Client) CreateNetworkSwitchStackRoutingInterface

CreateNetworkSwitchStackRoutingInterface creates a layer 3 interface for a switch stack

Create a layer 3 interface for a switch stack

func (*Client) CreateNetworkSwitchStackRoutingStaticRoute

CreateNetworkSwitchStackRoutingStaticRoute creates a layer 3 static route for a switch stack

Create a layer 3 static route for a switch stack

func (*Client) CycleDeviceSwitchPorts

func (a *Client) CycleDeviceSwitchPorts(params *CycleDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleDeviceSwitchPortsOK, error)

CycleDeviceSwitchPorts cycles a set of switch ports

Cycle a set of switch ports

func (*Client) DeleteDeviceSwitchRoutingInterface

DeleteDeviceSwitchRoutingInterface deletes a layer 3 interface from the switch

Delete a layer 3 interface from the switch

func (*Client) DeleteDeviceSwitchRoutingStaticRoute

DeleteDeviceSwitchRoutingStaticRoute deletes a layer 3 static route for a switch

Delete a layer 3 static route for a switch

func (*Client) DeleteNetworkSwitchAccessPolicy

DeleteNetworkSwitchAccessPolicy deletes an access policy for a switch network

Delete an access policy for a switch network

func (*Client) DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer removes a server from being trusted by dynamic a r p inspection on this network

Remove a server from being trusted by Dynamic ARP Inspection on this network

func (*Client) DeleteNetworkSwitchLinkAggregation

DeleteNetworkSwitchLinkAggregation splits a link aggregation group into separate ports

Split a link aggregation group into separate ports

func (*Client) DeleteNetworkSwitchPortSchedule

DeleteNetworkSwitchPortSchedule deletes a switch port schedule

Delete a switch port schedule

func (*Client) DeleteNetworkSwitchQosRule

DeleteNetworkSwitchQosRule deletes a quality of service rule

Delete a quality of service rule

func (*Client) DeleteNetworkSwitchRoutingMulticastRendezvousPoint

DeleteNetworkSwitchRoutingMulticastRendezvousPoint deletes a multicast rendezvous point

Delete a multicast rendezvous point

func (*Client) DeleteNetworkSwitchStack

DeleteNetworkSwitchStack deletes a stack

Delete a stack

func (*Client) DeleteNetworkSwitchStackRoutingInterface

DeleteNetworkSwitchStackRoutingInterface deletes a layer 3 interface from a switch stack

Delete a layer 3 interface from a switch stack

func (*Client) DeleteNetworkSwitchStackRoutingStaticRoute

DeleteNetworkSwitchStackRoutingStaticRoute deletes a layer 3 static route for a switch stack

Delete a layer 3 static route for a switch stack

func (*Client) GetDeviceSwitchPort

func (a *Client) GetDeviceSwitchPort(params *GetDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortOK, error)

GetDeviceSwitchPort returns a switch port

Return a switch port

func (*Client) GetDeviceSwitchPorts

func (a *Client) GetDeviceSwitchPorts(params *GetDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsOK, error)

GetDeviceSwitchPorts lists the switch ports for a switch

List the switch ports for a switch

func (*Client) GetDeviceSwitchPortsStatuses

func (a *Client) GetDeviceSwitchPortsStatuses(params *GetDeviceSwitchPortsStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesOK, error)

GetDeviceSwitchPortsStatuses returns the status for all the ports of a switch

Return the status for all the ports of a switch

func (*Client) GetDeviceSwitchPortsStatusesPackets

func (a *Client) GetDeviceSwitchPortsStatusesPackets(params *GetDeviceSwitchPortsStatusesPacketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesPacketsOK, error)

GetDeviceSwitchPortsStatusesPackets returns the packet counters for all the ports of a switch

Return the packet counters for all the ports of a switch

func (*Client) GetDeviceSwitchRoutingInterface

func (a *Client) GetDeviceSwitchRoutingInterface(params *GetDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceOK, error)

GetDeviceSwitchRoutingInterface returns a layer 3 interface for a switch

Return a layer 3 interface for a switch

func (*Client) GetDeviceSwitchRoutingInterfaceDhcp

func (a *Client) GetDeviceSwitchRoutingInterfaceDhcp(params *GetDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceDhcpOK, error)

GetDeviceSwitchRoutingInterfaceDhcp returns a layer 3 interface d h c p configuration for a switch

Return a layer 3 interface DHCP configuration for a switch

func (*Client) GetDeviceSwitchRoutingInterfaces

func (a *Client) GetDeviceSwitchRoutingInterfaces(params *GetDeviceSwitchRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfacesOK, error)

GetDeviceSwitchRoutingInterfaces lists layer 3 interfaces for a switch

List layer 3 interfaces for a switch. Those for a stack may be found under switch stack routing.

func (*Client) GetDeviceSwitchRoutingStaticRoute

func (a *Client) GetDeviceSwitchRoutingStaticRoute(params *GetDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRouteOK, error)

GetDeviceSwitchRoutingStaticRoute returns a layer 3 static route for a switch

Return a layer 3 static route for a switch

func (*Client) GetDeviceSwitchRoutingStaticRoutes

func (a *Client) GetDeviceSwitchRoutingStaticRoutes(params *GetDeviceSwitchRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRoutesOK, error)

GetDeviceSwitchRoutingStaticRoutes lists layer 3 static routes for a switch

List layer 3 static routes for a switch

func (*Client) GetDeviceSwitchWarmSpare

func (a *Client) GetDeviceSwitchWarmSpare(params *GetDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchWarmSpareOK, error)

GetDeviceSwitchWarmSpare returns warm spare configuration for a switch

Return warm spare configuration for a switch

func (*Client) GetNetworkSwitchAccessControlLists

func (a *Client) GetNetworkSwitchAccessControlLists(params *GetNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessControlListsOK, error)

GetNetworkSwitchAccessControlLists returns the access control lists for a m s network

Return the access control lists for a MS network

func (*Client) GetNetworkSwitchAccessPolicies

func (a *Client) GetNetworkSwitchAccessPolicies(params *GetNetworkSwitchAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPoliciesOK, error)

GetNetworkSwitchAccessPolicies lists the access policies for a switch network

List the access policies for a switch network. Only returns access policies with 'my RADIUS server' as authentication method

func (*Client) GetNetworkSwitchAccessPolicy

func (a *Client) GetNetworkSwitchAccessPolicy(params *GetNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPolicyOK, error)

GetNetworkSwitchAccessPolicy returns a specific access policy for a switch network

Return a specific access policy for a switch network

func (*Client) GetNetworkSwitchAlternateManagementInterface

GetNetworkSwitchAlternateManagementInterface returns the switch alternate management interface for the network

Return the switch alternate management interface for the network

func (*Client) GetNetworkSwitchDhcpServerPolicy

func (a *Client) GetNetworkSwitchDhcpServerPolicy(params *GetNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyOK, error)

GetNetworkSwitchDhcpServerPolicy returns the d h c p server settings

Return the DHCP server settings. Blocked/allowed servers are only applied when default policy is allow/block, respectively

func (*Client) GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers returns the list of servers trusted by dynamic a r p inspection on this network

Return the list of servers trusted by Dynamic ARP Inspection on this network. These are also known as allow listed snoop entries

func (*Client) GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice

GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice returns the devices that have a dynamic a r p inspection warning and their warnings

Return the devices that have a Dynamic ARP Inspection warning and their warnings

func (*Client) GetNetworkSwitchDhcpV4ServersSeen

func (a *Client) GetNetworkSwitchDhcpV4ServersSeen(params *GetNetworkSwitchDhcpV4ServersSeenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpV4ServersSeenOK, error)

GetNetworkSwitchDhcpV4ServersSeen returns the network s d h c pv4 servers seen within the selected timeframe default 1 day

Return the network's DHCPv4 servers seen within the selected timeframe (default 1 day)

func (*Client) GetNetworkSwitchDscpToCosMappings

func (a *Client) GetNetworkSwitchDscpToCosMappings(params *GetNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDscpToCosMappingsOK, error)

GetNetworkSwitchDscpToCosMappings returns the d s c p to co s mappings

Return the DSCP to CoS mappings

func (*Client) GetNetworkSwitchLinkAggregations

func (a *Client) GetNetworkSwitchLinkAggregations(params *GetNetworkSwitchLinkAggregationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchLinkAggregationsOK, error)

GetNetworkSwitchLinkAggregations lists link aggregation groups

List link aggregation groups

func (*Client) GetNetworkSwitchMtu

func (a *Client) GetNetworkSwitchMtu(params *GetNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchMtuOK, error)

GetNetworkSwitchMtu returns the m t u configuration

Return the MTU configuration

func (*Client) GetNetworkSwitchPortSchedules

func (a *Client) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchPortSchedulesOK, error)

GetNetworkSwitchPortSchedules lists switch port schedules

List switch port schedules

func (*Client) GetNetworkSwitchQosRule

func (a *Client) GetNetworkSwitchQosRule(params *GetNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRuleOK, error)

GetNetworkSwitchQosRule returns a quality of service rule

Return a quality of service rule

func (*Client) GetNetworkSwitchQosRules

func (a *Client) GetNetworkSwitchQosRules(params *GetNetworkSwitchQosRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOK, error)

GetNetworkSwitchQosRules lists quality of service rules

List quality of service rules

func (*Client) GetNetworkSwitchQosRulesOrder

func (a *Client) GetNetworkSwitchQosRulesOrder(params *GetNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOrderOK, error)

GetNetworkSwitchQosRulesOrder returns the quality of service rule i ds by order in which they will be processed by the switch

Return the quality of service rule IDs by order in which they will be processed by the switch

func (*Client) GetNetworkSwitchRoutingMulticast

func (a *Client) GetNetworkSwitchRoutingMulticast(params *GetNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastOK, error)

GetNetworkSwitchRoutingMulticast returns multicast settings for a network

Return multicast settings for a network

func (*Client) GetNetworkSwitchRoutingMulticastRendezvousPoint

GetNetworkSwitchRoutingMulticastRendezvousPoint returns a multicast rendezvous point

Return a multicast rendezvous point

func (*Client) GetNetworkSwitchRoutingMulticastRendezvousPoints

GetNetworkSwitchRoutingMulticastRendezvousPoints lists multicast rendezvous points

List multicast rendezvous points

func (*Client) GetNetworkSwitchRoutingOspf

func (a *Client) GetNetworkSwitchRoutingOspf(params *GetNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingOspfOK, error)

GetNetworkSwitchRoutingOspf returns layer 3 o s p f routing configuration

Return layer 3 OSPF routing configuration

func (*Client) GetNetworkSwitchSettings

func (a *Client) GetNetworkSwitchSettings(params *GetNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchSettingsOK, error)

GetNetworkSwitchSettings returns the switch network settings

Returns the switch network settings

func (*Client) GetNetworkSwitchStack

func (a *Client) GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackOK, error)

GetNetworkSwitchStack shows a switch stack

Show a switch stack

func (*Client) GetNetworkSwitchStackRoutingInterface

func (a *Client) GetNetworkSwitchStackRoutingInterface(params *GetNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceOK, error)

GetNetworkSwitchStackRoutingInterface returns a layer 3 interface from a switch stack

Return a layer 3 interface from a switch stack

func (*Client) GetNetworkSwitchStackRoutingInterfaceDhcp

GetNetworkSwitchStackRoutingInterfaceDhcp returns a layer 3 interface d h c p configuration for a switch stack

Return a layer 3 interface DHCP configuration for a switch stack

func (*Client) GetNetworkSwitchStackRoutingInterfaces

GetNetworkSwitchStackRoutingInterfaces lists layer 3 interfaces for a switch stack

List layer 3 interfaces for a switch stack

func (*Client) GetNetworkSwitchStackRoutingStaticRoute

GetNetworkSwitchStackRoutingStaticRoute returns a layer 3 static route for a switch stack

Return a layer 3 static route for a switch stack

func (*Client) GetNetworkSwitchStackRoutingStaticRoutes

GetNetworkSwitchStackRoutingStaticRoutes lists layer 3 static routes for a switch stack

List layer 3 static routes for a switch stack

func (*Client) GetNetworkSwitchStacks

func (a *Client) GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStacksOK, error)

GetNetworkSwitchStacks lists the switch stacks in a network

List the switch stacks in a network

func (*Client) GetNetworkSwitchStormControl

func (a *Client) GetNetworkSwitchStormControl(params *GetNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStormControlOK, error)

GetNetworkSwitchStormControl returns the storm control configuration for a switch network

Return the storm control configuration for a switch network

func (*Client) GetNetworkSwitchStp

func (a *Client) GetNetworkSwitchStp(params *GetNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStpOK, error)

GetNetworkSwitchStp returns s t p settings

Returns STP settings

func (*Client) GetOrganizationConfigTemplateSwitchProfilePort

GetOrganizationConfigTemplateSwitchProfilePort returns a switch template port

Return a switch template port

func (*Client) GetOrganizationConfigTemplateSwitchProfilePorts

GetOrganizationConfigTemplateSwitchProfilePorts returns all the ports of a switch template

Return all the ports of a switch template

func (*Client) GetOrganizationConfigTemplateSwitchProfiles

GetOrganizationConfigTemplateSwitchProfiles lists the switch templates for your switch template configuration

List the switch templates for your switch template configuration

func (*Client) GetOrganizationSwitchPortsBySwitch

func (a *Client) GetOrganizationSwitchPortsBySwitch(params *GetOrganizationSwitchPortsBySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSwitchPortsBySwitchOK, error)

GetOrganizationSwitchPortsBySwitch lists the switchports in an organization by switch

List the switchports in an organization by switch

func (*Client) RemoveNetworkSwitchStack

func (a *Client) RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNetworkSwitchStackOK, error)

RemoveNetworkSwitchStack removes a switch from a stack

Remove a switch from a stack

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateDeviceSwitchPort

func (a *Client) UpdateDeviceSwitchPort(params *UpdateDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchPortOK, error)

UpdateDeviceSwitchPort updates a switch port

Update a switch port

func (*Client) UpdateDeviceSwitchRoutingInterface

func (a *Client) UpdateDeviceSwitchRoutingInterface(params *UpdateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceOK, error)

UpdateDeviceSwitchRoutingInterface updates a layer 3 interface for a switch

Update a layer 3 interface for a switch

func (*Client) UpdateDeviceSwitchRoutingInterfaceDhcp

UpdateDeviceSwitchRoutingInterfaceDhcp updates a layer 3 interface d h c p configuration for a switch

Update a layer 3 interface DHCP configuration for a switch

func (*Client) UpdateDeviceSwitchRoutingStaticRoute

func (a *Client) UpdateDeviceSwitchRoutingStaticRoute(params *UpdateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingStaticRouteOK, error)

UpdateDeviceSwitchRoutingStaticRoute updates a layer 3 static route for a switch

Update a layer 3 static route for a switch

func (*Client) UpdateDeviceSwitchWarmSpare

func (a *Client) UpdateDeviceSwitchWarmSpare(params *UpdateDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchWarmSpareOK, error)

UpdateDeviceSwitchWarmSpare updates warm spare configuration for a switch

Update warm spare configuration for a switch. The spare will use the same L3 configuration as the primary. Note that this will irreversibly destroy any existing L3 configuration on the spare.

func (*Client) UpdateNetworkSwitchAccessControlLists

func (a *Client) UpdateNetworkSwitchAccessControlLists(params *UpdateNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessControlListsOK, error)

UpdateNetworkSwitchAccessControlLists updates the access control lists for a m s network

Update the access control lists for a MS network

func (*Client) UpdateNetworkSwitchAccessPolicy

func (a *Client) UpdateNetworkSwitchAccessPolicy(params *UpdateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessPolicyOK, error)

UpdateNetworkSwitchAccessPolicy updates an access policy for a switch network

Update an access policy for a switch network. If you would like to enable Meraki Authentication, set radiusServers to empty array.

func (*Client) UpdateNetworkSwitchAlternateManagementInterface

UpdateNetworkSwitchAlternateManagementInterface updates the switch alternate management interface for the network

Update the switch alternate management interface for the network

func (*Client) UpdateNetworkSwitchDhcpServerPolicy

func (a *Client) UpdateNetworkSwitchDhcpServerPolicy(params *UpdateNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyOK, error)

UpdateNetworkSwitchDhcpServerPolicy updates the d h c p server settings

Update the DHCP server settings. Blocked/allowed servers are only applied when default policy is allow/block, respectively

func (*Client) UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer updates a server that is trusted by dynamic a r p inspection on this network

Update a server that is trusted by Dynamic ARP Inspection on this network

func (*Client) UpdateNetworkSwitchDscpToCosMappings

func (a *Client) UpdateNetworkSwitchDscpToCosMappings(params *UpdateNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDscpToCosMappingsOK, error)

UpdateNetworkSwitchDscpToCosMappings updates the d s c p to co s mappings

Update the DSCP to CoS mappings

func (*Client) UpdateNetworkSwitchLinkAggregation

func (a *Client) UpdateNetworkSwitchLinkAggregation(params *UpdateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchLinkAggregationOK, error)

UpdateNetworkSwitchLinkAggregation updates a link aggregation group

Update a link aggregation group

func (*Client) UpdateNetworkSwitchMtu

func (a *Client) UpdateNetworkSwitchMtu(params *UpdateNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchMtuOK, error)

UpdateNetworkSwitchMtu updates the m t u configuration

Update the MTU configuration

func (*Client) UpdateNetworkSwitchPortSchedule

func (a *Client) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchPortScheduleOK, error)

UpdateNetworkSwitchPortSchedule updates a switch port schedule

Update a switch port schedule

func (*Client) UpdateNetworkSwitchQosRule

func (a *Client) UpdateNetworkSwitchQosRule(params *UpdateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRuleOK, error)

UpdateNetworkSwitchQosRule updates a quality of service rule

Update a quality of service rule

func (*Client) UpdateNetworkSwitchQosRulesOrder

func (a *Client) UpdateNetworkSwitchQosRulesOrder(params *UpdateNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRulesOrderOK, error)

UpdateNetworkSwitchQosRulesOrder updates the order in which the rules should be processed by the switch

Update the order in which the rules should be processed by the switch

func (*Client) UpdateNetworkSwitchRoutingMulticast

func (a *Client) UpdateNetworkSwitchRoutingMulticast(params *UpdateNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastOK, error)

UpdateNetworkSwitchRoutingMulticast updates multicast settings for a network

Update multicast settings for a network

func (*Client) UpdateNetworkSwitchRoutingMulticastRendezvousPoint

UpdateNetworkSwitchRoutingMulticastRendezvousPoint updates a multicast rendezvous point

Update a multicast rendezvous point

func (*Client) UpdateNetworkSwitchRoutingOspf

func (a *Client) UpdateNetworkSwitchRoutingOspf(params *UpdateNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingOspfOK, error)

UpdateNetworkSwitchRoutingOspf updates layer 3 o s p f routing configuration

Update layer 3 OSPF routing configuration

func (*Client) UpdateNetworkSwitchSettings

func (a *Client) UpdateNetworkSwitchSettings(params *UpdateNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchSettingsOK, error)

UpdateNetworkSwitchSettings updates switch network settings

Update switch network settings

func (*Client) UpdateNetworkSwitchStackRoutingInterface

UpdateNetworkSwitchStackRoutingInterface updates a layer 3 interface for a switch stack

Update a layer 3 interface for a switch stack

func (*Client) UpdateNetworkSwitchStackRoutingInterfaceDhcp

UpdateNetworkSwitchStackRoutingInterfaceDhcp updates a layer 3 interface d h c p configuration for a switch stack

Update a layer 3 interface DHCP configuration for a switch stack

func (*Client) UpdateNetworkSwitchStackRoutingStaticRoute

UpdateNetworkSwitchStackRoutingStaticRoute updates a layer 3 static route for a switch stack

Update a layer 3 static route for a switch stack

func (*Client) UpdateNetworkSwitchStormControl

func (a *Client) UpdateNetworkSwitchStormControl(params *UpdateNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStormControlOK, error)

UpdateNetworkSwitchStormControl updates the storm control configuration for a switch network

Update the storm control configuration for a switch network

func (*Client) UpdateNetworkSwitchStp

func (a *Client) UpdateNetworkSwitchStp(params *UpdateNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStpOK, error)

UpdateNetworkSwitchStp updates s t p settings

Updates STP settings

func (*Client) UpdateOrganizationConfigTemplateSwitchProfilePort

UpdateOrganizationConfigTemplateSwitchProfilePort updates a switch template port

Update a switch template port

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNetworkSwitchStackOK, error)

	CloneOrganizationSwitchDevices(params *CloneOrganizationSwitchDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloneOrganizationSwitchDevicesOK, error)

	CreateDeviceSwitchRoutingInterface(params *CreateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingInterfaceCreated, error)

	CreateDeviceSwitchRoutingStaticRoute(params *CreateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingStaticRouteCreated, error)

	CreateNetworkSwitchAccessPolicy(params *CreateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchAccessPolicyCreated, error)

	CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated, error)

	CreateNetworkSwitchLinkAggregation(params *CreateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchLinkAggregationCreated, error)

	CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchPortScheduleCreated, error)

	CreateNetworkSwitchQosRule(params *CreateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchQosRuleCreated, error)

	CreateNetworkSwitchRoutingMulticastRendezvousPoint(params *CreateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated, error)

	CreateNetworkSwitchStack(params *CreateNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackCreated, error)

	CreateNetworkSwitchStackRoutingInterface(params *CreateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingInterfaceCreated, error)

	CreateNetworkSwitchStackRoutingStaticRoute(params *CreateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingStaticRouteCreated, error)

	CycleDeviceSwitchPorts(params *CycleDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleDeviceSwitchPortsOK, error)

	DeleteDeviceSwitchRoutingInterface(params *DeleteDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingInterfaceNoContent, error)

	DeleteDeviceSwitchRoutingStaticRoute(params *DeleteDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingStaticRouteNoContent, error)

	DeleteNetworkSwitchAccessPolicy(params *DeleteNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchAccessPolicyNoContent, error)

	DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent, error)

	DeleteNetworkSwitchLinkAggregation(params *DeleteNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchLinkAggregationNoContent, error)

	DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchPortScheduleNoContent, error)

	DeleteNetworkSwitchQosRule(params *DeleteNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchQosRuleNoContent, error)

	DeleteNetworkSwitchRoutingMulticastRendezvousPoint(params *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent, error)

	DeleteNetworkSwitchStack(params *DeleteNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackNoContent, error)

	DeleteNetworkSwitchStackRoutingInterface(params *DeleteNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingInterfaceNoContent, error)

	DeleteNetworkSwitchStackRoutingStaticRoute(params *DeleteNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent, error)

	GetDeviceSwitchPort(params *GetDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortOK, error)

	GetDeviceSwitchPorts(params *GetDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsOK, error)

	GetDeviceSwitchPortsStatuses(params *GetDeviceSwitchPortsStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesOK, error)

	GetDeviceSwitchPortsStatusesPackets(params *GetDeviceSwitchPortsStatusesPacketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesPacketsOK, error)

	GetDeviceSwitchRoutingInterface(params *GetDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceOK, error)

	GetDeviceSwitchRoutingInterfaceDhcp(params *GetDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceDhcpOK, error)

	GetDeviceSwitchRoutingInterfaces(params *GetDeviceSwitchRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfacesOK, error)

	GetDeviceSwitchRoutingStaticRoute(params *GetDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRouteOK, error)

	GetDeviceSwitchRoutingStaticRoutes(params *GetDeviceSwitchRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRoutesOK, error)

	GetDeviceSwitchWarmSpare(params *GetDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchWarmSpareOK, error)

	GetNetworkSwitchAccessControlLists(params *GetNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessControlListsOK, error)

	GetNetworkSwitchAccessPolicies(params *GetNetworkSwitchAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPoliciesOK, error)

	GetNetworkSwitchAccessPolicy(params *GetNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPolicyOK, error)

	GetNetworkSwitchAlternateManagementInterface(params *GetNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAlternateManagementInterfaceOK, error)

	GetNetworkSwitchDhcpServerPolicy(params *GetNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyOK, error)

	GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers(params *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK, error)

	GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice(params *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK, error)

	GetNetworkSwitchDhcpV4ServersSeen(params *GetNetworkSwitchDhcpV4ServersSeenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpV4ServersSeenOK, error)

	GetNetworkSwitchDscpToCosMappings(params *GetNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDscpToCosMappingsOK, error)

	GetNetworkSwitchLinkAggregations(params *GetNetworkSwitchLinkAggregationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchLinkAggregationsOK, error)

	GetNetworkSwitchMtu(params *GetNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchMtuOK, error)

	GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchPortSchedulesOK, error)

	GetNetworkSwitchQosRule(params *GetNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRuleOK, error)

	GetNetworkSwitchQosRules(params *GetNetworkSwitchQosRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOK, error)

	GetNetworkSwitchQosRulesOrder(params *GetNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOrderOK, error)

	GetNetworkSwitchRoutingMulticast(params *GetNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastOK, error)

	GetNetworkSwitchRoutingMulticastRendezvousPoint(params *GetNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointOK, error)

	GetNetworkSwitchRoutingMulticastRendezvousPoints(params *GetNetworkSwitchRoutingMulticastRendezvousPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK, error)

	GetNetworkSwitchRoutingOspf(params *GetNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingOspfOK, error)

	GetNetworkSwitchSettings(params *GetNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchSettingsOK, error)

	GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackOK, error)

	GetNetworkSwitchStackRoutingInterface(params *GetNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceOK, error)

	GetNetworkSwitchStackRoutingInterfaceDhcp(params *GetNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceDhcpOK, error)

	GetNetworkSwitchStackRoutingInterfaces(params *GetNetworkSwitchStackRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfacesOK, error)

	GetNetworkSwitchStackRoutingStaticRoute(params *GetNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRouteOK, error)

	GetNetworkSwitchStackRoutingStaticRoutes(params *GetNetworkSwitchStackRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRoutesOK, error)

	GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStacksOK, error)

	GetNetworkSwitchStormControl(params *GetNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStormControlOK, error)

	GetNetworkSwitchStp(params *GetNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStpOK, error)

	GetOrganizationConfigTemplateSwitchProfilePort(params *GetOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortOK, error)

	GetOrganizationConfigTemplateSwitchProfilePorts(params *GetOrganizationConfigTemplateSwitchProfilePortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortsOK, error)

	GetOrganizationConfigTemplateSwitchProfiles(params *GetOrganizationConfigTemplateSwitchProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilesOK, error)

	GetOrganizationSwitchPortsBySwitch(params *GetOrganizationSwitchPortsBySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSwitchPortsBySwitchOK, error)

	RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNetworkSwitchStackOK, error)

	UpdateDeviceSwitchPort(params *UpdateDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchPortOK, error)

	UpdateDeviceSwitchRoutingInterface(params *UpdateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceOK, error)

	UpdateDeviceSwitchRoutingInterfaceDhcp(params *UpdateDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceDhcpOK, error)

	UpdateDeviceSwitchRoutingStaticRoute(params *UpdateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingStaticRouteOK, error)

	UpdateDeviceSwitchWarmSpare(params *UpdateDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchWarmSpareOK, error)

	UpdateNetworkSwitchAccessControlLists(params *UpdateNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessControlListsOK, error)

	UpdateNetworkSwitchAccessPolicy(params *UpdateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessPolicyOK, error)

	UpdateNetworkSwitchAlternateManagementInterface(params *UpdateNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAlternateManagementInterfaceOK, error)

	UpdateNetworkSwitchDhcpServerPolicy(params *UpdateNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyOK, error)

	UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK, error)

	UpdateNetworkSwitchDscpToCosMappings(params *UpdateNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDscpToCosMappingsOK, error)

	UpdateNetworkSwitchLinkAggregation(params *UpdateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchLinkAggregationOK, error)

	UpdateNetworkSwitchMtu(params *UpdateNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchMtuOK, error)

	UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchPortScheduleOK, error)

	UpdateNetworkSwitchQosRule(params *UpdateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRuleOK, error)

	UpdateNetworkSwitchQosRulesOrder(params *UpdateNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRulesOrderOK, error)

	UpdateNetworkSwitchRoutingMulticast(params *UpdateNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastOK, error)

	UpdateNetworkSwitchRoutingMulticastRendezvousPoint(params *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK, error)

	UpdateNetworkSwitchRoutingOspf(params *UpdateNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingOspfOK, error)

	UpdateNetworkSwitchSettings(params *UpdateNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchSettingsOK, error)

	UpdateNetworkSwitchStackRoutingInterface(params *UpdateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceOK, error)

	UpdateNetworkSwitchStackRoutingInterfaceDhcp(params *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK, error)

	UpdateNetworkSwitchStackRoutingStaticRoute(params *UpdateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingStaticRouteOK, error)

	UpdateNetworkSwitchStormControl(params *UpdateNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStormControlOK, error)

	UpdateNetworkSwitchStp(params *UpdateNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStpOK, error)

	UpdateOrganizationConfigTemplateSwitchProfilePort(params *UpdateOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationConfigTemplateSwitchProfilePortOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new switch operations API client.

type CloneOrganizationSwitchDevicesBody

type CloneOrganizationSwitchDevicesBody struct {

	// Serial number of the source switch (must be on a network not bound to a template)
	// Required: true
	SourceSerial *string `json:"sourceSerial"`

	// Array of serial numbers of one or more target switches (must be on a network not bound to a template)
	// Required: true
	TargetSerials []string `json:"targetSerials"`
}

CloneOrganizationSwitchDevicesBody clone organization switch devices body // Example: {"sourceSerial":"Q234-ABCD-5678","targetSerials":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]} swagger:model CloneOrganizationSwitchDevicesBody

func (*CloneOrganizationSwitchDevicesBody) ContextValidate

func (o *CloneOrganizationSwitchDevicesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this clone organization switch devices body based on context it is used

func (*CloneOrganizationSwitchDevicesBody) MarshalBinary

func (o *CloneOrganizationSwitchDevicesBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CloneOrganizationSwitchDevicesBody) UnmarshalBinary

func (o *CloneOrganizationSwitchDevicesBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CloneOrganizationSwitchDevicesBody) Validate

Validate validates this clone organization switch devices body

type CloneOrganizationSwitchDevicesOK

type CloneOrganizationSwitchDevicesOK struct {
	Payload interface{}
}

CloneOrganizationSwitchDevicesOK describes a response with status code 200, with default header values.

Successful operation

func NewCloneOrganizationSwitchDevicesOK

func NewCloneOrganizationSwitchDevicesOK() *CloneOrganizationSwitchDevicesOK

NewCloneOrganizationSwitchDevicesOK creates a CloneOrganizationSwitchDevicesOK with default headers values

func (*CloneOrganizationSwitchDevicesOK) Code

Code gets the status code for the clone organization switch devices o k response

func (*CloneOrganizationSwitchDevicesOK) Error

func (*CloneOrganizationSwitchDevicesOK) GetPayload

func (o *CloneOrganizationSwitchDevicesOK) GetPayload() interface{}

func (*CloneOrganizationSwitchDevicesOK) IsClientError

func (o *CloneOrganizationSwitchDevicesOK) IsClientError() bool

IsClientError returns true when this clone organization switch devices o k response has a 4xx status code

func (*CloneOrganizationSwitchDevicesOK) IsCode

func (o *CloneOrganizationSwitchDevicesOK) IsCode(code int) bool

IsCode returns true when this clone organization switch devices o k response a status code equal to that given

func (*CloneOrganizationSwitchDevicesOK) IsRedirect

func (o *CloneOrganizationSwitchDevicesOK) IsRedirect() bool

IsRedirect returns true when this clone organization switch devices o k response has a 3xx status code

func (*CloneOrganizationSwitchDevicesOK) IsServerError

func (o *CloneOrganizationSwitchDevicesOK) IsServerError() bool

IsServerError returns true when this clone organization switch devices o k response has a 5xx status code

func (*CloneOrganizationSwitchDevicesOK) IsSuccess

func (o *CloneOrganizationSwitchDevicesOK) IsSuccess() bool

IsSuccess returns true when this clone organization switch devices o k response has a 2xx status code

func (*CloneOrganizationSwitchDevicesOK) String

type CloneOrganizationSwitchDevicesParams

type CloneOrganizationSwitchDevicesParams struct {

	// CloneOrganizationSwitchDevices.
	CloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CloneOrganizationSwitchDevicesParams contains all the parameters to send to the API endpoint

for the clone organization switch devices operation.

Typically these are written to a http.Request.

func NewCloneOrganizationSwitchDevicesParams

func NewCloneOrganizationSwitchDevicesParams() *CloneOrganizationSwitchDevicesParams

NewCloneOrganizationSwitchDevicesParams creates a new CloneOrganizationSwitchDevicesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCloneOrganizationSwitchDevicesParamsWithContext

func NewCloneOrganizationSwitchDevicesParamsWithContext(ctx context.Context) *CloneOrganizationSwitchDevicesParams

NewCloneOrganizationSwitchDevicesParamsWithContext creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a context for a request.

func NewCloneOrganizationSwitchDevicesParamsWithHTTPClient

func NewCloneOrganizationSwitchDevicesParamsWithHTTPClient(client *http.Client) *CloneOrganizationSwitchDevicesParams

NewCloneOrganizationSwitchDevicesParamsWithHTTPClient creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a custom HTTPClient for a request.

func NewCloneOrganizationSwitchDevicesParamsWithTimeout

func NewCloneOrganizationSwitchDevicesParamsWithTimeout(timeout time.Duration) *CloneOrganizationSwitchDevicesParams

NewCloneOrganizationSwitchDevicesParamsWithTimeout creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a timeout on a request.

func (*CloneOrganizationSwitchDevicesParams) SetCloneOrganizationSwitchDevices

func (o *CloneOrganizationSwitchDevicesParams) SetCloneOrganizationSwitchDevices(cloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody)

SetCloneOrganizationSwitchDevices adds the cloneOrganizationSwitchDevices to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) SetContext

SetContext adds the context to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) SetDefaults

func (o *CloneOrganizationSwitchDevicesParams) SetDefaults()

SetDefaults hydrates default values in the clone organization switch devices params (not the query body).

All values with no default are reset to their zero value.

func (*CloneOrganizationSwitchDevicesParams) SetHTTPClient

func (o *CloneOrganizationSwitchDevicesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) SetOrganizationID

func (o *CloneOrganizationSwitchDevicesParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) SetTimeout

func (o *CloneOrganizationSwitchDevicesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WithCloneOrganizationSwitchDevices

func (o *CloneOrganizationSwitchDevicesParams) WithCloneOrganizationSwitchDevices(cloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody) *CloneOrganizationSwitchDevicesParams

WithCloneOrganizationSwitchDevices adds the cloneOrganizationSwitchDevices to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WithContext

WithContext adds the context to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WithDefaults

WithDefaults hydrates default values in the clone organization switch devices params (not the query body).

All values with no default are reset to their zero value.

func (*CloneOrganizationSwitchDevicesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WithOrganizationID

WithOrganizationID adds the organizationID to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WithTimeout

WithTimeout adds the timeout to the clone organization switch devices params

func (*CloneOrganizationSwitchDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CloneOrganizationSwitchDevicesReader

type CloneOrganizationSwitchDevicesReader struct {
	// contains filtered or unexported fields
}

CloneOrganizationSwitchDevicesReader is a Reader for the CloneOrganizationSwitchDevices structure.

func (*CloneOrganizationSwitchDevicesReader) ReadResponse

func (o *CloneOrganizationSwitchDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateDeviceSwitchRoutingInterfaceBody

type CreateDeviceSwitchRoutingInterfaceBody struct {

	// The next hop for any traffic that isn't going to a directly connected subnet or over a static route.         This IP address must exist in a subnet with a routed interface. Required if this is the first IPv4 interface.
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The IP address this switch will use for layer 3 routing on this VLAN or subnet. This cannot be the same         as the switch's management IP.
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"`

	// Enable multicast support if, multicast routing between VLANs is required. Options are:         'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'.
	// Enum: [IGMP snooping querier disabled enabled]
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// A friendly name or description for the interface or VLAN.
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 `json:"ospfV3,omitempty"`

	// The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24).
	Subnet string `json:"subnet,omitempty"`

	// The VLAN this routed interface is on. VLAN must be between 1 and 4094.
	VlanID int64 `json:"vlanId,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceBody create device switch routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model CreateDeviceSwitchRoutingInterfaceBody

func (*CreateDeviceSwitchRoutingInterfaceBody) ContextValidate

ContextValidate validate this create device switch routing interface body based on the context it is used

func (*CreateDeviceSwitchRoutingInterfaceBody) MarshalBinary

func (o *CreateDeviceSwitchRoutingInterfaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary

func (o *CreateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceBody) Validate

Validate validates this create device switch routing interface body

type CreateDeviceSwitchRoutingInterfaceCreated

type CreateDeviceSwitchRoutingInterfaceCreated struct {
	Payload *CreateDeviceSwitchRoutingInterfaceCreatedBody
}

CreateDeviceSwitchRoutingInterfaceCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateDeviceSwitchRoutingInterfaceCreated

func NewCreateDeviceSwitchRoutingInterfaceCreated() *CreateDeviceSwitchRoutingInterfaceCreated

NewCreateDeviceSwitchRoutingInterfaceCreated creates a CreateDeviceSwitchRoutingInterfaceCreated with default headers values

func (*CreateDeviceSwitchRoutingInterfaceCreated) Code

Code gets the status code for the create device switch routing interface created response

func (*CreateDeviceSwitchRoutingInterfaceCreated) Error

func (*CreateDeviceSwitchRoutingInterfaceCreated) GetPayload

func (*CreateDeviceSwitchRoutingInterfaceCreated) IsClientError

IsClientError returns true when this create device switch routing interface created response has a 4xx status code

func (*CreateDeviceSwitchRoutingInterfaceCreated) IsCode

IsCode returns true when this create device switch routing interface created response a status code equal to that given

func (*CreateDeviceSwitchRoutingInterfaceCreated) IsRedirect

IsRedirect returns true when this create device switch routing interface created response has a 3xx status code

func (*CreateDeviceSwitchRoutingInterfaceCreated) IsServerError

IsServerError returns true when this create device switch routing interface created response has a 5xx status code

func (*CreateDeviceSwitchRoutingInterfaceCreated) IsSuccess

IsSuccess returns true when this create device switch routing interface created response has a 2xx status code

func (*CreateDeviceSwitchRoutingInterfaceCreated) String

type CreateDeviceSwitchRoutingInterfaceCreatedBody

type CreateDeviceSwitchRoutingInterfaceCreatedBody struct {

	// IPv4 default gateway
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The id
	InterfaceID string `json:"interfaceId,omitempty"`

	// IPv4 address
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 `json:"ipv6,omitempty"`

	// Multicast routing status
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// The name
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 `json:"ospfV3,omitempty"`

	// IPv4 subnet
	Subnet string `json:"subnet,omitempty"`

	// VLAN id
	VlanID int64 `json:"vlanId,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceCreatedBody create device switch routing interface created body swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBody

func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) ContextValidate

ContextValidate validate this create device switch routing interface created body based on the context it is used

func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) Validate

Validate validates this create device switch routing interface created body

type CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6

type CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 struct {

	// IPv6 address
	Address string `json:"address,omitempty"`

	// Assignment mode
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// IPv6 gateway
	Gateway string `json:"gateway,omitempty"`

	// IPv6 subnet
	Prefix string `json:"prefix,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 IPv6 addressing swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) ContextValidate

ContextValidate validates this create device switch routing interface created body IP v6 based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) Validate

Validate validates this create device switch routing interface created body IP v6

type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings

type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv4 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings IPv4 OSPF Settings swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) ContextValidate

ContextValidate validates this create device switch routing interface created body ospf settings based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) Validate

Validate validates this create device switch routing interface created body ospf settings

type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3

type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv6 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 IPv6 OSPF Settings swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) ContextValidate

ContextValidate validates this create device switch routing interface created body ospf v3 based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) Validate

Validate validates this create device switch routing interface created body ospf v3

type CreateDeviceSwitchRoutingInterfaceParams

type CreateDeviceSwitchRoutingInterfaceParams struct {

	// CreateDeviceSwitchRoutingInterface.
	CreateDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the create device switch routing interface operation.

Typically these are written to a http.Request.

func NewCreateDeviceSwitchRoutingInterfaceParams

func NewCreateDeviceSwitchRoutingInterfaceParams() *CreateDeviceSwitchRoutingInterfaceParams

NewCreateDeviceSwitchRoutingInterfaceParams creates a new CreateDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateDeviceSwitchRoutingInterfaceParamsWithContext

func NewCreateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingInterfaceParams

NewCreateDeviceSwitchRoutingInterfaceParamsWithContext creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.

func NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient

func NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingInterfaceParams

NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout

func NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingInterfaceParams

NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*CreateDeviceSwitchRoutingInterfaceParams) SetContext

SetContext adds the context to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) SetCreateDeviceSwitchRoutingInterface

func (o *CreateDeviceSwitchRoutingInterfaceParams) SetCreateDeviceSwitchRoutingInterface(createDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody)

SetCreateDeviceSwitchRoutingInterface adds the createDeviceSwitchRoutingInterface to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the create device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceSwitchRoutingInterfaceParams) SetHTTPClient

func (o *CreateDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) SetSerial

func (o *CreateDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WithContext

WithContext adds the context to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WithCreateDeviceSwitchRoutingInterface

func (o *CreateDeviceSwitchRoutingInterfaceParams) WithCreateDeviceSwitchRoutingInterface(createDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody) *CreateDeviceSwitchRoutingInterfaceParams

WithCreateDeviceSwitchRoutingInterface adds the createDeviceSwitchRoutingInterface to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the create device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceSwitchRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WithSerial

WithSerial adds the serial to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the create device switch routing interface params

func (*CreateDeviceSwitchRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6

type CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6 struct {

	// The IPv6 address of the interface. Required if assignmentMode is 'static'. Must not be included if           assignmentMode is 'eui-64'.
	Address string `json:"address,omitempty"`

	// The IPv6 assignment mode for the interface. Can be either 'eui-64' or 'static'.
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// The IPv6 default gateway of the interface. Required if prefix is defined and this is the first           interface with IPv6 configured for the switch.
	Gateway string `json:"gateway,omitempty"`

	// The IPv6 prefix of the interface. Required if IPv6 object is included.
	Prefix string `json:"prefix,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6 The IPv6 settings of the interface. swagger:model CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate

ContextValidate validates this create device switch routing interface params body IP v6 based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) Validate

Validate validates this create device switch routing interface params body IP v6

type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings

type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings struct {

	// The OSPF area to which this interface should belong. Can be either 'disabled' or the identifier of an           existing OSPF area. Defaults to 'disabled'.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535           to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPF will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings The OSPF routing settings of the interface. swagger:model CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate

ContextValidate validates this create device switch routing interface params body ospf settings based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) Validate

Validate validates this create device switch routing interface params body ospf settings

type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3

type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 struct {

	// The OSPFv3 area to which this interface should belong. Can be either 'disabled' or the identifier of an           existing OSPFv3 area. Defaults to 'disabled'.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535           to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPFv3 will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 The OSPFv3 routing settings of the interface. swagger:model CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate

ContextValidate validates this create device switch routing interface params body ospf v3 based on context it is used

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) Validate

Validate validates this create device switch routing interface params body ospf v3

type CreateDeviceSwitchRoutingInterfaceReader

type CreateDeviceSwitchRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

CreateDeviceSwitchRoutingInterfaceReader is a Reader for the CreateDeviceSwitchRoutingInterface structure.

func (*CreateDeviceSwitchRoutingInterfaceReader) ReadResponse

func (o *CreateDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateDeviceSwitchRoutingStaticRouteBody

type CreateDeviceSwitchRoutingStaticRouteBody struct {

	// Option to advertise static route via OSPF
	AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"`

	// Name or description for layer 3 static route
	Name string `json:"name,omitempty"`

	// IP address of the next hop device to which the device sends its traffic for the subnet
	// Required: true
	NextHopIP *string `json:"nextHopIp"`

	// Option to prefer static route over OSPF routes
	PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"`

	// The subnet which is routed via this static route and should be specified in CIDR notation (ex. 1.2.3.0/24)
	// Required: true
	Subnet *string `json:"subnet"`
}

CreateDeviceSwitchRoutingStaticRouteBody create device switch routing static route body // Example: {"advertiseViaOspfEnabled":false,"name":"My route","nextHopIp":"1.2.3.4","preferOverOspfRoutesEnabled":false,"subnet":"192.168.1.0/24"} swagger:model CreateDeviceSwitchRoutingStaticRouteBody

func (*CreateDeviceSwitchRoutingStaticRouteBody) ContextValidate

ContextValidate validates this create device switch routing static route body based on context it is used

func (*CreateDeviceSwitchRoutingStaticRouteBody) MarshalBinary

func (o *CreateDeviceSwitchRoutingStaticRouteBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary

func (o *CreateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateDeviceSwitchRoutingStaticRouteBody) Validate

Validate validates this create device switch routing static route body

type CreateDeviceSwitchRoutingStaticRouteCreated

type CreateDeviceSwitchRoutingStaticRouteCreated struct {
	Payload interface{}
}

CreateDeviceSwitchRoutingStaticRouteCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateDeviceSwitchRoutingStaticRouteCreated

func NewCreateDeviceSwitchRoutingStaticRouteCreated() *CreateDeviceSwitchRoutingStaticRouteCreated

NewCreateDeviceSwitchRoutingStaticRouteCreated creates a CreateDeviceSwitchRoutingStaticRouteCreated with default headers values

func (*CreateDeviceSwitchRoutingStaticRouteCreated) Code

Code gets the status code for the create device switch routing static route created response

func (*CreateDeviceSwitchRoutingStaticRouteCreated) Error

func (*CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload

func (o *CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload() interface{}

func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsClientError

IsClientError returns true when this create device switch routing static route created response has a 4xx status code

func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsCode

IsCode returns true when this create device switch routing static route created response a status code equal to that given

func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsRedirect

IsRedirect returns true when this create device switch routing static route created response has a 3xx status code

func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsServerError

IsServerError returns true when this create device switch routing static route created response has a 5xx status code

func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsSuccess

IsSuccess returns true when this create device switch routing static route created response has a 2xx status code

func (*CreateDeviceSwitchRoutingStaticRouteCreated) String

type CreateDeviceSwitchRoutingStaticRouteParams

type CreateDeviceSwitchRoutingStaticRouteParams struct {

	// CreateDeviceSwitchRoutingStaticRoute.
	CreateDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the create device switch routing static route operation.

Typically these are written to a http.Request.

func NewCreateDeviceSwitchRoutingStaticRouteParams

func NewCreateDeviceSwitchRoutingStaticRouteParams() *CreateDeviceSwitchRoutingStaticRouteParams

NewCreateDeviceSwitchRoutingStaticRouteParams creates a new CreateDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingStaticRouteParams

NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingStaticRouteParams

NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout

func NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingStaticRouteParams

NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetContext

SetContext adds the context to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetCreateDeviceSwitchRoutingStaticRoute

func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetCreateDeviceSwitchRoutingStaticRoute(createDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody)

SetCreateDeviceSwitchRoutingStaticRoute adds the createDeviceSwitchRoutingStaticRoute to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the create device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient

func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetSerial

SetSerial adds the serial to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithContext

WithContext adds the context to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithCreateDeviceSwitchRoutingStaticRoute

func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithCreateDeviceSwitchRoutingStaticRoute(createDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody) *CreateDeviceSwitchRoutingStaticRouteParams

WithCreateDeviceSwitchRoutingStaticRoute adds the createDeviceSwitchRoutingStaticRoute to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the create device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithSerial

WithSerial adds the serial to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the create device switch routing static route params

func (*CreateDeviceSwitchRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateDeviceSwitchRoutingStaticRouteReader

type CreateDeviceSwitchRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

CreateDeviceSwitchRoutingStaticRouteReader is a Reader for the CreateDeviceSwitchRoutingStaticRoute structure.

func (*CreateDeviceSwitchRoutingStaticRouteReader) ReadResponse

func (o *CreateDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchAccessPolicyBody

type CreateNetworkSwitchAccessPolicyBody struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *CreateNetworkSwitchAccessPolicyParamsBodyDot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Required: true
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode *string `json:"hostMode"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	// Required: true
	Name *string `json:"name"`

	// radius
	Radius *CreateNetworkSwitchAccessPolicyParamsBodyRadius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	// Required: true
	RadiusAccountingEnabled *bool `json:"radiusAccountingEnabled"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	// Required: true
	RadiusCoaSupportEnabled *bool `json:"radiusCoaSupportEnabled"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	// Required: true
	RadiusServers []*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	// Required: true
	RadiusTestingEnabled *bool `json:"radiusTestingEnabled"`

	// Enable to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	// Required: true
	URLRedirectWalledGardenEnabled *bool `json:"urlRedirectWalledGardenEnabled"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

CreateNetworkSwitchAccessPolicyBody create network switch access policy body // Example: {"accessPolicyType":"Hybrid authentication","dot1x":{"controlDirection":"inbound"},"guestPortBouncing":false,"guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120},"radiusAccountingEnabled":true,"radiusAccountingServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusCoaSupportEnabled":false,"radiusGroupAttribute":"11","radiusServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusTestingEnabled":false,"urlRedirectWalledGardenEnabled":true,"urlRedirectWalledGardenRanges":["192.168.1.0/24"],"voiceVlanClients":true} swagger:model CreateNetworkSwitchAccessPolicyBody

func (*CreateNetworkSwitchAccessPolicyBody) ContextValidate

func (o *CreateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create network switch access policy body based on the context it is used

func (*CreateNetworkSwitchAccessPolicyBody) MarshalBinary

func (o *CreateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyBody) UnmarshalBinary

func (o *CreateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyBody) Validate

Validate validates this create network switch access policy body

type CreateNetworkSwitchAccessPolicyCreated

type CreateNetworkSwitchAccessPolicyCreated struct {
	Payload *CreateNetworkSwitchAccessPolicyCreatedBody
}

CreateNetworkSwitchAccessPolicyCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchAccessPolicyCreated

func NewCreateNetworkSwitchAccessPolicyCreated() *CreateNetworkSwitchAccessPolicyCreated

NewCreateNetworkSwitchAccessPolicyCreated creates a CreateNetworkSwitchAccessPolicyCreated with default headers values

func (*CreateNetworkSwitchAccessPolicyCreated) Code

Code gets the status code for the create network switch access policy created response

func (*CreateNetworkSwitchAccessPolicyCreated) Error

func (*CreateNetworkSwitchAccessPolicyCreated) GetPayload

func (*CreateNetworkSwitchAccessPolicyCreated) IsClientError

func (o *CreateNetworkSwitchAccessPolicyCreated) IsClientError() bool

IsClientError returns true when this create network switch access policy created response has a 4xx status code

func (*CreateNetworkSwitchAccessPolicyCreated) IsCode

IsCode returns true when this create network switch access policy created response a status code equal to that given

func (*CreateNetworkSwitchAccessPolicyCreated) IsRedirect

IsRedirect returns true when this create network switch access policy created response has a 3xx status code

func (*CreateNetworkSwitchAccessPolicyCreated) IsServerError

func (o *CreateNetworkSwitchAccessPolicyCreated) IsServerError() bool

IsServerError returns true when this create network switch access policy created response has a 5xx status code

func (*CreateNetworkSwitchAccessPolicyCreated) IsSuccess

IsSuccess returns true when this create network switch access policy created response has a 2xx status code

func (*CreateNetworkSwitchAccessPolicyCreated) String

type CreateNetworkSwitchAccessPolicyCreatedBody

type CreateNetworkSwitchAccessPolicyCreatedBody struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode string `json:"hostMode,omitempty"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	Name string `json:"name,omitempty"`

	// radius
	Radius *CreateNetworkSwitchAccessPolicyCreatedBodyRadius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	RadiusServers []*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"`

	// Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBody create network switch access policy created body swagger:model CreateNetworkSwitchAccessPolicyCreatedBody

func (*CreateNetworkSwitchAccessPolicyCreatedBody) ContextValidate

ContextValidate validate this create network switch access policy created body based on the context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBody) MarshalBinary

func (o *CreateNetworkSwitchAccessPolicyCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBody) UnmarshalBinary

func (o *CreateNetworkSwitchAccessPolicyCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBody) Validate

Validate validates this create network switch access policy created body

type CreateNetworkSwitchAccessPolicyCreatedBodyDot1x

type CreateNetworkSwitchAccessPolicyCreatedBodyDot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBodyDot1x 802.1x Settings swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyDot1x

func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) ContextValidate

ContextValidate validates this create network switch access policy created body dot1x based on context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) Validate

Validate validates this create network switch access policy created body dot1x

type CreateNetworkSwitchAccessPolicyCreatedBodyRadius

type CreateNetworkSwitchAccessPolicyCreatedBodyRadius struct {

	// critical auth
	CriticalAuth *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBodyRadius Object for RADIUS Settings swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadius

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) ContextValidate

ContextValidate validate this create network switch access policy created body radius based on the context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) Validate

Validate validates this create network switch access policy created body radius

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 create network switch access policy created body radius accounting servers items0 swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) ContextValidate

ContextValidate validates this create network switch access policy created body radius accounting servers items0 based on context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) Validate

Validate validates this create network switch access policy created body radius accounting servers items0

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) ContextValidate

ContextValidate validates this create network switch access policy created body radius critical auth based on context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) Validate

Validate validates this create network switch access policy created body radius critical auth

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0

type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 create network switch access policy created body radius servers items0 swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) ContextValidate

ContextValidate validates this create network switch access policy created body radius servers items0 based on context it is used

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) Validate

Validate validates this create network switch access policy created body radius servers items0

type CreateNetworkSwitchAccessPolicyParams

type CreateNetworkSwitchAccessPolicyParams struct {

	// CreateNetworkSwitchAccessPolicy.
	CreateNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint

for the create network switch access policy operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchAccessPolicyParams

func NewCreateNetworkSwitchAccessPolicyParams() *CreateNetworkSwitchAccessPolicyParams

NewCreateNetworkSwitchAccessPolicyParams creates a new CreateNetworkSwitchAccessPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchAccessPolicyParamsWithContext

func NewCreateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *CreateNetworkSwitchAccessPolicyParams

NewCreateNetworkSwitchAccessPolicyParamsWithContext creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient

func NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchAccessPolicyParams

NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchAccessPolicyParamsWithTimeout

func NewCreateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchAccessPolicyParams

NewCreateNetworkSwitchAccessPolicyParamsWithTimeout creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchAccessPolicyParams) SetContext

SetContext adds the context to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) SetCreateNetworkSwitchAccessPolicy

func (o *CreateNetworkSwitchAccessPolicyParams) SetCreateNetworkSwitchAccessPolicy(createNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody)

SetCreateNetworkSwitchAccessPolicy adds the createNetworkSwitchAccessPolicy to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) SetDefaults

func (o *CreateNetworkSwitchAccessPolicyParams) SetDefaults()

SetDefaults hydrates default values in the create network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchAccessPolicyParams) SetHTTPClient

func (o *CreateNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) SetNetworkID

func (o *CreateNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) SetTimeout

func (o *CreateNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WithContext

WithContext adds the context to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WithCreateNetworkSwitchAccessPolicy

func (o *CreateNetworkSwitchAccessPolicyParams) WithCreateNetworkSwitchAccessPolicy(createNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody) *CreateNetworkSwitchAccessPolicyParams

WithCreateNetworkSwitchAccessPolicy adds the createNetworkSwitchAccessPolicy to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WithDefaults

WithDefaults hydrates default values in the create network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchAccessPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the create network switch access policy params

func (*CreateNetworkSwitchAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchAccessPolicyParamsBodyDot1x

type CreateNetworkSwitchAccessPolicyParamsBodyDot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

CreateNetworkSwitchAccessPolicyParamsBodyDot1x 802.1x Settings swagger:model CreateNetworkSwitchAccessPolicyParamsBodyDot1x

func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate

ContextValidate validates this create network switch access policy params body dot1x based on context it is used

func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) Validate

Validate validates this create network switch access policy params body dot1x

type CreateNetworkSwitchAccessPolicyParamsBodyRadius

type CreateNetworkSwitchAccessPolicyParamsBodyRadius struct {

	// critical auth
	CriticalAuth *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

CreateNetworkSwitchAccessPolicyParamsBodyRadius Object for RADIUS Settings swagger:model CreateNetworkSwitchAccessPolicyParamsBodyRadius

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate

ContextValidate validate this create network switch access policy params body radius based on the context it is used

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) Validate

Validate validates this create network switch access policy params body radius

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	// Required: true
	Host *string `json:"host"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	// Required: true
	Port *int64 `json:"port"`

	// RADIUS client shared secret
	// Required: true
	Secret *string `json:"secret"`
}

CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 create network switch access policy params body radius accounting servers items0 swagger:model CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate

ContextValidate validates this create network switch access policy params body radius accounting servers items0 based on context it is used

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate

Validate validates this create network switch access policy params body radius accounting servers items0

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate

ContextValidate validates this create network switch access policy params body radius critical auth based on context it is used

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) Validate

Validate validates this create network switch access policy params body radius critical auth

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0

type CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	// Required: true
	Host *string `json:"host"`

	// UDP port that the RADIUS server listens on for access requests
	// Required: true
	Port *int64 `json:"port"`

	// RADIUS client shared secret
	// Required: true
	Secret *string `json:"secret"`
}

CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 create network switch access policy params body radius servers items0 swagger:model CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate

ContextValidate validates this create network switch access policy params body radius servers items0 based on context it is used

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) Validate

Validate validates this create network switch access policy params body radius servers items0

type CreateNetworkSwitchAccessPolicyReader

type CreateNetworkSwitchAccessPolicyReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchAccessPolicyReader is a Reader for the CreateNetworkSwitchAccessPolicy structure.

func (*CreateNetworkSwitchAccessPolicyReader) ReadResponse

func (o *CreateNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody struct {

	// ipv4
	// Required: true
	IPV4 *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 `json:"ipv4"`

	// The mac address of the trusted server being added
	// Required: true
	Mac *string `json:"mac"`

	// The VLAN of the trusted server being added. It must be between 1 and 4094
	// Required: true
	Vlan *int64 `json:"vlan"`
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody create network switch dhcp server policy arp inspection trusted server body // Example: {"ipv4":{"address":"1.2.3.4"},"mac":"00:11:22:33:44:55","vlan":100} swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate

ContextValidate validate this create network switch dhcp server policy arp inspection trusted server body based on the context it is used

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate

Validate validates this create network switch dhcp server policy arp inspection trusted server body

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated struct {
	Payload *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated

NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated creates a CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated with default headers values

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Code

Code gets the status code for the create network switch dhcp server policy arp inspection trusted server created response

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Error

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) GetPayload

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsClientError

IsClientError returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 4xx status code

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsCode

IsCode returns true when this create network switch dhcp server policy arp inspection trusted server created response a status code equal to that given

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsRedirect

IsRedirect returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 3xx status code

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsServerError

IsServerError returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 5xx status code

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsSuccess

IsSuccess returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 2xx status code

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) String

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody struct {

	// ipv4
	IPV4 *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 `json:"ipv4,omitempty"`

	// Mac address of the trusted server.
	Mac string `json:"mac,omitempty"`

	// ID of the trusted server.
	TrustedServerID string `json:"trustedServerId,omitempty"`

	// Vlan ID of the trusted server.
	Vlan int64 `json:"vlan,omitempty"`
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody create network switch dhcp server policy arp inspection trusted server created body swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) ContextValidate

ContextValidate validate this create network switch dhcp server policy arp inspection trusted server created body based on the context it is used

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) Validate

Validate validates this create network switch dhcp server policy arp inspection trusted server created body

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 struct {

	// IPv4 address of the trusted server.
	Address string `json:"address,omitempty"`
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 IPv4 attributes of the trusted server. swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) ContextValidate

ContextValidate validates this create network switch dhcp server policy arp inspection trusted server created body IP v4 based on context it is used

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) Validate

Validate validates this create network switch dhcp server policy arp inspection trusted server created body IP v4

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct {

	// CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer.
	CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint

for the create network switch dhcp server policy arp inspection trusted server operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout

func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext

SetContext adds the context to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody)

SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults

SetDefaults hydrates default values in the create network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID

SetNetworkID adds the networkId to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout

SetTimeout adds the timeout to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext

WithContext adds the context to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults

WithDefaults hydrates default values in the create network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout

WithTimeout adds the timeout to the create network switch dhcp server policy arp inspection trusted server params

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 struct {

	// The IPv4 address of the trusted server being added
	Address string `json:"address,omitempty"`
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 The IPv4 attributes of the trusted server being added swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate

ContextValidate validates this create network switch dhcp server policy arp inspection trusted server params body IP v4 based on context it is used

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate

Validate validates this create network switch dhcp server policy arp inspection trusted server params body IP v4

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader

type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.

func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchLinkAggregationBody

type CreateNetworkSwitchLinkAggregationBody struct {

	// Array of switch or stack ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
	SwitchPorts []*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 `json:"switchPorts"`

	// Array of switch profile ports for creating aggregation group. Minimum 2 and maximum 8 ports are supported.
	SwitchProfilePorts []*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 `json:"switchProfilePorts"`
}

CreateNetworkSwitchLinkAggregationBody create network switch link aggregation body // Example: {"switchPorts":[{"portId":"1","serial":"Q234-ABCD-0001"},{"portId":"2","serial":"Q234-ABCD-0002"},{"portId":"3","serial":"Q234-ABCD-0003"},{"portId":"4","serial":"Q234-ABCD-0004"},{"portId":"5","serial":"Q234-ABCD-0005"},{"portId":"6","serial":"Q234-ABCD-0006"},{"portId":"7","serial":"Q234-ABCD-0007"},{"portId":"8","serial":"Q234-ABCD-0008"}]} swagger:model CreateNetworkSwitchLinkAggregationBody

func (*CreateNetworkSwitchLinkAggregationBody) ContextValidate

ContextValidate validate this create network switch link aggregation body based on the context it is used

func (*CreateNetworkSwitchLinkAggregationBody) MarshalBinary

func (o *CreateNetworkSwitchLinkAggregationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationBody) UnmarshalBinary

func (o *CreateNetworkSwitchLinkAggregationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationBody) Validate

Validate validates this create network switch link aggregation body

type CreateNetworkSwitchLinkAggregationCreated

type CreateNetworkSwitchLinkAggregationCreated struct {
	Payload interface{}
}

CreateNetworkSwitchLinkAggregationCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchLinkAggregationCreated

func NewCreateNetworkSwitchLinkAggregationCreated() *CreateNetworkSwitchLinkAggregationCreated

NewCreateNetworkSwitchLinkAggregationCreated creates a CreateNetworkSwitchLinkAggregationCreated with default headers values

func (*CreateNetworkSwitchLinkAggregationCreated) Code

Code gets the status code for the create network switch link aggregation created response

func (*CreateNetworkSwitchLinkAggregationCreated) Error

func (*CreateNetworkSwitchLinkAggregationCreated) GetPayload

func (o *CreateNetworkSwitchLinkAggregationCreated) GetPayload() interface{}

func (*CreateNetworkSwitchLinkAggregationCreated) IsClientError

IsClientError returns true when this create network switch link aggregation created response has a 4xx status code

func (*CreateNetworkSwitchLinkAggregationCreated) IsCode

IsCode returns true when this create network switch link aggregation created response a status code equal to that given

func (*CreateNetworkSwitchLinkAggregationCreated) IsRedirect

IsRedirect returns true when this create network switch link aggregation created response has a 3xx status code

func (*CreateNetworkSwitchLinkAggregationCreated) IsServerError

IsServerError returns true when this create network switch link aggregation created response has a 5xx status code

func (*CreateNetworkSwitchLinkAggregationCreated) IsSuccess

IsSuccess returns true when this create network switch link aggregation created response has a 2xx status code

func (*CreateNetworkSwitchLinkAggregationCreated) String

type CreateNetworkSwitchLinkAggregationParams

type CreateNetworkSwitchLinkAggregationParams struct {

	// CreateNetworkSwitchLinkAggregation.
	CreateNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint

for the create network switch link aggregation operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchLinkAggregationParams

func NewCreateNetworkSwitchLinkAggregationParams() *CreateNetworkSwitchLinkAggregationParams

NewCreateNetworkSwitchLinkAggregationParams creates a new CreateNetworkSwitchLinkAggregationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchLinkAggregationParamsWithContext

func NewCreateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *CreateNetworkSwitchLinkAggregationParams

NewCreateNetworkSwitchLinkAggregationParamsWithContext creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient

func NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchLinkAggregationParams

NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchLinkAggregationParamsWithTimeout

func NewCreateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchLinkAggregationParams

NewCreateNetworkSwitchLinkAggregationParamsWithTimeout creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchLinkAggregationParams) SetContext

SetContext adds the context to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) SetCreateNetworkSwitchLinkAggregation

func (o *CreateNetworkSwitchLinkAggregationParams) SetCreateNetworkSwitchLinkAggregation(createNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody)

SetCreateNetworkSwitchLinkAggregation adds the createNetworkSwitchLinkAggregation to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) SetDefaults

SetDefaults hydrates default values in the create network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchLinkAggregationParams) SetHTTPClient

func (o *CreateNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) SetNetworkID

func (o *CreateNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) SetTimeout

SetTimeout adds the timeout to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WithContext

WithContext adds the context to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WithCreateNetworkSwitchLinkAggregation

func (o *CreateNetworkSwitchLinkAggregationParams) WithCreateNetworkSwitchLinkAggregation(createNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody) *CreateNetworkSwitchLinkAggregationParams

WithCreateNetworkSwitchLinkAggregation adds the createNetworkSwitchLinkAggregation to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WithDefaults

WithDefaults hydrates default values in the create network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchLinkAggregationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WithTimeout

WithTimeout adds the timeout to the create network switch link aggregation params

func (*CreateNetworkSwitchLinkAggregationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0

type CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 struct {

	// Port identifier of switch port. For modules, the identifier is "SlotNumber_ModuleType_PortNumber" (Ex: "1_8X10G_1"), otherwise it is just the port number (Ex: "8").
	// Required: true
	PortID *string `json:"portId"`

	// Serial number of the switch.
	// Required: true
	Serial *string `json:"serial"`
}

CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 create network switch link aggregation params body switch ports items0 swagger:model CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate

ContextValidate validates this create network switch link aggregation params body switch ports items0 based on context it is used

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) Validate

Validate validates this create network switch link aggregation params body switch ports items0

type CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0

type CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 struct {

	// Port identifier of switch port. For modules, the identifier is "SlotNumber_ModuleType_PortNumber" (Ex: "1_8X10G_1"), otherwise it is just the port number (Ex: "8").
	// Required: true
	PortID *string `json:"portId"`

	// Profile identifier.
	// Required: true
	Profile *string `json:"profile"`
}

CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 create network switch link aggregation params body switch profile ports items0 swagger:model CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate

ContextValidate validates this create network switch link aggregation params body switch profile ports items0 based on context it is used

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate

Validate validates this create network switch link aggregation params body switch profile ports items0

type CreateNetworkSwitchLinkAggregationReader

type CreateNetworkSwitchLinkAggregationReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchLinkAggregationReader is a Reader for the CreateNetworkSwitchLinkAggregation structure.

func (*CreateNetworkSwitchLinkAggregationReader) ReadResponse

func (o *CreateNetworkSwitchLinkAggregationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchPortScheduleBody

type CreateNetworkSwitchPortScheduleBody struct {

	// The name for your port schedule. Required
	// Required: true
	Name *string `json:"name"`

	// port schedule
	PortSchedule *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule `json:"portSchedule,omitempty"`
}

CreateNetworkSwitchPortScheduleBody create network switch port schedule body // Example: {"name":"Weekdays schedule","portSchedule":{"friday":{"active":true,"from":"9:00","to":"17:00"},"monday":{"active":true,"from":"9:00","to":"17:00"},"saturday":{"active":false,"from":"0:00","to":"24:00"},"sunday":{"active":false,"from":"0:00","to":"24:00"},"thursday":{"active":true,"from":"9:00","to":"17:00"},"tuesday":{"active":true,"from":"9:00","to":"17:00"},"wednesday":{"active":true,"from":"9:00","to":"17:00"}}} swagger:model CreateNetworkSwitchPortScheduleBody

func (*CreateNetworkSwitchPortScheduleBody) ContextValidate

func (o *CreateNetworkSwitchPortScheduleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create network switch port schedule body based on the context it is used

func (*CreateNetworkSwitchPortScheduleBody) MarshalBinary

func (o *CreateNetworkSwitchPortScheduleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleBody) UnmarshalBinary

func (o *CreateNetworkSwitchPortScheduleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleBody) Validate

Validate validates this create network switch port schedule body

type CreateNetworkSwitchPortScheduleCreated

type CreateNetworkSwitchPortScheduleCreated struct {
	Payload *CreateNetworkSwitchPortScheduleCreatedBody
}

CreateNetworkSwitchPortScheduleCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchPortScheduleCreated

func NewCreateNetworkSwitchPortScheduleCreated() *CreateNetworkSwitchPortScheduleCreated

NewCreateNetworkSwitchPortScheduleCreated creates a CreateNetworkSwitchPortScheduleCreated with default headers values

func (*CreateNetworkSwitchPortScheduleCreated) Code

Code gets the status code for the create network switch port schedule created response

func (*CreateNetworkSwitchPortScheduleCreated) Error

func (*CreateNetworkSwitchPortScheduleCreated) GetPayload

func (*CreateNetworkSwitchPortScheduleCreated) IsClientError

func (o *CreateNetworkSwitchPortScheduleCreated) IsClientError() bool

IsClientError returns true when this create network switch port schedule created response has a 4xx status code

func (*CreateNetworkSwitchPortScheduleCreated) IsCode

IsCode returns true when this create network switch port schedule created response a status code equal to that given

func (*CreateNetworkSwitchPortScheduleCreated) IsRedirect

IsRedirect returns true when this create network switch port schedule created response has a 3xx status code

func (*CreateNetworkSwitchPortScheduleCreated) IsServerError

func (o *CreateNetworkSwitchPortScheduleCreated) IsServerError() bool

IsServerError returns true when this create network switch port schedule created response has a 5xx status code

func (*CreateNetworkSwitchPortScheduleCreated) IsSuccess

IsSuccess returns true when this create network switch port schedule created response has a 2xx status code

func (*CreateNetworkSwitchPortScheduleCreated) String

type CreateNetworkSwitchPortScheduleCreatedBody

type CreateNetworkSwitchPortScheduleCreatedBody struct {

	// Switch port schedule ID
	ID string `json:"id,omitempty"`

	// Switch port schedule name
	Name string `json:"name,omitempty"`

	// Network ID
	NetworkID string `json:"networkId,omitempty"`

	// port schedule
	PortSchedule *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule `json:"portSchedule,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBody create network switch port schedule created body swagger:model CreateNetworkSwitchPortScheduleCreatedBody

func (*CreateNetworkSwitchPortScheduleCreatedBody) ContextValidate

ContextValidate validate this create network switch port schedule created body based on the context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBody) MarshalBinary

func (o *CreateNetworkSwitchPortScheduleCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBody) UnmarshalBinary

func (o *CreateNetworkSwitchPortScheduleCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBody) Validate

Validate validates this create network switch port schedule created body

type CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule

type CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule struct {

	// friday
	Friday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday `json:"friday,omitempty"`

	// monday
	Monday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday `json:"monday,omitempty"`

	// saturday
	Saturday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday `json:"saturday,omitempty"`

	// sunday
	Sunday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday `json:"sunday,omitempty"`

	// thursday
	Thursday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday `json:"thursday,omitempty"`

	// tuesday
	Tuesday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday `json:"wednesday,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule Port schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) ContextValidate

ContextValidate validate this create network switch port schedule created body port schedule based on the context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) Validate

Validate validates this create network switch port schedule created body port schedule

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday Friday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule friday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) Validate

Validate validates this create network switch port schedule created body port schedule friday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday Monday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule monday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) Validate

Validate validates this create network switch port schedule created body port schedule monday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday Saturday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule saturday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) Validate

Validate validates this create network switch port schedule created body port schedule saturday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday Sunday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule sunday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) Validate

Validate validates this create network switch port schedule created body port schedule sunday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday Thursday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule thursday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) Validate

Validate validates this create network switch port schedule created body port schedule thursday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday Tuesday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule tuesday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) Validate

Validate validates this create network switch port schedule created body port schedule tuesday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday

type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday Wednesday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) ContextValidate

ContextValidate validates this create network switch port schedule created body port schedule wednesday based on context it is used

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) Validate

Validate validates this create network switch port schedule created body port schedule wednesday

type CreateNetworkSwitchPortScheduleParams

type CreateNetworkSwitchPortScheduleParams struct {

	// CreateNetworkSwitchPortSchedule.
	CreateNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint

for the create network switch port schedule operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchPortScheduleParams

func NewCreateNetworkSwitchPortScheduleParams() *CreateNetworkSwitchPortScheduleParams

NewCreateNetworkSwitchPortScheduleParams creates a new CreateNetworkSwitchPortScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchPortScheduleParamsWithContext

func NewCreateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams

NewCreateNetworkSwitchPortScheduleParamsWithContext creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient

func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams

NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchPortScheduleParamsWithTimeout

func NewCreateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams

NewCreateNetworkSwitchPortScheduleParamsWithTimeout creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule

func (o *CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody)

SetCreateNetworkSwitchPortSchedule adds the createNetworkSwitchPortSchedule to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetDefaults

func (o *CreateNetworkSwitchPortScheduleParams) SetDefaults()

SetDefaults hydrates default values in the create network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchPortScheduleParams) SetHTTPClient

func (o *CreateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetNetworkID

func (o *CreateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) SetTimeout

func (o *CreateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule

func (o *CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody) *CreateNetworkSwitchPortScheduleParams

WithCreateNetworkSwitchPortSchedule adds the createNetworkSwitchPortSchedule to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithDefaults

WithDefaults hydrates default values in the create network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the create network switch port schedule params

func (*CreateNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchPortScheduleParamsBodyPortSchedule

type CreateNetworkSwitchPortScheduleParamsBodyPortSchedule struct {

	// friday
	Friday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday `json:"friday,omitempty"`

	// monday
	Monday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday `json:"monday,omitempty"`

	// saturday
	Saturday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday `json:"saturday,omitempty"`

	// sunday
	Sunday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday `json:"sunday,omitempty"`

	// thursday
	Thursday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday `json:"thursday,omitempty"`

	// tuesday
	Tuesday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday `json:"wednesday,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortSchedule The schedule for switch port scheduling. Schedules are applied to days of the week. // When it's empty, default schedule with all days of a week are configured. // Any unspecified day in the schedule is added as a default schedule configuration of the day. // swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortSchedule

func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate

ContextValidate validate this create network switch port schedule params body port schedule based on the context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) Validate

Validate validates this create network switch port schedule params body port schedule

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday The schedule object for Friday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule friday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) Validate

Validate validates this create network switch port schedule params body port schedule friday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday The schedule object for Monday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule monday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) Validate

Validate validates this create network switch port schedule params body port schedule monday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday The schedule object for Saturday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule saturday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) Validate

Validate validates this create network switch port schedule params body port schedule saturday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday The schedule object for Sunday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule sunday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) Validate

Validate validates this create network switch port schedule params body port schedule sunday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday The schedule object for Thursday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule thursday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) Validate

Validate validates this create network switch port schedule params body port schedule thursday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday The schedule object for Tuesday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule tuesday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) Validate

Validate validates this create network switch port schedule params body port schedule tuesday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday

type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday The schedule object for Wednesday. swagger:model CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate

ContextValidate validates this create network switch port schedule params body port schedule wednesday based on context it is used

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) Validate

Validate validates this create network switch port schedule params body port schedule wednesday

type CreateNetworkSwitchPortScheduleReader

type CreateNetworkSwitchPortScheduleReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchPortScheduleReader is a Reader for the CreateNetworkSwitchPortSchedule structure.

func (*CreateNetworkSwitchPortScheduleReader) ReadResponse

func (o *CreateNetworkSwitchPortScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchQosRuleBody

type CreateNetworkSwitchQosRuleBody struct {

	// DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0
	Dscp int64 `json:"dscp,omitempty"`

	// The destination port of the incoming packet. Applicable only if protocol is TCP or UDP.
	DstPort int64 `json:"dstPort,omitempty"`

	// The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	DstPortRange string `json:"dstPortRange,omitempty"`

	// The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY"
	// Enum: [ANY TCP UDP]
	Protocol string `json:"protocol,omitempty"`

	// The source port of the incoming packet. Applicable only if protocol is TCP or UDP.
	SrcPort int64 `json:"srcPort,omitempty"`

	// The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	SrcPortRange string `json:"srcPortRange,omitempty"`

	// The VLAN of the incoming packet. A null value will match any VLAN.
	// Required: true
	Vlan *int64 `json:"vlan"`
}

CreateNetworkSwitchQosRuleBody create network switch qos rule body // Example: {"dscp":0,"dstPort":3000,"dstPortRange":"3000-3100","protocol":"TCP","srcPort":2000,"srcPortRange":"70-80","vlan":100} swagger:model CreateNetworkSwitchQosRuleBody

func (*CreateNetworkSwitchQosRuleBody) ContextValidate

func (o *CreateNetworkSwitchQosRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create network switch qos rule body based on context it is used

func (*CreateNetworkSwitchQosRuleBody) MarshalBinary

func (o *CreateNetworkSwitchQosRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchQosRuleBody) UnmarshalBinary

func (o *CreateNetworkSwitchQosRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchQosRuleBody) Validate

func (o *CreateNetworkSwitchQosRuleBody) Validate(formats strfmt.Registry) error

Validate validates this create network switch qos rule body

type CreateNetworkSwitchQosRuleCreated

type CreateNetworkSwitchQosRuleCreated struct {
	Payload interface{}
}

CreateNetworkSwitchQosRuleCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchQosRuleCreated

func NewCreateNetworkSwitchQosRuleCreated() *CreateNetworkSwitchQosRuleCreated

NewCreateNetworkSwitchQosRuleCreated creates a CreateNetworkSwitchQosRuleCreated with default headers values

func (*CreateNetworkSwitchQosRuleCreated) Code

Code gets the status code for the create network switch qos rule created response

func (*CreateNetworkSwitchQosRuleCreated) Error

func (*CreateNetworkSwitchQosRuleCreated) GetPayload

func (o *CreateNetworkSwitchQosRuleCreated) GetPayload() interface{}

func (*CreateNetworkSwitchQosRuleCreated) IsClientError

func (o *CreateNetworkSwitchQosRuleCreated) IsClientError() bool

IsClientError returns true when this create network switch qos rule created response has a 4xx status code

func (*CreateNetworkSwitchQosRuleCreated) IsCode

func (o *CreateNetworkSwitchQosRuleCreated) IsCode(code int) bool

IsCode returns true when this create network switch qos rule created response a status code equal to that given

func (*CreateNetworkSwitchQosRuleCreated) IsRedirect

func (o *CreateNetworkSwitchQosRuleCreated) IsRedirect() bool

IsRedirect returns true when this create network switch qos rule created response has a 3xx status code

func (*CreateNetworkSwitchQosRuleCreated) IsServerError

func (o *CreateNetworkSwitchQosRuleCreated) IsServerError() bool

IsServerError returns true when this create network switch qos rule created response has a 5xx status code

func (*CreateNetworkSwitchQosRuleCreated) IsSuccess

func (o *CreateNetworkSwitchQosRuleCreated) IsSuccess() bool

IsSuccess returns true when this create network switch qos rule created response has a 2xx status code

func (*CreateNetworkSwitchQosRuleCreated) String

type CreateNetworkSwitchQosRuleParams

type CreateNetworkSwitchQosRuleParams struct {

	// CreateNetworkSwitchQosRule.
	CreateNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint

for the create network switch qos rule operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchQosRuleParams

func NewCreateNetworkSwitchQosRuleParams() *CreateNetworkSwitchQosRuleParams

NewCreateNetworkSwitchQosRuleParams creates a new CreateNetworkSwitchQosRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchQosRuleParamsWithContext

func NewCreateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *CreateNetworkSwitchQosRuleParams

NewCreateNetworkSwitchQosRuleParamsWithContext creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchQosRuleParamsWithHTTPClient

func NewCreateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchQosRuleParams

NewCreateNetworkSwitchQosRuleParamsWithHTTPClient creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchQosRuleParamsWithTimeout

func NewCreateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchQosRuleParams

NewCreateNetworkSwitchQosRuleParamsWithTimeout creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchQosRuleParams) SetContext

SetContext adds the context to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) SetCreateNetworkSwitchQosRule

func (o *CreateNetworkSwitchQosRuleParams) SetCreateNetworkSwitchQosRule(createNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody)

SetCreateNetworkSwitchQosRule adds the createNetworkSwitchQosRule to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) SetDefaults

func (o *CreateNetworkSwitchQosRuleParams) SetDefaults()

SetDefaults hydrates default values in the create network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchQosRuleParams) SetHTTPClient

func (o *CreateNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) SetNetworkID

func (o *CreateNetworkSwitchQosRuleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) SetTimeout

func (o *CreateNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WithContext

WithContext adds the context to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WithCreateNetworkSwitchQosRule

func (o *CreateNetworkSwitchQosRuleParams) WithCreateNetworkSwitchQosRule(createNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody) *CreateNetworkSwitchQosRuleParams

WithCreateNetworkSwitchQosRule adds the createNetworkSwitchQosRule to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WithDefaults

WithDefaults hydrates default values in the create network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchQosRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WithTimeout

WithTimeout adds the timeout to the create network switch qos rule params

func (*CreateNetworkSwitchQosRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchQosRuleReader

type CreateNetworkSwitchQosRuleReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchQosRuleReader is a Reader for the CreateNetworkSwitchQosRule structure.

func (*CreateNetworkSwitchQosRuleReader) ReadResponse

func (o *CreateNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchRoutingMulticastRendezvousPointBody

type CreateNetworkSwitchRoutingMulticastRendezvousPointBody struct {

	// The IP address of the interface where the RP needs to be created.
	// Required: true
	InterfaceIP *string `json:"interfaceIp"`

	// 'Any', or the IP address of a multicast group
	// Required: true
	MulticastGroup *string `json:"multicastGroup"`
}

CreateNetworkSwitchRoutingMulticastRendezvousPointBody create network switch routing multicast rendezvous point body // Example: {"interfaceIp":"192.168.1.2","multicastGroup":"192.168.128.0/24"} swagger:model CreateNetworkSwitchRoutingMulticastRendezvousPointBody

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate

ContextValidate validates this create network switch routing multicast rendezvous point body based on context it is used

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) Validate

Validate validates this create network switch routing multicast rendezvous point body

type CreateNetworkSwitchRoutingMulticastRendezvousPointCreated

type CreateNetworkSwitchRoutingMulticastRendezvousPointCreated struct {
	Payload interface{}
}

CreateNetworkSwitchRoutingMulticastRendezvousPointCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated() *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated

NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated creates a CreateNetworkSwitchRoutingMulticastRendezvousPointCreated with default headers values

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Code

Code gets the status code for the create network switch routing multicast rendezvous point created response

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Error

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) GetPayload

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsClientError

IsClientError returns true when this create network switch routing multicast rendezvous point created response has a 4xx status code

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsCode

IsCode returns true when this create network switch routing multicast rendezvous point created response a status code equal to that given

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsRedirect

IsRedirect returns true when this create network switch routing multicast rendezvous point created response has a 3xx status code

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsServerError

IsServerError returns true when this create network switch routing multicast rendezvous point created response has a 5xx status code

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsSuccess

IsSuccess returns true when this create network switch routing multicast rendezvous point created response has a 2xx status code

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) String

type CreateNetworkSwitchRoutingMulticastRendezvousPointParams

type CreateNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	// CreateNetworkSwitchRoutingMulticastRendezvousPoint.
	CreateNetworkSwitchRoutingMulticastRendezvousPoint CreateNetworkSwitchRoutingMulticastRendezvousPointBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint

for the create network switch routing multicast rendezvous point operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams() *CreateNetworkSwitchRoutingMulticastRendezvousPointParams

NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams

NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams

NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout

func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams

NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext

SetContext adds the context to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetCreateNetworkSwitchRoutingMulticastRendezvousPoint

func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetCreateNetworkSwitchRoutingMulticastRendezvousPoint(createNetworkSwitchRoutingMulticastRendezvousPoint CreateNetworkSwitchRoutingMulticastRendezvousPointBody)

SetCreateNetworkSwitchRoutingMulticastRendezvousPoint adds the createNetworkSwitchRoutingMulticastRendezvousPoint to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults

SetDefaults hydrates default values in the create network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID

SetNetworkID adds the networkId to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout

SetTimeout adds the timeout to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext

WithContext adds the context to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithCreateNetworkSwitchRoutingMulticastRendezvousPoint

func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithCreateNetworkSwitchRoutingMulticastRendezvousPoint(createNetworkSwitchRoutingMulticastRendezvousPoint CreateNetworkSwitchRoutingMulticastRendezvousPointBody) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams

WithCreateNetworkSwitchRoutingMulticastRendezvousPoint adds the createNetworkSwitchRoutingMulticastRendezvousPoint to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults

WithDefaults hydrates default values in the create network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout

WithTimeout adds the timeout to the create network switch routing multicast rendezvous point params

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchRoutingMulticastRendezvousPointReader

type CreateNetworkSwitchRoutingMulticastRendezvousPointReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the CreateNetworkSwitchRoutingMulticastRendezvousPoint structure.

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse

func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchStackBody

type CreateNetworkSwitchStackBody struct {

	// The name of the new stack
	// Required: true
	Name *string `json:"name"`

	// An array of switch serials to be added into the new stack
	// Required: true
	Serials []string `json:"serials"`
}

CreateNetworkSwitchStackBody create network switch stack body // Example: {"name":"A cool stack","serials":["QBZY-XWVU-TSRQ","QBAB-CDEF-GHIJ"]} swagger:model CreateNetworkSwitchStackBody

func (*CreateNetworkSwitchStackBody) ContextValidate

func (o *CreateNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create network switch stack body based on context it is used

func (*CreateNetworkSwitchStackBody) MarshalBinary

func (o *CreateNetworkSwitchStackBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateNetworkSwitchStackBody) UnmarshalBinary

func (o *CreateNetworkSwitchStackBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchStackBody) Validate

func (o *CreateNetworkSwitchStackBody) Validate(formats strfmt.Registry) error

Validate validates this create network switch stack body

type CreateNetworkSwitchStackCreated

type CreateNetworkSwitchStackCreated struct {
	Payload interface{}
}

CreateNetworkSwitchStackCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchStackCreated

func NewCreateNetworkSwitchStackCreated() *CreateNetworkSwitchStackCreated

NewCreateNetworkSwitchStackCreated creates a CreateNetworkSwitchStackCreated with default headers values

func (*CreateNetworkSwitchStackCreated) Code

Code gets the status code for the create network switch stack created response

func (*CreateNetworkSwitchStackCreated) Error

func (*CreateNetworkSwitchStackCreated) GetPayload

func (o *CreateNetworkSwitchStackCreated) GetPayload() interface{}

func (*CreateNetworkSwitchStackCreated) IsClientError

func (o *CreateNetworkSwitchStackCreated) IsClientError() bool

IsClientError returns true when this create network switch stack created response has a 4xx status code

func (*CreateNetworkSwitchStackCreated) IsCode

func (o *CreateNetworkSwitchStackCreated) IsCode(code int) bool

IsCode returns true when this create network switch stack created response a status code equal to that given

func (*CreateNetworkSwitchStackCreated) IsRedirect

func (o *CreateNetworkSwitchStackCreated) IsRedirect() bool

IsRedirect returns true when this create network switch stack created response has a 3xx status code

func (*CreateNetworkSwitchStackCreated) IsServerError

func (o *CreateNetworkSwitchStackCreated) IsServerError() bool

IsServerError returns true when this create network switch stack created response has a 5xx status code

func (*CreateNetworkSwitchStackCreated) IsSuccess

func (o *CreateNetworkSwitchStackCreated) IsSuccess() bool

IsSuccess returns true when this create network switch stack created response has a 2xx status code

func (*CreateNetworkSwitchStackCreated) String

type CreateNetworkSwitchStackParams

type CreateNetworkSwitchStackParams struct {

	// CreateNetworkSwitchStack.
	CreateNetworkSwitchStack CreateNetworkSwitchStackBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackParams contains all the parameters to send to the API endpoint

for the create network switch stack operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchStackParams

func NewCreateNetworkSwitchStackParams() *CreateNetworkSwitchStackParams

NewCreateNetworkSwitchStackParams creates a new CreateNetworkSwitchStackParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchStackParamsWithContext

func NewCreateNetworkSwitchStackParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackParams

NewCreateNetworkSwitchStackParamsWithContext creates a new CreateNetworkSwitchStackParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchStackParamsWithHTTPClient

func NewCreateNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams

NewCreateNetworkSwitchStackParamsWithHTTPClient creates a new CreateNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchStackParamsWithTimeout

func NewCreateNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams

NewCreateNetworkSwitchStackParamsWithTimeout creates a new CreateNetworkSwitchStackParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchStackParams) SetContext

func (o *CreateNetworkSwitchStackParams) SetContext(ctx context.Context)

SetContext adds the context to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack

func (o *CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack(createNetworkSwitchStack CreateNetworkSwitchStackBody)

SetCreateNetworkSwitchStack adds the createNetworkSwitchStack to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetDefaults

func (o *CreateNetworkSwitchStackParams) SetDefaults()

SetDefaults hydrates default values in the create network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackParams) SetHTTPClient

func (o *CreateNetworkSwitchStackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetNetworkID

func (o *CreateNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch stack params

func (*CreateNetworkSwitchStackParams) SetTimeout

func (o *CreateNetworkSwitchStackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithContext

WithContext adds the context to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithCreateNetworkSwitchStack

func (o *CreateNetworkSwitchStackParams) WithCreateNetworkSwitchStack(createNetworkSwitchStack CreateNetworkSwitchStackBody) *CreateNetworkSwitchStackParams

WithCreateNetworkSwitchStack adds the createNetworkSwitchStack to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithDefaults

WithDefaults hydrates default values in the create network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the create network switch stack params

func (*CreateNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchStackReader

type CreateNetworkSwitchStackReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackReader is a Reader for the CreateNetworkSwitchStack structure.

func (*CreateNetworkSwitchStackReader) ReadResponse

func (o *CreateNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchStackRoutingInterfaceBody

type CreateNetworkSwitchStackRoutingInterfaceBody struct {

	// The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface.
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The IP address this switch stack will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP.
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"`

	// Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'.
	// Enum: [IGMP snooping querier disabled enabled]
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// A friendly name or description for the interface or VLAN.
	// Required: true
	Name *string `json:"name"`

	// ospf settings
	OspfSettings *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"`

	// The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24).
	Subnet string `json:"subnet,omitempty"`

	// The VLAN this routed interface is on. VLAN must be between 1 and 4094.
	// Required: true
	VlanID *int64 `json:"vlanId"`
}

CreateNetworkSwitchStackRoutingInterfaceBody create network switch stack routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model CreateNetworkSwitchStackRoutingInterfaceBody

func (*CreateNetworkSwitchStackRoutingInterfaceBody) ContextValidate

ContextValidate validate this create network switch stack routing interface body based on the context it is used

func (*CreateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceBody) Validate

Validate validates this create network switch stack routing interface body

type CreateNetworkSwitchStackRoutingInterfaceCreated

type CreateNetworkSwitchStackRoutingInterfaceCreated struct {
	Payload interface{}
}

CreateNetworkSwitchStackRoutingInterfaceCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchStackRoutingInterfaceCreated

func NewCreateNetworkSwitchStackRoutingInterfaceCreated() *CreateNetworkSwitchStackRoutingInterfaceCreated

NewCreateNetworkSwitchStackRoutingInterfaceCreated creates a CreateNetworkSwitchStackRoutingInterfaceCreated with default headers values

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) Code

Code gets the status code for the create network switch stack routing interface created response

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) Error

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload

func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload() interface{}

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsClientError

IsClientError returns true when this create network switch stack routing interface created response has a 4xx status code

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsCode

IsCode returns true when this create network switch stack routing interface created response a status code equal to that given

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsRedirect

IsRedirect returns true when this create network switch stack routing interface created response has a 3xx status code

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsServerError

IsServerError returns true when this create network switch stack routing interface created response has a 5xx status code

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsSuccess

IsSuccess returns true when this create network switch stack routing interface created response has a 2xx status code

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) String

type CreateNetworkSwitchStackRoutingInterfaceParams

type CreateNetworkSwitchStackRoutingInterfaceParams struct {

	// CreateNetworkSwitchStackRoutingInterface.
	CreateNetworkSwitchStackRoutingInterface CreateNetworkSwitchStackRoutingInterfaceBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the create network switch stack routing interface operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchStackRoutingInterfaceParams

func NewCreateNetworkSwitchStackRoutingInterfaceParams() *CreateNetworkSwitchStackRoutingInterfaceParams

NewCreateNetworkSwitchStackRoutingInterfaceParams creates a new CreateNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingInterfaceParams

NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingInterfaceParams

NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout

func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingInterfaceParams

NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetContext

SetContext adds the context to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetCreateNetworkSwitchStackRoutingInterface

func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetCreateNetworkSwitchStackRoutingInterface(createNetworkSwitchStackRoutingInterface CreateNetworkSwitchStackRoutingInterfaceBody)

SetCreateNetworkSwitchStackRoutingInterface adds the createNetworkSwitchStackRoutingInterface to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the create network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID

func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID

func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithContext

WithContext adds the context to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithCreateNetworkSwitchStackRoutingInterface

func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithCreateNetworkSwitchStackRoutingInterface(createNetworkSwitchStackRoutingInterface CreateNetworkSwitchStackRoutingInterfaceBody) *CreateNetworkSwitchStackRoutingInterfaceParams

WithCreateNetworkSwitchStackRoutingInterface adds the createNetworkSwitchStackRoutingInterface to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the create network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the create network switch stack routing interface params

func (*CreateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6

type CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 struct {

	// The IPv6 address of the interface. Required if assignmentMode is 'static'. Must not be included if assignmentMode is 'eui-64'.
	Address string `json:"address,omitempty"`

	// The IPv6 assignment mode for the interface. Can be either 'eui-64' or 'static'.
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// The IPv6 default gateway of the interface. Required if prefix is defined and this is the first interface with IPv6 configured for the stack.
	Gateway string `json:"gateway,omitempty"`

	// The IPv6 prefix of the interface. Required if IPv6 object is included.
	Prefix string `json:"prefix,omitempty"`
}

CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 The IPv6 settings of the interface. swagger:model CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate

ContextValidate validates this create network switch stack routing interface params body IP v6 based on context it is used

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) Validate

Validate validates this create network switch stack routing interface params body IP v6

type CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings

type CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings struct {

	// The OSPF area to which this interface should belong. Can be either 'disabled' or the identifier of an existing OSPF area. Defaults to 'disabled'.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535 to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPF will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings The OSPF routing settings of the interface. swagger:model CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate

ContextValidate validates this create network switch stack routing interface params body ospf settings based on context it is used

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) Validate

Validate validates this create network switch stack routing interface params body ospf settings

type CreateNetworkSwitchStackRoutingInterfaceReader

type CreateNetworkSwitchStackRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackRoutingInterfaceReader is a Reader for the CreateNetworkSwitchStackRoutingInterface structure.

func (*CreateNetworkSwitchStackRoutingInterfaceReader) ReadResponse

func (o *CreateNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateNetworkSwitchStackRoutingStaticRouteBody

type CreateNetworkSwitchStackRoutingStaticRouteBody struct {

	// Option to advertise static route via OSPF
	AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"`

	// Name or description for layer 3 static route
	Name string `json:"name,omitempty"`

	// IP address of the next hop device to which the device sends its traffic for the subnet
	// Required: true
	NextHopIP *string `json:"nextHopIp"`

	// Option to prefer static route over OSPF routes
	PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"`

	// The subnet which is routed via this static route and should be specified in CIDR notation (ex. 1.2.3.0/24)
	// Required: true
	Subnet *string `json:"subnet"`
}

CreateNetworkSwitchStackRoutingStaticRouteBody create network switch stack routing static route body // Example: {"advertiseViaOspfEnabled":false,"name":"My route","nextHopIp":"1.2.3.4","preferOverOspfRoutesEnabled":false,"subnet":"192.168.1.0/24"} swagger:model CreateNetworkSwitchStackRoutingStaticRouteBody

func (*CreateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate

ContextValidate validates this create network switch stack routing static route body based on context it is used

func (*CreateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSwitchStackRoutingStaticRouteBody) Validate

Validate validates this create network switch stack routing static route body

type CreateNetworkSwitchStackRoutingStaticRouteCreated

type CreateNetworkSwitchStackRoutingStaticRouteCreated struct {
	Payload interface{}
}

CreateNetworkSwitchStackRoutingStaticRouteCreated describes a response with status code 201, with default header values.

Successful operation

func NewCreateNetworkSwitchStackRoutingStaticRouteCreated

func NewCreateNetworkSwitchStackRoutingStaticRouteCreated() *CreateNetworkSwitchStackRoutingStaticRouteCreated

NewCreateNetworkSwitchStackRoutingStaticRouteCreated creates a CreateNetworkSwitchStackRoutingStaticRouteCreated with default headers values

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) Code

Code gets the status code for the create network switch stack routing static route created response

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) Error

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload

func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload() interface{}

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsClientError

IsClientError returns true when this create network switch stack routing static route created response has a 4xx status code

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsCode

IsCode returns true when this create network switch stack routing static route created response a status code equal to that given

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsRedirect

IsRedirect returns true when this create network switch stack routing static route created response has a 3xx status code

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsServerError

IsServerError returns true when this create network switch stack routing static route created response has a 5xx status code

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsSuccess

IsSuccess returns true when this create network switch stack routing static route created response has a 2xx status code

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) String

type CreateNetworkSwitchStackRoutingStaticRouteParams

type CreateNetworkSwitchStackRoutingStaticRouteParams struct {

	// CreateNetworkSwitchStackRoutingStaticRoute.
	CreateNetworkSwitchStackRoutingStaticRoute CreateNetworkSwitchStackRoutingStaticRouteBody

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the create network switch stack routing static route operation.

Typically these are written to a http.Request.

func NewCreateNetworkSwitchStackRoutingStaticRouteParams

func NewCreateNetworkSwitchStackRoutingStaticRouteParams() *CreateNetworkSwitchStackRoutingStaticRouteParams

NewCreateNetworkSwitchStackRoutingStaticRouteParams creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingStaticRouteParams

NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingStaticRouteParams

NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout

func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingStaticRouteParams

NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetContext

SetContext adds the context to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetCreateNetworkSwitchStackRoutingStaticRoute

func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetCreateNetworkSwitchStackRoutingStaticRoute(createNetworkSwitchStackRoutingStaticRoute CreateNetworkSwitchStackRoutingStaticRouteBody)

SetCreateNetworkSwitchStackRoutingStaticRoute adds the createNetworkSwitchStackRoutingStaticRoute to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the create network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID

func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID

func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithContext

WithContext adds the context to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithCreateNetworkSwitchStackRoutingStaticRoute

func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithCreateNetworkSwitchStackRoutingStaticRoute(createNetworkSwitchStackRoutingStaticRoute CreateNetworkSwitchStackRoutingStaticRouteBody) *CreateNetworkSwitchStackRoutingStaticRouteParams

WithCreateNetworkSwitchStackRoutingStaticRoute adds the createNetworkSwitchStackRoutingStaticRoute to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the create network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID

WithNetworkID adds the networkID to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the create network switch stack routing static route params

func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateNetworkSwitchStackRoutingStaticRouteReader

type CreateNetworkSwitchStackRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

CreateNetworkSwitchStackRoutingStaticRouteReader is a Reader for the CreateNetworkSwitchStackRoutingStaticRoute structure.

func (*CreateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse

func (o *CreateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CycleDeviceSwitchPortsBody

type CycleDeviceSwitchPortsBody struct {

	// List of switch ports
	// Required: true
	Ports []string `json:"ports"`
}

CycleDeviceSwitchPortsBody cycle device switch ports body // Example: {"ports":["1","2-5","1_MA-MOD-8X10G_1","1_MA-MOD-8X10G_2-1_MA-MOD-8X10G_8"]} swagger:model CycleDeviceSwitchPortsBody

func (*CycleDeviceSwitchPortsBody) ContextValidate

func (o *CycleDeviceSwitchPortsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cycle device switch ports body based on context it is used

func (*CycleDeviceSwitchPortsBody) MarshalBinary

func (o *CycleDeviceSwitchPortsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CycleDeviceSwitchPortsBody) UnmarshalBinary

func (o *CycleDeviceSwitchPortsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CycleDeviceSwitchPortsBody) Validate

func (o *CycleDeviceSwitchPortsBody) Validate(formats strfmt.Registry) error

Validate validates this cycle device switch ports body

type CycleDeviceSwitchPortsOK

type CycleDeviceSwitchPortsOK struct {
	Payload *CycleDeviceSwitchPortsOKBody
}

CycleDeviceSwitchPortsOK describes a response with status code 200, with default header values.

Successful operation

func NewCycleDeviceSwitchPortsOK

func NewCycleDeviceSwitchPortsOK() *CycleDeviceSwitchPortsOK

NewCycleDeviceSwitchPortsOK creates a CycleDeviceSwitchPortsOK with default headers values

func (*CycleDeviceSwitchPortsOK) Code

func (o *CycleDeviceSwitchPortsOK) Code() int

Code gets the status code for the cycle device switch ports o k response

func (*CycleDeviceSwitchPortsOK) Error

func (o *CycleDeviceSwitchPortsOK) Error() string

func (*CycleDeviceSwitchPortsOK) GetPayload

func (*CycleDeviceSwitchPortsOK) IsClientError

func (o *CycleDeviceSwitchPortsOK) IsClientError() bool

IsClientError returns true when this cycle device switch ports o k response has a 4xx status code

func (*CycleDeviceSwitchPortsOK) IsCode

func (o *CycleDeviceSwitchPortsOK) IsCode(code int) bool

IsCode returns true when this cycle device switch ports o k response a status code equal to that given

func (*CycleDeviceSwitchPortsOK) IsRedirect

func (o *CycleDeviceSwitchPortsOK) IsRedirect() bool

IsRedirect returns true when this cycle device switch ports o k response has a 3xx status code

func (*CycleDeviceSwitchPortsOK) IsServerError

func (o *CycleDeviceSwitchPortsOK) IsServerError() bool

IsServerError returns true when this cycle device switch ports o k response has a 5xx status code

func (*CycleDeviceSwitchPortsOK) IsSuccess

func (o *CycleDeviceSwitchPortsOK) IsSuccess() bool

IsSuccess returns true when this cycle device switch ports o k response has a 2xx status code

func (*CycleDeviceSwitchPortsOK) String

func (o *CycleDeviceSwitchPortsOK) String() string

type CycleDeviceSwitchPortsOKBody

type CycleDeviceSwitchPortsOKBody struct {

	// List of switch ports
	Ports []string `json:"ports"`
}

CycleDeviceSwitchPortsOKBody cycle device switch ports o k body swagger:model CycleDeviceSwitchPortsOKBody

func (*CycleDeviceSwitchPortsOKBody) ContextValidate

func (o *CycleDeviceSwitchPortsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cycle device switch ports o k body based on context it is used

func (*CycleDeviceSwitchPortsOKBody) MarshalBinary

func (o *CycleDeviceSwitchPortsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CycleDeviceSwitchPortsOKBody) UnmarshalBinary

func (o *CycleDeviceSwitchPortsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CycleDeviceSwitchPortsOKBody) Validate

func (o *CycleDeviceSwitchPortsOKBody) Validate(formats strfmt.Registry) error

Validate validates this cycle device switch ports o k body

type CycleDeviceSwitchPortsParams

type CycleDeviceSwitchPortsParams struct {

	// CycleDeviceSwitchPorts.
	CycleDeviceSwitchPorts CycleDeviceSwitchPortsBody

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CycleDeviceSwitchPortsParams contains all the parameters to send to the API endpoint

for the cycle device switch ports operation.

Typically these are written to a http.Request.

func NewCycleDeviceSwitchPortsParams

func NewCycleDeviceSwitchPortsParams() *CycleDeviceSwitchPortsParams

NewCycleDeviceSwitchPortsParams creates a new CycleDeviceSwitchPortsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCycleDeviceSwitchPortsParamsWithContext

func NewCycleDeviceSwitchPortsParamsWithContext(ctx context.Context) *CycleDeviceSwitchPortsParams

NewCycleDeviceSwitchPortsParamsWithContext creates a new CycleDeviceSwitchPortsParams object with the ability to set a context for a request.

func NewCycleDeviceSwitchPortsParamsWithHTTPClient

func NewCycleDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *CycleDeviceSwitchPortsParams

NewCycleDeviceSwitchPortsParamsWithHTTPClient creates a new CycleDeviceSwitchPortsParams object with the ability to set a custom HTTPClient for a request.

func NewCycleDeviceSwitchPortsParamsWithTimeout

func NewCycleDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *CycleDeviceSwitchPortsParams

NewCycleDeviceSwitchPortsParamsWithTimeout creates a new CycleDeviceSwitchPortsParams object with the ability to set a timeout on a request.

func (*CycleDeviceSwitchPortsParams) SetContext

func (o *CycleDeviceSwitchPortsParams) SetContext(ctx context.Context)

SetContext adds the context to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) SetCycleDeviceSwitchPorts

func (o *CycleDeviceSwitchPortsParams) SetCycleDeviceSwitchPorts(cycleDeviceSwitchPorts CycleDeviceSwitchPortsBody)

SetCycleDeviceSwitchPorts adds the cycleDeviceSwitchPorts to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) SetDefaults

func (o *CycleDeviceSwitchPortsParams) SetDefaults()

SetDefaults hydrates default values in the cycle device switch ports params (not the query body).

All values with no default are reset to their zero value.

func (*CycleDeviceSwitchPortsParams) SetHTTPClient

func (o *CycleDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) SetSerial

func (o *CycleDeviceSwitchPortsParams) SetSerial(serial string)

SetSerial adds the serial to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) SetTimeout

func (o *CycleDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WithContext

WithContext adds the context to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WithCycleDeviceSwitchPorts

func (o *CycleDeviceSwitchPortsParams) WithCycleDeviceSwitchPorts(cycleDeviceSwitchPorts CycleDeviceSwitchPortsBody) *CycleDeviceSwitchPortsParams

WithCycleDeviceSwitchPorts adds the cycleDeviceSwitchPorts to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WithDefaults

WithDefaults hydrates default values in the cycle device switch ports params (not the query body).

All values with no default are reset to their zero value.

func (*CycleDeviceSwitchPortsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WithSerial

WithSerial adds the serial to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WithTimeout

WithTimeout adds the timeout to the cycle device switch ports params

func (*CycleDeviceSwitchPortsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CycleDeviceSwitchPortsReader

type CycleDeviceSwitchPortsReader struct {
	// contains filtered or unexported fields
}

CycleDeviceSwitchPortsReader is a Reader for the CycleDeviceSwitchPorts structure.

func (*CycleDeviceSwitchPortsReader) ReadResponse

func (o *CycleDeviceSwitchPortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteDeviceSwitchRoutingInterfaceNoContent

type DeleteDeviceSwitchRoutingInterfaceNoContent struct {
}

DeleteDeviceSwitchRoutingInterfaceNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteDeviceSwitchRoutingInterfaceNoContent

func NewDeleteDeviceSwitchRoutingInterfaceNoContent() *DeleteDeviceSwitchRoutingInterfaceNoContent

NewDeleteDeviceSwitchRoutingInterfaceNoContent creates a DeleteDeviceSwitchRoutingInterfaceNoContent with default headers values

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) Code

Code gets the status code for the delete device switch routing interface no content response

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) Error

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsClientError

IsClientError returns true when this delete device switch routing interface no content response has a 4xx status code

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsCode

IsCode returns true when this delete device switch routing interface no content response a status code equal to that given

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsRedirect

IsRedirect returns true when this delete device switch routing interface no content response has a 3xx status code

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsServerError

IsServerError returns true when this delete device switch routing interface no content response has a 5xx status code

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsSuccess

IsSuccess returns true when this delete device switch routing interface no content response has a 2xx status code

func (*DeleteDeviceSwitchRoutingInterfaceNoContent) String

type DeleteDeviceSwitchRoutingInterfaceParams

type DeleteDeviceSwitchRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the delete device switch routing interface operation.

Typically these are written to a http.Request.

func NewDeleteDeviceSwitchRoutingInterfaceParams

func NewDeleteDeviceSwitchRoutingInterfaceParams() *DeleteDeviceSwitchRoutingInterfaceParams

NewDeleteDeviceSwitchRoutingInterfaceParams creates a new DeleteDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingInterfaceParams

NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingInterfaceParams

NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout

func NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingInterfaceParams

NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetContext

SetContext adds the context to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the delete device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetHTTPClient

func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetInterfaceID

func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetSerial

func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithContext

WithContext adds the context to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the delete device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithSerial

WithSerial adds the serial to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the delete device switch routing interface params

func (*DeleteDeviceSwitchRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceSwitchRoutingInterfaceReader

type DeleteDeviceSwitchRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

DeleteDeviceSwitchRoutingInterfaceReader is a Reader for the DeleteDeviceSwitchRoutingInterface structure.

func (*DeleteDeviceSwitchRoutingInterfaceReader) ReadResponse

func (o *DeleteDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteDeviceSwitchRoutingStaticRouteNoContent

type DeleteDeviceSwitchRoutingStaticRouteNoContent struct {
}

DeleteDeviceSwitchRoutingStaticRouteNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteDeviceSwitchRoutingStaticRouteNoContent

func NewDeleteDeviceSwitchRoutingStaticRouteNoContent() *DeleteDeviceSwitchRoutingStaticRouteNoContent

NewDeleteDeviceSwitchRoutingStaticRouteNoContent creates a DeleteDeviceSwitchRoutingStaticRouteNoContent with default headers values

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) Code

Code gets the status code for the delete device switch routing static route no content response

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) Error

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsClientError

IsClientError returns true when this delete device switch routing static route no content response has a 4xx status code

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsCode

IsCode returns true when this delete device switch routing static route no content response a status code equal to that given

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsRedirect

IsRedirect returns true when this delete device switch routing static route no content response has a 3xx status code

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsServerError

IsServerError returns true when this delete device switch routing static route no content response has a 5xx status code

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsSuccess

IsSuccess returns true when this delete device switch routing static route no content response has a 2xx status code

func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) String

type DeleteDeviceSwitchRoutingStaticRouteParams

type DeleteDeviceSwitchRoutingStaticRouteParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the delete device switch routing static route operation.

Typically these are written to a http.Request.

func NewDeleteDeviceSwitchRoutingStaticRouteParams

func NewDeleteDeviceSwitchRoutingStaticRouteParams() *DeleteDeviceSwitchRoutingStaticRouteParams

NewDeleteDeviceSwitchRoutingStaticRouteParams creates a new DeleteDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingStaticRouteParams

NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingStaticRouteParams

NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout

func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingStaticRouteParams

NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetContext

SetContext adds the context to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the delete device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetHTTPClient

func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetSerial

SetSerial adds the serial to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID

func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithContext

WithContext adds the context to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the delete device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithSerial

WithSerial adds the serial to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the delete device switch routing static route params

func (*DeleteDeviceSwitchRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDeviceSwitchRoutingStaticRouteReader

type DeleteDeviceSwitchRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

DeleteDeviceSwitchRoutingStaticRouteReader is a Reader for the DeleteDeviceSwitchRoutingStaticRoute structure.

func (*DeleteDeviceSwitchRoutingStaticRouteReader) ReadResponse

func (o *DeleteDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchAccessPolicyNoContent

type DeleteNetworkSwitchAccessPolicyNoContent struct {
}

DeleteNetworkSwitchAccessPolicyNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchAccessPolicyNoContent

func NewDeleteNetworkSwitchAccessPolicyNoContent() *DeleteNetworkSwitchAccessPolicyNoContent

NewDeleteNetworkSwitchAccessPolicyNoContent creates a DeleteNetworkSwitchAccessPolicyNoContent with default headers values

func (*DeleteNetworkSwitchAccessPolicyNoContent) Code

Code gets the status code for the delete network switch access policy no content response

func (*DeleteNetworkSwitchAccessPolicyNoContent) Error

func (*DeleteNetworkSwitchAccessPolicyNoContent) IsClientError

IsClientError returns true when this delete network switch access policy no content response has a 4xx status code

func (*DeleteNetworkSwitchAccessPolicyNoContent) IsCode

IsCode returns true when this delete network switch access policy no content response a status code equal to that given

func (*DeleteNetworkSwitchAccessPolicyNoContent) IsRedirect

IsRedirect returns true when this delete network switch access policy no content response has a 3xx status code

func (*DeleteNetworkSwitchAccessPolicyNoContent) IsServerError

IsServerError returns true when this delete network switch access policy no content response has a 5xx status code

func (*DeleteNetworkSwitchAccessPolicyNoContent) IsSuccess

IsSuccess returns true when this delete network switch access policy no content response has a 2xx status code

func (*DeleteNetworkSwitchAccessPolicyNoContent) String

type DeleteNetworkSwitchAccessPolicyParams

type DeleteNetworkSwitchAccessPolicyParams struct {

	/* AccessPolicyNumber.

	   Access policy number
	*/
	AccessPolicyNumber string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint

for the delete network switch access policy operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchAccessPolicyParams

func NewDeleteNetworkSwitchAccessPolicyParams() *DeleteNetworkSwitchAccessPolicyParams

NewDeleteNetworkSwitchAccessPolicyParams creates a new DeleteNetworkSwitchAccessPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchAccessPolicyParamsWithContext

func NewDeleteNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *DeleteNetworkSwitchAccessPolicyParams

NewDeleteNetworkSwitchAccessPolicyParamsWithContext creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient

func NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchAccessPolicyParams

NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout

func NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchAccessPolicyParams

NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber

func (o *DeleteNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)

SetAccessPolicyNumber adds the accessPolicyNumber to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) SetContext

SetContext adds the context to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) SetDefaults

func (o *DeleteNetworkSwitchAccessPolicyParams) SetDefaults()

SetDefaults hydrates default values in the delete network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchAccessPolicyParams) SetHTTPClient

func (o *DeleteNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) SetNetworkID

func (o *DeleteNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) SetTimeout

func (o *DeleteNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber

func (o *DeleteNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *DeleteNetworkSwitchAccessPolicyParams

WithAccessPolicyNumber adds the accessPolicyNumber to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WithContext

WithContext adds the context to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WithDefaults

WithDefaults hydrates default values in the delete network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchAccessPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the delete network switch access policy params

func (*DeleteNetworkSwitchAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchAccessPolicyReader

type DeleteNetworkSwitchAccessPolicyReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchAccessPolicyReader is a Reader for the DeleteNetworkSwitchAccessPolicy structure.

func (*DeleteNetworkSwitchAccessPolicyReader) ReadResponse

func (o *DeleteNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent struct {
}

DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent

NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent creates a DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent with default headers values

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Code

Code gets the status code for the delete network switch dhcp server policy arp inspection trusted server no content response

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Error

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsClientError

IsClientError returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 4xx status code

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsCode

IsCode returns true when this delete network switch dhcp server policy arp inspection trusted server no content response a status code equal to that given

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsRedirect

IsRedirect returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 3xx status code

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsServerError

IsServerError returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 5xx status code

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsSuccess

IsSuccess returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 2xx status code

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) String

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* TrustedServerID.

	   Trusted server ID
	*/
	TrustedServerID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint

for the delete network switch dhcp server policy arp inspection trusted server operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout

func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext

SetContext adds the context to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults

SetDefaults hydrates default values in the delete network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID

SetNetworkID adds the networkId to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout

SetTimeout adds the timeout to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID

func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)

SetTrustedServerID adds the trustedServerId to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext

WithContext adds the context to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults

WithDefaults hydrates default values in the delete network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout

WithTimeout adds the timeout to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID

WithTrustedServerID adds the trustedServerID to the delete network switch dhcp server policy arp inspection trusted server params

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader

type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.

func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchLinkAggregationNoContent

type DeleteNetworkSwitchLinkAggregationNoContent struct {
}

DeleteNetworkSwitchLinkAggregationNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchLinkAggregationNoContent

func NewDeleteNetworkSwitchLinkAggregationNoContent() *DeleteNetworkSwitchLinkAggregationNoContent

NewDeleteNetworkSwitchLinkAggregationNoContent creates a DeleteNetworkSwitchLinkAggregationNoContent with default headers values

func (*DeleteNetworkSwitchLinkAggregationNoContent) Code

Code gets the status code for the delete network switch link aggregation no content response

func (*DeleteNetworkSwitchLinkAggregationNoContent) Error

func (*DeleteNetworkSwitchLinkAggregationNoContent) IsClientError

IsClientError returns true when this delete network switch link aggregation no content response has a 4xx status code

func (*DeleteNetworkSwitchLinkAggregationNoContent) IsCode

IsCode returns true when this delete network switch link aggregation no content response a status code equal to that given

func (*DeleteNetworkSwitchLinkAggregationNoContent) IsRedirect

IsRedirect returns true when this delete network switch link aggregation no content response has a 3xx status code

func (*DeleteNetworkSwitchLinkAggregationNoContent) IsServerError

IsServerError returns true when this delete network switch link aggregation no content response has a 5xx status code

func (*DeleteNetworkSwitchLinkAggregationNoContent) IsSuccess

IsSuccess returns true when this delete network switch link aggregation no content response has a 2xx status code

func (*DeleteNetworkSwitchLinkAggregationNoContent) String

type DeleteNetworkSwitchLinkAggregationParams

type DeleteNetworkSwitchLinkAggregationParams struct {

	/* LinkAggregationID.

	   Link aggregation ID
	*/
	LinkAggregationID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint

for the delete network switch link aggregation operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchLinkAggregationParams

func NewDeleteNetworkSwitchLinkAggregationParams() *DeleteNetworkSwitchLinkAggregationParams

NewDeleteNetworkSwitchLinkAggregationParams creates a new DeleteNetworkSwitchLinkAggregationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchLinkAggregationParamsWithContext

func NewDeleteNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *DeleteNetworkSwitchLinkAggregationParams

NewDeleteNetworkSwitchLinkAggregationParamsWithContext creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient

func NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchLinkAggregationParams

NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout

func NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchLinkAggregationParams

NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchLinkAggregationParams) SetContext

SetContext adds the context to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) SetDefaults

SetDefaults hydrates default values in the delete network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchLinkAggregationParams) SetHTTPClient

func (o *DeleteNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) SetLinkAggregationID

func (o *DeleteNetworkSwitchLinkAggregationParams) SetLinkAggregationID(linkAggregationID string)

SetLinkAggregationID adds the linkAggregationId to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) SetNetworkID

func (o *DeleteNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) SetTimeout

SetTimeout adds the timeout to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WithContext

WithContext adds the context to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WithDefaults

WithDefaults hydrates default values in the delete network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchLinkAggregationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WithLinkAggregationID

WithLinkAggregationID adds the linkAggregationID to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WithTimeout

WithTimeout adds the timeout to the delete network switch link aggregation params

func (*DeleteNetworkSwitchLinkAggregationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchLinkAggregationReader

type DeleteNetworkSwitchLinkAggregationReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchLinkAggregationReader is a Reader for the DeleteNetworkSwitchLinkAggregation structure.

func (*DeleteNetworkSwitchLinkAggregationReader) ReadResponse

func (o *DeleteNetworkSwitchLinkAggregationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchPortScheduleNoContent

type DeleteNetworkSwitchPortScheduleNoContent struct {
}

DeleteNetworkSwitchPortScheduleNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchPortScheduleNoContent

func NewDeleteNetworkSwitchPortScheduleNoContent() *DeleteNetworkSwitchPortScheduleNoContent

NewDeleteNetworkSwitchPortScheduleNoContent creates a DeleteNetworkSwitchPortScheduleNoContent with default headers values

func (*DeleteNetworkSwitchPortScheduleNoContent) Code

Code gets the status code for the delete network switch port schedule no content response

func (*DeleteNetworkSwitchPortScheduleNoContent) Error

func (*DeleteNetworkSwitchPortScheduleNoContent) IsClientError

IsClientError returns true when this delete network switch port schedule no content response has a 4xx status code

func (*DeleteNetworkSwitchPortScheduleNoContent) IsCode

IsCode returns true when this delete network switch port schedule no content response a status code equal to that given

func (*DeleteNetworkSwitchPortScheduleNoContent) IsRedirect

IsRedirect returns true when this delete network switch port schedule no content response has a 3xx status code

func (*DeleteNetworkSwitchPortScheduleNoContent) IsServerError

IsServerError returns true when this delete network switch port schedule no content response has a 5xx status code

func (*DeleteNetworkSwitchPortScheduleNoContent) IsSuccess

IsSuccess returns true when this delete network switch port schedule no content response has a 2xx status code

func (*DeleteNetworkSwitchPortScheduleNoContent) String

type DeleteNetworkSwitchPortScheduleParams

type DeleteNetworkSwitchPortScheduleParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortScheduleID.

	   Port schedule ID
	*/
	PortScheduleID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint

for the delete network switch port schedule operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchPortScheduleParams

func NewDeleteNetworkSwitchPortScheduleParams() *DeleteNetworkSwitchPortScheduleParams

NewDeleteNetworkSwitchPortScheduleParams creates a new DeleteNetworkSwitchPortScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchPortScheduleParamsWithContext

func NewDeleteNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams

NewDeleteNetworkSwitchPortScheduleParamsWithContext creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient

func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams

NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout

func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams

NewDeleteNetworkSwitchPortScheduleParamsWithTimeout creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetDefaults

func (o *DeleteNetworkSwitchPortScheduleParams) SetDefaults()

SetDefaults hydrates default values in the delete network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchPortScheduleParams) SetHTTPClient

func (o *DeleteNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetNetworkID

func (o *DeleteNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID

func (o *DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)

SetPortScheduleID adds the portScheduleId to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) SetTimeout

func (o *DeleteNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithDefaults

WithDefaults hydrates default values in the delete network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID

WithPortScheduleID adds the portScheduleID to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the delete network switch port schedule params

func (*DeleteNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchPortScheduleReader

type DeleteNetworkSwitchPortScheduleReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchPortScheduleReader is a Reader for the DeleteNetworkSwitchPortSchedule structure.

func (*DeleteNetworkSwitchPortScheduleReader) ReadResponse

func (o *DeleteNetworkSwitchPortScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchQosRuleNoContent

type DeleteNetworkSwitchQosRuleNoContent struct {
}

DeleteNetworkSwitchQosRuleNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchQosRuleNoContent

func NewDeleteNetworkSwitchQosRuleNoContent() *DeleteNetworkSwitchQosRuleNoContent

NewDeleteNetworkSwitchQosRuleNoContent creates a DeleteNetworkSwitchQosRuleNoContent with default headers values

func (*DeleteNetworkSwitchQosRuleNoContent) Code

Code gets the status code for the delete network switch qos rule no content response

func (*DeleteNetworkSwitchQosRuleNoContent) Error

func (*DeleteNetworkSwitchQosRuleNoContent) IsClientError

func (o *DeleteNetworkSwitchQosRuleNoContent) IsClientError() bool

IsClientError returns true when this delete network switch qos rule no content response has a 4xx status code

func (*DeleteNetworkSwitchQosRuleNoContent) IsCode

IsCode returns true when this delete network switch qos rule no content response a status code equal to that given

func (*DeleteNetworkSwitchQosRuleNoContent) IsRedirect

func (o *DeleteNetworkSwitchQosRuleNoContent) IsRedirect() bool

IsRedirect returns true when this delete network switch qos rule no content response has a 3xx status code

func (*DeleteNetworkSwitchQosRuleNoContent) IsServerError

func (o *DeleteNetworkSwitchQosRuleNoContent) IsServerError() bool

IsServerError returns true when this delete network switch qos rule no content response has a 5xx status code

func (*DeleteNetworkSwitchQosRuleNoContent) IsSuccess

IsSuccess returns true when this delete network switch qos rule no content response has a 2xx status code

func (*DeleteNetworkSwitchQosRuleNoContent) String

type DeleteNetworkSwitchQosRuleParams

type DeleteNetworkSwitchQosRuleParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* QosRuleID.

	   Qos rule ID
	*/
	QosRuleID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint

for the delete network switch qos rule operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchQosRuleParams

func NewDeleteNetworkSwitchQosRuleParams() *DeleteNetworkSwitchQosRuleParams

NewDeleteNetworkSwitchQosRuleParams creates a new DeleteNetworkSwitchQosRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchQosRuleParamsWithContext

func NewDeleteNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchQosRuleParams

NewDeleteNetworkSwitchQosRuleParamsWithContext creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient

func NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchQosRuleParams

NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchQosRuleParamsWithTimeout

func NewDeleteNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchQosRuleParams

NewDeleteNetworkSwitchQosRuleParamsWithTimeout creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchQosRuleParams) SetContext

SetContext adds the context to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) SetDefaults

func (o *DeleteNetworkSwitchQosRuleParams) SetDefaults()

SetDefaults hydrates default values in the delete network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchQosRuleParams) SetHTTPClient

func (o *DeleteNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) SetNetworkID

func (o *DeleteNetworkSwitchQosRuleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) SetQosRuleID

func (o *DeleteNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)

SetQosRuleID adds the qosRuleId to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) SetTimeout

func (o *DeleteNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WithContext

WithContext adds the context to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WithDefaults

WithDefaults hydrates default values in the delete network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchQosRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WithQosRuleID

WithQosRuleID adds the qosRuleID to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WithTimeout

WithTimeout adds the timeout to the delete network switch qos rule params

func (*DeleteNetworkSwitchQosRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchQosRuleReader

type DeleteNetworkSwitchQosRuleReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchQosRuleReader is a Reader for the DeleteNetworkSwitchQosRule structure.

func (*DeleteNetworkSwitchQosRuleReader) ReadResponse

func (o *DeleteNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent

type DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent struct {
}

DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent() *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent

NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent creates a DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent with default headers values

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Code

Code gets the status code for the delete network switch routing multicast rendezvous point no content response

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Error

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsClientError

IsClientError returns true when this delete network switch routing multicast rendezvous point no content response has a 4xx status code

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsCode

IsCode returns true when this delete network switch routing multicast rendezvous point no content response a status code equal to that given

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsRedirect

IsRedirect returns true when this delete network switch routing multicast rendezvous point no content response has a 3xx status code

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsServerError

IsServerError returns true when this delete network switch routing multicast rendezvous point no content response has a 5xx status code

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsSuccess

IsSuccess returns true when this delete network switch routing multicast rendezvous point no content response has a 2xx status code

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) String

type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams

type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* RendezvousPointID.

	   Rendezvous point ID
	*/
	RendezvousPointID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint

for the delete network switch routing multicast rendezvous point operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams() *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams

NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams

NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams

NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout

func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams

NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext

SetContext adds the context to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults

SetDefaults hydrates default values in the delete network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID

SetNetworkID adds the networkId to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID

func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)

SetRendezvousPointID adds the rendezvousPointId to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout

SetTimeout adds the timeout to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext

WithContext adds the context to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults

WithDefaults hydrates default values in the delete network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID

WithRendezvousPointID adds the rendezvousPointID to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout

WithTimeout adds the timeout to the delete network switch routing multicast rendezvous point params

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchRoutingMulticastRendezvousPointReader

type DeleteNetworkSwitchRoutingMulticastRendezvousPointReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the DeleteNetworkSwitchRoutingMulticastRendezvousPoint structure.

func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse

func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchStackNoContent

type DeleteNetworkSwitchStackNoContent struct {
}

DeleteNetworkSwitchStackNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchStackNoContent

func NewDeleteNetworkSwitchStackNoContent() *DeleteNetworkSwitchStackNoContent

NewDeleteNetworkSwitchStackNoContent creates a DeleteNetworkSwitchStackNoContent with default headers values

func (*DeleteNetworkSwitchStackNoContent) Code

Code gets the status code for the delete network switch stack no content response

func (*DeleteNetworkSwitchStackNoContent) Error

func (*DeleteNetworkSwitchStackNoContent) IsClientError

func (o *DeleteNetworkSwitchStackNoContent) IsClientError() bool

IsClientError returns true when this delete network switch stack no content response has a 4xx status code

func (*DeleteNetworkSwitchStackNoContent) IsCode

func (o *DeleteNetworkSwitchStackNoContent) IsCode(code int) bool

IsCode returns true when this delete network switch stack no content response a status code equal to that given

func (*DeleteNetworkSwitchStackNoContent) IsRedirect

func (o *DeleteNetworkSwitchStackNoContent) IsRedirect() bool

IsRedirect returns true when this delete network switch stack no content response has a 3xx status code

func (*DeleteNetworkSwitchStackNoContent) IsServerError

func (o *DeleteNetworkSwitchStackNoContent) IsServerError() bool

IsServerError returns true when this delete network switch stack no content response has a 5xx status code

func (*DeleteNetworkSwitchStackNoContent) IsSuccess

func (o *DeleteNetworkSwitchStackNoContent) IsSuccess() bool

IsSuccess returns true when this delete network switch stack no content response has a 2xx status code

func (*DeleteNetworkSwitchStackNoContent) String

type DeleteNetworkSwitchStackParams

type DeleteNetworkSwitchStackParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackParams contains all the parameters to send to the API endpoint

for the delete network switch stack operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchStackParams

func NewDeleteNetworkSwitchStackParams() *DeleteNetworkSwitchStackParams

NewDeleteNetworkSwitchStackParams creates a new DeleteNetworkSwitchStackParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchStackParamsWithContext

func NewDeleteNetworkSwitchStackParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackParams

NewDeleteNetworkSwitchStackParamsWithContext creates a new DeleteNetworkSwitchStackParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchStackParamsWithHTTPClient

func NewDeleteNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams

NewDeleteNetworkSwitchStackParamsWithHTTPClient creates a new DeleteNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchStackParamsWithTimeout

func NewDeleteNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams

NewDeleteNetworkSwitchStackParamsWithTimeout creates a new DeleteNetworkSwitchStackParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchStackParams) SetContext

func (o *DeleteNetworkSwitchStackParams) SetContext(ctx context.Context)

SetContext adds the context to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetDefaults

func (o *DeleteNetworkSwitchStackParams) SetDefaults()

SetDefaults hydrates default values in the delete network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackParams) SetHTTPClient

func (o *DeleteNetworkSwitchStackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetNetworkID

func (o *DeleteNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetSwitchStackID

func (o *DeleteNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) SetTimeout

func (o *DeleteNetworkSwitchStackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithContext

WithContext adds the context to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithDefaults

WithDefaults hydrates default values in the delete network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithSwitchStackID

func (o *DeleteNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the delete network switch stack params

func (*DeleteNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchStackReader

type DeleteNetworkSwitchStackReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackReader is a Reader for the DeleteNetworkSwitchStack structure.

func (*DeleteNetworkSwitchStackReader) ReadResponse

func (o *DeleteNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchStackRoutingInterfaceNoContent

type DeleteNetworkSwitchStackRoutingInterfaceNoContent struct {
}

DeleteNetworkSwitchStackRoutingInterfaceNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchStackRoutingInterfaceNoContent

func NewDeleteNetworkSwitchStackRoutingInterfaceNoContent() *DeleteNetworkSwitchStackRoutingInterfaceNoContent

NewDeleteNetworkSwitchStackRoutingInterfaceNoContent creates a DeleteNetworkSwitchStackRoutingInterfaceNoContent with default headers values

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) Code

Code gets the status code for the delete network switch stack routing interface no content response

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) Error

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsClientError

IsClientError returns true when this delete network switch stack routing interface no content response has a 4xx status code

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsCode

IsCode returns true when this delete network switch stack routing interface no content response a status code equal to that given

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsRedirect

IsRedirect returns true when this delete network switch stack routing interface no content response has a 3xx status code

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsServerError

IsServerError returns true when this delete network switch stack routing interface no content response has a 5xx status code

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsSuccess

IsSuccess returns true when this delete network switch stack routing interface no content response has a 2xx status code

func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) String

type DeleteNetworkSwitchStackRoutingInterfaceParams

type DeleteNetworkSwitchStackRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the delete network switch stack routing interface operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchStackRoutingInterfaceParams

func NewDeleteNetworkSwitchStackRoutingInterfaceParams() *DeleteNetworkSwitchStackRoutingInterfaceParams

NewDeleteNetworkSwitchStackRoutingInterfaceParams creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingInterfaceParams

NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingInterfaceParams

NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout

func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingInterfaceParams

NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetContext

SetContext adds the context to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the delete network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID

func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetNetworkID

func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID

func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithContext

WithContext adds the context to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the delete network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the delete network switch stack routing interface params

func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchStackRoutingInterfaceReader

type DeleteNetworkSwitchStackRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackRoutingInterfaceReader is a Reader for the DeleteNetworkSwitchStackRoutingInterface structure.

func (*DeleteNetworkSwitchStackRoutingInterfaceReader) ReadResponse

func (o *DeleteNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteNetworkSwitchStackRoutingStaticRouteNoContent

type DeleteNetworkSwitchStackRoutingStaticRouteNoContent struct {
}

DeleteNetworkSwitchStackRoutingStaticRouteNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent

func NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent() *DeleteNetworkSwitchStackRoutingStaticRouteNoContent

NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent creates a DeleteNetworkSwitchStackRoutingStaticRouteNoContent with default headers values

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Code

Code gets the status code for the delete network switch stack routing static route no content response

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Error

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsClientError

IsClientError returns true when this delete network switch stack routing static route no content response has a 4xx status code

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsCode

IsCode returns true when this delete network switch stack routing static route no content response a status code equal to that given

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsRedirect

IsRedirect returns true when this delete network switch stack routing static route no content response has a 3xx status code

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsServerError

IsServerError returns true when this delete network switch stack routing static route no content response has a 5xx status code

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsSuccess

IsSuccess returns true when this delete network switch stack routing static route no content response has a 2xx status code

func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) String

type DeleteNetworkSwitchStackRoutingStaticRouteParams

type DeleteNetworkSwitchStackRoutingStaticRouteParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the delete network switch stack routing static route operation.

Typically these are written to a http.Request.

func NewDeleteNetworkSwitchStackRoutingStaticRouteParams

func NewDeleteNetworkSwitchStackRoutingStaticRouteParams() *DeleteNetworkSwitchStackRoutingStaticRouteParams

NewDeleteNetworkSwitchStackRoutingStaticRouteParams creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingStaticRouteParams

NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingStaticRouteParams

NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout

func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingStaticRouteParams

NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetContext

SetContext adds the context to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the delete network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID

func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID

func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID

func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithContext

WithContext adds the context to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the delete network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID

WithNetworkID adds the networkID to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the delete network switch stack routing static route params

func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteNetworkSwitchStackRoutingStaticRouteReader

type DeleteNetworkSwitchStackRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

DeleteNetworkSwitchStackRoutingStaticRouteReader is a Reader for the DeleteNetworkSwitchStackRoutingStaticRoute structure.

func (*DeleteNetworkSwitchStackRoutingStaticRouteReader) ReadResponse

func (o *DeleteNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchPortOK

type GetDeviceSwitchPortOK struct {
	Payload *GetDeviceSwitchPortOKBody
}

GetDeviceSwitchPortOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchPortOK

func NewGetDeviceSwitchPortOK() *GetDeviceSwitchPortOK

NewGetDeviceSwitchPortOK creates a GetDeviceSwitchPortOK with default headers values

func (*GetDeviceSwitchPortOK) Code

func (o *GetDeviceSwitchPortOK) Code() int

Code gets the status code for the get device switch port o k response

func (*GetDeviceSwitchPortOK) Error

func (o *GetDeviceSwitchPortOK) Error() string

func (*GetDeviceSwitchPortOK) GetPayload

func (*GetDeviceSwitchPortOK) IsClientError

func (o *GetDeviceSwitchPortOK) IsClientError() bool

IsClientError returns true when this get device switch port o k response has a 4xx status code

func (*GetDeviceSwitchPortOK) IsCode

func (o *GetDeviceSwitchPortOK) IsCode(code int) bool

IsCode returns true when this get device switch port o k response a status code equal to that given

func (*GetDeviceSwitchPortOK) IsRedirect

func (o *GetDeviceSwitchPortOK) IsRedirect() bool

IsRedirect returns true when this get device switch port o k response has a 3xx status code

func (*GetDeviceSwitchPortOK) IsServerError

func (o *GetDeviceSwitchPortOK) IsServerError() bool

IsServerError returns true when this get device switch port o k response has a 5xx status code

func (*GetDeviceSwitchPortOK) IsSuccess

func (o *GetDeviceSwitchPortOK) IsSuccess() bool

IsSuccess returns true when this get device switch port o k response has a 2xx status code

func (*GetDeviceSwitchPortOK) String

func (o *GetDeviceSwitchPortOK) String() string

type GetDeviceSwitchPortOKBody

type GetDeviceSwitchPortOKBody struct {

	// The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile.
	AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"`

	// The VLANs allowed on the switch port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch port.
	Name string `json:"name,omitempty"`

	// If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile.
	PeerSgtCapable bool `json:"peerSgtCapable,omitempty"`

	// The PoE status of the switch port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *GetDeviceSwitchPortOKBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch port.
	Tags []string `json:"tags"`

	// The type of the switch port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetDeviceSwitchPortOKBody get device switch port o k body swagger:model GetDeviceSwitchPortOKBody

func (*GetDeviceSwitchPortOKBody) ContextValidate

func (o *GetDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device switch port o k body based on the context it is used

func (*GetDeviceSwitchPortOKBody) MarshalBinary

func (o *GetDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortOKBody) UnmarshalBinary

func (o *GetDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortOKBody) Validate

func (o *GetDeviceSwitchPortOKBody) Validate(formats strfmt.Registry) error

Validate validates this get device switch port o k body

type GetDeviceSwitchPortOKBodyProfile

type GetDeviceSwitchPortOKBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

GetDeviceSwitchPortOKBodyProfile Profile attributes swagger:model GetDeviceSwitchPortOKBodyProfile

func (*GetDeviceSwitchPortOKBodyProfile) ContextValidate

func (o *GetDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get device switch port o k body profile based on context it is used

func (*GetDeviceSwitchPortOKBodyProfile) MarshalBinary

func (o *GetDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortOKBodyProfile) UnmarshalBinary

func (o *GetDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortOKBodyProfile) Validate

Validate validates this get device switch port o k body profile

type GetDeviceSwitchPortParams

type GetDeviceSwitchPortParams struct {

	/* PortID.

	   Port ID
	*/
	PortID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchPortParams contains all the parameters to send to the API endpoint

for the get device switch port operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchPortParams

func NewGetDeviceSwitchPortParams() *GetDeviceSwitchPortParams

NewGetDeviceSwitchPortParams creates a new GetDeviceSwitchPortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchPortParamsWithContext

func NewGetDeviceSwitchPortParamsWithContext(ctx context.Context) *GetDeviceSwitchPortParams

NewGetDeviceSwitchPortParamsWithContext creates a new GetDeviceSwitchPortParams object with the ability to set a context for a request.

func NewGetDeviceSwitchPortParamsWithHTTPClient

func NewGetDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortParams

NewGetDeviceSwitchPortParamsWithHTTPClient creates a new GetDeviceSwitchPortParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchPortParamsWithTimeout

func NewGetDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortParams

NewGetDeviceSwitchPortParamsWithTimeout creates a new GetDeviceSwitchPortParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchPortParams) SetContext

func (o *GetDeviceSwitchPortParams) SetContext(ctx context.Context)

SetContext adds the context to the get device switch port params

func (*GetDeviceSwitchPortParams) SetDefaults

func (o *GetDeviceSwitchPortParams) SetDefaults()

SetDefaults hydrates default values in the get device switch port params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortParams) SetHTTPClient

func (o *GetDeviceSwitchPortParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch port params

func (*GetDeviceSwitchPortParams) SetPortID

func (o *GetDeviceSwitchPortParams) SetPortID(portID string)

SetPortID adds the portId to the get device switch port params

func (*GetDeviceSwitchPortParams) SetSerial

func (o *GetDeviceSwitchPortParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch port params

func (*GetDeviceSwitchPortParams) SetTimeout

func (o *GetDeviceSwitchPortParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch port params

func (*GetDeviceSwitchPortParams) WithContext

WithContext adds the context to the get device switch port params

func (*GetDeviceSwitchPortParams) WithDefaults

WithDefaults hydrates default values in the get device switch port params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortParams) WithHTTPClient

func (o *GetDeviceSwitchPortParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortParams

WithHTTPClient adds the HTTPClient to the get device switch port params

func (*GetDeviceSwitchPortParams) WithPortID

WithPortID adds the portID to the get device switch port params

func (*GetDeviceSwitchPortParams) WithSerial

WithSerial adds the serial to the get device switch port params

func (*GetDeviceSwitchPortParams) WithTimeout

WithTimeout adds the timeout to the get device switch port params

func (*GetDeviceSwitchPortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchPortReader

type GetDeviceSwitchPortReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchPortReader is a Reader for the GetDeviceSwitchPort structure.

func (*GetDeviceSwitchPortReader) ReadResponse

func (o *GetDeviceSwitchPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchPortsOK

type GetDeviceSwitchPortsOK struct {
	Payload []*GetDeviceSwitchPortsOKBodyItems0
}

GetDeviceSwitchPortsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchPortsOK

func NewGetDeviceSwitchPortsOK() *GetDeviceSwitchPortsOK

NewGetDeviceSwitchPortsOK creates a GetDeviceSwitchPortsOK with default headers values

func (*GetDeviceSwitchPortsOK) Code

func (o *GetDeviceSwitchPortsOK) Code() int

Code gets the status code for the get device switch ports o k response

func (*GetDeviceSwitchPortsOK) Error

func (o *GetDeviceSwitchPortsOK) Error() string

func (*GetDeviceSwitchPortsOK) GetPayload

func (*GetDeviceSwitchPortsOK) IsClientError

func (o *GetDeviceSwitchPortsOK) IsClientError() bool

IsClientError returns true when this get device switch ports o k response has a 4xx status code

func (*GetDeviceSwitchPortsOK) IsCode

func (o *GetDeviceSwitchPortsOK) IsCode(code int) bool

IsCode returns true when this get device switch ports o k response a status code equal to that given

func (*GetDeviceSwitchPortsOK) IsRedirect

func (o *GetDeviceSwitchPortsOK) IsRedirect() bool

IsRedirect returns true when this get device switch ports o k response has a 3xx status code

func (*GetDeviceSwitchPortsOK) IsServerError

func (o *GetDeviceSwitchPortsOK) IsServerError() bool

IsServerError returns true when this get device switch ports o k response has a 5xx status code

func (*GetDeviceSwitchPortsOK) IsSuccess

func (o *GetDeviceSwitchPortsOK) IsSuccess() bool

IsSuccess returns true when this get device switch ports o k response has a 2xx status code

func (*GetDeviceSwitchPortsOK) String

func (o *GetDeviceSwitchPortsOK) String() string

type GetDeviceSwitchPortsOKBodyItems0

type GetDeviceSwitchPortsOKBodyItems0 struct {

	// The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile.
	AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"`

	// The VLANs allowed on the switch port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch port.
	Name string `json:"name,omitempty"`

	// If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile.
	PeerSgtCapable bool `json:"peerSgtCapable,omitempty"`

	// The PoE status of the switch port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *GetDeviceSwitchPortsOKBodyItems0Profile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch port.
	Tags []string `json:"tags"`

	// The type of the switch port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetDeviceSwitchPortsOKBodyItems0 get device switch ports o k body items0 swagger:model GetDeviceSwitchPortsOKBodyItems0

func (*GetDeviceSwitchPortsOKBodyItems0) ContextValidate

func (o *GetDeviceSwitchPortsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device switch ports o k body items0 based on the context it is used

func (*GetDeviceSwitchPortsOKBodyItems0) MarshalBinary

func (o *GetDeviceSwitchPortsOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsOKBodyItems0) UnmarshalBinary

func (o *GetDeviceSwitchPortsOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsOKBodyItems0) Validate

Validate validates this get device switch ports o k body items0

type GetDeviceSwitchPortsOKBodyItems0Profile

type GetDeviceSwitchPortsOKBodyItems0Profile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

GetDeviceSwitchPortsOKBodyItems0Profile Profile attributes swagger:model GetDeviceSwitchPortsOKBodyItems0Profile

func (*GetDeviceSwitchPortsOKBodyItems0Profile) ContextValidate

ContextValidate validates this get device switch ports o k body items0 profile based on context it is used

func (*GetDeviceSwitchPortsOKBodyItems0Profile) MarshalBinary

func (o *GetDeviceSwitchPortsOKBodyItems0Profile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsOKBodyItems0Profile) UnmarshalBinary

func (o *GetDeviceSwitchPortsOKBodyItems0Profile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsOKBodyItems0Profile) Validate

Validate validates this get device switch ports o k body items0 profile

type GetDeviceSwitchPortsParams

type GetDeviceSwitchPortsParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsParams contains all the parameters to send to the API endpoint

for the get device switch ports operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchPortsParams

func NewGetDeviceSwitchPortsParams() *GetDeviceSwitchPortsParams

NewGetDeviceSwitchPortsParams creates a new GetDeviceSwitchPortsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchPortsParamsWithContext

func NewGetDeviceSwitchPortsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsParams

NewGetDeviceSwitchPortsParamsWithContext creates a new GetDeviceSwitchPortsParams object with the ability to set a context for a request.

func NewGetDeviceSwitchPortsParamsWithHTTPClient

func NewGetDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsParams

NewGetDeviceSwitchPortsParamsWithHTTPClient creates a new GetDeviceSwitchPortsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchPortsParamsWithTimeout

func NewGetDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsParams

NewGetDeviceSwitchPortsParamsWithTimeout creates a new GetDeviceSwitchPortsParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchPortsParams) SetContext

func (o *GetDeviceSwitchPortsParams) SetContext(ctx context.Context)

SetContext adds the context to the get device switch ports params

func (*GetDeviceSwitchPortsParams) SetDefaults

func (o *GetDeviceSwitchPortsParams) SetDefaults()

SetDefaults hydrates default values in the get device switch ports params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsParams) SetHTTPClient

func (o *GetDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch ports params

func (*GetDeviceSwitchPortsParams) SetSerial

func (o *GetDeviceSwitchPortsParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch ports params

func (*GetDeviceSwitchPortsParams) SetTimeout

func (o *GetDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch ports params

func (*GetDeviceSwitchPortsParams) WithContext

WithContext adds the context to the get device switch ports params

func (*GetDeviceSwitchPortsParams) WithDefaults

WithDefaults hydrates default values in the get device switch ports params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch ports params

func (*GetDeviceSwitchPortsParams) WithSerial

WithSerial adds the serial to the get device switch ports params

func (*GetDeviceSwitchPortsParams) WithTimeout

WithTimeout adds the timeout to the get device switch ports params

func (*GetDeviceSwitchPortsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchPortsReader

type GetDeviceSwitchPortsReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsReader is a Reader for the GetDeviceSwitchPorts structure.

func (*GetDeviceSwitchPortsReader) ReadResponse

func (o *GetDeviceSwitchPortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchPortsStatusesOK

type GetDeviceSwitchPortsStatusesOK struct {
	Payload []*GetDeviceSwitchPortsStatusesOKBodyItems0
}

GetDeviceSwitchPortsStatusesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchPortsStatusesOK

func NewGetDeviceSwitchPortsStatusesOK() *GetDeviceSwitchPortsStatusesOK

NewGetDeviceSwitchPortsStatusesOK creates a GetDeviceSwitchPortsStatusesOK with default headers values

func (*GetDeviceSwitchPortsStatusesOK) Code

Code gets the status code for the get device switch ports statuses o k response

func (*GetDeviceSwitchPortsStatusesOK) Error

func (*GetDeviceSwitchPortsStatusesOK) GetPayload

func (*GetDeviceSwitchPortsStatusesOK) IsClientError

func (o *GetDeviceSwitchPortsStatusesOK) IsClientError() bool

IsClientError returns true when this get device switch ports statuses o k response has a 4xx status code

func (*GetDeviceSwitchPortsStatusesOK) IsCode

func (o *GetDeviceSwitchPortsStatusesOK) IsCode(code int) bool

IsCode returns true when this get device switch ports statuses o k response a status code equal to that given

func (*GetDeviceSwitchPortsStatusesOK) IsRedirect

func (o *GetDeviceSwitchPortsStatusesOK) IsRedirect() bool

IsRedirect returns true when this get device switch ports statuses o k response has a 3xx status code

func (*GetDeviceSwitchPortsStatusesOK) IsServerError

func (o *GetDeviceSwitchPortsStatusesOK) IsServerError() bool

IsServerError returns true when this get device switch ports statuses o k response has a 5xx status code

func (*GetDeviceSwitchPortsStatusesOK) IsSuccess

func (o *GetDeviceSwitchPortsStatusesOK) IsSuccess() bool

IsSuccess returns true when this get device switch ports statuses o k response has a 2xx status code

func (*GetDeviceSwitchPortsStatusesOK) String

type GetDeviceSwitchPortsStatusesOKBodyItems0

type GetDeviceSwitchPortsStatusesOKBodyItems0 struct {

	// cdp
	Cdp *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp `json:"cdp,omitempty"`

	// The number of clients connected through this port.
	ClientCount int64 `json:"clientCount,omitempty"`

	// The current duplex of a connected port.
	// Enum: [ full half]
	Duplex string `json:"duplex,omitempty"`

	// Whether the port is configured to be enabled.
	Enabled bool `json:"enabled,omitempty"`

	// All errors present on the port.
	Errors []string `json:"errors"`

	// Whether the port is the switch's uplink.
	IsUplink bool `json:"isUplink,omitempty"`

	// lldp
	Lldp *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp `json:"lldp,omitempty"`

	// The string identifier of this port on the switch. This is commonly just the port number but may contain additional identifying information such as the slot and module-type if the port is located on a port module.
	PortID string `json:"portId,omitempty"`

	// How much power (in watt-hours) has been delivered by this port during the timespan.
	PowerUsageInWh float32 `json:"powerUsageInWh,omitempty"`

	// secure port
	SecurePort *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort `json:"securePort,omitempty"`

	// The current data transfer rate which the port is operating at.
	// Enum: [ 1 Gbps 10 Gbps 10 Mbps 100 Gbps 100 Mbps 2.5 Gbps 20 Gbps 40 Gbps 5 Gbps]
	Speed string `json:"speed,omitempty"`

	// The current connection status of the port.
	// Enum: [Connected Disabled Disconnected]
	Status string `json:"status,omitempty"`

	// traffic in kbps
	TrafficInKbps *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps `json:"trafficInKbps,omitempty"`

	// usage in kb
	UsageInKb *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb `json:"usageInKb,omitempty"`

	// All warnings present on the port.
	Warnings []string `json:"warnings"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0 get device switch ports statuses o k body items0 swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0

func (*GetDeviceSwitchPortsStatusesOKBodyItems0) ContextValidate

ContextValidate validate this get device switch ports statuses o k body items0 based on the context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0) MarshalBinary

func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0) UnmarshalBinary

func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0) Validate

Validate validates this get device switch ports statuses o k body items0

type GetDeviceSwitchPortsStatusesOKBodyItems0Cdp

type GetDeviceSwitchPortsStatusesOKBodyItems0Cdp struct {

	// Contains network addresses of both receiving and sending devices.
	Address string `json:"address,omitempty"`

	// Identifies the device type, which indicates the functional capabilities of the device.
	Capabilities string `json:"capabilities,omitempty"`

	// Identifies the device name.
	DeviceID string `json:"deviceId,omitempty"`

	// The device's management IP.
	ManagementAddress string `json:"managementAddress,omitempty"`

	// Indicates, per interface, the assumed VLAN for untagged packets on the interface.
	NativeVlan int64 `json:"nativeVlan,omitempty"`

	// Identifies the hardware platform of the device.
	Platform string `json:"platform,omitempty"`

	// Identifies the port from which the CDP packet was sent.
	PortID string `json:"portId,omitempty"`

	// The system name.
	SystemName string `json:"systemName,omitempty"`

	// Contains the device software release information.
	Version string `json:"version,omitempty"`

	// Advertises the configured VLAN Trunking Protocl (VTP)-management-domain name of the system.
	VtpManagementDomain string `json:"vtpManagementDomain,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0Cdp The Cisco Discovery Protocol (CDP) information of the connected device. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0Cdp

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) ContextValidate

ContextValidate validates this get device switch ports statuses o k body items0 cdp based on context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) MarshalBinary

func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) UnmarshalBinary

func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) Validate

Validate validates this get device switch ports statuses o k body items0 cdp

type GetDeviceSwitchPortsStatusesOKBodyItems0Lldp

type GetDeviceSwitchPortsStatusesOKBodyItems0Lldp struct {

	// The device's chassis ID.
	ChassisID string `json:"chassisId,omitempty"`

	// The device's management IP.
	ManagementAddress string `json:"managementAddress,omitempty"`

	// The device's management VLAN.
	ManagementVlan int64 `json:"managementVlan,omitempty"`

	// Description of the port from which the LLDP packet was sent.
	PortDescription string `json:"portDescription,omitempty"`

	// Identifies the port from which the LLDP packet was sent
	PortID string `json:"portId,omitempty"`

	// The port's VLAN.
	PortVlan int64 `json:"portVlan,omitempty"`

	// Identifies the device type, which indicates the functional capabilities of the device.
	SystemCapabilities string `json:"systemCapabilities,omitempty"`

	// The device's system description.
	SystemDescription string `json:"systemDescription,omitempty"`

	// The device's system name.
	SystemName string `json:"systemName,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0Lldp The Link Layer Discovery Protocol (LLDP) information of the connected device. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0Lldp

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) ContextValidate

ContextValidate validates this get device switch ports statuses o k body items0 lldp based on context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) Validate

Validate validates this get device switch ports statuses o k body items0 lldp

type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort

type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort struct {

	// Whether Secure Port is currently active for this port.
	Active bool `json:"active,omitempty"`

	// The current Secure Port status.
	// Enum: [Authentication failure Authentication in progress Authentication successful Authentication timed out Disabled Enabled]
	AuthenticationStatus string `json:"authenticationStatus,omitempty"`

	// config overrides
	ConfigOverrides *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides `json:"configOverrides,omitempty"`

	// Whether Secure Port is turned on for this port.
	Enabled bool `json:"enabled,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort The Secure Port status of the port. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) ContextValidate

ContextValidate validate this get device switch ports statuses o k body items0 secure port based on the context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) Validate

Validate validates this get device switch ports statuses o k body items0 secure port

type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides

type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides struct {

	// The VLANs allowed on the . Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// The type of the  ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The VLAN of the . A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the . Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides The configuration overrides applied to this port when Secure Port is active. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) ContextValidate

ContextValidate validates this get device switch ports statuses o k body items0 secure port config overrides based on context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) Validate

Validate validates this get device switch ports statuses o k body items0 secure port config overrides

type GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps

type GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps struct {

	// The average speed of the data received (in kilobits-per-second).
	Recv float32 `json:"recv,omitempty"`

	// The average speed of the data sent (in kilobits-per-second).
	Sent float32 `json:"sent,omitempty"`

	// The average speed of the data sent and received (in kilobits-per-second).
	Total float32 `json:"total,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps A breakdown of the average speed of data that has passed through this port during the timespan. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps

func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) ContextValidate

ContextValidate validates this get device switch ports statuses o k body items0 traffic in kbps based on context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) Validate

Validate validates this get device switch ports statuses o k body items0 traffic in kbps

type GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb

type GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb struct {

	// The amount of data received (in kilobytes).
	Recv int64 `json:"recv,omitempty"`

	// The amount of data sent (in kilobytes).
	Sent int64 `json:"sent,omitempty"`

	// The total amount of data sent and received (in kilobytes).
	Total int64 `json:"total,omitempty"`
}

GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb A breakdown of how many kilobytes have passed through this port during the timespan. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb

func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) ContextValidate

ContextValidate validates this get device switch ports statuses o k body items0 usage in kb based on context it is used

func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) Validate

Validate validates this get device switch ports statuses o k body items0 usage in kb

type GetDeviceSwitchPortsStatusesPacketsOK

type GetDeviceSwitchPortsStatusesPacketsOK struct {
	Payload []interface{}
}

GetDeviceSwitchPortsStatusesPacketsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchPortsStatusesPacketsOK

func NewGetDeviceSwitchPortsStatusesPacketsOK() *GetDeviceSwitchPortsStatusesPacketsOK

NewGetDeviceSwitchPortsStatusesPacketsOK creates a GetDeviceSwitchPortsStatusesPacketsOK with default headers values

func (*GetDeviceSwitchPortsStatusesPacketsOK) Code

Code gets the status code for the get device switch ports statuses packets o k response

func (*GetDeviceSwitchPortsStatusesPacketsOK) Error

func (*GetDeviceSwitchPortsStatusesPacketsOK) GetPayload

func (o *GetDeviceSwitchPortsStatusesPacketsOK) GetPayload() []interface{}

func (*GetDeviceSwitchPortsStatusesPacketsOK) IsClientError

func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsClientError() bool

IsClientError returns true when this get device switch ports statuses packets o k response has a 4xx status code

func (*GetDeviceSwitchPortsStatusesPacketsOK) IsCode

IsCode returns true when this get device switch ports statuses packets o k response a status code equal to that given

func (*GetDeviceSwitchPortsStatusesPacketsOK) IsRedirect

IsRedirect returns true when this get device switch ports statuses packets o k response has a 3xx status code

func (*GetDeviceSwitchPortsStatusesPacketsOK) IsServerError

func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsServerError() bool

IsServerError returns true when this get device switch ports statuses packets o k response has a 5xx status code

func (*GetDeviceSwitchPortsStatusesPacketsOK) IsSuccess

IsSuccess returns true when this get device switch ports statuses packets o k response has a 2xx status code

func (*GetDeviceSwitchPortsStatusesPacketsOK) String

type GetDeviceSwitchPortsStatusesPacketsParams

type GetDeviceSwitchPortsStatusesPacketsParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 1 day from today.
	*/
	T0 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day.

	   Format: float
	*/
	Timespan *float32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsStatusesPacketsParams contains all the parameters to send to the API endpoint

for the get device switch ports statuses packets operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchPortsStatusesPacketsParams

func NewGetDeviceSwitchPortsStatusesPacketsParams() *GetDeviceSwitchPortsStatusesPacketsParams

NewGetDeviceSwitchPortsStatusesPacketsParams creates a new GetDeviceSwitchPortsStatusesPacketsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesPacketsParams

NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a context for a request.

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesPacketsParams

NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout

func NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesPacketsParams

NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetContext

SetContext adds the context to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetDefaults

SetDefaults hydrates default values in the get device switch ports statuses packets params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetHTTPClient

func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetSerial

SetSerial adds the serial to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetT0

SetT0 adds the t0 to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetTimeout

SetTimeout adds the timeout to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) SetTimespan

func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithContext

WithContext adds the context to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithDefaults

WithDefaults hydrates default values in the get device switch ports statuses packets params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithSerial

WithSerial adds the serial to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithT0

WithT0 adds the t0 to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithTimeout

WithTimeout adds the timeout to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WithTimespan

WithTimespan adds the timespan to the get device switch ports statuses packets params

func (*GetDeviceSwitchPortsStatusesPacketsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchPortsStatusesPacketsReader

type GetDeviceSwitchPortsStatusesPacketsReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsStatusesPacketsReader is a Reader for the GetDeviceSwitchPortsStatusesPackets structure.

func (*GetDeviceSwitchPortsStatusesPacketsReader) ReadResponse

func (o *GetDeviceSwitchPortsStatusesPacketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchPortsStatusesParams

type GetDeviceSwitchPortsStatusesParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
	*/
	T0 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

	   Format: float
	*/
	Timespan *float32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsStatusesParams contains all the parameters to send to the API endpoint

for the get device switch ports statuses operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchPortsStatusesParams

func NewGetDeviceSwitchPortsStatusesParams() *GetDeviceSwitchPortsStatusesParams

NewGetDeviceSwitchPortsStatusesParams creates a new GetDeviceSwitchPortsStatusesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchPortsStatusesParamsWithContext

func NewGetDeviceSwitchPortsStatusesParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesParams

NewGetDeviceSwitchPortsStatusesParamsWithContext creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a context for a request.

func NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient

func NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesParams

NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchPortsStatusesParamsWithTimeout

func NewGetDeviceSwitchPortsStatusesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesParams

NewGetDeviceSwitchPortsStatusesParamsWithTimeout creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchPortsStatusesParams) SetContext

SetContext adds the context to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) SetDefaults

func (o *GetDeviceSwitchPortsStatusesParams) SetDefaults()

SetDefaults hydrates default values in the get device switch ports statuses params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsStatusesParams) SetHTTPClient

func (o *GetDeviceSwitchPortsStatusesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) SetSerial

func (o *GetDeviceSwitchPortsStatusesParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) SetT0

SetT0 adds the t0 to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) SetTimeout

func (o *GetDeviceSwitchPortsStatusesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) SetTimespan

func (o *GetDeviceSwitchPortsStatusesParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithContext

WithContext adds the context to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithDefaults

WithDefaults hydrates default values in the get device switch ports statuses params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchPortsStatusesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithSerial

WithSerial adds the serial to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithT0

WithT0 adds the t0 to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithTimeout

WithTimeout adds the timeout to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WithTimespan

WithTimespan adds the timespan to the get device switch ports statuses params

func (*GetDeviceSwitchPortsStatusesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchPortsStatusesReader

type GetDeviceSwitchPortsStatusesReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchPortsStatusesReader is a Reader for the GetDeviceSwitchPortsStatuses structure.

func (*GetDeviceSwitchPortsStatusesReader) ReadResponse

func (o *GetDeviceSwitchPortsStatusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchRoutingInterfaceDhcpOK

type GetDeviceSwitchRoutingInterfaceDhcpOK struct {
	Payload interface{}
}

GetDeviceSwitchRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchRoutingInterfaceDhcpOK

func NewGetDeviceSwitchRoutingInterfaceDhcpOK() *GetDeviceSwitchRoutingInterfaceDhcpOK

NewGetDeviceSwitchRoutingInterfaceDhcpOK creates a GetDeviceSwitchRoutingInterfaceDhcpOK with default headers values

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) Code

Code gets the status code for the get device switch routing interface dhcp o k response

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) Error

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload

func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsClientError

func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsClientError() bool

IsClientError returns true when this get device switch routing interface dhcp o k response has a 4xx status code

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsCode

IsCode returns true when this get device switch routing interface dhcp o k response a status code equal to that given

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect

IsRedirect returns true when this get device switch routing interface dhcp o k response has a 3xx status code

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsServerError

func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsServerError() bool

IsServerError returns true when this get device switch routing interface dhcp o k response has a 5xx status code

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess

IsSuccess returns true when this get device switch routing interface dhcp o k response has a 2xx status code

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) String

type GetDeviceSwitchRoutingInterfaceDhcpParams

type GetDeviceSwitchRoutingInterfaceDhcpParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint

for the get device switch routing interface dhcp operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchRoutingInterfaceDhcpParams

func NewGetDeviceSwitchRoutingInterfaceDhcpParams() *GetDeviceSwitchRoutingInterfaceDhcpParams

NewGetDeviceSwitchRoutingInterfaceDhcpParams creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceDhcpParams

NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a context for a request.

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceDhcpParams

NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout

func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceDhcpParams

NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetContext

SetContext adds the context to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults

SetDefaults hydrates default values in the get device switch routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient

func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID

func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetSerial

SetSerial adds the serial to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout

SetTimeout adds the timeout to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithContext

WithContext adds the context to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults

WithDefaults hydrates default values in the get device switch routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithSerial

WithSerial adds the serial to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout

WithTimeout adds the timeout to the get device switch routing interface dhcp params

func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchRoutingInterfaceDhcpReader

type GetDeviceSwitchRoutingInterfaceDhcpReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfaceDhcpReader is a Reader for the GetDeviceSwitchRoutingInterfaceDhcp structure.

func (*GetDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse

func (o *GetDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchRoutingInterfaceOK

type GetDeviceSwitchRoutingInterfaceOK struct {
	Payload *GetDeviceSwitchRoutingInterfaceOKBody
}

GetDeviceSwitchRoutingInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchRoutingInterfaceOK

func NewGetDeviceSwitchRoutingInterfaceOK() *GetDeviceSwitchRoutingInterfaceOK

NewGetDeviceSwitchRoutingInterfaceOK creates a GetDeviceSwitchRoutingInterfaceOK with default headers values

func (*GetDeviceSwitchRoutingInterfaceOK) Code

Code gets the status code for the get device switch routing interface o k response

func (*GetDeviceSwitchRoutingInterfaceOK) Error

func (*GetDeviceSwitchRoutingInterfaceOK) GetPayload

func (*GetDeviceSwitchRoutingInterfaceOK) IsClientError

func (o *GetDeviceSwitchRoutingInterfaceOK) IsClientError() bool

IsClientError returns true when this get device switch routing interface o k response has a 4xx status code

func (*GetDeviceSwitchRoutingInterfaceOK) IsCode

func (o *GetDeviceSwitchRoutingInterfaceOK) IsCode(code int) bool

IsCode returns true when this get device switch routing interface o k response a status code equal to that given

func (*GetDeviceSwitchRoutingInterfaceOK) IsRedirect

func (o *GetDeviceSwitchRoutingInterfaceOK) IsRedirect() bool

IsRedirect returns true when this get device switch routing interface o k response has a 3xx status code

func (*GetDeviceSwitchRoutingInterfaceOK) IsServerError

func (o *GetDeviceSwitchRoutingInterfaceOK) IsServerError() bool

IsServerError returns true when this get device switch routing interface o k response has a 5xx status code

func (*GetDeviceSwitchRoutingInterfaceOK) IsSuccess

func (o *GetDeviceSwitchRoutingInterfaceOK) IsSuccess() bool

IsSuccess returns true when this get device switch routing interface o k response has a 2xx status code

func (*GetDeviceSwitchRoutingInterfaceOK) String

type GetDeviceSwitchRoutingInterfaceOKBody

type GetDeviceSwitchRoutingInterfaceOKBody struct {

	// IPv4 default gateway
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The id
	InterfaceID string `json:"interfaceId,omitempty"`

	// IPv4 address
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *GetDeviceSwitchRoutingInterfaceOKBodyIPV6 `json:"ipv6,omitempty"`

	// Multicast routing status
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// The name
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 `json:"ospfV3,omitempty"`

	// IPv4 subnet
	Subnet string `json:"subnet,omitempty"`

	// VLAN id
	VlanID int64 `json:"vlanId,omitempty"`
}

GetDeviceSwitchRoutingInterfaceOKBody get device switch routing interface o k body swagger:model GetDeviceSwitchRoutingInterfaceOKBody

func (*GetDeviceSwitchRoutingInterfaceOKBody) ContextValidate

func (o *GetDeviceSwitchRoutingInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get device switch routing interface o k body based on the context it is used

func (*GetDeviceSwitchRoutingInterfaceOKBody) MarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBody) Validate

Validate validates this get device switch routing interface o k body

type GetDeviceSwitchRoutingInterfaceOKBodyIPV6

type GetDeviceSwitchRoutingInterfaceOKBodyIPV6 struct {

	// IPv6 address
	Address string `json:"address,omitempty"`

	// Assignment mode
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// IPv6 gateway
	Gateway string `json:"gateway,omitempty"`

	// IPv6 subnet
	Prefix string `json:"prefix,omitempty"`
}

GetDeviceSwitchRoutingInterfaceOKBodyIPV6 IPv6 addressing swagger:model GetDeviceSwitchRoutingInterfaceOKBodyIPV6

func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate

ContextValidate validates this get device switch routing interface o k body IP v6 based on context it is used

func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) Validate

Validate validates this get device switch routing interface o k body IP v6

type GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings

type GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv4 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings IPv4 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate

ContextValidate validates this get device switch routing interface o k body ospf settings based on context it is used

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) Validate

Validate validates this get device switch routing interface o k body ospf settings

type GetDeviceSwitchRoutingInterfaceOKBodyOspfV3

type GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv6 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 IPv6 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfaceOKBodyOspfV3

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate

ContextValidate validates this get device switch routing interface o k body ospf v3 based on context it is used

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary

func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) Validate

Validate validates this get device switch routing interface o k body ospf v3

type GetDeviceSwitchRoutingInterfaceParams

type GetDeviceSwitchRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the get device switch routing interface operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchRoutingInterfaceParams

func NewGetDeviceSwitchRoutingInterfaceParams() *GetDeviceSwitchRoutingInterfaceParams

NewGetDeviceSwitchRoutingInterfaceParams creates a new GetDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchRoutingInterfaceParamsWithContext

func NewGetDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceParams

NewGetDeviceSwitchRoutingInterfaceParamsWithContext creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.

func NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient

func NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceParams

NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout

func NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceParams

NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchRoutingInterfaceParams) SetContext

SetContext adds the context to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) SetDefaults

func (o *GetDeviceSwitchRoutingInterfaceParams) SetDefaults()

SetDefaults hydrates default values in the get device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfaceParams) SetHTTPClient

func (o *GetDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) SetInterfaceID

func (o *GetDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) SetSerial

func (o *GetDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) SetTimeout

func (o *GetDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WithContext

WithContext adds the context to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the get device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WithSerial

WithSerial adds the serial to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the get device switch routing interface params

func (*GetDeviceSwitchRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchRoutingInterfaceReader

type GetDeviceSwitchRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfaceReader is a Reader for the GetDeviceSwitchRoutingInterface structure.

func (*GetDeviceSwitchRoutingInterfaceReader) ReadResponse

func (o *GetDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchRoutingInterfacesOK

type GetDeviceSwitchRoutingInterfacesOK struct {
	Payload []*GetDeviceSwitchRoutingInterfacesOKBodyItems0
}

GetDeviceSwitchRoutingInterfacesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchRoutingInterfacesOK

func NewGetDeviceSwitchRoutingInterfacesOK() *GetDeviceSwitchRoutingInterfacesOK

NewGetDeviceSwitchRoutingInterfacesOK creates a GetDeviceSwitchRoutingInterfacesOK with default headers values

func (*GetDeviceSwitchRoutingInterfacesOK) Code

Code gets the status code for the get device switch routing interfaces o k response

func (*GetDeviceSwitchRoutingInterfacesOK) Error

func (*GetDeviceSwitchRoutingInterfacesOK) GetPayload

func (*GetDeviceSwitchRoutingInterfacesOK) IsClientError

func (o *GetDeviceSwitchRoutingInterfacesOK) IsClientError() bool

IsClientError returns true when this get device switch routing interfaces o k response has a 4xx status code

func (*GetDeviceSwitchRoutingInterfacesOK) IsCode

IsCode returns true when this get device switch routing interfaces o k response a status code equal to that given

func (*GetDeviceSwitchRoutingInterfacesOK) IsRedirect

func (o *GetDeviceSwitchRoutingInterfacesOK) IsRedirect() bool

IsRedirect returns true when this get device switch routing interfaces o k response has a 3xx status code

func (*GetDeviceSwitchRoutingInterfacesOK) IsServerError

func (o *GetDeviceSwitchRoutingInterfacesOK) IsServerError() bool

IsServerError returns true when this get device switch routing interfaces o k response has a 5xx status code

func (*GetDeviceSwitchRoutingInterfacesOK) IsSuccess

IsSuccess returns true when this get device switch routing interfaces o k response has a 2xx status code

func (*GetDeviceSwitchRoutingInterfacesOK) String

type GetDeviceSwitchRoutingInterfacesOKBodyItems0

type GetDeviceSwitchRoutingInterfacesOKBodyItems0 struct {

	// IPv4 default gateway
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The id
	InterfaceID string `json:"interfaceId,omitempty"`

	// IPv4 address
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 `json:"ipv6,omitempty"`

	// Multicast routing status
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// The name
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 `json:"ospfV3,omitempty"`

	// IPv4 subnet
	Subnet string `json:"subnet,omitempty"`

	// VLAN id
	VlanID int64 `json:"vlanId,omitempty"`
}

GetDeviceSwitchRoutingInterfacesOKBodyItems0 get device switch routing interfaces o k body items0 swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) ContextValidate

ContextValidate validate this get device switch routing interfaces o k body items0 based on the context it is used

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) Validate

Validate validates this get device switch routing interfaces o k body items0

type GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6

type GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 struct {

	// IPv6 address
	Address string `json:"address,omitempty"`

	// Assignment mode
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// IPv6 gateway
	Gateway string `json:"gateway,omitempty"`

	// IPv6 subnet
	Prefix string `json:"prefix,omitempty"`
}

GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 IPv6 addressing swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) ContextValidate

ContextValidate validates this get device switch routing interfaces o k body items0 IP v6 based on context it is used

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) Validate

Validate validates this get device switch routing interfaces o k body items0 IP v6

type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings

type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv4 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings IPv4 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) ContextValidate

ContextValidate validates this get device switch routing interfaces o k body items0 ospf settings based on context it is used

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) Validate

Validate validates this get device switch routing interfaces o k body items0 ospf settings

type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3

type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv6 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 IPv6 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) ContextValidate

ContextValidate validates this get device switch routing interfaces o k body items0 ospf v3 based on context it is used

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) Validate

Validate validates this get device switch routing interfaces o k body items0 ospf v3

type GetDeviceSwitchRoutingInterfacesParams

type GetDeviceSwitchRoutingInterfacesParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfacesParams contains all the parameters to send to the API endpoint

for the get device switch routing interfaces operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchRoutingInterfacesParams

func NewGetDeviceSwitchRoutingInterfacesParams() *GetDeviceSwitchRoutingInterfacesParams

NewGetDeviceSwitchRoutingInterfacesParams creates a new GetDeviceSwitchRoutingInterfacesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchRoutingInterfacesParamsWithContext

func NewGetDeviceSwitchRoutingInterfacesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfacesParams

NewGetDeviceSwitchRoutingInterfacesParamsWithContext creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a context for a request.

func NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient

func NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfacesParams

NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout

func NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfacesParams

NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchRoutingInterfacesParams) SetContext

SetContext adds the context to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) SetDefaults

func (o *GetDeviceSwitchRoutingInterfacesParams) SetDefaults()

SetDefaults hydrates default values in the get device switch routing interfaces params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfacesParams) SetHTTPClient

func (o *GetDeviceSwitchRoutingInterfacesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) SetSerial

func (o *GetDeviceSwitchRoutingInterfacesParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) SetTimeout

func (o *GetDeviceSwitchRoutingInterfacesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) WithContext

WithContext adds the context to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) WithDefaults

WithDefaults hydrates default values in the get device switch routing interfaces params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) WithSerial

WithSerial adds the serial to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) WithTimeout

WithTimeout adds the timeout to the get device switch routing interfaces params

func (*GetDeviceSwitchRoutingInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchRoutingInterfacesReader

type GetDeviceSwitchRoutingInterfacesReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingInterfacesReader is a Reader for the GetDeviceSwitchRoutingInterfaces structure.

func (*GetDeviceSwitchRoutingInterfacesReader) ReadResponse

func (o *GetDeviceSwitchRoutingInterfacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchRoutingStaticRouteOK

type GetDeviceSwitchRoutingStaticRouteOK struct {
	Payload *GetDeviceSwitchRoutingStaticRouteOKBody
}

GetDeviceSwitchRoutingStaticRouteOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchRoutingStaticRouteOK

func NewGetDeviceSwitchRoutingStaticRouteOK() *GetDeviceSwitchRoutingStaticRouteOK

NewGetDeviceSwitchRoutingStaticRouteOK creates a GetDeviceSwitchRoutingStaticRouteOK with default headers values

func (*GetDeviceSwitchRoutingStaticRouteOK) Code

Code gets the status code for the get device switch routing static route o k response

func (*GetDeviceSwitchRoutingStaticRouteOK) Error

func (*GetDeviceSwitchRoutingStaticRouteOK) GetPayload

func (*GetDeviceSwitchRoutingStaticRouteOK) IsClientError

func (o *GetDeviceSwitchRoutingStaticRouteOK) IsClientError() bool

IsClientError returns true when this get device switch routing static route o k response has a 4xx status code

func (*GetDeviceSwitchRoutingStaticRouteOK) IsCode

IsCode returns true when this get device switch routing static route o k response a status code equal to that given

func (*GetDeviceSwitchRoutingStaticRouteOK) IsRedirect

func (o *GetDeviceSwitchRoutingStaticRouteOK) IsRedirect() bool

IsRedirect returns true when this get device switch routing static route o k response has a 3xx status code

func (*GetDeviceSwitchRoutingStaticRouteOK) IsServerError

func (o *GetDeviceSwitchRoutingStaticRouteOK) IsServerError() bool

IsServerError returns true when this get device switch routing static route o k response has a 5xx status code

func (*GetDeviceSwitchRoutingStaticRouteOK) IsSuccess

IsSuccess returns true when this get device switch routing static route o k response has a 2xx status code

func (*GetDeviceSwitchRoutingStaticRouteOK) String

type GetDeviceSwitchRoutingStaticRouteOKBody

type GetDeviceSwitchRoutingStaticRouteOKBody struct {

	// Option to advertise static routes via OSPF
	AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"`

	// The name or description of the layer 3 static route
	Name string `json:"name,omitempty"`

	//  The IP address of the router to which traffic for this destination network should be sent
	// Required: true
	NextHopIP *string `json:"nextHopIp"`

	// Option to prefer static routes over OSPF routes
	PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"`

	// The identifier of a layer 3 static route
	StaticRouteID string `json:"staticRouteId,omitempty"`

	// The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24)
	// Required: true
	Subnet *string `json:"subnet"`
}

GetDeviceSwitchRoutingStaticRouteOKBody get device switch routing static route o k body swagger:model GetDeviceSwitchRoutingStaticRouteOKBody

func (*GetDeviceSwitchRoutingStaticRouteOKBody) ContextValidate

ContextValidate validates this get device switch routing static route o k body based on context it is used

func (*GetDeviceSwitchRoutingStaticRouteOKBody) MarshalBinary

func (o *GetDeviceSwitchRoutingStaticRouteOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDeviceSwitchRoutingStaticRouteOKBody) UnmarshalBinary

func (o *GetDeviceSwitchRoutingStaticRouteOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDeviceSwitchRoutingStaticRouteOKBody) Validate

Validate validates this get device switch routing static route o k body

type GetDeviceSwitchRoutingStaticRouteParams

type GetDeviceSwitchRoutingStaticRouteParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the get device switch routing static route operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchRoutingStaticRouteParams

func NewGetDeviceSwitchRoutingStaticRouteParams() *GetDeviceSwitchRoutingStaticRouteParams

NewGetDeviceSwitchRoutingStaticRouteParams creates a new GetDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchRoutingStaticRouteParamsWithContext

func NewGetDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRouteParams

NewGetDeviceSwitchRoutingStaticRouteParamsWithContext creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.

func NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient

func NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRouteParams

NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout

func NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRouteParams

NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchRoutingStaticRouteParams) SetContext

SetContext adds the context to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) SetDefaults

func (o *GetDeviceSwitchRoutingStaticRouteParams) SetDefaults()

SetDefaults hydrates default values in the get device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingStaticRouteParams) SetHTTPClient

func (o *GetDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) SetSerial

func (o *GetDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID

func (o *GetDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) SetTimeout

func (o *GetDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WithContext

WithContext adds the context to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the get device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WithSerial

WithSerial adds the serial to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the get device switch routing static route params

func (*GetDeviceSwitchRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchRoutingStaticRouteReader

type GetDeviceSwitchRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingStaticRouteReader is a Reader for the GetDeviceSwitchRoutingStaticRoute structure.

func (*GetDeviceSwitchRoutingStaticRouteReader) ReadResponse

func (o *GetDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchRoutingStaticRoutesOK

type GetDeviceSwitchRoutingStaticRoutesOK struct {
	Payload []interface{}
}

GetDeviceSwitchRoutingStaticRoutesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchRoutingStaticRoutesOK

func NewGetDeviceSwitchRoutingStaticRoutesOK() *GetDeviceSwitchRoutingStaticRoutesOK

NewGetDeviceSwitchRoutingStaticRoutesOK creates a GetDeviceSwitchRoutingStaticRoutesOK with default headers values

func (*GetDeviceSwitchRoutingStaticRoutesOK) Code

Code gets the status code for the get device switch routing static routes o k response

func (*GetDeviceSwitchRoutingStaticRoutesOK) Error

func (*GetDeviceSwitchRoutingStaticRoutesOK) GetPayload

func (o *GetDeviceSwitchRoutingStaticRoutesOK) GetPayload() []interface{}

func (*GetDeviceSwitchRoutingStaticRoutesOK) IsClientError

func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsClientError() bool

IsClientError returns true when this get device switch routing static routes o k response has a 4xx status code

func (*GetDeviceSwitchRoutingStaticRoutesOK) IsCode

IsCode returns true when this get device switch routing static routes o k response a status code equal to that given

func (*GetDeviceSwitchRoutingStaticRoutesOK) IsRedirect

IsRedirect returns true when this get device switch routing static routes o k response has a 3xx status code

func (*GetDeviceSwitchRoutingStaticRoutesOK) IsServerError

func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsServerError() bool

IsServerError returns true when this get device switch routing static routes o k response has a 5xx status code

func (*GetDeviceSwitchRoutingStaticRoutesOK) IsSuccess

IsSuccess returns true when this get device switch routing static routes o k response has a 2xx status code

func (*GetDeviceSwitchRoutingStaticRoutesOK) String

type GetDeviceSwitchRoutingStaticRoutesParams

type GetDeviceSwitchRoutingStaticRoutesParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingStaticRoutesParams contains all the parameters to send to the API endpoint

for the get device switch routing static routes operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchRoutingStaticRoutesParams

func NewGetDeviceSwitchRoutingStaticRoutesParams() *GetDeviceSwitchRoutingStaticRoutesParams

NewGetDeviceSwitchRoutingStaticRoutesParams creates a new GetDeviceSwitchRoutingStaticRoutesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRoutesParams

NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a context for a request.

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRoutesParams

NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout

func NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRoutesParams

NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchRoutingStaticRoutesParams) SetContext

SetContext adds the context to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) SetDefaults

SetDefaults hydrates default values in the get device switch routing static routes params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingStaticRoutesParams) SetHTTPClient

func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) SetSerial

func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) SetTimeout

SetTimeout adds the timeout to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) WithContext

WithContext adds the context to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) WithDefaults

WithDefaults hydrates default values in the get device switch routing static routes params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchRoutingStaticRoutesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) WithSerial

WithSerial adds the serial to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) WithTimeout

WithTimeout adds the timeout to the get device switch routing static routes params

func (*GetDeviceSwitchRoutingStaticRoutesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchRoutingStaticRoutesReader

type GetDeviceSwitchRoutingStaticRoutesReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchRoutingStaticRoutesReader is a Reader for the GetDeviceSwitchRoutingStaticRoutes structure.

func (*GetDeviceSwitchRoutingStaticRoutesReader) ReadResponse

func (o *GetDeviceSwitchRoutingStaticRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceSwitchWarmSpareOK

type GetDeviceSwitchWarmSpareOK struct {
	Payload interface{}
}

GetDeviceSwitchWarmSpareOK describes a response with status code 200, with default header values.

Successful operation

func NewGetDeviceSwitchWarmSpareOK

func NewGetDeviceSwitchWarmSpareOK() *GetDeviceSwitchWarmSpareOK

NewGetDeviceSwitchWarmSpareOK creates a GetDeviceSwitchWarmSpareOK with default headers values

func (*GetDeviceSwitchWarmSpareOK) Code

func (o *GetDeviceSwitchWarmSpareOK) Code() int

Code gets the status code for the get device switch warm spare o k response

func (*GetDeviceSwitchWarmSpareOK) Error

func (*GetDeviceSwitchWarmSpareOK) GetPayload

func (o *GetDeviceSwitchWarmSpareOK) GetPayload() interface{}

func (*GetDeviceSwitchWarmSpareOK) IsClientError

func (o *GetDeviceSwitchWarmSpareOK) IsClientError() bool

IsClientError returns true when this get device switch warm spare o k response has a 4xx status code

func (*GetDeviceSwitchWarmSpareOK) IsCode

func (o *GetDeviceSwitchWarmSpareOK) IsCode(code int) bool

IsCode returns true when this get device switch warm spare o k response a status code equal to that given

func (*GetDeviceSwitchWarmSpareOK) IsRedirect

func (o *GetDeviceSwitchWarmSpareOK) IsRedirect() bool

IsRedirect returns true when this get device switch warm spare o k response has a 3xx status code

func (*GetDeviceSwitchWarmSpareOK) IsServerError

func (o *GetDeviceSwitchWarmSpareOK) IsServerError() bool

IsServerError returns true when this get device switch warm spare o k response has a 5xx status code

func (*GetDeviceSwitchWarmSpareOK) IsSuccess

func (o *GetDeviceSwitchWarmSpareOK) IsSuccess() bool

IsSuccess returns true when this get device switch warm spare o k response has a 2xx status code

func (*GetDeviceSwitchWarmSpareOK) String

func (o *GetDeviceSwitchWarmSpareOK) String() string

type GetDeviceSwitchWarmSpareParams

type GetDeviceSwitchWarmSpareParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceSwitchWarmSpareParams contains all the parameters to send to the API endpoint

for the get device switch warm spare operation.

Typically these are written to a http.Request.

func NewGetDeviceSwitchWarmSpareParams

func NewGetDeviceSwitchWarmSpareParams() *GetDeviceSwitchWarmSpareParams

NewGetDeviceSwitchWarmSpareParams creates a new GetDeviceSwitchWarmSpareParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDeviceSwitchWarmSpareParamsWithContext

func NewGetDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *GetDeviceSwitchWarmSpareParams

NewGetDeviceSwitchWarmSpareParamsWithContext creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a context for a request.

func NewGetDeviceSwitchWarmSpareParamsWithHTTPClient

func NewGetDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchWarmSpareParams

NewGetDeviceSwitchWarmSpareParamsWithHTTPClient creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeviceSwitchWarmSpareParamsWithTimeout

func NewGetDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchWarmSpareParams

NewGetDeviceSwitchWarmSpareParamsWithTimeout creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a timeout on a request.

func (*GetDeviceSwitchWarmSpareParams) SetContext

func (o *GetDeviceSwitchWarmSpareParams) SetContext(ctx context.Context)

SetContext adds the context to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) SetDefaults

func (o *GetDeviceSwitchWarmSpareParams) SetDefaults()

SetDefaults hydrates default values in the get device switch warm spare params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchWarmSpareParams) SetHTTPClient

func (o *GetDeviceSwitchWarmSpareParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) SetSerial

func (o *GetDeviceSwitchWarmSpareParams) SetSerial(serial string)

SetSerial adds the serial to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) SetTimeout

func (o *GetDeviceSwitchWarmSpareParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) WithContext

WithContext adds the context to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) WithDefaults

WithDefaults hydrates default values in the get device switch warm spare params (not the query body).

All values with no default are reset to their zero value.

func (*GetDeviceSwitchWarmSpareParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) WithSerial

WithSerial adds the serial to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) WithTimeout

WithTimeout adds the timeout to the get device switch warm spare params

func (*GetDeviceSwitchWarmSpareParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceSwitchWarmSpareReader

type GetDeviceSwitchWarmSpareReader struct {
	// contains filtered or unexported fields
}

GetDeviceSwitchWarmSpareReader is a Reader for the GetDeviceSwitchWarmSpare structure.

func (*GetDeviceSwitchWarmSpareReader) ReadResponse

func (o *GetDeviceSwitchWarmSpareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchAccessControlListsOK

type GetNetworkSwitchAccessControlListsOK struct {
	Payload *GetNetworkSwitchAccessControlListsOKBody
}

GetNetworkSwitchAccessControlListsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchAccessControlListsOK

func NewGetNetworkSwitchAccessControlListsOK() *GetNetworkSwitchAccessControlListsOK

NewGetNetworkSwitchAccessControlListsOK creates a GetNetworkSwitchAccessControlListsOK with default headers values

func (*GetNetworkSwitchAccessControlListsOK) Code

Code gets the status code for the get network switch access control lists o k response

func (*GetNetworkSwitchAccessControlListsOK) Error

func (*GetNetworkSwitchAccessControlListsOK) GetPayload

func (*GetNetworkSwitchAccessControlListsOK) IsClientError

func (o *GetNetworkSwitchAccessControlListsOK) IsClientError() bool

IsClientError returns true when this get network switch access control lists o k response has a 4xx status code

func (*GetNetworkSwitchAccessControlListsOK) IsCode

IsCode returns true when this get network switch access control lists o k response a status code equal to that given

func (*GetNetworkSwitchAccessControlListsOK) IsRedirect

IsRedirect returns true when this get network switch access control lists o k response has a 3xx status code

func (*GetNetworkSwitchAccessControlListsOK) IsServerError

func (o *GetNetworkSwitchAccessControlListsOK) IsServerError() bool

IsServerError returns true when this get network switch access control lists o k response has a 5xx status code

func (*GetNetworkSwitchAccessControlListsOK) IsSuccess

IsSuccess returns true when this get network switch access control lists o k response has a 2xx status code

func (*GetNetworkSwitchAccessControlListsOK) String

type GetNetworkSwitchAccessControlListsOKBody

type GetNetworkSwitchAccessControlListsOKBody struct {

	// An ordered array of the access control list rules
	Rules []*GetNetworkSwitchAccessControlListsOKBodyRulesItems0 `json:"rules"`
}

GetNetworkSwitchAccessControlListsOKBody get network switch access control lists o k body swagger:model GetNetworkSwitchAccessControlListsOKBody

func (*GetNetworkSwitchAccessControlListsOKBody) ContextValidate

ContextValidate validate this get network switch access control lists o k body based on the context it is used

func (*GetNetworkSwitchAccessControlListsOKBody) MarshalBinary

func (o *GetNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessControlListsOKBody) UnmarshalBinary

func (o *GetNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessControlListsOKBody) Validate

Validate validates this get network switch access control lists o k body

type GetNetworkSwitchAccessControlListsOKBodyRulesItems0

type GetNetworkSwitchAccessControlListsOKBodyRulesItems0 struct {

	// Description of the rule (optional)
	Comment string `json:"comment,omitempty"`

	// Destination IP address (in IP or CIDR notation)
	DstCidr string `json:"dstCidr,omitempty"`

	// Destination port
	DstPort string `json:"dstPort,omitempty"`

	// IP address version
	// Enum: [any ipv4 ipv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// 'allow' or 'deny' traffic specified by this rule
	// Enum: [allow deny]
	Policy string `json:"policy,omitempty"`

	// The type of protocol
	// Enum: [any tcp udp]
	Protocol string `json:"protocol,omitempty"`

	// Source IP address (in IP or CIDR notation)
	SrcCidr string `json:"srcCidr,omitempty"`

	// Source port
	SrcPort string `json:"srcPort,omitempty"`

	// ncoming traffic VLAN
	Vlan string `json:"vlan,omitempty"`
}

GetNetworkSwitchAccessControlListsOKBodyRulesItems0 get network switch access control lists o k body rules items0 swagger:model GetNetworkSwitchAccessControlListsOKBodyRulesItems0

func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate

ContextValidate validates this get network switch access control lists o k body rules items0 based on context it is used

func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) Validate

Validate validates this get network switch access control lists o k body rules items0

type GetNetworkSwitchAccessControlListsParams

type GetNetworkSwitchAccessControlListsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessControlListsParams contains all the parameters to send to the API endpoint

for the get network switch access control lists operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchAccessControlListsParams

func NewGetNetworkSwitchAccessControlListsParams() *GetNetworkSwitchAccessControlListsParams

NewGetNetworkSwitchAccessControlListsParams creates a new GetNetworkSwitchAccessControlListsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchAccessControlListsParamsWithContext

func NewGetNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessControlListsParams

NewGetNetworkSwitchAccessControlListsParamsWithContext creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a context for a request.

func NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient

func NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessControlListsParams

NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchAccessControlListsParamsWithTimeout

func NewGetNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessControlListsParams

NewGetNetworkSwitchAccessControlListsParamsWithTimeout creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchAccessControlListsParams) SetContext

SetContext adds the context to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) SetDefaults

SetDefaults hydrates default values in the get network switch access control lists params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessControlListsParams) SetHTTPClient

func (o *GetNetworkSwitchAccessControlListsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) SetNetworkID

func (o *GetNetworkSwitchAccessControlListsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) SetTimeout

SetTimeout adds the timeout to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) WithContext

WithContext adds the context to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) WithDefaults

WithDefaults hydrates default values in the get network switch access control lists params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessControlListsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) WithTimeout

WithTimeout adds the timeout to the get network switch access control lists params

func (*GetNetworkSwitchAccessControlListsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchAccessControlListsReader

type GetNetworkSwitchAccessControlListsReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessControlListsReader is a Reader for the GetNetworkSwitchAccessControlLists structure.

func (*GetNetworkSwitchAccessControlListsReader) ReadResponse

func (o *GetNetworkSwitchAccessControlListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchAccessPoliciesOK

type GetNetworkSwitchAccessPoliciesOK struct {
	Payload []*GetNetworkSwitchAccessPoliciesOKBodyItems0
}

GetNetworkSwitchAccessPoliciesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchAccessPoliciesOK

func NewGetNetworkSwitchAccessPoliciesOK() *GetNetworkSwitchAccessPoliciesOK

NewGetNetworkSwitchAccessPoliciesOK creates a GetNetworkSwitchAccessPoliciesOK with default headers values

func (*GetNetworkSwitchAccessPoliciesOK) Code

Code gets the status code for the get network switch access policies o k response

func (*GetNetworkSwitchAccessPoliciesOK) Error

func (*GetNetworkSwitchAccessPoliciesOK) GetPayload

func (*GetNetworkSwitchAccessPoliciesOK) IsClientError

func (o *GetNetworkSwitchAccessPoliciesOK) IsClientError() bool

IsClientError returns true when this get network switch access policies o k response has a 4xx status code

func (*GetNetworkSwitchAccessPoliciesOK) IsCode

func (o *GetNetworkSwitchAccessPoliciesOK) IsCode(code int) bool

IsCode returns true when this get network switch access policies o k response a status code equal to that given

func (*GetNetworkSwitchAccessPoliciesOK) IsRedirect

func (o *GetNetworkSwitchAccessPoliciesOK) IsRedirect() bool

IsRedirect returns true when this get network switch access policies o k response has a 3xx status code

func (*GetNetworkSwitchAccessPoliciesOK) IsServerError

func (o *GetNetworkSwitchAccessPoliciesOK) IsServerError() bool

IsServerError returns true when this get network switch access policies o k response has a 5xx status code

func (*GetNetworkSwitchAccessPoliciesOK) IsSuccess

func (o *GetNetworkSwitchAccessPoliciesOK) IsSuccess() bool

IsSuccess returns true when this get network switch access policies o k response has a 2xx status code

func (*GetNetworkSwitchAccessPoliciesOK) String

type GetNetworkSwitchAccessPoliciesOKBodyItems0

type GetNetworkSwitchAccessPoliciesOKBodyItems0 struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode string `json:"hostMode,omitempty"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	Name string `json:"name,omitempty"`

	// radius
	Radius *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	RadiusServers []*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"`

	// Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0 get network switch access policies o k body items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) ContextValidate

ContextValidate validate this get network switch access policies o k body items0 based on the context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) MarshalBinary

func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) UnmarshalBinary

func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) Validate

Validate validates this get network switch access policies o k body items0

type GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x

type GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x 802.1x Settings swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) ContextValidate

ContextValidate validates this get network switch access policies o k body items0 dot1x based on context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) Validate

Validate validates this get network switch access policies o k body items0 dot1x

type GetNetworkSwitchAccessPoliciesOKBodyItems0Radius

type GetNetworkSwitchAccessPoliciesOKBodyItems0Radius struct {

	// critical auth
	CriticalAuth *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0Radius Object for RADIUS Settings swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0Radius

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) ContextValidate

ContextValidate validate this get network switch access policies o k body items0 radius based on the context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) Validate

Validate validates this get network switch access policies o k body items0 radius

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 get network switch access policies o k body items0 radius accounting servers items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) ContextValidate

ContextValidate validates this get network switch access policies o k body items0 radius accounting servers items0 based on context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) Validate

Validate validates this get network switch access policies o k body items0 radius accounting servers items0

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) ContextValidate

ContextValidate validates this get network switch access policies o k body items0 radius critical auth based on context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) Validate

Validate validates this get network switch access policies o k body items0 radius critical auth

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0

type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 get network switch access policies o k body items0 radius servers items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) ContextValidate

ContextValidate validates this get network switch access policies o k body items0 radius servers items0 based on context it is used

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) Validate

Validate validates this get network switch access policies o k body items0 radius servers items0

type GetNetworkSwitchAccessPoliciesParams

type GetNetworkSwitchAccessPoliciesParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessPoliciesParams contains all the parameters to send to the API endpoint

for the get network switch access policies operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchAccessPoliciesParams

func NewGetNetworkSwitchAccessPoliciesParams() *GetNetworkSwitchAccessPoliciesParams

NewGetNetworkSwitchAccessPoliciesParams creates a new GetNetworkSwitchAccessPoliciesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchAccessPoliciesParamsWithContext

func NewGetNetworkSwitchAccessPoliciesParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPoliciesParams

NewGetNetworkSwitchAccessPoliciesParamsWithContext creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a context for a request.

func NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient

func NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPoliciesParams

NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchAccessPoliciesParamsWithTimeout

func NewGetNetworkSwitchAccessPoliciesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPoliciesParams

NewGetNetworkSwitchAccessPoliciesParamsWithTimeout creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchAccessPoliciesParams) SetContext

SetContext adds the context to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) SetDefaults

func (o *GetNetworkSwitchAccessPoliciesParams) SetDefaults()

SetDefaults hydrates default values in the get network switch access policies params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessPoliciesParams) SetHTTPClient

func (o *GetNetworkSwitchAccessPoliciesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) SetNetworkID

func (o *GetNetworkSwitchAccessPoliciesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) SetTimeout

func (o *GetNetworkSwitchAccessPoliciesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) WithContext

WithContext adds the context to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) WithDefaults

WithDefaults hydrates default values in the get network switch access policies params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessPoliciesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) WithTimeout

WithTimeout adds the timeout to the get network switch access policies params

func (*GetNetworkSwitchAccessPoliciesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchAccessPoliciesReader

type GetNetworkSwitchAccessPoliciesReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessPoliciesReader is a Reader for the GetNetworkSwitchAccessPolicies structure.

func (*GetNetworkSwitchAccessPoliciesReader) ReadResponse

func (o *GetNetworkSwitchAccessPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchAccessPolicyOK

type GetNetworkSwitchAccessPolicyOK struct {
	Payload *GetNetworkSwitchAccessPolicyOKBody
}

GetNetworkSwitchAccessPolicyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchAccessPolicyOK

func NewGetNetworkSwitchAccessPolicyOK() *GetNetworkSwitchAccessPolicyOK

NewGetNetworkSwitchAccessPolicyOK creates a GetNetworkSwitchAccessPolicyOK with default headers values

func (*GetNetworkSwitchAccessPolicyOK) Code

Code gets the status code for the get network switch access policy o k response

func (*GetNetworkSwitchAccessPolicyOK) Error

func (*GetNetworkSwitchAccessPolicyOK) GetPayload

func (*GetNetworkSwitchAccessPolicyOK) IsClientError

func (o *GetNetworkSwitchAccessPolicyOK) IsClientError() bool

IsClientError returns true when this get network switch access policy o k response has a 4xx status code

func (*GetNetworkSwitchAccessPolicyOK) IsCode

func (o *GetNetworkSwitchAccessPolicyOK) IsCode(code int) bool

IsCode returns true when this get network switch access policy o k response a status code equal to that given

func (*GetNetworkSwitchAccessPolicyOK) IsRedirect

func (o *GetNetworkSwitchAccessPolicyOK) IsRedirect() bool

IsRedirect returns true when this get network switch access policy o k response has a 3xx status code

func (*GetNetworkSwitchAccessPolicyOK) IsServerError

func (o *GetNetworkSwitchAccessPolicyOK) IsServerError() bool

IsServerError returns true when this get network switch access policy o k response has a 5xx status code

func (*GetNetworkSwitchAccessPolicyOK) IsSuccess

func (o *GetNetworkSwitchAccessPolicyOK) IsSuccess() bool

IsSuccess returns true when this get network switch access policy o k response has a 2xx status code

func (*GetNetworkSwitchAccessPolicyOK) String

type GetNetworkSwitchAccessPolicyOKBody

type GetNetworkSwitchAccessPolicyOKBody struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *GetNetworkSwitchAccessPolicyOKBodyDot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode string `json:"hostMode,omitempty"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	Name string `json:"name,omitempty"`

	// radius
	Radius *GetNetworkSwitchAccessPolicyOKBodyRadius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	RadiusServers []*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"`

	// Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBody get network switch access policy o k body swagger:model GetNetworkSwitchAccessPolicyOKBody

func (*GetNetworkSwitchAccessPolicyOKBody) ContextValidate

func (o *GetNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get network switch access policy o k body based on the context it is used

func (*GetNetworkSwitchAccessPolicyOKBody) MarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBody) UnmarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBody) Validate

Validate validates this get network switch access policy o k body

type GetNetworkSwitchAccessPolicyOKBodyDot1x

type GetNetworkSwitchAccessPolicyOKBodyDot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBodyDot1x 802.1x Settings swagger:model GetNetworkSwitchAccessPolicyOKBodyDot1x

func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate

ContextValidate validates this get network switch access policy o k body dot1x based on context it is used

func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) Validate

Validate validates this get network switch access policy o k body dot1x

type GetNetworkSwitchAccessPolicyOKBodyRadius

type GetNetworkSwitchAccessPolicyOKBodyRadius struct {

	// critical auth
	CriticalAuth *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBodyRadius Object for RADIUS Settings swagger:model GetNetworkSwitchAccessPolicyOKBodyRadius

func (*GetNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate

ContextValidate validate this get network switch access policy o k body radius based on the context it is used

func (*GetNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary

func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadius) Validate

Validate validates this get network switch access policy o k body radius

type GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0

type GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 get network switch access policy o k body radius accounting servers items0 swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate

ContextValidate validates this get network switch access policy o k body radius accounting servers items0 based on context it is used

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate

Validate validates this get network switch access policy o k body radius accounting servers items0

type GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth

type GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate

ContextValidate validates this get network switch access policy o k body radius critical auth based on context it is used

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) Validate

Validate validates this get network switch access policy o k body radius critical auth

type GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0

type GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 get network switch access policy o k body radius servers items0 swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate

ContextValidate validates this get network switch access policy o k body radius servers items0 based on context it is used

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) Validate

Validate validates this get network switch access policy o k body radius servers items0

type GetNetworkSwitchAccessPolicyParams

type GetNetworkSwitchAccessPolicyParams struct {

	/* AccessPolicyNumber.

	   Access policy number
	*/
	AccessPolicyNumber string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint

for the get network switch access policy operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchAccessPolicyParams

func NewGetNetworkSwitchAccessPolicyParams() *GetNetworkSwitchAccessPolicyParams

NewGetNetworkSwitchAccessPolicyParams creates a new GetNetworkSwitchAccessPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchAccessPolicyParamsWithContext

func NewGetNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPolicyParams

NewGetNetworkSwitchAccessPolicyParamsWithContext creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.

func NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient

func NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPolicyParams

NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchAccessPolicyParamsWithTimeout

func NewGetNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPolicyParams

NewGetNetworkSwitchAccessPolicyParamsWithTimeout creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber

func (o *GetNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)

SetAccessPolicyNumber adds the accessPolicyNumber to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) SetContext

SetContext adds the context to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) SetDefaults

func (o *GetNetworkSwitchAccessPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessPolicyParams) SetHTTPClient

func (o *GetNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) SetNetworkID

func (o *GetNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) SetTimeout

func (o *GetNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber

func (o *GetNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *GetNetworkSwitchAccessPolicyParams

WithAccessPolicyNumber adds the accessPolicyNumber to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WithContext

WithContext adds the context to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WithDefaults

WithDefaults hydrates default values in the get network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAccessPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the get network switch access policy params

func (*GetNetworkSwitchAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchAccessPolicyReader

type GetNetworkSwitchAccessPolicyReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchAccessPolicyReader is a Reader for the GetNetworkSwitchAccessPolicy structure.

func (*GetNetworkSwitchAccessPolicyReader) ReadResponse

func (o *GetNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchAlternateManagementInterfaceOK

type GetNetworkSwitchAlternateManagementInterfaceOK struct {
	Payload *GetNetworkSwitchAlternateManagementInterfaceOKBody
}

GetNetworkSwitchAlternateManagementInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchAlternateManagementInterfaceOK

func NewGetNetworkSwitchAlternateManagementInterfaceOK() *GetNetworkSwitchAlternateManagementInterfaceOK

NewGetNetworkSwitchAlternateManagementInterfaceOK creates a GetNetworkSwitchAlternateManagementInterfaceOK with default headers values

func (*GetNetworkSwitchAlternateManagementInterfaceOK) Code

Code gets the status code for the get network switch alternate management interface o k response

func (*GetNetworkSwitchAlternateManagementInterfaceOK) Error

func (*GetNetworkSwitchAlternateManagementInterfaceOK) GetPayload

func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsClientError

IsClientError returns true when this get network switch alternate management interface o k response has a 4xx status code

func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsCode

IsCode returns true when this get network switch alternate management interface o k response a status code equal to that given

func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsRedirect

IsRedirect returns true when this get network switch alternate management interface o k response has a 3xx status code

func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsServerError

IsServerError returns true when this get network switch alternate management interface o k response has a 5xx status code

func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsSuccess

IsSuccess returns true when this get network switch alternate management interface o k response has a 2xx status code

func (*GetNetworkSwitchAlternateManagementInterfaceOK) String

type GetNetworkSwitchAlternateManagementInterfaceOKBody

type GetNetworkSwitchAlternateManagementInterfaceOKBody struct {

	// Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set
	Enabled bool `json:"enabled,omitempty"`

	// Can be one or more of the following values: 'radius', 'snmp' or 'syslog'
	Protocols []string `json:"protocols"`

	// Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments
	Switches []*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 `json:"switches"`

	// Alternate management VLAN, must be between 1 and 4094
	VlanID int64 `json:"vlanId,omitempty"`
}

GetNetworkSwitchAlternateManagementInterfaceOKBody get network switch alternate management interface o k body swagger:model GetNetworkSwitchAlternateManagementInterfaceOKBody

func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) ContextValidate

ContextValidate validate this get network switch alternate management interface o k body based on the context it is used

func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) Validate

Validate validates this get network switch alternate management interface o k body

type GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0

type GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 struct {

	// Switch alternative management IP. To remove a prior IP setting, provide an empty string
	AlternateManagementIP string `json:"alternateManagementIp,omitempty"`

	// Switch gateway must be in IP format. Only and must be specified for Polaris switches
	Gateway string `json:"gateway,omitempty"`

	// Switch serial number
	Serial string `json:"serial,omitempty"`

	// Switch subnet mask must be in IP format. Only and must be specified for Polaris switches
	SubnetMask string `json:"subnetMask,omitempty"`
}

GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 get network switch alternate management interface o k body switches items0 swagger:model GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0

func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) ContextValidate

ContextValidate validates this get network switch alternate management interface o k body switches items0 based on context it is used

func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) Validate

Validate validates this get network switch alternate management interface o k body switches items0

type GetNetworkSwitchAlternateManagementInterfaceParams

type GetNetworkSwitchAlternateManagementInterfaceParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchAlternateManagementInterfaceParams contains all the parameters to send to the API endpoint

for the get network switch alternate management interface operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchAlternateManagementInterfaceParams

func NewGetNetworkSwitchAlternateManagementInterfaceParams() *GetNetworkSwitchAlternateManagementInterfaceParams

NewGetNetworkSwitchAlternateManagementInterfaceParams creates a new GetNetworkSwitchAlternateManagementInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchAlternateManagementInterfaceParams

NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a context for a request.

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAlternateManagementInterfaceParams

NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout

func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAlternateManagementInterfaceParams

NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetContext

SetContext adds the context to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetDefaults

SetDefaults hydrates default values in the get network switch alternate management interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID

SetNetworkID adds the networkId to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetTimeout

SetTimeout adds the timeout to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithContext

WithContext adds the context to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithDefaults

WithDefaults hydrates default values in the get network switch alternate management interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithTimeout

WithTimeout adds the timeout to the get network switch alternate management interface params

func (*GetNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchAlternateManagementInterfaceReader

type GetNetworkSwitchAlternateManagementInterfaceReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchAlternateManagementInterfaceReader is a Reader for the GetNetworkSwitchAlternateManagementInterface structure.

func (*GetNetworkSwitchAlternateManagementInterfaceReader) ReadResponse

func (o *GetNetworkSwitchAlternateManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK struct {

	/* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests.
	 */
	Link string

	Payload []*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0
}

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK

NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK creates a GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK with default headers values

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Code

Code gets the status code for the get network switch dhcp server policy arp inspection trusted servers o k response

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Error

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) GetPayload

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsClientError

IsClientError returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 4xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsCode

IsCode returns true when this get network switch dhcp server policy arp inspection trusted servers o k response a status code equal to that given

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsRedirect

IsRedirect returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 3xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsServerError

IsServerError returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 5xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsSuccess

IsSuccess returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 2xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) String

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 struct {

	// ipv4
	IPV4 *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 `json:"ipv4,omitempty"`

	// Mac address of the trusted server.
	Mac string `json:"mac,omitempty"`

	// ID of the trusted server.
	TrustedServerID string `json:"trustedServerId,omitempty"`

	// Vlan ID of the trusted server.
	Vlan int64 `json:"vlan,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 get network switch dhcp server policy arp inspection trusted servers o k body items0 swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) ContextValidate

ContextValidate validate this get network switch dhcp server policy arp inspection trusted servers o k body items0 based on the context it is used

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) Validate

Validate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 struct {

	// IPv4 address of the trusted server.
	Address string `json:"address,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 IPv4 attributes of the trusted server. swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) ContextValidate

ContextValidate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0 IP v4 based on context it is used

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) Validate

Validate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0 IP v4

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams struct {

	/* EndingBefore.

	   A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	EndingBefore *string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PerPage.

	   The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
	*/
	PerPage *int64

	/* StartingAfter.

	   A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	StartingAfter *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams contains all the parameters to send to the API endpoint

for the get network switch dhcp server policy arp inspection trusted servers operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a context for a request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetContext

SetContext adds the context to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetDefaults

SetDefaults hydrates default values in the get network switch dhcp server policy arp inspection trusted servers params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetEndingBefore

SetEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetNetworkID

SetNetworkID adds the networkId to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetPerPage

SetPerPage adds the perPage to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetStartingAfter

SetStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetTimeout

SetTimeout adds the timeout to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithContext

WithContext adds the context to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithDefaults

WithDefaults hydrates default values in the get network switch dhcp server policy arp inspection trusted servers params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithPerPage

WithPerPage adds the perPage to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithTimeout

WithTimeout adds the timeout to the get network switch dhcp server policy arp inspection trusted servers params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader

type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader is a Reader for the GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers structure.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK struct {

	/* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests.
	 */
	Link string

	Payload []*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0
}

GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK

NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK creates a GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK with default headers values

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Code

Code gets the status code for the get network switch dhcp server policy arp inspection warnings by device o k response

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Error

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) GetPayload

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsClientError

IsClientError returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 4xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsCode

IsCode returns true when this get network switch dhcp server policy arp inspection warnings by device o k response a status code equal to that given

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsRedirect

IsRedirect returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 3xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsServerError

IsServerError returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 5xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsSuccess

IsSuccess returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 2xx status code

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) String

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 struct {

	// Whether this switch has a trusted DAI port. Always false if supportsInspection is false.
	HasTrustedPort bool `json:"hasTrustedPort,omitempty"`

	// Switch name.
	Name string `json:"name,omitempty"`

	// Switch serial.
	Serial string `json:"serial,omitempty"`

	// Whether this switch supports Dynamic ARP Inspection.
	SupportsInspection bool `json:"supportsInspection,omitempty"`

	// Url link to switch.
	URL string `json:"url,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 get network switch dhcp server policy arp inspection warnings by device o k body items0 swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) ContextValidate

ContextValidate validates this get network switch dhcp server policy arp inspection warnings by device o k body items0 based on context it is used

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) Validate

Validate validates this get network switch dhcp server policy arp inspection warnings by device o k body items0

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams struct {

	/* EndingBefore.

	   A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	EndingBefore *string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PerPage.

	   The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
	*/
	PerPage *int64

	/* StartingAfter.

	   A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	StartingAfter *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams contains all the parameters to send to the API endpoint

for the get network switch dhcp server policy arp inspection warnings by device operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a context for a request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout

func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams

NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetContext

SetContext adds the context to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetDefaults

SetDefaults hydrates default values in the get network switch dhcp server policy arp inspection warnings by device params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetEndingBefore

SetEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetNetworkID

SetNetworkID adds the networkId to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetPerPage

SetPerPage adds the perPage to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetStartingAfter

SetStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetTimeout

SetTimeout adds the timeout to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithContext

WithContext adds the context to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithDefaults

WithDefaults hydrates default values in the get network switch dhcp server policy arp inspection warnings by device params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithPerPage

WithPerPage adds the perPage to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithTimeout

WithTimeout adds the timeout to the get network switch dhcp server policy arp inspection warnings by device params

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader

type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader is a Reader for the GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice structure.

func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetNetworkSwitchDhcpServerPolicyOK

type GetNetworkSwitchDhcpServerPolicyOK struct {
	Payload *GetNetworkSwitchDhcpServerPolicyOKBody
}

GetNetworkSwitchDhcpServerPolicyOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchDhcpServerPolicyOK

func NewGetNetworkSwitchDhcpServerPolicyOK() *GetNetworkSwitchDhcpServerPolicyOK

NewGetNetworkSwitchDhcpServerPolicyOK creates a GetNetworkSwitchDhcpServerPolicyOK with default headers values

func (*GetNetworkSwitchDhcpServerPolicyOK) Code

Code gets the status code for the get network switch dhcp server policy o k response

func (*GetNetworkSwitchDhcpServerPolicyOK) Error

func (*GetNetworkSwitchDhcpServerPolicyOK) GetPayload

func (*GetNetworkSwitchDhcpServerPolicyOK) IsClientError

func (o *GetNetworkSwitchDhcpServerPolicyOK) IsClientError() bool

IsClientError returns true when this get network switch dhcp server policy o k response has a 4xx status code

func (*GetNetworkSwitchDhcpServerPolicyOK) IsCode

IsCode returns true when this get network switch dhcp server policy o k response a status code equal to that given

func (*GetNetworkSwitchDhcpServerPolicyOK) IsRedirect

func (o *GetNetworkSwitchDhcpServerPolicyOK) IsRedirect() bool

IsRedirect returns true when this get network switch dhcp server policy o k response has a 3xx status code

func (*GetNetworkSwitchDhcpServerPolicyOK) IsServerError

func (o *GetNetworkSwitchDhcpServerPolicyOK) IsServerError() bool

IsServerError returns true when this get network switch dhcp server policy o k response has a 5xx status code

func (*GetNetworkSwitchDhcpServerPolicyOK) IsSuccess

IsSuccess returns true when this get network switch dhcp server policy o k response has a 2xx status code

func (*GetNetworkSwitchDhcpServerPolicyOK) String

type GetNetworkSwitchDhcpServerPolicyOKBody

type GetNetworkSwitchDhcpServerPolicyOKBody struct {

	// alerts
	Alerts *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts `json:"alerts,omitempty"`

	// List the MAC addresses of DHCP servers to permit on the network when defaultPolicy is set
	//       to block.An empty array will clear the entries.
	AllowedServers []string `json:"allowedServers"`

	// arp inspection
	ArpInspection *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection `json:"arpInspection,omitempty"`

	// List the MAC addresses of DHCP servers to block on the network when defaultPolicy is set
	//       to allow.An empty array will clear the entries.
	BlockedServers []string `json:"blockedServers"`

	// 'allow' or 'block' new DHCP servers. Default value is 'allow'.
	// Enum: [allow block]
	DefaultPolicy string `json:"defaultPolicy,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyOKBody get network switch dhcp server policy o k body swagger:model GetNetworkSwitchDhcpServerPolicyOKBody

func (*GetNetworkSwitchDhcpServerPolicyOKBody) ContextValidate

ContextValidate validate this get network switch dhcp server policy o k body based on the context it is used

func (*GetNetworkSwitchDhcpServerPolicyOKBody) MarshalBinary

func (o *GetNetworkSwitchDhcpServerPolicyOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBody) UnmarshalBinary

func (o *GetNetworkSwitchDhcpServerPolicyOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBody) Validate

Validate validates this get network switch dhcp server policy o k body

type GetNetworkSwitchDhcpServerPolicyOKBodyAlerts

type GetNetworkSwitchDhcpServerPolicyOKBodyAlerts struct {

	// email
	Email *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail `json:"email,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyOKBodyAlerts Email alert settings for DHCP servers swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyAlerts

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) ContextValidate

ContextValidate validate this get network switch dhcp server policy o k body alerts based on the context it is used

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) Validate

Validate validates this get network switch dhcp server policy o k body alerts

type GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail

type GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail struct {

	// When enabled, send an email if a new DHCP server is seen. Default value is false.
	Enabled bool `json:"enabled,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail Alert settings for DHCP servers swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) ContextValidate

ContextValidate validates this get network switch dhcp server policy o k body alerts email based on context it is used

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) Validate

Validate validates this get network switch dhcp server policy o k body alerts email

type GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection

type GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection struct {

	// Enable or disable Dynamic ARP Inspection on the network. Default value is false.
	Enabled bool `json:"enabled,omitempty"`
}

GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection Dynamic ARP Inspection settings swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection

func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) ContextValidate

ContextValidate validates this get network switch dhcp server policy o k body arp inspection based on context it is used

func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) Validate

Validate validates this get network switch dhcp server policy o k body arp inspection

type GetNetworkSwitchDhcpServerPolicyParams

type GetNetworkSwitchDhcpServerPolicyParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyParams contains all the parameters to send to the API endpoint

for the get network switch dhcp server policy operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchDhcpServerPolicyParams

func NewGetNetworkSwitchDhcpServerPolicyParams() *GetNetworkSwitchDhcpServerPolicyParams

NewGetNetworkSwitchDhcpServerPolicyParams creates a new GetNetworkSwitchDhcpServerPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchDhcpServerPolicyParamsWithContext

func NewGetNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyParams

NewGetNetworkSwitchDhcpServerPolicyParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a context for a request.

func NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient

func NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyParams

NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout

func NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyParams

NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchDhcpServerPolicyParams) SetContext

SetContext adds the context to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) SetDefaults

func (o *GetNetworkSwitchDhcpServerPolicyParams) SetDefaults()

SetDefaults hydrates default values in the get network switch dhcp server policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyParams) SetHTTPClient

func (o *GetNetworkSwitchDhcpServerPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) SetNetworkID

func (o *GetNetworkSwitchDhcpServerPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) SetTimeout

func (o *GetNetworkSwitchDhcpServerPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) WithContext

WithContext adds the context to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) WithDefaults

WithDefaults hydrates default values in the get network switch dhcp server policy params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpServerPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) WithTimeout

WithTimeout adds the timeout to the get network switch dhcp server policy params

func (*GetNetworkSwitchDhcpServerPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchDhcpServerPolicyReader

type GetNetworkSwitchDhcpServerPolicyReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpServerPolicyReader is a Reader for the GetNetworkSwitchDhcpServerPolicy structure.

func (*GetNetworkSwitchDhcpServerPolicyReader) ReadResponse

func (o *GetNetworkSwitchDhcpServerPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchDhcpV4ServersSeenOK

type GetNetworkSwitchDhcpV4ServersSeenOK struct {

	/* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests.
	 */
	Link string

	Payload []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0
}

GetNetworkSwitchDhcpV4ServersSeenOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchDhcpV4ServersSeenOK

func NewGetNetworkSwitchDhcpV4ServersSeenOK() *GetNetworkSwitchDhcpV4ServersSeenOK

NewGetNetworkSwitchDhcpV4ServersSeenOK creates a GetNetworkSwitchDhcpV4ServersSeenOK with default headers values

func (*GetNetworkSwitchDhcpV4ServersSeenOK) Code

Code gets the status code for the get network switch dhcp v4 servers seen o k response

func (*GetNetworkSwitchDhcpV4ServersSeenOK) Error

func (*GetNetworkSwitchDhcpV4ServersSeenOK) GetPayload

func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsClientError

func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsClientError() bool

IsClientError returns true when this get network switch dhcp v4 servers seen o k response has a 4xx status code

func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsCode

IsCode returns true when this get network switch dhcp v4 servers seen o k response a status code equal to that given

func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsRedirect

func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsRedirect() bool

IsRedirect returns true when this get network switch dhcp v4 servers seen o k response has a 3xx status code

func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsServerError

func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsServerError() bool

IsServerError returns true when this get network switch dhcp v4 servers seen o k response has a 5xx status code

func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsSuccess

IsSuccess returns true when this get network switch dhcp v4 servers seen o k response has a 2xx status code

func (*GetNetworkSwitchDhcpV4ServersSeenOK) String

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 struct {

	// Client id of the server if available.
	ClientID string `json:"clientId,omitempty"`

	// device
	Device *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device `json:"device,omitempty"`

	// ipv4
	IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 `json:"ipv4,omitempty"`

	// Whether the server is allowed or blocked. Always true for configured servers.
	IsAllowed bool `json:"isAllowed,omitempty"`

	// Whether the server is configured.
	IsConfigured bool `json:"isConfigured,omitempty"`

	// last ack
	LastAck *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck `json:"lastAck,omitempty"`

	// last packet
	LastPacket *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket `json:"lastPacket,omitempty"`

	// Last time the server was seen.
	// Format: date-time
	LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"`

	// Mac address of the server.
	Mac string `json:"mac,omitempty"`

	// Devices that saw the server.
	SeenBy []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 `json:"seenBy"`

	// server type. Can be a 'device', 'stack', or 'discovered' (i.e client).
	// Enum: [device discovered stack]
	Type string `json:"type,omitempty"`

	// Vlan id of the server.
	Vlan int64 `json:"vlan,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 get network switch dhcp v4 servers seen o k body items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device struct {

	// interface
	Interface *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface `json:"interface,omitempty"`

	// Device name.
	Name string `json:"name,omitempty"`

	// Device serial.
	Serial string `json:"serial,omitempty"`

	// Url link to device.
	URL string `json:"url,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device Attributes of the server when it's a device. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 device based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 device

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface struct {

	// Interface name.
	Name string `json:"name,omitempty"`

	// Url link to interface.
	URL string `json:"url,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface Interface attributes of the server. Only for configured servers. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 device interface based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 device interface

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 struct {

	// IPv4 address of the server.
	Address string `json:"address,omitempty"`

	// IPv4 gateway address of the server.
	Gateway string `json:"gateway,omitempty"`

	// Subnet of the server.
	Subnet string `json:"subnet,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 IPv4 attributes of the server. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 IP v4 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 IP v4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck struct {

	// ipv4
	IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 `json:"ipv4,omitempty"`

	// Last time the server was acked.
	// Format: date-time
	Ts strfmt.DateTime `json:"ts,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck Attributes of the server's last ack. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last ack based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last ack

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 struct {

	// IPv4 address of the last ack.
	Address string `json:"address,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 IPv4 attributes of the last ack. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last ack IP v4 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last ack IP v4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket struct {

	// destination
	Destination *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination `json:"destination,omitempty"`

	// ethernet
	Ethernet *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet `json:"ethernet,omitempty"`

	// fields
	Fields *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields `json:"fields,omitempty"`

	// ip
	IP *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP `json:"ip,omitempty"`

	// source
	Source *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource `json:"source,omitempty"`

	// Packet type.
	Type string `json:"type,omitempty"`

	// udp
	UDP *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP `json:"udp,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket Last packet the server received. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination struct {

	// ipv4
	IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 `json:"ipv4,omitempty"`

	// Destination mac address of the packet.
	Mac string `json:"mac,omitempty"`

	// Destination port of the packet.
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination Destination of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet destination based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 struct {

	// Destination ipv4 address of the packet.
	Address string `json:"address,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 Destination ipv4 attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination IP v4 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination IP v4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet struct {

	// Ethernet type of the packet.
	Type string `json:"type,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet Additional ethernet attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet ethernet based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet ethernet

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields struct {

	// Client hardware address of the packet.
	Chaddr string `json:"chaddr,omitempty"`

	// Client IP address of the packet.
	Ciaddr string `json:"ciaddr,omitempty"`

	// Packet flags.
	Flags string `json:"flags,omitempty"`

	// Gateway IP address of the packet.
	Giaddr string `json:"giaddr,omitempty"`

	// Hardware length of the packet.
	Hlen int64 `json:"hlen,omitempty"`

	// Number of hops the packet took.
	Hops int64 `json:"hops,omitempty"`

	// Hardware type code of the packet.
	Htype int64 `json:"htype,omitempty"`

	// Magic cookie of the packet.
	MagicCookie string `json:"magicCookie,omitempty"`

	// Operation code of the packet.
	Op int64 `json:"op,omitempty"`

	// Additional DHCP options of the packet.
	Options []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 `json:"options"`

	// Number of seconds since receiving the packet.
	Secs int64 `json:"secs,omitempty"`

	// Server IP address of the packet.
	Siaddr string `json:"siaddr,omitempty"`

	// Server identifier address of the packet.
	Sname string `json:"sname,omitempty"`

	// Transaction id of the packet.
	Xid string `json:"xid,omitempty"`

	// Assigned IP address of the packet.
	Yiaddr string `json:"yiaddr,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields DHCP-specific fields of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet fields based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet fields

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 struct {

	// Option name.
	Name string `json:"name,omitempty"`

	// Option value.
	Value string `json:"value,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 get network switch dhcp v4 servers seen o k body items0 last packet fields options items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet fields options items0 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet fields options items0

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP struct {

	// dscp
	Dscp *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp `json:"dscp,omitempty"`

	// IP header length of the packet.
	HeaderLength int64 `json:"headerLength,omitempty"`

	// IP ID of the packet.
	ID string `json:"id,omitempty"`

	// IP length of the packet.
	Length int64 `json:"length,omitempty"`

	// IP protocol number of the packet.
	Protocol int64 `json:"protocol,omitempty"`

	// Time to live of the packet.
	TTL int64 `json:"ttl,omitempty"`

	// IP version of the packet.
	// Enum: [4 6]
	Version int64 `json:"version,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP Additional IP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet IP based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet IP

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp struct {

	// ECN number of the packet.
	Ecn int64 `json:"ecn,omitempty"`

	// DSCP tag number of the packet.
	Tag int64 `json:"tag,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp DSCP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet IP dscp based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet IP dscp

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource struct {

	// ipv4
	IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 `json:"ipv4,omitempty"`

	// Source mac address of the packet.
	Mac string `json:"mac,omitempty"`

	// Source port of the packet.
	Port int64 `json:"port,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource Source of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) ContextValidate

ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet source based on the context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet source

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 struct {

	// Source ipv4 address of the packet.
	Address string `json:"address,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 Source ipv4 attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet source IP v4 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet source IP v4

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP struct {

	// UDP checksum of the packet.
	Checksum string `json:"checksum,omitempty"`

	// UDP length of the packet.
	Length int64 `json:"length,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP UDP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet UDP based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet UDP

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0

type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 struct {

	// Device name.
	Name string `json:"name,omitempty"`

	// Device serial.
	Serial string `json:"serial,omitempty"`

	// Url link to device.
	URL string `json:"url,omitempty"`
}

GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 get network switch dhcp v4 servers seen o k body items0 seen by items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) ContextValidate

ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 seen by items0 based on context it is used

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) Validate

Validate validates this get network switch dhcp v4 servers seen o k body items0 seen by items0

type GetNetworkSwitchDhcpV4ServersSeenParams

type GetNetworkSwitchDhcpV4ServersSeenParams struct {

	/* EndingBefore.

	   A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	EndingBefore *string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PerPage.

	   The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
	*/
	PerPage *int64

	/* StartingAfter.

	   A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	StartingAfter *string

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 31 days from today.
	*/
	T0 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day.

	   Format: float
	*/
	Timespan *float32

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpV4ServersSeenParams contains all the parameters to send to the API endpoint

for the get network switch dhcp v4 servers seen operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchDhcpV4ServersSeenParams

func NewGetNetworkSwitchDhcpV4ServersSeenParams() *GetNetworkSwitchDhcpV4ServersSeenParams

NewGetNetworkSwitchDhcpV4ServersSeenParams creates a new GetNetworkSwitchDhcpV4ServersSeenParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpV4ServersSeenParams

NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a context for a request.

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpV4ServersSeenParams

NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout

func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpV4ServersSeenParams

NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetContext

SetContext adds the context to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetDefaults

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetDefaults()

SetDefaults hydrates default values in the get network switch dhcp v4 servers seen params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetEndingBefore

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetHTTPClient

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetNetworkID

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetPerPage

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetStartingAfter

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetT0

SetT0 adds the t0 to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetTimeout

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetTimespan

func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithContext

WithContext adds the context to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithDefaults

WithDefaults hydrates default values in the get network switch dhcp v4 servers seen params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithPerPage

WithPerPage adds the perPage to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithT0

WithT0 adds the t0 to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithTimeout

WithTimeout adds the timeout to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithTimespan

WithTimespan adds the timespan to the get network switch dhcp v4 servers seen params

func (*GetNetworkSwitchDhcpV4ServersSeenParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchDhcpV4ServersSeenReader

type GetNetworkSwitchDhcpV4ServersSeenReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchDhcpV4ServersSeenReader is a Reader for the GetNetworkSwitchDhcpV4ServersSeen structure.

func (*GetNetworkSwitchDhcpV4ServersSeenReader) ReadResponse

func (o *GetNetworkSwitchDhcpV4ServersSeenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchDscpToCosMappingsOK

type GetNetworkSwitchDscpToCosMappingsOK struct {
	Payload *GetNetworkSwitchDscpToCosMappingsOKBody
}

GetNetworkSwitchDscpToCosMappingsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchDscpToCosMappingsOK

func NewGetNetworkSwitchDscpToCosMappingsOK() *GetNetworkSwitchDscpToCosMappingsOK

NewGetNetworkSwitchDscpToCosMappingsOK creates a GetNetworkSwitchDscpToCosMappingsOK with default headers values

func (*GetNetworkSwitchDscpToCosMappingsOK) Code

Code gets the status code for the get network switch dscp to cos mappings o k response

func (*GetNetworkSwitchDscpToCosMappingsOK) Error

func (*GetNetworkSwitchDscpToCosMappingsOK) GetPayload

func (*GetNetworkSwitchDscpToCosMappingsOK) IsClientError

func (o *GetNetworkSwitchDscpToCosMappingsOK) IsClientError() bool

IsClientError returns true when this get network switch dscp to cos mappings o k response has a 4xx status code

func (*GetNetworkSwitchDscpToCosMappingsOK) IsCode

IsCode returns true when this get network switch dscp to cos mappings o k response a status code equal to that given

func (*GetNetworkSwitchDscpToCosMappingsOK) IsRedirect

func (o *GetNetworkSwitchDscpToCosMappingsOK) IsRedirect() bool

IsRedirect returns true when this get network switch dscp to cos mappings o k response has a 3xx status code

func (*GetNetworkSwitchDscpToCosMappingsOK) IsServerError

func (o *GetNetworkSwitchDscpToCosMappingsOK) IsServerError() bool

IsServerError returns true when this get network switch dscp to cos mappings o k response has a 5xx status code

func (*GetNetworkSwitchDscpToCosMappingsOK) IsSuccess

IsSuccess returns true when this get network switch dscp to cos mappings o k response has a 2xx status code

func (*GetNetworkSwitchDscpToCosMappingsOK) String

type GetNetworkSwitchDscpToCosMappingsOKBody

type GetNetworkSwitchDscpToCosMappingsOKBody struct {

	// An array of DSCP to CoS mappings. An empty array will reset the mappings to default.
	Mappings []*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 `json:"mappings"`
}

GetNetworkSwitchDscpToCosMappingsOKBody get network switch dscp to cos mappings o k body swagger:model GetNetworkSwitchDscpToCosMappingsOKBody

func (*GetNetworkSwitchDscpToCosMappingsOKBody) ContextValidate

ContextValidate validate this get network switch dscp to cos mappings o k body based on the context it is used

func (*GetNetworkSwitchDscpToCosMappingsOKBody) MarshalBinary

func (o *GetNetworkSwitchDscpToCosMappingsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchDscpToCosMappingsOKBody) UnmarshalBinary

func (o *GetNetworkSwitchDscpToCosMappingsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDscpToCosMappingsOKBody) Validate

Validate validates this get network switch dscp to cos mappings o k body

type GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0

type GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 struct {

	// The actual layer-2 CoS queue the DSCP value is mapped to. These are not bits set on outgoing frames. Value can be in the range of 0 to 5 inclusive.
	Cos int64 `json:"cos,omitempty"`

	// The Differentiated Services Code Point (DSCP) tag in the IP header that will be mapped to a particular Class-of-Service (CoS) queue. Value can be in the range of 0 to 63 inclusive.
	Dscp int64 `json:"dscp,omitempty"`

	// Label for the mapping (optional).
	Title string `json:"title,omitempty"`
}

GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 get network switch dscp to cos mappings o k body mappings items0 swagger:model GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0

func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) ContextValidate

ContextValidate validates this get network switch dscp to cos mappings o k body mappings items0 based on context it is used

func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) Validate

Validate validates this get network switch dscp to cos mappings o k body mappings items0

type GetNetworkSwitchDscpToCosMappingsParams

type GetNetworkSwitchDscpToCosMappingsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchDscpToCosMappingsParams contains all the parameters to send to the API endpoint

for the get network switch dscp to cos mappings operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchDscpToCosMappingsParams

func NewGetNetworkSwitchDscpToCosMappingsParams() *GetNetworkSwitchDscpToCosMappingsParams

NewGetNetworkSwitchDscpToCosMappingsParams creates a new GetNetworkSwitchDscpToCosMappingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchDscpToCosMappingsParamsWithContext

func NewGetNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *GetNetworkSwitchDscpToCosMappingsParams

NewGetNetworkSwitchDscpToCosMappingsParamsWithContext creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a context for a request.

func NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient

func NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDscpToCosMappingsParams

NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout

func NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDscpToCosMappingsParams

NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchDscpToCosMappingsParams) SetContext

SetContext adds the context to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) SetDefaults

func (o *GetNetworkSwitchDscpToCosMappingsParams) SetDefaults()

SetDefaults hydrates default values in the get network switch dscp to cos mappings params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDscpToCosMappingsParams) SetHTTPClient

func (o *GetNetworkSwitchDscpToCosMappingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) SetNetworkID

func (o *GetNetworkSwitchDscpToCosMappingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) SetTimeout

func (o *GetNetworkSwitchDscpToCosMappingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) WithContext

WithContext adds the context to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) WithDefaults

WithDefaults hydrates default values in the get network switch dscp to cos mappings params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchDscpToCosMappingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) WithTimeout

WithTimeout adds the timeout to the get network switch dscp to cos mappings params

func (*GetNetworkSwitchDscpToCosMappingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchDscpToCosMappingsReader

type GetNetworkSwitchDscpToCosMappingsReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchDscpToCosMappingsReader is a Reader for the GetNetworkSwitchDscpToCosMappings structure.

func (*GetNetworkSwitchDscpToCosMappingsReader) ReadResponse

func (o *GetNetworkSwitchDscpToCosMappingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchLinkAggregationsOK

type GetNetworkSwitchLinkAggregationsOK struct {
	Payload []interface{}
}

GetNetworkSwitchLinkAggregationsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchLinkAggregationsOK

func NewGetNetworkSwitchLinkAggregationsOK() *GetNetworkSwitchLinkAggregationsOK

NewGetNetworkSwitchLinkAggregationsOK creates a GetNetworkSwitchLinkAggregationsOK with default headers values

func (*GetNetworkSwitchLinkAggregationsOK) Code

Code gets the status code for the get network switch link aggregations o k response

func (*GetNetworkSwitchLinkAggregationsOK) Error

func (*GetNetworkSwitchLinkAggregationsOK) GetPayload

func (o *GetNetworkSwitchLinkAggregationsOK) GetPayload() []interface{}

func (*GetNetworkSwitchLinkAggregationsOK) IsClientError

func (o *GetNetworkSwitchLinkAggregationsOK) IsClientError() bool

IsClientError returns true when this get network switch link aggregations o k response has a 4xx status code

func (*GetNetworkSwitchLinkAggregationsOK) IsCode

IsCode returns true when this get network switch link aggregations o k response a status code equal to that given

func (*GetNetworkSwitchLinkAggregationsOK) IsRedirect

func (o *GetNetworkSwitchLinkAggregationsOK) IsRedirect() bool

IsRedirect returns true when this get network switch link aggregations o k response has a 3xx status code

func (*GetNetworkSwitchLinkAggregationsOK) IsServerError

func (o *GetNetworkSwitchLinkAggregationsOK) IsServerError() bool

IsServerError returns true when this get network switch link aggregations o k response has a 5xx status code

func (*GetNetworkSwitchLinkAggregationsOK) IsSuccess

IsSuccess returns true when this get network switch link aggregations o k response has a 2xx status code

func (*GetNetworkSwitchLinkAggregationsOK) String

type GetNetworkSwitchLinkAggregationsParams

type GetNetworkSwitchLinkAggregationsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchLinkAggregationsParams contains all the parameters to send to the API endpoint

for the get network switch link aggregations operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchLinkAggregationsParams

func NewGetNetworkSwitchLinkAggregationsParams() *GetNetworkSwitchLinkAggregationsParams

NewGetNetworkSwitchLinkAggregationsParams creates a new GetNetworkSwitchLinkAggregationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchLinkAggregationsParamsWithContext

func NewGetNetworkSwitchLinkAggregationsParamsWithContext(ctx context.Context) *GetNetworkSwitchLinkAggregationsParams

NewGetNetworkSwitchLinkAggregationsParamsWithContext creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a context for a request.

func NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient

func NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchLinkAggregationsParams

NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchLinkAggregationsParamsWithTimeout

func NewGetNetworkSwitchLinkAggregationsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchLinkAggregationsParams

NewGetNetworkSwitchLinkAggregationsParamsWithTimeout creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchLinkAggregationsParams) SetContext

SetContext adds the context to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) SetDefaults

func (o *GetNetworkSwitchLinkAggregationsParams) SetDefaults()

SetDefaults hydrates default values in the get network switch link aggregations params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchLinkAggregationsParams) SetHTTPClient

func (o *GetNetworkSwitchLinkAggregationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) SetNetworkID

func (o *GetNetworkSwitchLinkAggregationsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) SetTimeout

func (o *GetNetworkSwitchLinkAggregationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) WithContext

WithContext adds the context to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) WithDefaults

WithDefaults hydrates default values in the get network switch link aggregations params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchLinkAggregationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) WithTimeout

WithTimeout adds the timeout to the get network switch link aggregations params

func (*GetNetworkSwitchLinkAggregationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchLinkAggregationsReader

type GetNetworkSwitchLinkAggregationsReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchLinkAggregationsReader is a Reader for the GetNetworkSwitchLinkAggregations structure.

func (*GetNetworkSwitchLinkAggregationsReader) ReadResponse

func (o *GetNetworkSwitchLinkAggregationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchMtuOK

type GetNetworkSwitchMtuOK struct {
	Payload *GetNetworkSwitchMtuOKBody
}

GetNetworkSwitchMtuOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchMtuOK

func NewGetNetworkSwitchMtuOK() *GetNetworkSwitchMtuOK

NewGetNetworkSwitchMtuOK creates a GetNetworkSwitchMtuOK with default headers values

func (*GetNetworkSwitchMtuOK) Code

func (o *GetNetworkSwitchMtuOK) Code() int

Code gets the status code for the get network switch mtu o k response

func (*GetNetworkSwitchMtuOK) Error

func (o *GetNetworkSwitchMtuOK) Error() string

func (*GetNetworkSwitchMtuOK) GetPayload

func (*GetNetworkSwitchMtuOK) IsClientError

func (o *GetNetworkSwitchMtuOK) IsClientError() bool

IsClientError returns true when this get network switch mtu o k response has a 4xx status code

func (*GetNetworkSwitchMtuOK) IsCode

func (o *GetNetworkSwitchMtuOK) IsCode(code int) bool

IsCode returns true when this get network switch mtu o k response a status code equal to that given

func (*GetNetworkSwitchMtuOK) IsRedirect

func (o *GetNetworkSwitchMtuOK) IsRedirect() bool

IsRedirect returns true when this get network switch mtu o k response has a 3xx status code

func (*GetNetworkSwitchMtuOK) IsServerError

func (o *GetNetworkSwitchMtuOK) IsServerError() bool

IsServerError returns true when this get network switch mtu o k response has a 5xx status code

func (*GetNetworkSwitchMtuOK) IsSuccess

func (o *GetNetworkSwitchMtuOK) IsSuccess() bool

IsSuccess returns true when this get network switch mtu o k response has a 2xx status code

func (*GetNetworkSwitchMtuOK) String

func (o *GetNetworkSwitchMtuOK) String() string

type GetNetworkSwitchMtuOKBody

type GetNetworkSwitchMtuOKBody struct {

	// MTU size for the entire network. Default value is 9578.
	DefaultMtuSize int64 `json:"defaultMtuSize,omitempty"`

	// Override MTU size for individual switches or switch templates.
	//       An empty array will clear overrides.
	Overrides []*GetNetworkSwitchMtuOKBodyOverridesItems0 `json:"overrides"`
}

GetNetworkSwitchMtuOKBody get network switch mtu o k body swagger:model GetNetworkSwitchMtuOKBody

func (*GetNetworkSwitchMtuOKBody) ContextValidate

func (o *GetNetworkSwitchMtuOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get network switch mtu o k body based on the context it is used

func (*GetNetworkSwitchMtuOKBody) MarshalBinary

func (o *GetNetworkSwitchMtuOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchMtuOKBody) UnmarshalBinary

func (o *GetNetworkSwitchMtuOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchMtuOKBody) Validate

func (o *GetNetworkSwitchMtuOKBody) Validate(formats strfmt.Registry) error

Validate validates this get network switch mtu o k body

type GetNetworkSwitchMtuOKBodyOverridesItems0

type GetNetworkSwitchMtuOKBodyOverridesItems0 struct {

	// MTU size for the switches or switch templates.
	// Required: true
	MtuSize *int64 `json:"mtuSize"`

	// List of switch template IDs. Applicable only for template network.
	SwitchProfiles []string `json:"switchProfiles"`

	// List of switch serials. Applicable only for switch network.
	Switches []string `json:"switches"`
}

GetNetworkSwitchMtuOKBodyOverridesItems0 get network switch mtu o k body overrides items0 swagger:model GetNetworkSwitchMtuOKBodyOverridesItems0

func (*GetNetworkSwitchMtuOKBodyOverridesItems0) ContextValidate

ContextValidate validates this get network switch mtu o k body overrides items0 based on context it is used

func (*GetNetworkSwitchMtuOKBodyOverridesItems0) MarshalBinary

func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchMtuOKBodyOverridesItems0) UnmarshalBinary

func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchMtuOKBodyOverridesItems0) Validate

Validate validates this get network switch mtu o k body overrides items0

type GetNetworkSwitchMtuParams

type GetNetworkSwitchMtuParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchMtuParams contains all the parameters to send to the API endpoint

for the get network switch mtu operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchMtuParams

func NewGetNetworkSwitchMtuParams() *GetNetworkSwitchMtuParams

NewGetNetworkSwitchMtuParams creates a new GetNetworkSwitchMtuParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchMtuParamsWithContext

func NewGetNetworkSwitchMtuParamsWithContext(ctx context.Context) *GetNetworkSwitchMtuParams

NewGetNetworkSwitchMtuParamsWithContext creates a new GetNetworkSwitchMtuParams object with the ability to set a context for a request.

func NewGetNetworkSwitchMtuParamsWithHTTPClient

func NewGetNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchMtuParams

NewGetNetworkSwitchMtuParamsWithHTTPClient creates a new GetNetworkSwitchMtuParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchMtuParamsWithTimeout

func NewGetNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchMtuParams

NewGetNetworkSwitchMtuParamsWithTimeout creates a new GetNetworkSwitchMtuParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchMtuParams) SetContext

func (o *GetNetworkSwitchMtuParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) SetDefaults

func (o *GetNetworkSwitchMtuParams) SetDefaults()

SetDefaults hydrates default values in the get network switch mtu params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchMtuParams) SetHTTPClient

func (o *GetNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) SetNetworkID

func (o *GetNetworkSwitchMtuParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) SetTimeout

func (o *GetNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) WithContext

WithContext adds the context to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) WithDefaults

WithDefaults hydrates default values in the get network switch mtu params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchMtuParams) WithHTTPClient

func (o *GetNetworkSwitchMtuParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchMtuParams

WithHTTPClient adds the HTTPClient to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) WithNetworkID

func (o *GetNetworkSwitchMtuParams) WithNetworkID(networkID string) *GetNetworkSwitchMtuParams

WithNetworkID adds the networkID to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) WithTimeout

WithTimeout adds the timeout to the get network switch mtu params

func (*GetNetworkSwitchMtuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchMtuReader

type GetNetworkSwitchMtuReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchMtuReader is a Reader for the GetNetworkSwitchMtu structure.

func (*GetNetworkSwitchMtuReader) ReadResponse

func (o *GetNetworkSwitchMtuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchPortSchedulesOK

type GetNetworkSwitchPortSchedulesOK struct {
	Payload []*GetNetworkSwitchPortSchedulesOKBodyItems0
}

GetNetworkSwitchPortSchedulesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchPortSchedulesOK

func NewGetNetworkSwitchPortSchedulesOK() *GetNetworkSwitchPortSchedulesOK

NewGetNetworkSwitchPortSchedulesOK creates a GetNetworkSwitchPortSchedulesOK with default headers values

func (*GetNetworkSwitchPortSchedulesOK) Code

Code gets the status code for the get network switch port schedules o k response

func (*GetNetworkSwitchPortSchedulesOK) Error

func (*GetNetworkSwitchPortSchedulesOK) GetPayload

func (*GetNetworkSwitchPortSchedulesOK) IsClientError

func (o *GetNetworkSwitchPortSchedulesOK) IsClientError() bool

IsClientError returns true when this get network switch port schedules o k response has a 4xx status code

func (*GetNetworkSwitchPortSchedulesOK) IsCode

func (o *GetNetworkSwitchPortSchedulesOK) IsCode(code int) bool

IsCode returns true when this get network switch port schedules o k response a status code equal to that given

func (*GetNetworkSwitchPortSchedulesOK) IsRedirect

func (o *GetNetworkSwitchPortSchedulesOK) IsRedirect() bool

IsRedirect returns true when this get network switch port schedules o k response has a 3xx status code

func (*GetNetworkSwitchPortSchedulesOK) IsServerError

func (o *GetNetworkSwitchPortSchedulesOK) IsServerError() bool

IsServerError returns true when this get network switch port schedules o k response has a 5xx status code

func (*GetNetworkSwitchPortSchedulesOK) IsSuccess

func (o *GetNetworkSwitchPortSchedulesOK) IsSuccess() bool

IsSuccess returns true when this get network switch port schedules o k response has a 2xx status code

func (*GetNetworkSwitchPortSchedulesOK) String

type GetNetworkSwitchPortSchedulesOKBodyItems0

type GetNetworkSwitchPortSchedulesOKBodyItems0 struct {

	// Switch port schedule ID
	ID string `json:"id,omitempty"`

	// Switch port schedule name
	Name string `json:"name,omitempty"`

	// Network ID
	NetworkID string `json:"networkId,omitempty"`

	// port schedule
	PortSchedule *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule `json:"portSchedule,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0 get network switch port schedules o k body items0 swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0

func (*GetNetworkSwitchPortSchedulesOKBodyItems0) ContextValidate

ContextValidate validate this get network switch port schedules o k body items0 based on the context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0) MarshalBinary

func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0) UnmarshalBinary

func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0) Validate

Validate validates this get network switch port schedules o k body items0

type GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule

type GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule struct {

	// friday
	Friday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday `json:"friday,omitempty"`

	// monday
	Monday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday `json:"monday,omitempty"`

	// saturday
	Saturday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday `json:"saturday,omitempty"`

	// sunday
	Sunday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday `json:"sunday,omitempty"`

	// thursday
	Thursday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday `json:"thursday,omitempty"`

	// tuesday
	Tuesday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday `json:"wednesday,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule Port schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) ContextValidate

ContextValidate validate this get network switch port schedules o k body items0 port schedule based on the context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) Validate

Validate validates this get network switch port schedules o k body items0 port schedule

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday Friday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule friday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule friday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday Monday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule monday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule monday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday Saturday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule saturday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule saturday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday Sunday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule sunday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule sunday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday Thursday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule thursday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule thursday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday Tuesday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule tuesday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule tuesday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday

type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday Wednesday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) ContextValidate

ContextValidate validates this get network switch port schedules o k body items0 port schedule wednesday based on context it is used

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) Validate

Validate validates this get network switch port schedules o k body items0 port schedule wednesday

type GetNetworkSwitchPortSchedulesParams

type GetNetworkSwitchPortSchedulesParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchPortSchedulesParams contains all the parameters to send to the API endpoint

for the get network switch port schedules operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchPortSchedulesParams

func NewGetNetworkSwitchPortSchedulesParams() *GetNetworkSwitchPortSchedulesParams

NewGetNetworkSwitchPortSchedulesParams creates a new GetNetworkSwitchPortSchedulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchPortSchedulesParamsWithContext

func NewGetNetworkSwitchPortSchedulesParamsWithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams

NewGetNetworkSwitchPortSchedulesParamsWithContext creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a context for a request.

func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient

func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams

NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchPortSchedulesParamsWithTimeout

func NewGetNetworkSwitchPortSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams

NewGetNetworkSwitchPortSchedulesParamsWithTimeout creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchPortSchedulesParams) SetContext

SetContext adds the context to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetDefaults

func (o *GetNetworkSwitchPortSchedulesParams) SetDefaults()

SetDefaults hydrates default values in the get network switch port schedules params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchPortSchedulesParams) SetHTTPClient

func (o *GetNetworkSwitchPortSchedulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetNetworkID

func (o *GetNetworkSwitchPortSchedulesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) SetTimeout

func (o *GetNetworkSwitchPortSchedulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithContext

WithContext adds the context to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithDefaults

WithDefaults hydrates default values in the get network switch port schedules params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchPortSchedulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WithTimeout

WithTimeout adds the timeout to the get network switch port schedules params

func (*GetNetworkSwitchPortSchedulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchPortSchedulesReader

type GetNetworkSwitchPortSchedulesReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchPortSchedulesReader is a Reader for the GetNetworkSwitchPortSchedules structure.

func (*GetNetworkSwitchPortSchedulesReader) ReadResponse

func (o *GetNetworkSwitchPortSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchQosRuleOK

type GetNetworkSwitchQosRuleOK struct {
	Payload *GetNetworkSwitchQosRuleOKBody
}

GetNetworkSwitchQosRuleOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchQosRuleOK

func NewGetNetworkSwitchQosRuleOK() *GetNetworkSwitchQosRuleOK

NewGetNetworkSwitchQosRuleOK creates a GetNetworkSwitchQosRuleOK with default headers values

func (*GetNetworkSwitchQosRuleOK) Code

func (o *GetNetworkSwitchQosRuleOK) Code() int

Code gets the status code for the get network switch qos rule o k response

func (*GetNetworkSwitchQosRuleOK) Error

func (o *GetNetworkSwitchQosRuleOK) Error() string

func (*GetNetworkSwitchQosRuleOK) GetPayload

func (*GetNetworkSwitchQosRuleOK) IsClientError

func (o *GetNetworkSwitchQosRuleOK) IsClientError() bool

IsClientError returns true when this get network switch qos rule o k response has a 4xx status code

func (*GetNetworkSwitchQosRuleOK) IsCode

func (o *GetNetworkSwitchQosRuleOK) IsCode(code int) bool

IsCode returns true when this get network switch qos rule o k response a status code equal to that given

func (*GetNetworkSwitchQosRuleOK) IsRedirect

func (o *GetNetworkSwitchQosRuleOK) IsRedirect() bool

IsRedirect returns true when this get network switch qos rule o k response has a 3xx status code

func (*GetNetworkSwitchQosRuleOK) IsServerError

func (o *GetNetworkSwitchQosRuleOK) IsServerError() bool

IsServerError returns true when this get network switch qos rule o k response has a 5xx status code

func (*GetNetworkSwitchQosRuleOK) IsSuccess

func (o *GetNetworkSwitchQosRuleOK) IsSuccess() bool

IsSuccess returns true when this get network switch qos rule o k response has a 2xx status code

func (*GetNetworkSwitchQosRuleOK) String

func (o *GetNetworkSwitchQosRuleOK) String() string

type GetNetworkSwitchQosRuleOKBody

type GetNetworkSwitchQosRuleOKBody struct {

	// DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0
	Dscp int64 `json:"dscp,omitempty"`

	// The destination port of the incoming packet. Applicable only if protocol is TCP or UDP.
	DstPort int64 `json:"dstPort,omitempty"`

	// The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	DstPortRange string `json:"dstPortRange,omitempty"`

	// Qos Rule id
	ID string `json:"id,omitempty"`

	// The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY"
	Protocol string `json:"protocol,omitempty"`

	// The source port of the incoming packet. Applicable only if protocol is TCP or UDP.
	SrcPort int64 `json:"srcPort,omitempty"`

	// The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	SrcPortRange string `json:"srcPortRange,omitempty"`

	// The VLAN of the incoming packet. A null value will match any VLAN.
	Vlan int64 `json:"vlan,omitempty"`
}

GetNetworkSwitchQosRuleOKBody get network switch qos rule o k body swagger:model GetNetworkSwitchQosRuleOKBody

func (*GetNetworkSwitchQosRuleOKBody) ContextValidate

func (o *GetNetworkSwitchQosRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get network switch qos rule o k body based on context it is used

func (*GetNetworkSwitchQosRuleOKBody) MarshalBinary

func (o *GetNetworkSwitchQosRuleOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchQosRuleOKBody) UnmarshalBinary

func (o *GetNetworkSwitchQosRuleOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchQosRuleOKBody) Validate

func (o *GetNetworkSwitchQosRuleOKBody) Validate(formats strfmt.Registry) error

Validate validates this get network switch qos rule o k body

type GetNetworkSwitchQosRuleParams

type GetNetworkSwitchQosRuleParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* QosRuleID.

	   Qos rule ID
	*/
	QosRuleID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint

for the get network switch qos rule operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchQosRuleParams

func NewGetNetworkSwitchQosRuleParams() *GetNetworkSwitchQosRuleParams

NewGetNetworkSwitchQosRuleParams creates a new GetNetworkSwitchQosRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchQosRuleParamsWithContext

func NewGetNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRuleParams

NewGetNetworkSwitchQosRuleParamsWithContext creates a new GetNetworkSwitchQosRuleParams object with the ability to set a context for a request.

func NewGetNetworkSwitchQosRuleParamsWithHTTPClient

func NewGetNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRuleParams

NewGetNetworkSwitchQosRuleParamsWithHTTPClient creates a new GetNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchQosRuleParamsWithTimeout

func NewGetNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRuleParams

NewGetNetworkSwitchQosRuleParamsWithTimeout creates a new GetNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchQosRuleParams) SetContext

func (o *GetNetworkSwitchQosRuleParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) SetDefaults

func (o *GetNetworkSwitchQosRuleParams) SetDefaults()

SetDefaults hydrates default values in the get network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRuleParams) SetHTTPClient

func (o *GetNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) SetNetworkID

func (o *GetNetworkSwitchQosRuleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) SetQosRuleID

func (o *GetNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)

SetQosRuleID adds the qosRuleId to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) SetTimeout

func (o *GetNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WithContext

WithContext adds the context to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WithDefaults

WithDefaults hydrates default values in the get network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WithQosRuleID

WithQosRuleID adds the qosRuleID to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WithTimeout

WithTimeout adds the timeout to the get network switch qos rule params

func (*GetNetworkSwitchQosRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchQosRuleReader

type GetNetworkSwitchQosRuleReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRuleReader is a Reader for the GetNetworkSwitchQosRule structure.

func (*GetNetworkSwitchQosRuleReader) ReadResponse

func (o *GetNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchQosRulesOK

type GetNetworkSwitchQosRulesOK struct {
	Payload []interface{}
}

GetNetworkSwitchQosRulesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchQosRulesOK

func NewGetNetworkSwitchQosRulesOK() *GetNetworkSwitchQosRulesOK

NewGetNetworkSwitchQosRulesOK creates a GetNetworkSwitchQosRulesOK with default headers values

func (*GetNetworkSwitchQosRulesOK) Code

func (o *GetNetworkSwitchQosRulesOK) Code() int

Code gets the status code for the get network switch qos rules o k response

func (*GetNetworkSwitchQosRulesOK) Error

func (*GetNetworkSwitchQosRulesOK) GetPayload

func (o *GetNetworkSwitchQosRulesOK) GetPayload() []interface{}

func (*GetNetworkSwitchQosRulesOK) IsClientError

func (o *GetNetworkSwitchQosRulesOK) IsClientError() bool

IsClientError returns true when this get network switch qos rules o k response has a 4xx status code

func (*GetNetworkSwitchQosRulesOK) IsCode

func (o *GetNetworkSwitchQosRulesOK) IsCode(code int) bool

IsCode returns true when this get network switch qos rules o k response a status code equal to that given

func (*GetNetworkSwitchQosRulesOK) IsRedirect

func (o *GetNetworkSwitchQosRulesOK) IsRedirect() bool

IsRedirect returns true when this get network switch qos rules o k response has a 3xx status code

func (*GetNetworkSwitchQosRulesOK) IsServerError

func (o *GetNetworkSwitchQosRulesOK) IsServerError() bool

IsServerError returns true when this get network switch qos rules o k response has a 5xx status code

func (*GetNetworkSwitchQosRulesOK) IsSuccess

func (o *GetNetworkSwitchQosRulesOK) IsSuccess() bool

IsSuccess returns true when this get network switch qos rules o k response has a 2xx status code

func (*GetNetworkSwitchQosRulesOK) String

func (o *GetNetworkSwitchQosRulesOK) String() string

type GetNetworkSwitchQosRulesOrderOK

type GetNetworkSwitchQosRulesOrderOK struct {
	Payload interface{}
}

GetNetworkSwitchQosRulesOrderOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchQosRulesOrderOK

func NewGetNetworkSwitchQosRulesOrderOK() *GetNetworkSwitchQosRulesOrderOK

NewGetNetworkSwitchQosRulesOrderOK creates a GetNetworkSwitchQosRulesOrderOK with default headers values

func (*GetNetworkSwitchQosRulesOrderOK) Code

Code gets the status code for the get network switch qos rules order o k response

func (*GetNetworkSwitchQosRulesOrderOK) Error

func (*GetNetworkSwitchQosRulesOrderOK) GetPayload

func (o *GetNetworkSwitchQosRulesOrderOK) GetPayload() interface{}

func (*GetNetworkSwitchQosRulesOrderOK) IsClientError

func (o *GetNetworkSwitchQosRulesOrderOK) IsClientError() bool

IsClientError returns true when this get network switch qos rules order o k response has a 4xx status code

func (*GetNetworkSwitchQosRulesOrderOK) IsCode

func (o *GetNetworkSwitchQosRulesOrderOK) IsCode(code int) bool

IsCode returns true when this get network switch qos rules order o k response a status code equal to that given

func (*GetNetworkSwitchQosRulesOrderOK) IsRedirect

func (o *GetNetworkSwitchQosRulesOrderOK) IsRedirect() bool

IsRedirect returns true when this get network switch qos rules order o k response has a 3xx status code

func (*GetNetworkSwitchQosRulesOrderOK) IsServerError

func (o *GetNetworkSwitchQosRulesOrderOK) IsServerError() bool

IsServerError returns true when this get network switch qos rules order o k response has a 5xx status code

func (*GetNetworkSwitchQosRulesOrderOK) IsSuccess

func (o *GetNetworkSwitchQosRulesOrderOK) IsSuccess() bool

IsSuccess returns true when this get network switch qos rules order o k response has a 2xx status code

func (*GetNetworkSwitchQosRulesOrderOK) String

type GetNetworkSwitchQosRulesOrderParams

type GetNetworkSwitchQosRulesOrderParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRulesOrderParams contains all the parameters to send to the API endpoint

for the get network switch qos rules order operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchQosRulesOrderParams

func NewGetNetworkSwitchQosRulesOrderParams() *GetNetworkSwitchQosRulesOrderParams

NewGetNetworkSwitchQosRulesOrderParams creates a new GetNetworkSwitchQosRulesOrderParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchQosRulesOrderParamsWithContext

func NewGetNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesOrderParams

NewGetNetworkSwitchQosRulesOrderParamsWithContext creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a context for a request.

func NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient

func NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesOrderParams

NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchQosRulesOrderParamsWithTimeout

func NewGetNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesOrderParams

NewGetNetworkSwitchQosRulesOrderParamsWithTimeout creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchQosRulesOrderParams) SetContext

SetContext adds the context to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) SetDefaults

func (o *GetNetworkSwitchQosRulesOrderParams) SetDefaults()

SetDefaults hydrates default values in the get network switch qos rules order params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRulesOrderParams) SetHTTPClient

func (o *GetNetworkSwitchQosRulesOrderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) SetNetworkID

func (o *GetNetworkSwitchQosRulesOrderParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) SetTimeout

func (o *GetNetworkSwitchQosRulesOrderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) WithContext

WithContext adds the context to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) WithDefaults

WithDefaults hydrates default values in the get network switch qos rules order params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRulesOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) WithTimeout

WithTimeout adds the timeout to the get network switch qos rules order params

func (*GetNetworkSwitchQosRulesOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchQosRulesOrderReader

type GetNetworkSwitchQosRulesOrderReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRulesOrderReader is a Reader for the GetNetworkSwitchQosRulesOrder structure.

func (*GetNetworkSwitchQosRulesOrderReader) ReadResponse

func (o *GetNetworkSwitchQosRulesOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchQosRulesParams

type GetNetworkSwitchQosRulesParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRulesParams contains all the parameters to send to the API endpoint

for the get network switch qos rules operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchQosRulesParams

func NewGetNetworkSwitchQosRulesParams() *GetNetworkSwitchQosRulesParams

NewGetNetworkSwitchQosRulesParams creates a new GetNetworkSwitchQosRulesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchQosRulesParamsWithContext

func NewGetNetworkSwitchQosRulesParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesParams

NewGetNetworkSwitchQosRulesParamsWithContext creates a new GetNetworkSwitchQosRulesParams object with the ability to set a context for a request.

func NewGetNetworkSwitchQosRulesParamsWithHTTPClient

func NewGetNetworkSwitchQosRulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesParams

NewGetNetworkSwitchQosRulesParamsWithHTTPClient creates a new GetNetworkSwitchQosRulesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchQosRulesParamsWithTimeout

func NewGetNetworkSwitchQosRulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesParams

NewGetNetworkSwitchQosRulesParamsWithTimeout creates a new GetNetworkSwitchQosRulesParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchQosRulesParams) SetContext

func (o *GetNetworkSwitchQosRulesParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) SetDefaults

func (o *GetNetworkSwitchQosRulesParams) SetDefaults()

SetDefaults hydrates default values in the get network switch qos rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRulesParams) SetHTTPClient

func (o *GetNetworkSwitchQosRulesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) SetNetworkID

func (o *GetNetworkSwitchQosRulesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) SetTimeout

func (o *GetNetworkSwitchQosRulesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) WithContext

WithContext adds the context to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) WithDefaults

WithDefaults hydrates default values in the get network switch qos rules params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchQosRulesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) WithTimeout

WithTimeout adds the timeout to the get network switch qos rules params

func (*GetNetworkSwitchQosRulesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchQosRulesReader

type GetNetworkSwitchQosRulesReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchQosRulesReader is a Reader for the GetNetworkSwitchQosRules structure.

func (*GetNetworkSwitchQosRulesReader) ReadResponse

func (o *GetNetworkSwitchQosRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchRoutingMulticastOK

type GetNetworkSwitchRoutingMulticastOK struct {
	Payload *GetNetworkSwitchRoutingMulticastOKBody
}

GetNetworkSwitchRoutingMulticastOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchRoutingMulticastOK

func NewGetNetworkSwitchRoutingMulticastOK() *GetNetworkSwitchRoutingMulticastOK

NewGetNetworkSwitchRoutingMulticastOK creates a GetNetworkSwitchRoutingMulticastOK with default headers values

func (*GetNetworkSwitchRoutingMulticastOK) Code

Code gets the status code for the get network switch routing multicast o k response

func (*GetNetworkSwitchRoutingMulticastOK) Error

func (*GetNetworkSwitchRoutingMulticastOK) GetPayload

func (*GetNetworkSwitchRoutingMulticastOK) IsClientError

func (o *GetNetworkSwitchRoutingMulticastOK) IsClientError() bool

IsClientError returns true when this get network switch routing multicast o k response has a 4xx status code

func (*GetNetworkSwitchRoutingMulticastOK) IsCode

IsCode returns true when this get network switch routing multicast o k response a status code equal to that given

func (*GetNetworkSwitchRoutingMulticastOK) IsRedirect

func (o *GetNetworkSwitchRoutingMulticastOK) IsRedirect() bool

IsRedirect returns true when this get network switch routing multicast o k response has a 3xx status code

func (*GetNetworkSwitchRoutingMulticastOK) IsServerError

func (o *GetNetworkSwitchRoutingMulticastOK) IsServerError() bool

IsServerError returns true when this get network switch routing multicast o k response has a 5xx status code

func (*GetNetworkSwitchRoutingMulticastOK) IsSuccess

IsSuccess returns true when this get network switch routing multicast o k response has a 2xx status code

func (*GetNetworkSwitchRoutingMulticastOK) String

type GetNetworkSwitchRoutingMulticastOKBody

type GetNetworkSwitchRoutingMulticastOKBody struct {

	// default settings
	DefaultSettings *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings `json:"defaultSettings,omitempty"`

	// Array of paired switches/stacks/profiles and corresponding multicast settings.
	//       An empty array will clear the multicast settings.
	Overrides []*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 `json:"overrides"`
}

GetNetworkSwitchRoutingMulticastOKBody get network switch routing multicast o k body swagger:model GetNetworkSwitchRoutingMulticastOKBody

func (*GetNetworkSwitchRoutingMulticastOKBody) ContextValidate

ContextValidate validate this get network switch routing multicast o k body based on the context it is used

func (*GetNetworkSwitchRoutingMulticastOKBody) MarshalBinary

func (o *GetNetworkSwitchRoutingMulticastOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBody) UnmarshalBinary

func (o *GetNetworkSwitchRoutingMulticastOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBody) Validate

Validate validates this get network switch routing multicast o k body

type GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings

type GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings struct {

	// Flood unknown multicast traffic enabled for the entire network
	FloodUnknownMulticastTrafficEnabled bool `json:"floodUnknownMulticastTrafficEnabled,omitempty"`

	// IGMP snooping enabled for the entire network
	IgmpSnoopingEnabled bool `json:"igmpSnoopingEnabled,omitempty"`
}

GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings Default multicast setting for entire network. IGMP snooping and Flood unknown // multicast traffic settings are enabled by default. swagger:model GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings

func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) ContextValidate

ContextValidate validates this get network switch routing multicast o k body default settings based on context it is used

func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) Validate

Validate validates this get network switch routing multicast o k body default settings

type GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0

type GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 struct {

	// Flood unknown multicast traffic enabled for switches, switch stacks or switch templates
	FloodUnknownMulticastTrafficEnabled bool `json:"floodUnknownMulticastTrafficEnabled,omitempty"`

	// IGMP snooping enabled for switches, switch stacks or switch templates
	IgmpSnoopingEnabled bool `json:"igmpSnoopingEnabled,omitempty"`

	// (optional) List of switch stack ids for non-template network
	Stacks []string `json:"stacks"`

	// (optional) List of switch templates ids for template network
	SwitchProfiles []string `json:"switchProfiles"`

	// (optional) List of switch serials for non-template network
	Switches []string `json:"switches"`
}

GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 get network switch routing multicast o k body overrides items0 swagger:model GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0

func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) ContextValidate

ContextValidate validates this get network switch routing multicast o k body overrides items0 based on context it is used

func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) Validate

Validate validates this get network switch routing multicast o k body overrides items0

type GetNetworkSwitchRoutingMulticastParams

type GetNetworkSwitchRoutingMulticastParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastParams contains all the parameters to send to the API endpoint

for the get network switch routing multicast operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchRoutingMulticastParams

func NewGetNetworkSwitchRoutingMulticastParams() *GetNetworkSwitchRoutingMulticastParams

NewGetNetworkSwitchRoutingMulticastParams creates a new GetNetworkSwitchRoutingMulticastParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchRoutingMulticastParamsWithContext

func NewGetNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastParams

NewGetNetworkSwitchRoutingMulticastParamsWithContext creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a context for a request.

func NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient

func NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastParams

NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchRoutingMulticastParamsWithTimeout

func NewGetNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastParams

NewGetNetworkSwitchRoutingMulticastParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchRoutingMulticastParams) SetContext

SetContext adds the context to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) SetDefaults

func (o *GetNetworkSwitchRoutingMulticastParams) SetDefaults()

SetDefaults hydrates default values in the get network switch routing multicast params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastParams) SetHTTPClient

func (o *GetNetworkSwitchRoutingMulticastParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) SetNetworkID

func (o *GetNetworkSwitchRoutingMulticastParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) SetTimeout

func (o *GetNetworkSwitchRoutingMulticastParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) WithContext

WithContext adds the context to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) WithDefaults

WithDefaults hydrates default values in the get network switch routing multicast params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) WithTimeout

WithTimeout adds the timeout to the get network switch routing multicast params

func (*GetNetworkSwitchRoutingMulticastParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchRoutingMulticastReader

type GetNetworkSwitchRoutingMulticastReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastReader is a Reader for the GetNetworkSwitchRoutingMulticast structure.

func (*GetNetworkSwitchRoutingMulticastReader) ReadResponse

func (o *GetNetworkSwitchRoutingMulticastReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchRoutingMulticastRendezvousPointOK

type GetNetworkSwitchRoutingMulticastRendezvousPointOK struct {
	Payload interface{}
}

GetNetworkSwitchRoutingMulticastRendezvousPointOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchRoutingMulticastRendezvousPointOK

func NewGetNetworkSwitchRoutingMulticastRendezvousPointOK() *GetNetworkSwitchRoutingMulticastRendezvousPointOK

NewGetNetworkSwitchRoutingMulticastRendezvousPointOK creates a GetNetworkSwitchRoutingMulticastRendezvousPointOK with default headers values

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) Code

Code gets the status code for the get network switch routing multicast rendezvous point o k response

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) Error

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError

IsClientError returns true when this get network switch routing multicast rendezvous point o k response has a 4xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode

IsCode returns true when this get network switch routing multicast rendezvous point o k response a status code equal to that given

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect

IsRedirect returns true when this get network switch routing multicast rendezvous point o k response has a 3xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError

IsServerError returns true when this get network switch routing multicast rendezvous point o k response has a 5xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess

IsSuccess returns true when this get network switch routing multicast rendezvous point o k response has a 2xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) String

type GetNetworkSwitchRoutingMulticastRendezvousPointParams

type GetNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* RendezvousPointID.

	   Rendezvous point ID
	*/
	RendezvousPointID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint

for the get network switch routing multicast rendezvous point operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParams

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParams() *GetNetworkSwitchRoutingMulticastRendezvousPointParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointParams creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout

func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext

SetContext adds the context to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults

SetDefaults hydrates default values in the get network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID

SetNetworkID adds the networkId to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)

SetRendezvousPointID adds the rendezvousPointId to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout

SetTimeout adds the timeout to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext

WithContext adds the context to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults

WithDefaults hydrates default values in the get network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID

WithRendezvousPointID adds the rendezvousPointID to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout

WithTimeout adds the timeout to the get network switch routing multicast rendezvous point params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchRoutingMulticastRendezvousPointReader

type GetNetworkSwitchRoutingMulticastRendezvousPointReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the GetNetworkSwitchRoutingMulticastRendezvousPoint structure.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchRoutingMulticastRendezvousPointsOK

type GetNetworkSwitchRoutingMulticastRendezvousPointsOK struct {
	Payload [][]interface{}
}

GetNetworkSwitchRoutingMulticastRendezvousPointsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK() *GetNetworkSwitchRoutingMulticastRendezvousPointsOK

NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK creates a GetNetworkSwitchRoutingMulticastRendezvousPointsOK with default headers values

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Code

Code gets the status code for the get network switch routing multicast rendezvous points o k response

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Error

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload() [][]interface{}

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsClientError

IsClientError returns true when this get network switch routing multicast rendezvous points o k response has a 4xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsCode

IsCode returns true when this get network switch routing multicast rendezvous points o k response a status code equal to that given

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsRedirect

IsRedirect returns true when this get network switch routing multicast rendezvous points o k response has a 3xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsServerError

IsServerError returns true when this get network switch routing multicast rendezvous points o k response has a 5xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsSuccess

IsSuccess returns true when this get network switch routing multicast rendezvous points o k response has a 2xx status code

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) String

type GetNetworkSwitchRoutingMulticastRendezvousPointsParams

type GetNetworkSwitchRoutingMulticastRendezvousPointsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastRendezvousPointsParams contains all the parameters to send to the API endpoint

for the get network switch routing multicast rendezvous points operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams() *GetNetworkSwitchRoutingMulticastRendezvousPointsParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a context for a request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout

func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams

NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetContext

SetContext adds the context to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetDefaults

SetDefaults hydrates default values in the get network switch routing multicast rendezvous points params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetNetworkID

SetNetworkID adds the networkId to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetTimeout

SetTimeout adds the timeout to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithContext

WithContext adds the context to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithDefaults

WithDefaults hydrates default values in the get network switch routing multicast rendezvous points params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithTimeout

WithTimeout adds the timeout to the get network switch routing multicast rendezvous points params

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchRoutingMulticastRendezvousPointsReader

type GetNetworkSwitchRoutingMulticastRendezvousPointsReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingMulticastRendezvousPointsReader is a Reader for the GetNetworkSwitchRoutingMulticastRendezvousPoints structure.

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsReader) ReadResponse

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchRoutingOspfOK

type GetNetworkSwitchRoutingOspfOK struct {
	Payload interface{}
}

GetNetworkSwitchRoutingOspfOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchRoutingOspfOK

func NewGetNetworkSwitchRoutingOspfOK() *GetNetworkSwitchRoutingOspfOK

NewGetNetworkSwitchRoutingOspfOK creates a GetNetworkSwitchRoutingOspfOK with default headers values

func (*GetNetworkSwitchRoutingOspfOK) Code

Code gets the status code for the get network switch routing ospf o k response

func (*GetNetworkSwitchRoutingOspfOK) Error

func (*GetNetworkSwitchRoutingOspfOK) GetPayload

func (o *GetNetworkSwitchRoutingOspfOK) GetPayload() interface{}

func (*GetNetworkSwitchRoutingOspfOK) IsClientError

func (o *GetNetworkSwitchRoutingOspfOK) IsClientError() bool

IsClientError returns true when this get network switch routing ospf o k response has a 4xx status code

func (*GetNetworkSwitchRoutingOspfOK) IsCode

func (o *GetNetworkSwitchRoutingOspfOK) IsCode(code int) bool

IsCode returns true when this get network switch routing ospf o k response a status code equal to that given

func (*GetNetworkSwitchRoutingOspfOK) IsRedirect

func (o *GetNetworkSwitchRoutingOspfOK) IsRedirect() bool

IsRedirect returns true when this get network switch routing ospf o k response has a 3xx status code

func (*GetNetworkSwitchRoutingOspfOK) IsServerError

func (o *GetNetworkSwitchRoutingOspfOK) IsServerError() bool

IsServerError returns true when this get network switch routing ospf o k response has a 5xx status code

func (*GetNetworkSwitchRoutingOspfOK) IsSuccess

func (o *GetNetworkSwitchRoutingOspfOK) IsSuccess() bool

IsSuccess returns true when this get network switch routing ospf o k response has a 2xx status code

func (*GetNetworkSwitchRoutingOspfOK) String

type GetNetworkSwitchRoutingOspfParams

type GetNetworkSwitchRoutingOspfParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingOspfParams contains all the parameters to send to the API endpoint

for the get network switch routing ospf operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchRoutingOspfParams

func NewGetNetworkSwitchRoutingOspfParams() *GetNetworkSwitchRoutingOspfParams

NewGetNetworkSwitchRoutingOspfParams creates a new GetNetworkSwitchRoutingOspfParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchRoutingOspfParamsWithContext

func NewGetNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingOspfParams

NewGetNetworkSwitchRoutingOspfParamsWithContext creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a context for a request.

func NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient

func NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingOspfParams

NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchRoutingOspfParamsWithTimeout

func NewGetNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingOspfParams

NewGetNetworkSwitchRoutingOspfParamsWithTimeout creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchRoutingOspfParams) SetContext

SetContext adds the context to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) SetDefaults

func (o *GetNetworkSwitchRoutingOspfParams) SetDefaults()

SetDefaults hydrates default values in the get network switch routing ospf params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingOspfParams) SetHTTPClient

func (o *GetNetworkSwitchRoutingOspfParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) SetNetworkID

func (o *GetNetworkSwitchRoutingOspfParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) SetTimeout

func (o *GetNetworkSwitchRoutingOspfParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) WithContext

WithContext adds the context to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) WithDefaults

WithDefaults hydrates default values in the get network switch routing ospf params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchRoutingOspfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) WithTimeout

WithTimeout adds the timeout to the get network switch routing ospf params

func (*GetNetworkSwitchRoutingOspfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchRoutingOspfReader

type GetNetworkSwitchRoutingOspfReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchRoutingOspfReader is a Reader for the GetNetworkSwitchRoutingOspf structure.

func (*GetNetworkSwitchRoutingOspfReader) ReadResponse

func (o *GetNetworkSwitchRoutingOspfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchSettingsOK

type GetNetworkSwitchSettingsOK struct {
	Payload *GetNetworkSwitchSettingsOKBody
}

GetNetworkSwitchSettingsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchSettingsOK

func NewGetNetworkSwitchSettingsOK() *GetNetworkSwitchSettingsOK

NewGetNetworkSwitchSettingsOK creates a GetNetworkSwitchSettingsOK with default headers values

func (*GetNetworkSwitchSettingsOK) Code

func (o *GetNetworkSwitchSettingsOK) Code() int

Code gets the status code for the get network switch settings o k response

func (*GetNetworkSwitchSettingsOK) Error

func (*GetNetworkSwitchSettingsOK) GetPayload

func (*GetNetworkSwitchSettingsOK) IsClientError

func (o *GetNetworkSwitchSettingsOK) IsClientError() bool

IsClientError returns true when this get network switch settings o k response has a 4xx status code

func (*GetNetworkSwitchSettingsOK) IsCode

func (o *GetNetworkSwitchSettingsOK) IsCode(code int) bool

IsCode returns true when this get network switch settings o k response a status code equal to that given

func (*GetNetworkSwitchSettingsOK) IsRedirect

func (o *GetNetworkSwitchSettingsOK) IsRedirect() bool

IsRedirect returns true when this get network switch settings o k response has a 3xx status code

func (*GetNetworkSwitchSettingsOK) IsServerError

func (o *GetNetworkSwitchSettingsOK) IsServerError() bool

IsServerError returns true when this get network switch settings o k response has a 5xx status code

func (*GetNetworkSwitchSettingsOK) IsSuccess

func (o *GetNetworkSwitchSettingsOK) IsSuccess() bool

IsSuccess returns true when this get network switch settings o k response has a 2xx status code

func (*GetNetworkSwitchSettingsOK) String

func (o *GetNetworkSwitchSettingsOK) String() string

type GetNetworkSwitchSettingsOKBody

type GetNetworkSwitchSettingsOKBody struct {

	// Exceptions on a per switch basis to "useCombinedPower"
	PowerExceptions []*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 `json:"powerExceptions"`

	// uplink client sampling
	UplinkClientSampling *GetNetworkSwitchSettingsOKBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"`

	// The use Combined Power as the default behavior of secondary power supplies on supported devices.
	UseCombinedPower bool `json:"useCombinedPower,omitempty"`

	// Management VLAN
	Vlan int64 `json:"vlan,omitempty"`
}

GetNetworkSwitchSettingsOKBody get network switch settings o k body swagger:model GetNetworkSwitchSettingsOKBody

func (*GetNetworkSwitchSettingsOKBody) ContextValidate

func (o *GetNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get network switch settings o k body based on the context it is used

func (*GetNetworkSwitchSettingsOKBody) MarshalBinary

func (o *GetNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBody) UnmarshalBinary

func (o *GetNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBody) Validate

func (o *GetNetworkSwitchSettingsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get network switch settings o k body

type GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0

type GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 struct {

	// Per switch exception (combined, redundant, useNetworkSetting)
	// Enum: [combined redundant useNetworkSetting]
	PowerType string `json:"powerType,omitempty"`

	// Serial number of the switch
	Serial string `json:"serial,omitempty"`
}

GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 get network switch settings o k body power exceptions items0 swagger:model GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0

func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate

ContextValidate validates this get network switch settings o k body power exceptions items0 based on context it is used

func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) Validate

Validate validates this get network switch settings o k body power exceptions items0

type GetNetworkSwitchSettingsOKBodyUplinkClientSampling

type GetNetworkSwitchSettingsOKBodyUplinkClientSampling struct {

	// Enable client sampling on uplink
	Enabled bool `json:"enabled,omitempty"`
}

GetNetworkSwitchSettingsOKBodyUplinkClientSampling Uplink client sampling swagger:model GetNetworkSwitchSettingsOKBodyUplinkClientSampling

func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate

ContextValidate validates this get network switch settings o k body uplink client sampling based on context it is used

func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) Validate

Validate validates this get network switch settings o k body uplink client sampling

type GetNetworkSwitchSettingsParams

type GetNetworkSwitchSettingsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchSettingsParams contains all the parameters to send to the API endpoint

for the get network switch settings operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchSettingsParams

func NewGetNetworkSwitchSettingsParams() *GetNetworkSwitchSettingsParams

NewGetNetworkSwitchSettingsParams creates a new GetNetworkSwitchSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchSettingsParamsWithContext

func NewGetNetworkSwitchSettingsParamsWithContext(ctx context.Context) *GetNetworkSwitchSettingsParams

NewGetNetworkSwitchSettingsParamsWithContext creates a new GetNetworkSwitchSettingsParams object with the ability to set a context for a request.

func NewGetNetworkSwitchSettingsParamsWithHTTPClient

func NewGetNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchSettingsParams

NewGetNetworkSwitchSettingsParamsWithHTTPClient creates a new GetNetworkSwitchSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchSettingsParamsWithTimeout

func NewGetNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchSettingsParams

NewGetNetworkSwitchSettingsParamsWithTimeout creates a new GetNetworkSwitchSettingsParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchSettingsParams) SetContext

func (o *GetNetworkSwitchSettingsParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) SetDefaults

func (o *GetNetworkSwitchSettingsParams) SetDefaults()

SetDefaults hydrates default values in the get network switch settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchSettingsParams) SetHTTPClient

func (o *GetNetworkSwitchSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) SetNetworkID

func (o *GetNetworkSwitchSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) SetTimeout

func (o *GetNetworkSwitchSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) WithContext

WithContext adds the context to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) WithDefaults

WithDefaults hydrates default values in the get network switch settings params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network switch settings params

func (*GetNetworkSwitchSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchSettingsReader

type GetNetworkSwitchSettingsReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchSettingsReader is a Reader for the GetNetworkSwitchSettings structure.

func (*GetNetworkSwitchSettingsReader) ReadResponse

func (o *GetNetworkSwitchSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackOK

type GetNetworkSwitchStackOK struct {
	Payload *GetNetworkSwitchStackOKBody
}

GetNetworkSwitchStackOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackOK

func NewGetNetworkSwitchStackOK() *GetNetworkSwitchStackOK

NewGetNetworkSwitchStackOK creates a GetNetworkSwitchStackOK with default headers values

func (*GetNetworkSwitchStackOK) Code

func (o *GetNetworkSwitchStackOK) Code() int

Code gets the status code for the get network switch stack o k response

func (*GetNetworkSwitchStackOK) Error

func (o *GetNetworkSwitchStackOK) Error() string

func (*GetNetworkSwitchStackOK) GetPayload

func (*GetNetworkSwitchStackOK) IsClientError

func (o *GetNetworkSwitchStackOK) IsClientError() bool

IsClientError returns true when this get network switch stack o k response has a 4xx status code

func (*GetNetworkSwitchStackOK) IsCode

func (o *GetNetworkSwitchStackOK) IsCode(code int) bool

IsCode returns true when this get network switch stack o k response a status code equal to that given

func (*GetNetworkSwitchStackOK) IsRedirect

func (o *GetNetworkSwitchStackOK) IsRedirect() bool

IsRedirect returns true when this get network switch stack o k response has a 3xx status code

func (*GetNetworkSwitchStackOK) IsServerError

func (o *GetNetworkSwitchStackOK) IsServerError() bool

IsServerError returns true when this get network switch stack o k response has a 5xx status code

func (*GetNetworkSwitchStackOK) IsSuccess

func (o *GetNetworkSwitchStackOK) IsSuccess() bool

IsSuccess returns true when this get network switch stack o k response has a 2xx status code

func (*GetNetworkSwitchStackOK) String

func (o *GetNetworkSwitchStackOK) String() string

type GetNetworkSwitchStackOKBody

type GetNetworkSwitchStackOKBody struct {

	// Switch stacks id
	ID string `json:"id,omitempty"`

	// Switch stacks name
	Name string `json:"name,omitempty"`

	// Serials of the switches in the switch stack
	Serials []string `json:"serials"`
}

GetNetworkSwitchStackOKBody get network switch stack o k body swagger:model GetNetworkSwitchStackOKBody

func (*GetNetworkSwitchStackOKBody) ContextValidate

func (o *GetNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get network switch stack o k body based on context it is used

func (*GetNetworkSwitchStackOKBody) MarshalBinary

func (o *GetNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchStackOKBody) UnmarshalBinary

func (o *GetNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStackOKBody) Validate

func (o *GetNetworkSwitchStackOKBody) Validate(formats strfmt.Registry) error

Validate validates this get network switch stack o k body

type GetNetworkSwitchStackParams

type GetNetworkSwitchStackParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackParams contains all the parameters to send to the API endpoint

for the get network switch stack operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackParams

func NewGetNetworkSwitchStackParams() *GetNetworkSwitchStackParams

NewGetNetworkSwitchStackParams creates a new GetNetworkSwitchStackParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackParamsWithContext

func NewGetNetworkSwitchStackParamsWithContext(ctx context.Context) *GetNetworkSwitchStackParams

NewGetNetworkSwitchStackParamsWithContext creates a new GetNetworkSwitchStackParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackParamsWithHTTPClient

func NewGetNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams

NewGetNetworkSwitchStackParamsWithHTTPClient creates a new GetNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackParamsWithTimeout

func NewGetNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams

NewGetNetworkSwitchStackParamsWithTimeout creates a new GetNetworkSwitchStackParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackParams) SetContext

func (o *GetNetworkSwitchStackParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetDefaults

func (o *GetNetworkSwitchStackParams) SetDefaults()

SetDefaults hydrates default values in the get network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackParams) SetHTTPClient

func (o *GetNetworkSwitchStackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetNetworkID

func (o *GetNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetSwitchStackID

func (o *GetNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack params

func (*GetNetworkSwitchStackParams) SetTimeout

func (o *GetNetworkSwitchStackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithContext

WithContext adds the context to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithNetworkID

func (o *GetNetworkSwitchStackParams) WithNetworkID(networkID string) *GetNetworkSwitchStackParams

WithNetworkID adds the networkID to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithSwitchStackID

func (o *GetNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the get network switch stack params

func (*GetNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack params

func (*GetNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackReader

type GetNetworkSwitchStackReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackReader is a Reader for the GetNetworkSwitchStack structure.

func (*GetNetworkSwitchStackReader) ReadResponse

func (o *GetNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackRoutingInterfaceDhcpOK

type GetNetworkSwitchStackRoutingInterfaceDhcpOK struct {
	Payload *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
}

GetNetworkSwitchStackRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackRoutingInterfaceDhcpOK

func NewGetNetworkSwitchStackRoutingInterfaceDhcpOK() *GetNetworkSwitchStackRoutingInterfaceDhcpOK

NewGetNetworkSwitchStackRoutingInterfaceDhcpOK creates a GetNetworkSwitchStackRoutingInterfaceDhcpOK with default headers values

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) Code

Code gets the status code for the get network switch stack routing interface dhcp o k response

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) Error

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError

IsClientError returns true when this get network switch stack routing interface dhcp o k response has a 4xx status code

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode

IsCode returns true when this get network switch stack routing interface dhcp o k response a status code equal to that given

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect

IsRedirect returns true when this get network switch stack routing interface dhcp o k response has a 3xx status code

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError

IsServerError returns true when this get network switch stack routing interface dhcp o k response has a 5xx status code

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess

IsSuccess returns true when this get network switch stack routing interface dhcp o k response has a 2xx status code

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) String

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBody

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBody struct {

	// The PXE boot server file name for the DHCP server running on the switch stack interface
	BootFileName string `json:"bootFileName,omitempty"`

	// The PXE boot server IP for the DHCP server running on the switch stack interface
	BootNextServer string `json:"bootNextServer,omitempty"`

	// Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface
	BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"`

	// The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
	DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"`

	// The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
	DhcpMode string `json:"dhcpMode,omitempty"`

	// Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface
	DhcpOptions []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 `json:"dhcpOptions"`

	// The DHCP name server IPs when DHCP name server option is 'custom'
	DNSCustomNameservers []string `json:"dnsCustomNameservers"`

	// The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom')
	DNSNameserversOption string `json:"dnsNameserversOption,omitempty"`

	// Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
	FixedIPAssignments []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"`

	// Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
	ReservedIPRanges []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 `json:"reservedIpRanges"`
}

GetNetworkSwitchStackRoutingInterfaceDhcpOKBody get network switch stack routing interface dhcp o k body swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBody

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) ContextValidate

ContextValidate validate this get network switch stack routing interface dhcp o k body based on the context it is used

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) Validate

Validate validates this get network switch stack routing interface dhcp o k body

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 struct {

	// The code for DHCP option which should be from 2 to 254
	Code string `json:"code,omitempty"`

	// The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex')
	Type string `json:"type,omitempty"`

	// The value of the DHCP option
	Value string `json:"value,omitempty"`
}

GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 get network switch stack routing interface dhcp o k body dhcp options items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) ContextValidate

ContextValidate validates this get network switch stack routing interface dhcp o k body dhcp options items0 based on context it is used

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) Validate

Validate validates this get network switch stack routing interface dhcp o k body dhcp options items0

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 struct {

	// The IP address of the client which has fixed IP address assigned to it
	IP string `json:"ip,omitempty"`

	// The MAC address of the client which has fixed IP address
	Mac string `json:"mac,omitempty"`

	// The name of the client which has fixed IP address
	Name string `json:"name,omitempty"`
}

GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 get network switch stack routing interface dhcp o k body fixed IP assignments items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) ContextValidate

ContextValidate validates this get network switch stack routing interface dhcp o k body fixed IP assignments items0 based on context it is used

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) Validate

Validate validates this get network switch stack routing interface dhcp o k body fixed IP assignments items0

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0

type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 struct {

	// The comment for the reserved IP range
	Comment string `json:"comment,omitempty"`

	// The ending IP address of the reserved IP range
	End string `json:"end,omitempty"`

	// The starting IP address of the reserved IP range
	Start string `json:"start,omitempty"`
}

GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 get network switch stack routing interface dhcp o k body reserved IP ranges items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) ContextValidate

ContextValidate validates this get network switch stack routing interface dhcp o k body reserved IP ranges items0 based on context it is used

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) Validate

Validate validates this get network switch stack routing interface dhcp o k body reserved IP ranges items0

type GetNetworkSwitchStackRoutingInterfaceDhcpParams

type GetNetworkSwitchStackRoutingInterfaceDhcpParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint

for the get network switch stack routing interface dhcp operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParams

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParams() *GetNetworkSwitchStackRoutingInterfaceDhcpParams

NewGetNetworkSwitchStackRoutingInterfaceDhcpParams creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceDhcpParams

NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceDhcpParams

NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout

func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceDhcpParams

NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext

SetContext adds the context to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults

SetDefaults hydrates default values in the get network switch stack routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID

func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID

func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID

func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout

SetTimeout adds the timeout to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext

WithContext adds the context to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack routing interface dhcp params

func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackRoutingInterfaceDhcpReader

type GetNetworkSwitchStackRoutingInterfaceDhcpReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfaceDhcpReader is a Reader for the GetNetworkSwitchStackRoutingInterfaceDhcp structure.

func (*GetNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse

func (o *GetNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackRoutingInterfaceOK

type GetNetworkSwitchStackRoutingInterfaceOK struct {
	Payload interface{}
}

GetNetworkSwitchStackRoutingInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackRoutingInterfaceOK

func NewGetNetworkSwitchStackRoutingInterfaceOK() *GetNetworkSwitchStackRoutingInterfaceOK

NewGetNetworkSwitchStackRoutingInterfaceOK creates a GetNetworkSwitchStackRoutingInterfaceOK with default headers values

func (*GetNetworkSwitchStackRoutingInterfaceOK) Code

Code gets the status code for the get network switch stack routing interface o k response

func (*GetNetworkSwitchStackRoutingInterfaceOK) Error

func (*GetNetworkSwitchStackRoutingInterfaceOK) GetPayload

func (o *GetNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}

func (*GetNetworkSwitchStackRoutingInterfaceOK) IsClientError

func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsClientError() bool

IsClientError returns true when this get network switch stack routing interface o k response has a 4xx status code

func (*GetNetworkSwitchStackRoutingInterfaceOK) IsCode

IsCode returns true when this get network switch stack routing interface o k response a status code equal to that given

func (*GetNetworkSwitchStackRoutingInterfaceOK) IsRedirect

IsRedirect returns true when this get network switch stack routing interface o k response has a 3xx status code

func (*GetNetworkSwitchStackRoutingInterfaceOK) IsServerError

func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsServerError() bool

IsServerError returns true when this get network switch stack routing interface o k response has a 5xx status code

func (*GetNetworkSwitchStackRoutingInterfaceOK) IsSuccess

IsSuccess returns true when this get network switch stack routing interface o k response has a 2xx status code

func (*GetNetworkSwitchStackRoutingInterfaceOK) String

type GetNetworkSwitchStackRoutingInterfaceParams

type GetNetworkSwitchStackRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the get network switch stack routing interface operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackRoutingInterfaceParams

func NewGetNetworkSwitchStackRoutingInterfaceParams() *GetNetworkSwitchStackRoutingInterfaceParams

NewGetNetworkSwitchStackRoutingInterfaceParams creates a new GetNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceParams

NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceParams

NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout

func NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceParams

NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetContext

SetContext adds the context to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the get network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient

func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID

func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetNetworkID

func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID

func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithContext

WithContext adds the context to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack routing interface params

func (*GetNetworkSwitchStackRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackRoutingInterfaceReader

type GetNetworkSwitchStackRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfaceReader is a Reader for the GetNetworkSwitchStackRoutingInterface structure.

func (*GetNetworkSwitchStackRoutingInterfaceReader) ReadResponse

func (o *GetNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackRoutingInterfacesOK

type GetNetworkSwitchStackRoutingInterfacesOK struct {
	Payload []interface{}
}

GetNetworkSwitchStackRoutingInterfacesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackRoutingInterfacesOK

func NewGetNetworkSwitchStackRoutingInterfacesOK() *GetNetworkSwitchStackRoutingInterfacesOK

NewGetNetworkSwitchStackRoutingInterfacesOK creates a GetNetworkSwitchStackRoutingInterfacesOK with default headers values

func (*GetNetworkSwitchStackRoutingInterfacesOK) Code

Code gets the status code for the get network switch stack routing interfaces o k response

func (*GetNetworkSwitchStackRoutingInterfacesOK) Error

func (*GetNetworkSwitchStackRoutingInterfacesOK) GetPayload

func (o *GetNetworkSwitchStackRoutingInterfacesOK) GetPayload() []interface{}

func (*GetNetworkSwitchStackRoutingInterfacesOK) IsClientError

IsClientError returns true when this get network switch stack routing interfaces o k response has a 4xx status code

func (*GetNetworkSwitchStackRoutingInterfacesOK) IsCode

IsCode returns true when this get network switch stack routing interfaces o k response a status code equal to that given

func (*GetNetworkSwitchStackRoutingInterfacesOK) IsRedirect

IsRedirect returns true when this get network switch stack routing interfaces o k response has a 3xx status code

func (*GetNetworkSwitchStackRoutingInterfacesOK) IsServerError

IsServerError returns true when this get network switch stack routing interfaces o k response has a 5xx status code

func (*GetNetworkSwitchStackRoutingInterfacesOK) IsSuccess

IsSuccess returns true when this get network switch stack routing interfaces o k response has a 2xx status code

func (*GetNetworkSwitchStackRoutingInterfacesOK) String

type GetNetworkSwitchStackRoutingInterfacesParams

type GetNetworkSwitchStackRoutingInterfacesParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfacesParams contains all the parameters to send to the API endpoint

for the get network switch stack routing interfaces operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackRoutingInterfacesParams

func NewGetNetworkSwitchStackRoutingInterfacesParams() *GetNetworkSwitchStackRoutingInterfacesParams

NewGetNetworkSwitchStackRoutingInterfacesParams creates a new GetNetworkSwitchStackRoutingInterfacesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfacesParams

NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfacesParams

NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout

func NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfacesParams

NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetContext

SetContext adds the context to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetDefaults

SetDefaults hydrates default values in the get network switch stack routing interfaces params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetHTTPClient

func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetNetworkID

func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetSwitchStackID

func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) SetTimeout

SetTimeout adds the timeout to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithContext

WithContext adds the context to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack routing interfaces params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack routing interfaces params

func (*GetNetworkSwitchStackRoutingInterfacesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackRoutingInterfacesReader

type GetNetworkSwitchStackRoutingInterfacesReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingInterfacesReader is a Reader for the GetNetworkSwitchStackRoutingInterfaces structure.

func (*GetNetworkSwitchStackRoutingInterfacesReader) ReadResponse

func (o *GetNetworkSwitchStackRoutingInterfacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackRoutingStaticRouteOK

type GetNetworkSwitchStackRoutingStaticRouteOK struct {
	Payload interface{}
}

GetNetworkSwitchStackRoutingStaticRouteOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackRoutingStaticRouteOK

func NewGetNetworkSwitchStackRoutingStaticRouteOK() *GetNetworkSwitchStackRoutingStaticRouteOK

NewGetNetworkSwitchStackRoutingStaticRouteOK creates a GetNetworkSwitchStackRoutingStaticRouteOK with default headers values

func (*GetNetworkSwitchStackRoutingStaticRouteOK) Code

Code gets the status code for the get network switch stack routing static route o k response

func (*GetNetworkSwitchStackRoutingStaticRouteOK) Error

func (*GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload

func (o *GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}

func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsClientError

IsClientError returns true when this get network switch stack routing static route o k response has a 4xx status code

func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsCode

IsCode returns true when this get network switch stack routing static route o k response a status code equal to that given

func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsRedirect

IsRedirect returns true when this get network switch stack routing static route o k response has a 3xx status code

func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsServerError

IsServerError returns true when this get network switch stack routing static route o k response has a 5xx status code

func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsSuccess

IsSuccess returns true when this get network switch stack routing static route o k response has a 2xx status code

func (*GetNetworkSwitchStackRoutingStaticRouteOK) String

type GetNetworkSwitchStackRoutingStaticRouteParams

type GetNetworkSwitchStackRoutingStaticRouteParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the get network switch stack routing static route operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackRoutingStaticRouteParams

func NewGetNetworkSwitchStackRoutingStaticRouteParams() *GetNetworkSwitchStackRoutingStaticRouteParams

NewGetNetworkSwitchStackRoutingStaticRouteParams creates a new GetNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRouteParams

NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRouteParams

NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout

func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRouteParams

NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetContext

SetContext adds the context to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the get network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient

func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID

func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID

func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID

func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithContext

WithContext adds the context to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack routing static route params

func (*GetNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackRoutingStaticRouteReader

type GetNetworkSwitchStackRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingStaticRouteReader is a Reader for the GetNetworkSwitchStackRoutingStaticRoute structure.

func (*GetNetworkSwitchStackRoutingStaticRouteReader) ReadResponse

func (o *GetNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStackRoutingStaticRoutesOK

type GetNetworkSwitchStackRoutingStaticRoutesOK struct {
	Payload []interface{}
}

GetNetworkSwitchStackRoutingStaticRoutesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStackRoutingStaticRoutesOK

func NewGetNetworkSwitchStackRoutingStaticRoutesOK() *GetNetworkSwitchStackRoutingStaticRoutesOK

NewGetNetworkSwitchStackRoutingStaticRoutesOK creates a GetNetworkSwitchStackRoutingStaticRoutesOK with default headers values

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) Code

Code gets the status code for the get network switch stack routing static routes o k response

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) Error

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload

func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload() []interface{}

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsClientError

IsClientError returns true when this get network switch stack routing static routes o k response has a 4xx status code

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsCode

IsCode returns true when this get network switch stack routing static routes o k response a status code equal to that given

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsRedirect

IsRedirect returns true when this get network switch stack routing static routes o k response has a 3xx status code

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsServerError

IsServerError returns true when this get network switch stack routing static routes o k response has a 5xx status code

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsSuccess

IsSuccess returns true when this get network switch stack routing static routes o k response has a 2xx status code

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) String

type GetNetworkSwitchStackRoutingStaticRoutesParams

type GetNetworkSwitchStackRoutingStaticRoutesParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingStaticRoutesParams contains all the parameters to send to the API endpoint

for the get network switch stack routing static routes operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStackRoutingStaticRoutesParams

func NewGetNetworkSwitchStackRoutingStaticRoutesParams() *GetNetworkSwitchStackRoutingStaticRoutesParams

NewGetNetworkSwitchStackRoutingStaticRoutesParams creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRoutesParams

NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRoutesParams

NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout

func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRoutesParams

NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetContext

SetContext adds the context to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetDefaults

SetDefaults hydrates default values in the get network switch stack routing static routes params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetNetworkID

func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetSwitchStackID

func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetTimeout

SetTimeout adds the timeout to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithContext

WithContext adds the context to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithDefaults

WithDefaults hydrates default values in the get network switch stack routing static routes params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithTimeout

WithTimeout adds the timeout to the get network switch stack routing static routes params

func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStackRoutingStaticRoutesReader

type GetNetworkSwitchStackRoutingStaticRoutesReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStackRoutingStaticRoutesReader is a Reader for the GetNetworkSwitchStackRoutingStaticRoutes structure.

func (*GetNetworkSwitchStackRoutingStaticRoutesReader) ReadResponse

func (o *GetNetworkSwitchStackRoutingStaticRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStacksOK

type GetNetworkSwitchStacksOK struct {
	Payload []interface{}
}

GetNetworkSwitchStacksOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStacksOK

func NewGetNetworkSwitchStacksOK() *GetNetworkSwitchStacksOK

NewGetNetworkSwitchStacksOK creates a GetNetworkSwitchStacksOK with default headers values

func (*GetNetworkSwitchStacksOK) Code

func (o *GetNetworkSwitchStacksOK) Code() int

Code gets the status code for the get network switch stacks o k response

func (*GetNetworkSwitchStacksOK) Error

func (o *GetNetworkSwitchStacksOK) Error() string

func (*GetNetworkSwitchStacksOK) GetPayload

func (o *GetNetworkSwitchStacksOK) GetPayload() []interface{}

func (*GetNetworkSwitchStacksOK) IsClientError

func (o *GetNetworkSwitchStacksOK) IsClientError() bool

IsClientError returns true when this get network switch stacks o k response has a 4xx status code

func (*GetNetworkSwitchStacksOK) IsCode

func (o *GetNetworkSwitchStacksOK) IsCode(code int) bool

IsCode returns true when this get network switch stacks o k response a status code equal to that given

func (*GetNetworkSwitchStacksOK) IsRedirect

func (o *GetNetworkSwitchStacksOK) IsRedirect() bool

IsRedirect returns true when this get network switch stacks o k response has a 3xx status code

func (*GetNetworkSwitchStacksOK) IsServerError

func (o *GetNetworkSwitchStacksOK) IsServerError() bool

IsServerError returns true when this get network switch stacks o k response has a 5xx status code

func (*GetNetworkSwitchStacksOK) IsSuccess

func (o *GetNetworkSwitchStacksOK) IsSuccess() bool

IsSuccess returns true when this get network switch stacks o k response has a 2xx status code

func (*GetNetworkSwitchStacksOK) String

func (o *GetNetworkSwitchStacksOK) String() string

type GetNetworkSwitchStacksParams

type GetNetworkSwitchStacksParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStacksParams contains all the parameters to send to the API endpoint

for the get network switch stacks operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStacksParams

func NewGetNetworkSwitchStacksParams() *GetNetworkSwitchStacksParams

NewGetNetworkSwitchStacksParams creates a new GetNetworkSwitchStacksParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStacksParamsWithContext

func NewGetNetworkSwitchStacksParamsWithContext(ctx context.Context) *GetNetworkSwitchStacksParams

NewGetNetworkSwitchStacksParamsWithContext creates a new GetNetworkSwitchStacksParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStacksParamsWithHTTPClient

func NewGetNetworkSwitchStacksParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams

NewGetNetworkSwitchStacksParamsWithHTTPClient creates a new GetNetworkSwitchStacksParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStacksParamsWithTimeout

func NewGetNetworkSwitchStacksParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams

NewGetNetworkSwitchStacksParamsWithTimeout creates a new GetNetworkSwitchStacksParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStacksParams) SetContext

func (o *GetNetworkSwitchStacksParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetDefaults

func (o *GetNetworkSwitchStacksParams) SetDefaults()

SetDefaults hydrates default values in the get network switch stacks params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStacksParams) SetHTTPClient

func (o *GetNetworkSwitchStacksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetNetworkID

func (o *GetNetworkSwitchStacksParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) SetTimeout

func (o *GetNetworkSwitchStacksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithContext

WithContext adds the context to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithDefaults

WithDefaults hydrates default values in the get network switch stacks params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStacksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WithTimeout

WithTimeout adds the timeout to the get network switch stacks params

func (*GetNetworkSwitchStacksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStacksReader

type GetNetworkSwitchStacksReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStacksReader is a Reader for the GetNetworkSwitchStacks structure.

func (*GetNetworkSwitchStacksReader) ReadResponse

func (o *GetNetworkSwitchStacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStormControlOK

type GetNetworkSwitchStormControlOK struct {
	Payload *GetNetworkSwitchStormControlOKBody
}

GetNetworkSwitchStormControlOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStormControlOK

func NewGetNetworkSwitchStormControlOK() *GetNetworkSwitchStormControlOK

NewGetNetworkSwitchStormControlOK creates a GetNetworkSwitchStormControlOK with default headers values

func (*GetNetworkSwitchStormControlOK) Code

Code gets the status code for the get network switch storm control o k response

func (*GetNetworkSwitchStormControlOK) Error

func (*GetNetworkSwitchStormControlOK) GetPayload

func (*GetNetworkSwitchStormControlOK) IsClientError

func (o *GetNetworkSwitchStormControlOK) IsClientError() bool

IsClientError returns true when this get network switch storm control o k response has a 4xx status code

func (*GetNetworkSwitchStormControlOK) IsCode

func (o *GetNetworkSwitchStormControlOK) IsCode(code int) bool

IsCode returns true when this get network switch storm control o k response a status code equal to that given

func (*GetNetworkSwitchStormControlOK) IsRedirect

func (o *GetNetworkSwitchStormControlOK) IsRedirect() bool

IsRedirect returns true when this get network switch storm control o k response has a 3xx status code

func (*GetNetworkSwitchStormControlOK) IsServerError

func (o *GetNetworkSwitchStormControlOK) IsServerError() bool

IsServerError returns true when this get network switch storm control o k response has a 5xx status code

func (*GetNetworkSwitchStormControlOK) IsSuccess

func (o *GetNetworkSwitchStormControlOK) IsSuccess() bool

IsSuccess returns true when this get network switch storm control o k response has a 2xx status code

func (*GetNetworkSwitchStormControlOK) String

type GetNetworkSwitchStormControlOKBody

type GetNetworkSwitchStormControlOKBody struct {

	// Broadcast threshold.
	BroadcastThreshold int64 `json:"broadcastThreshold,omitempty"`

	// Multicast threshold.
	MulticastThreshold int64 `json:"multicastThreshold,omitempty"`

	// Unknown Unicast threshold.
	UnknownUnicastThreshold int64 `json:"unknownUnicastThreshold,omitempty"`
}

GetNetworkSwitchStormControlOKBody get network switch storm control o k body swagger:model GetNetworkSwitchStormControlOKBody

func (*GetNetworkSwitchStormControlOKBody) ContextValidate

func (o *GetNetworkSwitchStormControlOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get network switch storm control o k body based on context it is used

func (*GetNetworkSwitchStormControlOKBody) MarshalBinary

func (o *GetNetworkSwitchStormControlOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetNetworkSwitchStormControlOKBody) UnmarshalBinary

func (o *GetNetworkSwitchStormControlOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetNetworkSwitchStormControlOKBody) Validate

Validate validates this get network switch storm control o k body

type GetNetworkSwitchStormControlParams

type GetNetworkSwitchStormControlParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStormControlParams contains all the parameters to send to the API endpoint

for the get network switch storm control operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStormControlParams

func NewGetNetworkSwitchStormControlParams() *GetNetworkSwitchStormControlParams

NewGetNetworkSwitchStormControlParams creates a new GetNetworkSwitchStormControlParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStormControlParamsWithContext

func NewGetNetworkSwitchStormControlParamsWithContext(ctx context.Context) *GetNetworkSwitchStormControlParams

NewGetNetworkSwitchStormControlParamsWithContext creates a new GetNetworkSwitchStormControlParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStormControlParamsWithHTTPClient

func NewGetNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStormControlParams

NewGetNetworkSwitchStormControlParamsWithHTTPClient creates a new GetNetworkSwitchStormControlParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStormControlParamsWithTimeout

func NewGetNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStormControlParams

NewGetNetworkSwitchStormControlParamsWithTimeout creates a new GetNetworkSwitchStormControlParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStormControlParams) SetContext

SetContext adds the context to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) SetDefaults

func (o *GetNetworkSwitchStormControlParams) SetDefaults()

SetDefaults hydrates default values in the get network switch storm control params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStormControlParams) SetHTTPClient

func (o *GetNetworkSwitchStormControlParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) SetNetworkID

func (o *GetNetworkSwitchStormControlParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) SetTimeout

func (o *GetNetworkSwitchStormControlParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) WithContext

WithContext adds the context to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) WithDefaults

WithDefaults hydrates default values in the get network switch storm control params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStormControlParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) WithNetworkID

WithNetworkID adds the networkID to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) WithTimeout

WithTimeout adds the timeout to the get network switch storm control params

func (*GetNetworkSwitchStormControlParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStormControlReader

type GetNetworkSwitchStormControlReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStormControlReader is a Reader for the GetNetworkSwitchStormControl structure.

func (*GetNetworkSwitchStormControlReader) ReadResponse

func (o *GetNetworkSwitchStormControlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetNetworkSwitchStpOK

type GetNetworkSwitchStpOK struct {
	Payload interface{}
}

GetNetworkSwitchStpOK describes a response with status code 200, with default header values.

Successful operation

func NewGetNetworkSwitchStpOK

func NewGetNetworkSwitchStpOK() *GetNetworkSwitchStpOK

NewGetNetworkSwitchStpOK creates a GetNetworkSwitchStpOK with default headers values

func (*GetNetworkSwitchStpOK) Code

func (o *GetNetworkSwitchStpOK) Code() int

Code gets the status code for the get network switch stp o k response

func (*GetNetworkSwitchStpOK) Error

func (o *GetNetworkSwitchStpOK) Error() string

func (*GetNetworkSwitchStpOK) GetPayload

func (o *GetNetworkSwitchStpOK) GetPayload() interface{}

func (*GetNetworkSwitchStpOK) IsClientError

func (o *GetNetworkSwitchStpOK) IsClientError() bool

IsClientError returns true when this get network switch stp o k response has a 4xx status code

func (*GetNetworkSwitchStpOK) IsCode

func (o *GetNetworkSwitchStpOK) IsCode(code int) bool

IsCode returns true when this get network switch stp o k response a status code equal to that given

func (*GetNetworkSwitchStpOK) IsRedirect

func (o *GetNetworkSwitchStpOK) IsRedirect() bool

IsRedirect returns true when this get network switch stp o k response has a 3xx status code

func (*GetNetworkSwitchStpOK) IsServerError

func (o *GetNetworkSwitchStpOK) IsServerError() bool

IsServerError returns true when this get network switch stp o k response has a 5xx status code

func (*GetNetworkSwitchStpOK) IsSuccess

func (o *GetNetworkSwitchStpOK) IsSuccess() bool

IsSuccess returns true when this get network switch stp o k response has a 2xx status code

func (*GetNetworkSwitchStpOK) String

func (o *GetNetworkSwitchStpOK) String() string

type GetNetworkSwitchStpParams

type GetNetworkSwitchStpParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNetworkSwitchStpParams contains all the parameters to send to the API endpoint

for the get network switch stp operation.

Typically these are written to a http.Request.

func NewGetNetworkSwitchStpParams

func NewGetNetworkSwitchStpParams() *GetNetworkSwitchStpParams

NewGetNetworkSwitchStpParams creates a new GetNetworkSwitchStpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetNetworkSwitchStpParamsWithContext

func NewGetNetworkSwitchStpParamsWithContext(ctx context.Context) *GetNetworkSwitchStpParams

NewGetNetworkSwitchStpParamsWithContext creates a new GetNetworkSwitchStpParams object with the ability to set a context for a request.

func NewGetNetworkSwitchStpParamsWithHTTPClient

func NewGetNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStpParams

NewGetNetworkSwitchStpParamsWithHTTPClient creates a new GetNetworkSwitchStpParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkSwitchStpParamsWithTimeout

func NewGetNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStpParams

NewGetNetworkSwitchStpParamsWithTimeout creates a new GetNetworkSwitchStpParams object with the ability to set a timeout on a request.

func (*GetNetworkSwitchStpParams) SetContext

func (o *GetNetworkSwitchStpParams) SetContext(ctx context.Context)

SetContext adds the context to the get network switch stp params

func (*GetNetworkSwitchStpParams) SetDefaults

func (o *GetNetworkSwitchStpParams) SetDefaults()

SetDefaults hydrates default values in the get network switch stp params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStpParams) SetHTTPClient

func (o *GetNetworkSwitchStpParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get network switch stp params

func (*GetNetworkSwitchStpParams) SetNetworkID

func (o *GetNetworkSwitchStpParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network switch stp params

func (*GetNetworkSwitchStpParams) SetTimeout

func (o *GetNetworkSwitchStpParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get network switch stp params

func (*GetNetworkSwitchStpParams) WithContext

WithContext adds the context to the get network switch stp params

func (*GetNetworkSwitchStpParams) WithDefaults

WithDefaults hydrates default values in the get network switch stp params (not the query body).

All values with no default are reset to their zero value.

func (*GetNetworkSwitchStpParams) WithHTTPClient

func (o *GetNetworkSwitchStpParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStpParams

WithHTTPClient adds the HTTPClient to the get network switch stp params

func (*GetNetworkSwitchStpParams) WithNetworkID

func (o *GetNetworkSwitchStpParams) WithNetworkID(networkID string) *GetNetworkSwitchStpParams

WithNetworkID adds the networkID to the get network switch stp params

func (*GetNetworkSwitchStpParams) WithTimeout

WithTimeout adds the timeout to the get network switch stp params

func (*GetNetworkSwitchStpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkSwitchStpReader

type GetNetworkSwitchStpReader struct {
	// contains filtered or unexported fields
}

GetNetworkSwitchStpReader is a Reader for the GetNetworkSwitchStp structure.

func (*GetNetworkSwitchStpReader) ReadResponse

func (o *GetNetworkSwitchStpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrganizationConfigTemplateSwitchProfilePortOK

type GetOrganizationConfigTemplateSwitchProfilePortOK struct {
	Payload *GetOrganizationConfigTemplateSwitchProfilePortOKBody
}

GetOrganizationConfigTemplateSwitchProfilePortOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOrganizationConfigTemplateSwitchProfilePortOK

func NewGetOrganizationConfigTemplateSwitchProfilePortOK() *GetOrganizationConfigTemplateSwitchProfilePortOK

NewGetOrganizationConfigTemplateSwitchProfilePortOK creates a GetOrganizationConfigTemplateSwitchProfilePortOK with default headers values

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) Code

Code gets the status code for the get organization config template switch profile port o k response

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) Error

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) GetPayload

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsClientError

IsClientError returns true when this get organization config template switch profile port o k response has a 4xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsCode

IsCode returns true when this get organization config template switch profile port o k response a status code equal to that given

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect

IsRedirect returns true when this get organization config template switch profile port o k response has a 3xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsServerError

IsServerError returns true when this get organization config template switch profile port o k response has a 5xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess

IsSuccess returns true when this get organization config template switch profile port o k response has a 2xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) String

type GetOrganizationConfigTemplateSwitchProfilePortOKBody

type GetOrganizationConfigTemplateSwitchProfilePortOKBody struct {

	// The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch template port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch template port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch template port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch template port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch template port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch template port.
	Name string `json:"name,omitempty"`

	// The PoE status of the switch template port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch template port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch template port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch template port.
	Tags []string `json:"tags"`

	// The type of the switch template port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch template port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch template port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetOrganizationConfigTemplateSwitchProfilePortOKBody get organization config template switch profile port o k body swagger:model GetOrganizationConfigTemplateSwitchProfilePortOKBody

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate

ContextValidate validate this get organization config template switch profile port o k body based on the context it is used

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) Validate

Validate validates this get organization config template switch profile port o k body

type GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile

type GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile Profile attributes swagger:model GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate

ContextValidate validates this get organization config template switch profile port o k body profile based on context it is used

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) Validate

Validate validates this get organization config template switch profile port o k body profile

type GetOrganizationConfigTemplateSwitchProfilePortParams

type GetOrganizationConfigTemplateSwitchProfilePortParams struct {

	/* ConfigTemplateID.

	   Config template ID
	*/
	ConfigTemplateID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	/* PortID.

	   Port ID
	*/
	PortID string

	/* ProfileID.

	   Profile ID
	*/
	ProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilePortParams contains all the parameters to send to the API endpoint

for the get organization config template switch profile port operation.

Typically these are written to a http.Request.

func NewGetOrganizationConfigTemplateSwitchProfilePortParams

func NewGetOrganizationConfigTemplateSwitchProfilePortParams() *GetOrganizationConfigTemplateSwitchProfilePortParams

NewGetOrganizationConfigTemplateSwitchProfilePortParams creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortParams

NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a context for a request.

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortParams

NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout

func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortParams

NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a timeout on a request.

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID

func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)

SetConfigTemplateID adds the configTemplateId to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetContext

SetContext adds the context to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults

SetDefaults hydrates default values in the get organization config template switch profile port params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID

func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetPortID

SetPortID adds the portId to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID

SetProfileID adds the profileId to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout

SetTimeout adds the timeout to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID

WithConfigTemplateID adds the configTemplateID to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithContext

WithContext adds the context to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults

WithDefaults hydrates default values in the get organization config template switch profile port params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithPortID

WithPortID adds the portID to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID

WithProfileID adds the profileID to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout

WithTimeout adds the timeout to the get organization config template switch profile port params

func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationConfigTemplateSwitchProfilePortReader

type GetOrganizationConfigTemplateSwitchProfilePortReader struct {
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilePortReader is a Reader for the GetOrganizationConfigTemplateSwitchProfilePort structure.

func (*GetOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse

func (o *GetOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrganizationConfigTemplateSwitchProfilePortsOK

type GetOrganizationConfigTemplateSwitchProfilePortsOK struct {
	Payload []*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
}

GetOrganizationConfigTemplateSwitchProfilePortsOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOrganizationConfigTemplateSwitchProfilePortsOK

func NewGetOrganizationConfigTemplateSwitchProfilePortsOK() *GetOrganizationConfigTemplateSwitchProfilePortsOK

NewGetOrganizationConfigTemplateSwitchProfilePortsOK creates a GetOrganizationConfigTemplateSwitchProfilePortsOK with default headers values

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) Code

Code gets the status code for the get organization config template switch profile ports o k response

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) Error

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) GetPayload

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsClientError

IsClientError returns true when this get organization config template switch profile ports o k response has a 4xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsCode

IsCode returns true when this get organization config template switch profile ports o k response a status code equal to that given

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsRedirect

IsRedirect returns true when this get organization config template switch profile ports o k response has a 3xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsServerError

IsServerError returns true when this get organization config template switch profile ports o k response has a 5xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsSuccess

IsSuccess returns true when this get organization config template switch profile ports o k response has a 2xx status code

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) String

type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0

type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0 struct {

	// The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch template port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch template port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch template port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch template port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch template port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch template port.
	Name string `json:"name,omitempty"`

	// The PoE status of the switch template port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch template port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch template port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch template port.
	Tags []string `json:"tags"`

	// The type of the switch template port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch template port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch template port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0 get organization config template switch profile ports o k body items0 swagger:model GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) ContextValidate

ContextValidate validate this get organization config template switch profile ports o k body items0 based on the context it is used

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) Validate

Validate validates this get organization config template switch profile ports o k body items0

type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile

type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile Profile attributes swagger:model GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) ContextValidate

ContextValidate validates this get organization config template switch profile ports o k body items0 profile based on context it is used

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) Validate

Validate validates this get organization config template switch profile ports o k body items0 profile

type GetOrganizationConfigTemplateSwitchProfilePortsParams

type GetOrganizationConfigTemplateSwitchProfilePortsParams struct {

	/* ConfigTemplateID.

	   Config template ID
	*/
	ConfigTemplateID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	/* ProfileID.

	   Profile ID
	*/
	ProfileID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilePortsParams contains all the parameters to send to the API endpoint

for the get organization config template switch profile ports operation.

Typically these are written to a http.Request.

func NewGetOrganizationConfigTemplateSwitchProfilePortsParams

func NewGetOrganizationConfigTemplateSwitchProfilePortsParams() *GetOrganizationConfigTemplateSwitchProfilePortsParams

NewGetOrganizationConfigTemplateSwitchProfilePortsParams creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortsParams

NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a context for a request.

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortsParams

NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout

func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortsParams

NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a timeout on a request.

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetConfigTemplateID

func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetConfigTemplateID(configTemplateID string)

SetConfigTemplateID adds the configTemplateId to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetContext

SetContext adds the context to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetDefaults

SetDefaults hydrates default values in the get organization config template switch profile ports params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetOrganizationID

func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetProfileID

SetProfileID adds the profileId to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetTimeout

SetTimeout adds the timeout to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithConfigTemplateID

WithConfigTemplateID adds the configTemplateID to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithContext

WithContext adds the context to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithDefaults

WithDefaults hydrates default values in the get organization config template switch profile ports params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithProfileID

WithProfileID adds the profileID to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithTimeout

WithTimeout adds the timeout to the get organization config template switch profile ports params

func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationConfigTemplateSwitchProfilePortsReader

type GetOrganizationConfigTemplateSwitchProfilePortsReader struct {
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilePortsReader is a Reader for the GetOrganizationConfigTemplateSwitchProfilePorts structure.

func (*GetOrganizationConfigTemplateSwitchProfilePortsReader) ReadResponse

func (o *GetOrganizationConfigTemplateSwitchProfilePortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrganizationConfigTemplateSwitchProfilesOK

type GetOrganizationConfigTemplateSwitchProfilesOK struct {
	Payload []*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
}

GetOrganizationConfigTemplateSwitchProfilesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOrganizationConfigTemplateSwitchProfilesOK

func NewGetOrganizationConfigTemplateSwitchProfilesOK() *GetOrganizationConfigTemplateSwitchProfilesOK

NewGetOrganizationConfigTemplateSwitchProfilesOK creates a GetOrganizationConfigTemplateSwitchProfilesOK with default headers values

func (*GetOrganizationConfigTemplateSwitchProfilesOK) Code

Code gets the status code for the get organization config template switch profiles o k response

func (*GetOrganizationConfigTemplateSwitchProfilesOK) Error

func (*GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload

func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsClientError

IsClientError returns true when this get organization config template switch profiles o k response has a 4xx status code

func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsCode

IsCode returns true when this get organization config template switch profiles o k response a status code equal to that given

func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsRedirect

IsRedirect returns true when this get organization config template switch profiles o k response has a 3xx status code

func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsServerError

IsServerError returns true when this get organization config template switch profiles o k response has a 5xx status code

func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsSuccess

IsSuccess returns true when this get organization config template switch profiles o k response has a 2xx status code

func (*GetOrganizationConfigTemplateSwitchProfilesOK) String

type GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0

type GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0 struct {

	// Switch model
	Model string `json:"model,omitempty"`

	// Switch template name
	Name string `json:"name,omitempty"`

	// Switch template id
	SwitchProfileID string `json:"switchProfileId,omitempty"`
}

GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0 get organization config template switch profiles o k body items0 swagger:model GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0

func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) ContextValidate

ContextValidate validates this get organization config template switch profiles o k body items0 based on context it is used

func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) Validate

Validate validates this get organization config template switch profiles o k body items0

type GetOrganizationConfigTemplateSwitchProfilesParams

type GetOrganizationConfigTemplateSwitchProfilesParams struct {

	/* ConfigTemplateID.

	   Config template ID
	*/
	ConfigTemplateID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilesParams contains all the parameters to send to the API endpoint

for the get organization config template switch profiles operation.

Typically these are written to a http.Request.

func NewGetOrganizationConfigTemplateSwitchProfilesParams

func NewGetOrganizationConfigTemplateSwitchProfilesParams() *GetOrganizationConfigTemplateSwitchProfilesParams

NewGetOrganizationConfigTemplateSwitchProfilesParams creates a new GetOrganizationConfigTemplateSwitchProfilesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilesParams

NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a context for a request.

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilesParams

NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout

func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilesParams

NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a timeout on a request.

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetConfigTemplateID

func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetConfigTemplateID(configTemplateID string)

SetConfigTemplateID adds the configTemplateId to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetContext

SetContext adds the context to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetDefaults

SetDefaults hydrates default values in the get organization config template switch profiles params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetOrganizationID

func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetTimeout

SetTimeout adds the timeout to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithConfigTemplateID

WithConfigTemplateID adds the configTemplateID to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithContext

WithContext adds the context to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithDefaults

WithDefaults hydrates default values in the get organization config template switch profiles params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithTimeout

WithTimeout adds the timeout to the get organization config template switch profiles params

func (*GetOrganizationConfigTemplateSwitchProfilesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationConfigTemplateSwitchProfilesReader

type GetOrganizationConfigTemplateSwitchProfilesReader struct {
	// contains filtered or unexported fields
}

GetOrganizationConfigTemplateSwitchProfilesReader is a Reader for the GetOrganizationConfigTemplateSwitchProfiles structure.

func (*GetOrganizationConfigTemplateSwitchProfilesReader) ReadResponse

func (o *GetOrganizationConfigTemplateSwitchProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetOrganizationSwitchPortsBySwitchOK

type GetOrganizationSwitchPortsBySwitchOK struct {

	/* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests.
	 */
	Link string

	Payload []*GetOrganizationSwitchPortsBySwitchOKBodyItems0
}

GetOrganizationSwitchPortsBySwitchOK describes a response with status code 200, with default header values.

Successful operation

func NewGetOrganizationSwitchPortsBySwitchOK

func NewGetOrganizationSwitchPortsBySwitchOK() *GetOrganizationSwitchPortsBySwitchOK

NewGetOrganizationSwitchPortsBySwitchOK creates a GetOrganizationSwitchPortsBySwitchOK with default headers values

func (*GetOrganizationSwitchPortsBySwitchOK) Code

Code gets the status code for the get organization switch ports by switch o k response

func (*GetOrganizationSwitchPortsBySwitchOK) Error

func (*GetOrganizationSwitchPortsBySwitchOK) GetPayload

func (*GetOrganizationSwitchPortsBySwitchOK) IsClientError

func (o *GetOrganizationSwitchPortsBySwitchOK) IsClientError() bool

IsClientError returns true when this get organization switch ports by switch o k response has a 4xx status code

func (*GetOrganizationSwitchPortsBySwitchOK) IsCode

IsCode returns true when this get organization switch ports by switch o k response a status code equal to that given

func (*GetOrganizationSwitchPortsBySwitchOK) IsRedirect

IsRedirect returns true when this get organization switch ports by switch o k response has a 3xx status code

func (*GetOrganizationSwitchPortsBySwitchOK) IsServerError

func (o *GetOrganizationSwitchPortsBySwitchOK) IsServerError() bool

IsServerError returns true when this get organization switch ports by switch o k response has a 5xx status code

func (*GetOrganizationSwitchPortsBySwitchOK) IsSuccess

IsSuccess returns true when this get organization switch ports by switch o k response has a 2xx status code

func (*GetOrganizationSwitchPortsBySwitchOK) String

type GetOrganizationSwitchPortsBySwitchOKBodyItems0

type GetOrganizationSwitchPortsBySwitchOKBodyItems0 struct {

	// The MAC address of the switch.
	Mac string `json:"mac,omitempty"`

	// The model of the switch.
	Model string `json:"model,omitempty"`

	// The name of the switch.
	Name string `json:"name,omitempty"`

	// network
	Network *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network `json:"network,omitempty"`

	// Ports belonging to the switch
	Ports []*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 `json:"ports"`

	// The serial number of the switch.
	Serial string `json:"serial,omitempty"`
}

GetOrganizationSwitchPortsBySwitchOKBodyItems0 get organization switch ports by switch o k body items0 swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) ContextValidate

ContextValidate validate this get organization switch ports by switch o k body items0 based on the context it is used

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) Validate

Validate validates this get organization switch ports by switch o k body items0

type GetOrganizationSwitchPortsBySwitchOKBodyItems0Network

type GetOrganizationSwitchPortsBySwitchOKBodyItems0Network struct {

	// The ID of the network.
	ID string `json:"id,omitempty"`

	// The name of the network.
	Name string `json:"name,omitempty"`
}

GetOrganizationSwitchPortsBySwitchOKBodyItems0Network Identifying information of the switch's network. swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0Network

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) ContextValidate

ContextValidate validates this get organization switch ports by switch o k body items0 network based on context it is used

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) Validate

Validate validates this get organization switch ports by switch o k body items0 network

type GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0

type GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 struct {

	// The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// The status of the switch port.
	Enabled bool `json:"enabled,omitempty"`

	// The link speed for the switch port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// The name of the switch port.
	Name string `json:"name,omitempty"`

	// The PoE status of the switch port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch port.
	PortID string `json:"portId,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch port.
	Tags []string `json:"tags"`

	// The type of the switch port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The VLAN of the switch port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 get organization switch ports by switch o k body items0 ports items0 swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) ContextValidate

ContextValidate validates this get organization switch ports by switch o k body items0 ports items0 based on context it is used

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) Validate

Validate validates this get organization switch ports by switch o k body items0 ports items0

type GetOrganizationSwitchPortsBySwitchParams

type GetOrganizationSwitchPortsBySwitchParams struct {

	/* ConfigurationUpdatedAfter.

	   Optional parameter to filter results by switches where the configuration has been updated after the given timestamp.
	*/
	ConfigurationUpdatedAfter *string

	/* EndingBefore.

	   A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	EndingBefore *string

	/* Mac.

	   Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match.
	*/
	Mac *string

	/* Macs.

	   Optional parameter to filter switchports by one or more MAC addresses belonging to devices. All switchports returned belong to MAC addresses of switches that are an exact match.
	*/
	Macs []string

	/* Name.

	   Optional parameter to filter switchports belonging to switches by name. All returned switches will have a name that contains the search term or is an exact match.
	*/
	Name *string

	/* NetworkIds.

	   Optional parameter to filter switchports by network.
	*/
	NetworkIds []string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	/* PerPage.

	   The number of entries per page returned. Acceptable range is 3 - 50. Default is 50.
	*/
	PerPage *int64

	/* PortProfileIds.

	   Optional parameter to filter switchports belonging to the specified port profiles.
	*/
	PortProfileIds []string

	/* Serial.

	   Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match.
	*/
	Serial *string

	/* Serials.

	   Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match.
	*/
	Serials []string

	/* StartingAfter.

	   A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
	*/
	StartingAfter *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetOrganizationSwitchPortsBySwitchParams contains all the parameters to send to the API endpoint

for the get organization switch ports by switch operation.

Typically these are written to a http.Request.

func NewGetOrganizationSwitchPortsBySwitchParams

func NewGetOrganizationSwitchPortsBySwitchParams() *GetOrganizationSwitchPortsBySwitchParams

NewGetOrganizationSwitchPortsBySwitchParams creates a new GetOrganizationSwitchPortsBySwitchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetOrganizationSwitchPortsBySwitchParamsWithContext

func NewGetOrganizationSwitchPortsBySwitchParamsWithContext(ctx context.Context) *GetOrganizationSwitchPortsBySwitchParams

NewGetOrganizationSwitchPortsBySwitchParamsWithContext creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a context for a request.

func NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient

func NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient(client *http.Client) *GetOrganizationSwitchPortsBySwitchParams

NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout

func NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout(timeout time.Duration) *GetOrganizationSwitchPortsBySwitchParams

NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a timeout on a request.

func (*GetOrganizationSwitchPortsBySwitchParams) SetConfigurationUpdatedAfter

func (o *GetOrganizationSwitchPortsBySwitchParams) SetConfigurationUpdatedAfter(configurationUpdatedAfter *string)

SetConfigurationUpdatedAfter adds the configurationUpdatedAfter to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetContext

SetContext adds the context to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetDefaults

SetDefaults hydrates default values in the get organization switch ports by switch params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationSwitchPortsBySwitchParams) SetEndingBefore

func (o *GetOrganizationSwitchPortsBySwitchParams) SetEndingBefore(endingBefore *string)

SetEndingBefore adds the endingBefore to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetHTTPClient

func (o *GetOrganizationSwitchPortsBySwitchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetMac

SetMac adds the mac to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetMacs

SetMacs adds the macs to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetName

SetName adds the name to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetNetworkIds

func (o *GetOrganizationSwitchPortsBySwitchParams) SetNetworkIds(networkIds []string)

SetNetworkIds adds the networkIds to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetOrganizationID

func (o *GetOrganizationSwitchPortsBySwitchParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetPerPage

func (o *GetOrganizationSwitchPortsBySwitchParams) SetPerPage(perPage *int64)

SetPerPage adds the perPage to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetPortProfileIds

func (o *GetOrganizationSwitchPortsBySwitchParams) SetPortProfileIds(portProfileIds []string)

SetPortProfileIds adds the portProfileIds to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetSerial

func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerial(serial *string)

SetSerial adds the serial to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetSerials

func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerials(serials []string)

SetSerials adds the serials to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetStartingAfter

func (o *GetOrganizationSwitchPortsBySwitchParams) SetStartingAfter(startingAfter *string)

SetStartingAfter adds the startingAfter to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) SetTimeout

SetTimeout adds the timeout to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithConfigurationUpdatedAfter

func (o *GetOrganizationSwitchPortsBySwitchParams) WithConfigurationUpdatedAfter(configurationUpdatedAfter *string) *GetOrganizationSwitchPortsBySwitchParams

WithConfigurationUpdatedAfter adds the configurationUpdatedAfter to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithContext

WithContext adds the context to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithDefaults

WithDefaults hydrates default values in the get organization switch ports by switch params (not the query body).

All values with no default are reset to their zero value.

func (*GetOrganizationSwitchPortsBySwitchParams) WithEndingBefore

WithEndingBefore adds the endingBefore to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithMac

WithMac adds the mac to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithMacs

WithMacs adds the macs to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithName

WithName adds the name to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithNetworkIds

WithNetworkIds adds the networkIds to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithPerPage

WithPerPage adds the perPage to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithPortProfileIds

WithPortProfileIds adds the portProfileIds to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithSerial

WithSerial adds the serial to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithSerials

WithSerials adds the serials to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WithTimeout

WithTimeout adds the timeout to the get organization switch ports by switch params

func (*GetOrganizationSwitchPortsBySwitchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationSwitchPortsBySwitchReader

type GetOrganizationSwitchPortsBySwitchReader struct {
	// contains filtered or unexported fields
}

GetOrganizationSwitchPortsBySwitchReader is a Reader for the GetOrganizationSwitchPortsBySwitch structure.

func (*GetOrganizationSwitchPortsBySwitchReader) ReadResponse

func (o *GetOrganizationSwitchPortsBySwitchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RemoveNetworkSwitchStackBody

type RemoveNetworkSwitchStackBody struct {

	// The serial of the switch to be removed
	// Required: true
	Serial *string `json:"serial"`
}

RemoveNetworkSwitchStackBody remove network switch stack body // Example: {"serial":"QBZY-XWVU-TSRQ"} swagger:model RemoveNetworkSwitchStackBody

func (*RemoveNetworkSwitchStackBody) ContextValidate

func (o *RemoveNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remove network switch stack body based on context it is used

func (*RemoveNetworkSwitchStackBody) MarshalBinary

func (o *RemoveNetworkSwitchStackBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveNetworkSwitchStackBody) UnmarshalBinary

func (o *RemoveNetworkSwitchStackBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveNetworkSwitchStackBody) Validate

func (o *RemoveNetworkSwitchStackBody) Validate(formats strfmt.Registry) error

Validate validates this remove network switch stack body

type RemoveNetworkSwitchStackOK

type RemoveNetworkSwitchStackOK struct {
	Payload interface{}
}

RemoveNetworkSwitchStackOK describes a response with status code 200, with default header values.

Successful operation

func NewRemoveNetworkSwitchStackOK

func NewRemoveNetworkSwitchStackOK() *RemoveNetworkSwitchStackOK

NewRemoveNetworkSwitchStackOK creates a RemoveNetworkSwitchStackOK with default headers values

func (*RemoveNetworkSwitchStackOK) Code

func (o *RemoveNetworkSwitchStackOK) Code() int

Code gets the status code for the remove network switch stack o k response

func (*RemoveNetworkSwitchStackOK) Error

func (*RemoveNetworkSwitchStackOK) GetPayload

func (o *RemoveNetworkSwitchStackOK) GetPayload() interface{}

func (*RemoveNetworkSwitchStackOK) IsClientError

func (o *RemoveNetworkSwitchStackOK) IsClientError() bool

IsClientError returns true when this remove network switch stack o k response has a 4xx status code

func (*RemoveNetworkSwitchStackOK) IsCode

func (o *RemoveNetworkSwitchStackOK) IsCode(code int) bool

IsCode returns true when this remove network switch stack o k response a status code equal to that given

func (*RemoveNetworkSwitchStackOK) IsRedirect

func (o *RemoveNetworkSwitchStackOK) IsRedirect() bool

IsRedirect returns true when this remove network switch stack o k response has a 3xx status code

func (*RemoveNetworkSwitchStackOK) IsServerError

func (o *RemoveNetworkSwitchStackOK) IsServerError() bool

IsServerError returns true when this remove network switch stack o k response has a 5xx status code

func (*RemoveNetworkSwitchStackOK) IsSuccess

func (o *RemoveNetworkSwitchStackOK) IsSuccess() bool

IsSuccess returns true when this remove network switch stack o k response has a 2xx status code

func (*RemoveNetworkSwitchStackOK) String

func (o *RemoveNetworkSwitchStackOK) String() string

type RemoveNetworkSwitchStackParams

type RemoveNetworkSwitchStackParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// RemoveNetworkSwitchStack.
	RemoveNetworkSwitchStack RemoveNetworkSwitchStackBody

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RemoveNetworkSwitchStackParams contains all the parameters to send to the API endpoint

for the remove network switch stack operation.

Typically these are written to a http.Request.

func NewRemoveNetworkSwitchStackParams

func NewRemoveNetworkSwitchStackParams() *RemoveNetworkSwitchStackParams

NewRemoveNetworkSwitchStackParams creates a new RemoveNetworkSwitchStackParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewRemoveNetworkSwitchStackParamsWithContext

func NewRemoveNetworkSwitchStackParamsWithContext(ctx context.Context) *RemoveNetworkSwitchStackParams

NewRemoveNetworkSwitchStackParamsWithContext creates a new RemoveNetworkSwitchStackParams object with the ability to set a context for a request.

func NewRemoveNetworkSwitchStackParamsWithHTTPClient

func NewRemoveNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams

NewRemoveNetworkSwitchStackParamsWithHTTPClient creates a new RemoveNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.

func NewRemoveNetworkSwitchStackParamsWithTimeout

func NewRemoveNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams

NewRemoveNetworkSwitchStackParamsWithTimeout creates a new RemoveNetworkSwitchStackParams object with the ability to set a timeout on a request.

func (*RemoveNetworkSwitchStackParams) SetContext

func (o *RemoveNetworkSwitchStackParams) SetContext(ctx context.Context)

SetContext adds the context to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetDefaults

func (o *RemoveNetworkSwitchStackParams) SetDefaults()

SetDefaults hydrates default values in the remove network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveNetworkSwitchStackParams) SetHTTPClient

func (o *RemoveNetworkSwitchStackParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetNetworkID

func (o *RemoveNetworkSwitchStackParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack

func (o *RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack(removeNetworkSwitchStack RemoveNetworkSwitchStackBody)

SetRemoveNetworkSwitchStack adds the removeNetworkSwitchStack to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetSwitchStackID

func (o *RemoveNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) SetTimeout

func (o *RemoveNetworkSwitchStackParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithContext

WithContext adds the context to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithDefaults

WithDefaults hydrates default values in the remove network switch stack params (not the query body).

All values with no default are reset to their zero value.

func (*RemoveNetworkSwitchStackParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithNetworkID

WithNetworkID adds the networkID to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithRemoveNetworkSwitchStack

func (o *RemoveNetworkSwitchStackParams) WithRemoveNetworkSwitchStack(removeNetworkSwitchStack RemoveNetworkSwitchStackBody) *RemoveNetworkSwitchStackParams

WithRemoveNetworkSwitchStack adds the removeNetworkSwitchStack to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithSwitchStackID

func (o *RemoveNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *RemoveNetworkSwitchStackParams

WithSwitchStackID adds the switchStackID to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WithTimeout

WithTimeout adds the timeout to the remove network switch stack params

func (*RemoveNetworkSwitchStackParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RemoveNetworkSwitchStackReader

type RemoveNetworkSwitchStackReader struct {
	// contains filtered or unexported fields
}

RemoveNetworkSwitchStackReader is a Reader for the RemoveNetworkSwitchStack structure.

func (*RemoveNetworkSwitchStackReader) ReadResponse

func (o *RemoveNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceSwitchPortBody

type UpdateDeviceSwitchPortBody struct {

	// The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile.
	AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"`

	// The VLANs allowed on the switch port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch port.
	Name string `json:"name,omitempty"`

	// If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile.
	PeerSgtCapable bool `json:"peerSgtCapable,omitempty"`

	// The PoE status of the switch port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *UpdateDeviceSwitchPortParamsBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch port.
	Tags []string `json:"tags"`

	// The type of the switch port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

UpdateDeviceSwitchPortBody update device switch port body // Example: {"accessPolicyNumber":2,"accessPolicyType":"Sticky MAC allow list","adaptivePolicyGroupId":"123","allowedVlans":"1,3,5-10","daiTrusted":false,"enabled":true,"flexibleStackingEnabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","macAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"name":"My switch port","peerSgtCapable":false,"poeEnabled":true,"portScheduleId":"1234","profile":{"enabled":false,"id":"1284392014819","iname":"iname"},"rstpEnabled":true,"stickyMacAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"stickyMacAllowListLimit":5,"stormControlEnabled":true,"stpGuard":"disabled","tags":["tag1","tag2"],"type":"access","udld":"Alert only","vlan":10,"voiceVlan":20} swagger:model UpdateDeviceSwitchPortBody

func (*UpdateDeviceSwitchPortBody) ContextValidate

func (o *UpdateDeviceSwitchPortBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update device switch port body based on the context it is used

func (*UpdateDeviceSwitchPortBody) MarshalBinary

func (o *UpdateDeviceSwitchPortBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchPortBody) UnmarshalBinary

func (o *UpdateDeviceSwitchPortBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchPortBody) Validate

func (o *UpdateDeviceSwitchPortBody) Validate(formats strfmt.Registry) error

Validate validates this update device switch port body

type UpdateDeviceSwitchPortOK

type UpdateDeviceSwitchPortOK struct {
	Payload *UpdateDeviceSwitchPortOKBody
}

UpdateDeviceSwitchPortOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceSwitchPortOK

func NewUpdateDeviceSwitchPortOK() *UpdateDeviceSwitchPortOK

NewUpdateDeviceSwitchPortOK creates a UpdateDeviceSwitchPortOK with default headers values

func (*UpdateDeviceSwitchPortOK) Code

func (o *UpdateDeviceSwitchPortOK) Code() int

Code gets the status code for the update device switch port o k response

func (*UpdateDeviceSwitchPortOK) Error

func (o *UpdateDeviceSwitchPortOK) Error() string

func (*UpdateDeviceSwitchPortOK) GetPayload

func (*UpdateDeviceSwitchPortOK) IsClientError

func (o *UpdateDeviceSwitchPortOK) IsClientError() bool

IsClientError returns true when this update device switch port o k response has a 4xx status code

func (*UpdateDeviceSwitchPortOK) IsCode

func (o *UpdateDeviceSwitchPortOK) IsCode(code int) bool

IsCode returns true when this update device switch port o k response a status code equal to that given

func (*UpdateDeviceSwitchPortOK) IsRedirect

func (o *UpdateDeviceSwitchPortOK) IsRedirect() bool

IsRedirect returns true when this update device switch port o k response has a 3xx status code

func (*UpdateDeviceSwitchPortOK) IsServerError

func (o *UpdateDeviceSwitchPortOK) IsServerError() bool

IsServerError returns true when this update device switch port o k response has a 5xx status code

func (*UpdateDeviceSwitchPortOK) IsSuccess

func (o *UpdateDeviceSwitchPortOK) IsSuccess() bool

IsSuccess returns true when this update device switch port o k response has a 2xx status code

func (*UpdateDeviceSwitchPortOK) String

func (o *UpdateDeviceSwitchPortOK) String() string

type UpdateDeviceSwitchPortOKBody

type UpdateDeviceSwitchPortOKBody struct {

	// The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile.
	AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"`

	// The VLANs allowed on the switch port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch port.
	Name string `json:"name,omitempty"`

	// If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile.
	PeerSgtCapable bool `json:"peerSgtCapable,omitempty"`

	// The PoE status of the switch port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *UpdateDeviceSwitchPortOKBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch port.
	Tags []string `json:"tags"`

	// The type of the switch port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

UpdateDeviceSwitchPortOKBody update device switch port o k body swagger:model UpdateDeviceSwitchPortOKBody

func (*UpdateDeviceSwitchPortOKBody) ContextValidate

func (o *UpdateDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update device switch port o k body based on the context it is used

func (*UpdateDeviceSwitchPortOKBody) MarshalBinary

func (o *UpdateDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchPortOKBody) UnmarshalBinary

func (o *UpdateDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchPortOKBody) Validate

func (o *UpdateDeviceSwitchPortOKBody) Validate(formats strfmt.Registry) error

Validate validates this update device switch port o k body

type UpdateDeviceSwitchPortOKBodyProfile

type UpdateDeviceSwitchPortOKBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

UpdateDeviceSwitchPortOKBodyProfile Profile attributes swagger:model UpdateDeviceSwitchPortOKBodyProfile

func (*UpdateDeviceSwitchPortOKBodyProfile) ContextValidate

func (o *UpdateDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update device switch port o k body profile based on context it is used

func (*UpdateDeviceSwitchPortOKBodyProfile) MarshalBinary

func (o *UpdateDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchPortOKBodyProfile) UnmarshalBinary

func (o *UpdateDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchPortOKBodyProfile) Validate

Validate validates this update device switch port o k body profile

type UpdateDeviceSwitchPortParams

type UpdateDeviceSwitchPortParams struct {

	/* PortID.

	   Port ID
	*/
	PortID string

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceSwitchPort.
	UpdateDeviceSwitchPort UpdateDeviceSwitchPortBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceSwitchPortParams contains all the parameters to send to the API endpoint

for the update device switch port operation.

Typically these are written to a http.Request.

func NewUpdateDeviceSwitchPortParams

func NewUpdateDeviceSwitchPortParams() *UpdateDeviceSwitchPortParams

NewUpdateDeviceSwitchPortParams creates a new UpdateDeviceSwitchPortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceSwitchPortParamsWithContext

func NewUpdateDeviceSwitchPortParamsWithContext(ctx context.Context) *UpdateDeviceSwitchPortParams

NewUpdateDeviceSwitchPortParamsWithContext creates a new UpdateDeviceSwitchPortParams object with the ability to set a context for a request.

func NewUpdateDeviceSwitchPortParamsWithHTTPClient

func NewUpdateDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchPortParams

NewUpdateDeviceSwitchPortParamsWithHTTPClient creates a new UpdateDeviceSwitchPortParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceSwitchPortParamsWithTimeout

func NewUpdateDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchPortParams

NewUpdateDeviceSwitchPortParamsWithTimeout creates a new UpdateDeviceSwitchPortParams object with the ability to set a timeout on a request.

func (*UpdateDeviceSwitchPortParams) SetContext

func (o *UpdateDeviceSwitchPortParams) SetContext(ctx context.Context)

SetContext adds the context to the update device switch port params

func (*UpdateDeviceSwitchPortParams) SetDefaults

func (o *UpdateDeviceSwitchPortParams) SetDefaults()

SetDefaults hydrates default values in the update device switch port params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchPortParams) SetHTTPClient

func (o *UpdateDeviceSwitchPortParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device switch port params

func (*UpdateDeviceSwitchPortParams) SetPortID

func (o *UpdateDeviceSwitchPortParams) SetPortID(portID string)

SetPortID adds the portId to the update device switch port params

func (*UpdateDeviceSwitchPortParams) SetSerial

func (o *UpdateDeviceSwitchPortParams) SetSerial(serial string)

SetSerial adds the serial to the update device switch port params

func (*UpdateDeviceSwitchPortParams) SetTimeout

func (o *UpdateDeviceSwitchPortParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device switch port params

func (*UpdateDeviceSwitchPortParams) SetUpdateDeviceSwitchPort

func (o *UpdateDeviceSwitchPortParams) SetUpdateDeviceSwitchPort(updateDeviceSwitchPort UpdateDeviceSwitchPortBody)

SetUpdateDeviceSwitchPort adds the updateDeviceSwitchPort to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithContext

WithContext adds the context to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithDefaults

WithDefaults hydrates default values in the update device switch port params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchPortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithPortID

WithPortID adds the portID to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithSerial

WithSerial adds the serial to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithTimeout

WithTimeout adds the timeout to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WithUpdateDeviceSwitchPort

func (o *UpdateDeviceSwitchPortParams) WithUpdateDeviceSwitchPort(updateDeviceSwitchPort UpdateDeviceSwitchPortBody) *UpdateDeviceSwitchPortParams

WithUpdateDeviceSwitchPort adds the updateDeviceSwitchPort to the update device switch port params

func (*UpdateDeviceSwitchPortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceSwitchPortParamsBodyProfile

type UpdateDeviceSwitchPortParamsBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

UpdateDeviceSwitchPortParamsBodyProfile Profile attributes swagger:model UpdateDeviceSwitchPortParamsBodyProfile

func (*UpdateDeviceSwitchPortParamsBodyProfile) ContextValidate

ContextValidate validates this update device switch port params body profile based on context it is used

func (*UpdateDeviceSwitchPortParamsBodyProfile) MarshalBinary

func (o *UpdateDeviceSwitchPortParamsBodyProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchPortParamsBodyProfile) UnmarshalBinary

func (o *UpdateDeviceSwitchPortParamsBodyProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchPortParamsBodyProfile) Validate

Validate validates this update device switch port params body profile

type UpdateDeviceSwitchPortReader

type UpdateDeviceSwitchPortReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceSwitchPortReader is a Reader for the UpdateDeviceSwitchPort structure.

func (*UpdateDeviceSwitchPortReader) ReadResponse

func (o *UpdateDeviceSwitchPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceSwitchRoutingInterfaceBody

type UpdateDeviceSwitchRoutingInterfaceBody struct {

	// The next hop for any traffic that isn't going to a directly connected subnet or over a static route.         This IP address must exist in a subnet with a routed interface. Required if this is the first IPv4 interface.
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The IP address this switch will use for layer 3 routing on this VLAN or subnet. This cannot be the same         as the switch's management IP.
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"`

	// Enable multicast support if, multicast routing between VLANs is required. Options are:         'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'.
	// Enum: [IGMP snooping querier disabled enabled]
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// A friendly name or description for the interface or VLAN.
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 `json:"ospfV3,omitempty"`

	// The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24).
	Subnet string `json:"subnet,omitempty"`

	// The VLAN this routed interface is on. VLAN must be between 1 and 4094.
	VlanID int64 `json:"vlanId,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceBody update device switch routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model UpdateDeviceSwitchRoutingInterfaceBody

func (*UpdateDeviceSwitchRoutingInterfaceBody) ContextValidate

ContextValidate validate this update device switch routing interface body based on the context it is used

func (*UpdateDeviceSwitchRoutingInterfaceBody) MarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceBody) Validate

Validate validates this update device switch routing interface body

type UpdateDeviceSwitchRoutingInterfaceDhcpBody

type UpdateDeviceSwitchRoutingInterfaceDhcpBody struct {

	// The PXE boot server filename for the DHCP server running on the switch interface
	BootFileName string `json:"bootFileName,omitempty"`

	// The PXE boot server IP for the DHCP server running on the switch interface
	BootNextServer string `json:"bootNextServer,omitempty"`

	// Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch
	//         interface
	BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"`

	// The DHCP lease time config for the dhcp server running on switch interface
	//         ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
	// Enum: [1 day 1 hour 1 week 12 hours 30 minutes 4 hours]
	DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"`

	// The DHCP mode options for the switch interface
	//        ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
	// Enum: [dhcpDisabled dhcpRelay dhcpServer]
	DhcpMode string `json:"dhcpMode,omitempty"`

	// Array of DHCP options consisting of code, type and value for the DHCP server running on the switch interface
	DhcpOptions []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 `json:"dhcpOptions"`

	// The DHCP relay server IPs to which DHCP packets would get relayed for the switch interface
	DhcpRelayServerIps []string `json:"dhcpRelayServerIps"`

	// The DHCP name server IPs when DHCP name server option is
	//         'custom'
	DNSCustomNameservers []string `json:"dnsCustomNameservers"`

	// The DHCP name server option for the dhcp server running on the switch interface
	//         ('googlePublicDns', 'openDns' or 'custom')
	// Enum: [custom googlePublicDns openDns]
	DNSNameserversOption string `json:"dnsNameserversOption,omitempty"`

	// Array of DHCP fixed IP assignments for the DHCP server running on the switch interface
	FixedIPAssignments []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"`

	// Array of DHCP reserved IP assignments for the DHCP server running on the switch interface
	ReservedIPRanges []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 `json:"reservedIpRanges"`
}

UpdateDeviceSwitchRoutingInterfaceDhcpBody update device switch routing interface dhcp body // Example: {"bootFileName":"home_boot_file","bootNextServer":"1.2.3.4","bootOptionsEnabled":true,"dhcpLeaseTime":"1 day","dhcpMode":"dhcpServer","dhcpOptions":[{"code":"5","type":"text","value":"five"}],"dnsCustomNameservers":["8.8.8.8, 8.8.4.4"],"dnsNameserversOption":"custom","fixedIpAssignments":[{"ip":"192.168.1.12","mac":"22:33:44:55:66:77","name":"Cisco Meraki valued client"}],"reservedIpRanges":[{"comment":"A reserved IP range","end":"192.168.1.10","start":"192.168.1.1"}]} swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpBody

func (*UpdateDeviceSwitchRoutingInterfaceDhcpBody) ContextValidate

ContextValidate validate this update device switch routing interface dhcp body based on the context it is used

func (*UpdateDeviceSwitchRoutingInterfaceDhcpBody) MarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpBody) UnmarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpBody) Validate

Validate validates this update device switch routing interface dhcp body

type UpdateDeviceSwitchRoutingInterfaceDhcpOK

type UpdateDeviceSwitchRoutingInterfaceDhcpOK struct {
	Payload interface{}
}

UpdateDeviceSwitchRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceSwitchRoutingInterfaceDhcpOK

func NewUpdateDeviceSwitchRoutingInterfaceDhcpOK() *UpdateDeviceSwitchRoutingInterfaceDhcpOK

NewUpdateDeviceSwitchRoutingInterfaceDhcpOK creates a UpdateDeviceSwitchRoutingInterfaceDhcpOK with default headers values

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) Code

Code gets the status code for the update device switch routing interface dhcp o k response

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) Error

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsClientError

IsClientError returns true when this update device switch routing interface dhcp o k response has a 4xx status code

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsCode

IsCode returns true when this update device switch routing interface dhcp o k response a status code equal to that given

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect

IsRedirect returns true when this update device switch routing interface dhcp o k response has a 3xx status code

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsServerError

IsServerError returns true when this update device switch routing interface dhcp o k response has a 5xx status code

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess

IsSuccess returns true when this update device switch routing interface dhcp o k response has a 2xx status code

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) String

type UpdateDeviceSwitchRoutingInterfaceDhcpParams

type UpdateDeviceSwitchRoutingInterfaceDhcpParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceSwitchRoutingInterfaceDhcp.
	UpdateDeviceSwitchRoutingInterfaceDhcp UpdateDeviceSwitchRoutingInterfaceDhcpBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint

for the update device switch routing interface dhcp operation.

Typically these are written to a http.Request.

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParams

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParams() *UpdateDeviceSwitchRoutingInterfaceDhcpParams

NewUpdateDeviceSwitchRoutingInterfaceDhcpParams creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceDhcpParams

NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a context for a request.

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceDhcpParams

NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout

func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceDhcpParams

NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetContext

SetContext adds the context to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults

SetDefaults hydrates default values in the update device switch routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetSerial

SetSerial adds the serial to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout

SetTimeout adds the timeout to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetUpdateDeviceSwitchRoutingInterfaceDhcp

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetUpdateDeviceSwitchRoutingInterfaceDhcp(updateDeviceSwitchRoutingInterfaceDhcp UpdateDeviceSwitchRoutingInterfaceDhcpBody)

SetUpdateDeviceSwitchRoutingInterfaceDhcp adds the updateDeviceSwitchRoutingInterfaceDhcp to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithContext

WithContext adds the context to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults

WithDefaults hydrates default values in the update device switch routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithSerial

WithSerial adds the serial to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout

WithTimeout adds the timeout to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithUpdateDeviceSwitchRoutingInterfaceDhcp

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithUpdateDeviceSwitchRoutingInterfaceDhcp(updateDeviceSwitchRoutingInterfaceDhcp UpdateDeviceSwitchRoutingInterfaceDhcpBody) *UpdateDeviceSwitchRoutingInterfaceDhcpParams

WithUpdateDeviceSwitchRoutingInterfaceDhcp adds the updateDeviceSwitchRoutingInterfaceDhcp to the update device switch routing interface dhcp params

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 struct {

	// The code for DHCP option which should be from 2 to 254
	// Required: true
	Code *string `json:"code"`

	// The type of the DHCP option which should be one of
	//           ('text', 'ip', 'integer' or 'hex')
	// Required: true
	// Enum: [hex integer ip text]
	Type *string `json:"type"`

	// The value of the DHCP option
	// Required: true
	Value *string `json:"value"`
}

UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 update device switch routing interface dhcp params body dhcp options items0 swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate

ContextValidate validates this update device switch routing interface dhcp params body dhcp options items0 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate

Validate validates this update device switch routing interface dhcp params body dhcp options items0

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 struct {

	// The IP address of the client which has fixed IP address assigned to it
	// Required: true
	IP *string `json:"ip"`

	// The MAC address of the client which has fixed IP address
	// Required: true
	Mac *string `json:"mac"`

	// The name of the client which has fixed IP address
	// Required: true
	Name *string `json:"name"`
}

UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 update device switch routing interface dhcp params body fixed IP assignments items0 swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate

ContextValidate validates this update device switch routing interface dhcp params body fixed IP assignments items0 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate

Validate validates this update device switch routing interface dhcp params body fixed IP assignments items0

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0

type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 struct {

	// The comment for the reserved IP range
	Comment string `json:"comment,omitempty"`

	// The ending IP address of the reserved IP range
	// Required: true
	End *string `json:"end"`

	// The starting IP address of the reserved IP range
	// Required: true
	Start *string `json:"start"`
}

UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 update device switch routing interface dhcp params body reserved IP ranges items0 swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate

ContextValidate validates this update device switch routing interface dhcp params body reserved IP ranges items0 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate

Validate validates this update device switch routing interface dhcp params body reserved IP ranges items0

type UpdateDeviceSwitchRoutingInterfaceDhcpReader

type UpdateDeviceSwitchRoutingInterfaceDhcpReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingInterfaceDhcpReader is a Reader for the UpdateDeviceSwitchRoutingInterfaceDhcp structure.

func (*UpdateDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse

func (o *UpdateDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceSwitchRoutingInterfaceOK

type UpdateDeviceSwitchRoutingInterfaceOK struct {
	Payload *UpdateDeviceSwitchRoutingInterfaceOKBody
}

UpdateDeviceSwitchRoutingInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceSwitchRoutingInterfaceOK

func NewUpdateDeviceSwitchRoutingInterfaceOK() *UpdateDeviceSwitchRoutingInterfaceOK

NewUpdateDeviceSwitchRoutingInterfaceOK creates a UpdateDeviceSwitchRoutingInterfaceOK with default headers values

func (*UpdateDeviceSwitchRoutingInterfaceOK) Code

Code gets the status code for the update device switch routing interface o k response

func (*UpdateDeviceSwitchRoutingInterfaceOK) Error

func (*UpdateDeviceSwitchRoutingInterfaceOK) GetPayload

func (*UpdateDeviceSwitchRoutingInterfaceOK) IsClientError

func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsClientError() bool

IsClientError returns true when this update device switch routing interface o k response has a 4xx status code

func (*UpdateDeviceSwitchRoutingInterfaceOK) IsCode

IsCode returns true when this update device switch routing interface o k response a status code equal to that given

func (*UpdateDeviceSwitchRoutingInterfaceOK) IsRedirect

IsRedirect returns true when this update device switch routing interface o k response has a 3xx status code

func (*UpdateDeviceSwitchRoutingInterfaceOK) IsServerError

func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsServerError() bool

IsServerError returns true when this update device switch routing interface o k response has a 5xx status code

func (*UpdateDeviceSwitchRoutingInterfaceOK) IsSuccess

IsSuccess returns true when this update device switch routing interface o k response has a 2xx status code

func (*UpdateDeviceSwitchRoutingInterfaceOK) String

type UpdateDeviceSwitchRoutingInterfaceOKBody

type UpdateDeviceSwitchRoutingInterfaceOKBody struct {

	// IPv4 default gateway
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The id
	InterfaceID string `json:"interfaceId,omitempty"`

	// IPv4 address
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 `json:"ipv6,omitempty"`

	// Multicast routing status
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// The name
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings `json:"ospfSettings,omitempty"`

	// ospf v3
	OspfV3 *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 `json:"ospfV3,omitempty"`

	// IPv4 subnet
	Subnet string `json:"subnet,omitempty"`

	// VLAN id
	VlanID int64 `json:"vlanId,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceOKBody update device switch routing interface o k body swagger:model UpdateDeviceSwitchRoutingInterfaceOKBody

func (*UpdateDeviceSwitchRoutingInterfaceOKBody) ContextValidate

ContextValidate validate this update device switch routing interface o k body based on the context it is used

func (*UpdateDeviceSwitchRoutingInterfaceOKBody) MarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary

func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBody) Validate

Validate validates this update device switch routing interface o k body

type UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6

type UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 struct {

	// IPv6 address
	Address string `json:"address,omitempty"`

	// Assignment mode
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// IPv6 gateway
	Gateway string `json:"gateway,omitempty"`

	// IPv6 subnet
	Prefix string `json:"prefix,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 IPv6 addressing swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate

ContextValidate validates this update device switch routing interface o k body IP v6 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) Validate

Validate validates this update device switch routing interface o k body IP v6

type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings

type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv4 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings IPv4 OSPF Settings swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate

ContextValidate validates this update device switch routing interface o k body ospf settings based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) Validate

Validate validates this update device switch routing interface o k body ospf settings

type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3

type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 struct {

	// Area id
	Area string `json:"area,omitempty"`

	// OSPF Cost
	Cost int64 `json:"cost,omitempty"`

	// Disable sending Hello packets on this interface's IPv6 area
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 IPv6 OSPF Settings swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate

ContextValidate validates this update device switch routing interface o k body ospf v3 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) Validate

Validate validates this update device switch routing interface o k body ospf v3

type UpdateDeviceSwitchRoutingInterfaceParams

type UpdateDeviceSwitchRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceSwitchRoutingInterface.
	UpdateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the update device switch routing interface operation.

Typically these are written to a http.Request.

func NewUpdateDeviceSwitchRoutingInterfaceParams

func NewUpdateDeviceSwitchRoutingInterfaceParams() *UpdateDeviceSwitchRoutingInterfaceParams

NewUpdateDeviceSwitchRoutingInterfaceParams creates a new UpdateDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceParams

NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceParams

NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout

func NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceParams

NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetContext

SetContext adds the context to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the update device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetHTTPClient

func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetInterfaceID

func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetSerial

func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)

SetSerial adds the serial to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) SetUpdateDeviceSwitchRoutingInterface

func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetUpdateDeviceSwitchRoutingInterface(updateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody)

SetUpdateDeviceSwitchRoutingInterface adds the updateDeviceSwitchRoutingInterface to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithContext

WithContext adds the context to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the update device switch routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithSerial

WithSerial adds the serial to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WithUpdateDeviceSwitchRoutingInterface

func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithUpdateDeviceSwitchRoutingInterface(updateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody) *UpdateDeviceSwitchRoutingInterfaceParams

WithUpdateDeviceSwitchRoutingInterface adds the updateDeviceSwitchRoutingInterface to the update device switch routing interface params

func (*UpdateDeviceSwitchRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6

type UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 struct {

	// The IPv6 address of the interface. Required if assignmentMode is 'static'. Must not be included if           assignmentMode is 'eui-64'.
	Address string `json:"address,omitempty"`

	// The IPv6 assignment mode for the interface. Can be either 'eui-64' or 'static'.
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// The IPv6 default gateway of the interface. Required if prefix is defined and this is the first           interface with IPv6 configured for the switch.
	Gateway string `json:"gateway,omitempty"`

	// The IPv6 prefix of the interface. Required if IPv6 object is included.
	Prefix string `json:"prefix,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 The IPv6 settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate

ContextValidate validates this update device switch routing interface params body IP v6 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) Validate

Validate validates this update device switch routing interface params body IP v6

type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings

type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings struct {

	// The OSPF area to which this interface should belong. Can be either 'disabled' or the identifier of an           existing OSPF area. Defaults to 'disabled'.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535           to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPF will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings The OSPF routing settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate

ContextValidate validates this update device switch routing interface params body ospf settings based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) Validate

Validate validates this update device switch routing interface params body ospf settings

type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3

type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 struct {

	// The OSPFv3 area to which this interface should belong. Can be either 'disabled' or the identifier of an           existing OSPFv3 area. Defaults to 'disabled'.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535           to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPFv3 will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 The OSPFv3 routing settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate

ContextValidate validates this update device switch routing interface params body ospf v3 based on context it is used

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) Validate

Validate validates this update device switch routing interface params body ospf v3

type UpdateDeviceSwitchRoutingInterfaceReader

type UpdateDeviceSwitchRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingInterfaceReader is a Reader for the UpdateDeviceSwitchRoutingInterface structure.

func (*UpdateDeviceSwitchRoutingInterfaceReader) ReadResponse

func (o *UpdateDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceSwitchRoutingStaticRouteBody

type UpdateDeviceSwitchRoutingStaticRouteBody struct {

	// Option to advertise static route via OSPF
	AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"`

	// Name or description for layer 3 static route
	Name string `json:"name,omitempty"`

	// IP address of the next hop device to which the device sends its traffic for the subnet
	NextHopIP string `json:"nextHopIp,omitempty"`

	// Option to prefer static route over OSPF routes
	PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"`

	// The subnet which is routed via this static route and should be specified in CIDR notation (ex. 1.2.3.0/24)
	Subnet string `json:"subnet,omitempty"`
}

UpdateDeviceSwitchRoutingStaticRouteBody update device switch routing static route body // Example: {"advertiseViaOspfEnabled":false,"name":"My route","nextHopIp":"1.2.3.4","preferOverOspfRoutesEnabled":false,"subnet":"192.168.1.0/24"} swagger:model UpdateDeviceSwitchRoutingStaticRouteBody

func (*UpdateDeviceSwitchRoutingStaticRouteBody) ContextValidate

ContextValidate validates this update device switch routing static route body based on context it is used

func (*UpdateDeviceSwitchRoutingStaticRouteBody) MarshalBinary

func (o *UpdateDeviceSwitchRoutingStaticRouteBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary

func (o *UpdateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchRoutingStaticRouteBody) Validate

Validate validates this update device switch routing static route body

type UpdateDeviceSwitchRoutingStaticRouteOK

type UpdateDeviceSwitchRoutingStaticRouteOK struct {
	Payload interface{}
}

UpdateDeviceSwitchRoutingStaticRouteOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceSwitchRoutingStaticRouteOK

func NewUpdateDeviceSwitchRoutingStaticRouteOK() *UpdateDeviceSwitchRoutingStaticRouteOK

NewUpdateDeviceSwitchRoutingStaticRouteOK creates a UpdateDeviceSwitchRoutingStaticRouteOK with default headers values

func (*UpdateDeviceSwitchRoutingStaticRouteOK) Code

Code gets the status code for the update device switch routing static route o k response

func (*UpdateDeviceSwitchRoutingStaticRouteOK) Error

func (*UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload

func (o *UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload() interface{}

func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsClientError

func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsClientError() bool

IsClientError returns true when this update device switch routing static route o k response has a 4xx status code

func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsCode

IsCode returns true when this update device switch routing static route o k response a status code equal to that given

func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsRedirect

IsRedirect returns true when this update device switch routing static route o k response has a 3xx status code

func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsServerError

func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsServerError() bool

IsServerError returns true when this update device switch routing static route o k response has a 5xx status code

func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsSuccess

IsSuccess returns true when this update device switch routing static route o k response has a 2xx status code

func (*UpdateDeviceSwitchRoutingStaticRouteOK) String

type UpdateDeviceSwitchRoutingStaticRouteParams

type UpdateDeviceSwitchRoutingStaticRouteParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	// UpdateDeviceSwitchRoutingStaticRoute.
	UpdateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the update device switch routing static route operation.

Typically these are written to a http.Request.

func NewUpdateDeviceSwitchRoutingStaticRouteParams

func NewUpdateDeviceSwitchRoutingStaticRouteParams() *UpdateDeviceSwitchRoutingStaticRouteParams

NewUpdateDeviceSwitchRoutingStaticRouteParams creates a new UpdateDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingStaticRouteParams

NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingStaticRouteParams

NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout

func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingStaticRouteParams

NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetContext

SetContext adds the context to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the update device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient

func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetSerial

SetSerial adds the serial to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID

func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetUpdateDeviceSwitchRoutingStaticRoute

func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetUpdateDeviceSwitchRoutingStaticRoute(updateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody)

SetUpdateDeviceSwitchRoutingStaticRoute adds the updateDeviceSwitchRoutingStaticRoute to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithContext

WithContext adds the context to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the update device switch routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithSerial

WithSerial adds the serial to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithUpdateDeviceSwitchRoutingStaticRoute

func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithUpdateDeviceSwitchRoutingStaticRoute(updateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody) *UpdateDeviceSwitchRoutingStaticRouteParams

WithUpdateDeviceSwitchRoutingStaticRoute adds the updateDeviceSwitchRoutingStaticRoute to the update device switch routing static route params

func (*UpdateDeviceSwitchRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceSwitchRoutingStaticRouteReader

type UpdateDeviceSwitchRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceSwitchRoutingStaticRouteReader is a Reader for the UpdateDeviceSwitchRoutingStaticRoute structure.

func (*UpdateDeviceSwitchRoutingStaticRouteReader) ReadResponse

func (o *UpdateDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeviceSwitchWarmSpareBody

type UpdateDeviceSwitchWarmSpareBody struct {

	// Enable or disable warm spare for a switch
	// Required: true
	Enabled *bool `json:"enabled"`

	// Serial number of the warm spare switch
	SpareSerial string `json:"spareSerial,omitempty"`
}

UpdateDeviceSwitchWarmSpareBody update device switch warm spare body // Example: {"enabled":true,"spareSerial":"Q234-ABCD-0002"} swagger:model UpdateDeviceSwitchWarmSpareBody

func (*UpdateDeviceSwitchWarmSpareBody) ContextValidate

func (o *UpdateDeviceSwitchWarmSpareBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update device switch warm spare body based on context it is used

func (*UpdateDeviceSwitchWarmSpareBody) MarshalBinary

func (o *UpdateDeviceSwitchWarmSpareBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateDeviceSwitchWarmSpareBody) UnmarshalBinary

func (o *UpdateDeviceSwitchWarmSpareBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateDeviceSwitchWarmSpareBody) Validate

Validate validates this update device switch warm spare body

type UpdateDeviceSwitchWarmSpareOK

type UpdateDeviceSwitchWarmSpareOK struct {
	Payload interface{}
}

UpdateDeviceSwitchWarmSpareOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateDeviceSwitchWarmSpareOK

func NewUpdateDeviceSwitchWarmSpareOK() *UpdateDeviceSwitchWarmSpareOK

NewUpdateDeviceSwitchWarmSpareOK creates a UpdateDeviceSwitchWarmSpareOK with default headers values

func (*UpdateDeviceSwitchWarmSpareOK) Code

Code gets the status code for the update device switch warm spare o k response

func (*UpdateDeviceSwitchWarmSpareOK) Error

func (*UpdateDeviceSwitchWarmSpareOK) GetPayload

func (o *UpdateDeviceSwitchWarmSpareOK) GetPayload() interface{}

func (*UpdateDeviceSwitchWarmSpareOK) IsClientError

func (o *UpdateDeviceSwitchWarmSpareOK) IsClientError() bool

IsClientError returns true when this update device switch warm spare o k response has a 4xx status code

func (*UpdateDeviceSwitchWarmSpareOK) IsCode

func (o *UpdateDeviceSwitchWarmSpareOK) IsCode(code int) bool

IsCode returns true when this update device switch warm spare o k response a status code equal to that given

func (*UpdateDeviceSwitchWarmSpareOK) IsRedirect

func (o *UpdateDeviceSwitchWarmSpareOK) IsRedirect() bool

IsRedirect returns true when this update device switch warm spare o k response has a 3xx status code

func (*UpdateDeviceSwitchWarmSpareOK) IsServerError

func (o *UpdateDeviceSwitchWarmSpareOK) IsServerError() bool

IsServerError returns true when this update device switch warm spare o k response has a 5xx status code

func (*UpdateDeviceSwitchWarmSpareOK) IsSuccess

func (o *UpdateDeviceSwitchWarmSpareOK) IsSuccess() bool

IsSuccess returns true when this update device switch warm spare o k response has a 2xx status code

func (*UpdateDeviceSwitchWarmSpareOK) String

type UpdateDeviceSwitchWarmSpareParams

type UpdateDeviceSwitchWarmSpareParams struct {

	/* Serial.

	   Serial
	*/
	Serial string

	// UpdateDeviceSwitchWarmSpare.
	UpdateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeviceSwitchWarmSpareParams contains all the parameters to send to the API endpoint

for the update device switch warm spare operation.

Typically these are written to a http.Request.

func NewUpdateDeviceSwitchWarmSpareParams

func NewUpdateDeviceSwitchWarmSpareParams() *UpdateDeviceSwitchWarmSpareParams

NewUpdateDeviceSwitchWarmSpareParams creates a new UpdateDeviceSwitchWarmSpareParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDeviceSwitchWarmSpareParamsWithContext

func NewUpdateDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *UpdateDeviceSwitchWarmSpareParams

NewUpdateDeviceSwitchWarmSpareParamsWithContext creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a context for a request.

func NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient

func NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchWarmSpareParams

NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDeviceSwitchWarmSpareParamsWithTimeout

func NewUpdateDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchWarmSpareParams

NewUpdateDeviceSwitchWarmSpareParamsWithTimeout creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a timeout on a request.

func (*UpdateDeviceSwitchWarmSpareParams) SetContext

SetContext adds the context to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) SetDefaults

func (o *UpdateDeviceSwitchWarmSpareParams) SetDefaults()

SetDefaults hydrates default values in the update device switch warm spare params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchWarmSpareParams) SetHTTPClient

func (o *UpdateDeviceSwitchWarmSpareParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) SetSerial

func (o *UpdateDeviceSwitchWarmSpareParams) SetSerial(serial string)

SetSerial adds the serial to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) SetTimeout

func (o *UpdateDeviceSwitchWarmSpareParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) SetUpdateDeviceSwitchWarmSpare

func (o *UpdateDeviceSwitchWarmSpareParams) SetUpdateDeviceSwitchWarmSpare(updateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody)

SetUpdateDeviceSwitchWarmSpare adds the updateDeviceSwitchWarmSpare to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WithContext

WithContext adds the context to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WithDefaults

WithDefaults hydrates default values in the update device switch warm spare params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDeviceSwitchWarmSpareParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WithSerial

WithSerial adds the serial to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WithTimeout

WithTimeout adds the timeout to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WithUpdateDeviceSwitchWarmSpare

func (o *UpdateDeviceSwitchWarmSpareParams) WithUpdateDeviceSwitchWarmSpare(updateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody) *UpdateDeviceSwitchWarmSpareParams

WithUpdateDeviceSwitchWarmSpare adds the updateDeviceSwitchWarmSpare to the update device switch warm spare params

func (*UpdateDeviceSwitchWarmSpareParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeviceSwitchWarmSpareReader

type UpdateDeviceSwitchWarmSpareReader struct {
	// contains filtered or unexported fields
}

UpdateDeviceSwitchWarmSpareReader is a Reader for the UpdateDeviceSwitchWarmSpare structure.

func (*UpdateDeviceSwitchWarmSpareReader) ReadResponse

func (o *UpdateDeviceSwitchWarmSpareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchAccessControlListsBody

type UpdateNetworkSwitchAccessControlListsBody struct {

	// An ordered array of the access control list rules (not including the default rule). An empty array will clear the rules.
	// Required: true
	Rules []*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 `json:"rules"`
}

UpdateNetworkSwitchAccessControlListsBody update network switch access control lists body // Example: {"rules":[{"comment":"Deny SSH","dstCidr":"172.16.30/24","dstPort":"22","ipVersion":"ipv4","policy":"deny","protocol":"tcp","srcCidr":"10.1.10.0/24","srcPort":"any","vlan":"10"}]} swagger:model UpdateNetworkSwitchAccessControlListsBody

func (*UpdateNetworkSwitchAccessControlListsBody) ContextValidate

ContextValidate validate this update network switch access control lists body based on the context it is used

func (*UpdateNetworkSwitchAccessControlListsBody) MarshalBinary

func (o *UpdateNetworkSwitchAccessControlListsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsBody) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessControlListsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsBody) Validate

Validate validates this update network switch access control lists body

type UpdateNetworkSwitchAccessControlListsOK

type UpdateNetworkSwitchAccessControlListsOK struct {
	Payload *UpdateNetworkSwitchAccessControlListsOKBody
}

UpdateNetworkSwitchAccessControlListsOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchAccessControlListsOK

func NewUpdateNetworkSwitchAccessControlListsOK() *UpdateNetworkSwitchAccessControlListsOK

NewUpdateNetworkSwitchAccessControlListsOK creates a UpdateNetworkSwitchAccessControlListsOK with default headers values

func (*UpdateNetworkSwitchAccessControlListsOK) Code

Code gets the status code for the update network switch access control lists o k response

func (*UpdateNetworkSwitchAccessControlListsOK) Error

func (*UpdateNetworkSwitchAccessControlListsOK) GetPayload

func (*UpdateNetworkSwitchAccessControlListsOK) IsClientError

func (o *UpdateNetworkSwitchAccessControlListsOK) IsClientError() bool

IsClientError returns true when this update network switch access control lists o k response has a 4xx status code

func (*UpdateNetworkSwitchAccessControlListsOK) IsCode

IsCode returns true when this update network switch access control lists o k response a status code equal to that given

func (*UpdateNetworkSwitchAccessControlListsOK) IsRedirect

IsRedirect returns true when this update network switch access control lists o k response has a 3xx status code

func (*UpdateNetworkSwitchAccessControlListsOK) IsServerError

func (o *UpdateNetworkSwitchAccessControlListsOK) IsServerError() bool

IsServerError returns true when this update network switch access control lists o k response has a 5xx status code

func (*UpdateNetworkSwitchAccessControlListsOK) IsSuccess

IsSuccess returns true when this update network switch access control lists o k response has a 2xx status code

func (*UpdateNetworkSwitchAccessControlListsOK) String

type UpdateNetworkSwitchAccessControlListsOKBody

type UpdateNetworkSwitchAccessControlListsOKBody struct {

	// An ordered array of the access control list rules
	Rules []*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 `json:"rules"`
}

UpdateNetworkSwitchAccessControlListsOKBody update network switch access control lists o k body swagger:model UpdateNetworkSwitchAccessControlListsOKBody

func (*UpdateNetworkSwitchAccessControlListsOKBody) ContextValidate

ContextValidate validate this update network switch access control lists o k body based on the context it is used

func (*UpdateNetworkSwitchAccessControlListsOKBody) MarshalBinary

func (o *UpdateNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsOKBody) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsOKBody) Validate

Validate validates this update network switch access control lists o k body

type UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0

type UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 struct {

	// Description of the rule (optional)
	Comment string `json:"comment,omitempty"`

	// Destination IP address (in IP or CIDR notation)
	DstCidr string `json:"dstCidr,omitempty"`

	// Destination port
	DstPort string `json:"dstPort,omitempty"`

	// IP address version
	// Enum: [any ipv4 ipv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// 'allow' or 'deny' traffic specified by this rule
	// Enum: [allow deny]
	Policy string `json:"policy,omitempty"`

	// The type of protocol
	// Enum: [any tcp udp]
	Protocol string `json:"protocol,omitempty"`

	// Source IP address (in IP or CIDR notation)
	SrcCidr string `json:"srcCidr,omitempty"`

	// Source port
	SrcPort string `json:"srcPort,omitempty"`

	// ncoming traffic VLAN
	Vlan string `json:"vlan,omitempty"`
}

UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 update network switch access control lists o k body rules items0 swagger:model UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0

func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate

ContextValidate validates this update network switch access control lists o k body rules items0 based on context it is used

func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) Validate

Validate validates this update network switch access control lists o k body rules items0

type UpdateNetworkSwitchAccessControlListsParams

type UpdateNetworkSwitchAccessControlListsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchAccessControlLists.
	UpdateNetworkSwitchAccessControlLists UpdateNetworkSwitchAccessControlListsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAccessControlListsParams contains all the parameters to send to the API endpoint

for the update network switch access control lists operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchAccessControlListsParams

func NewUpdateNetworkSwitchAccessControlListsParams() *UpdateNetworkSwitchAccessControlListsParams

NewUpdateNetworkSwitchAccessControlListsParams creates a new UpdateNetworkSwitchAccessControlListsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchAccessControlListsParamsWithContext

func NewUpdateNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessControlListsParams

NewUpdateNetworkSwitchAccessControlListsParamsWithContext creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient

func NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessControlListsParams

NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout

func NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessControlListsParams

NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchAccessControlListsParams) SetContext

SetContext adds the context to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) SetDefaults

SetDefaults hydrates default values in the update network switch access control lists params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAccessControlListsParams) SetHTTPClient

func (o *UpdateNetworkSwitchAccessControlListsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) SetNetworkID

func (o *UpdateNetworkSwitchAccessControlListsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) SetTimeout

SetTimeout adds the timeout to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) SetUpdateNetworkSwitchAccessControlLists

func (o *UpdateNetworkSwitchAccessControlListsParams) SetUpdateNetworkSwitchAccessControlLists(updateNetworkSwitchAccessControlLists UpdateNetworkSwitchAccessControlListsBody)

SetUpdateNetworkSwitchAccessControlLists adds the updateNetworkSwitchAccessControlLists to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WithContext

WithContext adds the context to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WithDefaults

WithDefaults hydrates default values in the update network switch access control lists params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAccessControlListsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WithTimeout

WithTimeout adds the timeout to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WithUpdateNetworkSwitchAccessControlLists

func (o *UpdateNetworkSwitchAccessControlListsParams) WithUpdateNetworkSwitchAccessControlLists(updateNetworkSwitchAccessControlLists UpdateNetworkSwitchAccessControlListsBody) *UpdateNetworkSwitchAccessControlListsParams

WithUpdateNetworkSwitchAccessControlLists adds the updateNetworkSwitchAccessControlLists to the update network switch access control lists params

func (*UpdateNetworkSwitchAccessControlListsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0

type UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 struct {

	// Description of the rule (optional).
	Comment string `json:"comment,omitempty"`

	// Destination IP address (in IP or CIDR notation) or 'any'.
	// Required: true
	DstCidr *string `json:"dstCidr"`

	// Destination port. Must be in the range of 1-65535 or 'any'. Default is 'any'.
	DstPort string `json:"dstPort,omitempty"`

	// IP address version (must be 'any', 'ipv4' or 'ipv6'). Applicable only if network supports IPv6. Default value is 'ipv4'.
	// Enum: [any ipv4 ipv6]
	IPVersion string `json:"ipVersion,omitempty"`

	// 'allow' or 'deny' traffic specified by this rule.
	// Required: true
	// Enum: [allow deny]
	Policy *string `json:"policy"`

	// The type of protocol (must be 'tcp', 'udp', or 'any').
	// Required: true
	// Enum: [any tcp udp]
	Protocol *string `json:"protocol"`

	// Source IP address (in IP or CIDR notation) or 'any'.
	// Required: true
	SrcCidr *string `json:"srcCidr"`

	// Source port. Must be in the range  of 1-65535 or 'any'. Default is 'any'.
	SrcPort string `json:"srcPort,omitempty"`

	// Incoming traffic VLAN. Must be in the range of 1-4095 or 'any'. Default is 'any'.
	Vlan string `json:"vlan,omitempty"`
}

UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 update network switch access control lists params body rules items0 swagger:model UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0

func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) ContextValidate

ContextValidate validates this update network switch access control lists params body rules items0 based on context it is used

func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) Validate

Validate validates this update network switch access control lists params body rules items0

type UpdateNetworkSwitchAccessControlListsReader

type UpdateNetworkSwitchAccessControlListsReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAccessControlListsReader is a Reader for the UpdateNetworkSwitchAccessControlLists structure.

func (*UpdateNetworkSwitchAccessControlListsReader) ReadResponse

func (o *UpdateNetworkSwitchAccessControlListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchAccessPolicyBody

type UpdateNetworkSwitchAccessPolicyBody struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode string `json:"hostMode,omitempty"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	Name string `json:"name,omitempty"`

	// radius
	Radius *UpdateNetworkSwitchAccessPolicyParamsBodyRadius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	RadiusServers []*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"`

	// Enable to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

UpdateNetworkSwitchAccessPolicyBody update network switch access policy body // Example: {"accessPolicyType":"Hybrid authentication","dot1x":{"controlDirection":"inbound"},"guestPortBouncing":false,"guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120},"radiusAccountingEnabled":true,"radiusAccountingServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusCoaSupportEnabled":false,"radiusGroupAttribute":"11","radiusServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusTestingEnabled":false,"urlRedirectWalledGardenEnabled":true,"urlRedirectWalledGardenRanges":["192.168.1.0/24"],"voiceVlanClients":true} swagger:model UpdateNetworkSwitchAccessPolicyBody

func (*UpdateNetworkSwitchAccessPolicyBody) ContextValidate

func (o *UpdateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch access policy body based on the context it is used

func (*UpdateNetworkSwitchAccessPolicyBody) MarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyBody) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyBody) Validate

Validate validates this update network switch access policy body

type UpdateNetworkSwitchAccessPolicyOK

type UpdateNetworkSwitchAccessPolicyOK struct {
	Payload *UpdateNetworkSwitchAccessPolicyOKBody
}

UpdateNetworkSwitchAccessPolicyOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchAccessPolicyOK

func NewUpdateNetworkSwitchAccessPolicyOK() *UpdateNetworkSwitchAccessPolicyOK

NewUpdateNetworkSwitchAccessPolicyOK creates a UpdateNetworkSwitchAccessPolicyOK with default headers values

func (*UpdateNetworkSwitchAccessPolicyOK) Code

Code gets the status code for the update network switch access policy o k response

func (*UpdateNetworkSwitchAccessPolicyOK) Error

func (*UpdateNetworkSwitchAccessPolicyOK) GetPayload

func (*UpdateNetworkSwitchAccessPolicyOK) IsClientError

func (o *UpdateNetworkSwitchAccessPolicyOK) IsClientError() bool

IsClientError returns true when this update network switch access policy o k response has a 4xx status code

func (*UpdateNetworkSwitchAccessPolicyOK) IsCode

func (o *UpdateNetworkSwitchAccessPolicyOK) IsCode(code int) bool

IsCode returns true when this update network switch access policy o k response a status code equal to that given

func (*UpdateNetworkSwitchAccessPolicyOK) IsRedirect

func (o *UpdateNetworkSwitchAccessPolicyOK) IsRedirect() bool

IsRedirect returns true when this update network switch access policy o k response has a 3xx status code

func (*UpdateNetworkSwitchAccessPolicyOK) IsServerError

func (o *UpdateNetworkSwitchAccessPolicyOK) IsServerError() bool

IsServerError returns true when this update network switch access policy o k response has a 5xx status code

func (*UpdateNetworkSwitchAccessPolicyOK) IsSuccess

func (o *UpdateNetworkSwitchAccessPolicyOK) IsSuccess() bool

IsSuccess returns true when this update network switch access policy o k response has a 2xx status code

func (*UpdateNetworkSwitchAccessPolicyOK) String

type UpdateNetworkSwitchAccessPolicyOKBody

type UpdateNetworkSwitchAccessPolicyOKBody struct {

	// Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'.
	// Enum: [802.1x Hybrid authentication MAC authentication bypass]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// dot1x
	Dot1x *UpdateNetworkSwitchAccessPolicyOKBodyDot1x `json:"dot1x,omitempty"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	GuestPortBouncing bool `json:"guestPortBouncing,omitempty"`

	// ID for the guest VLAN allow unauthorized devices access to limited network resources
	GuestVlanID int64 `json:"guestVlanId,omitempty"`

	// Choose the Host Mode for the access policy.
	// Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host]
	HostMode string `json:"hostMode,omitempty"`

	// Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication.
	IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"`

	// Name of the access policy
	Name string `json:"name,omitempty"`

	// radius
	Radius *UpdateNetworkSwitchAccessPolicyOKBodyRadius `json:"radius,omitempty"`

	// Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients
	RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"`

	// List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access
	RadiusAccountingServers []*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"`

	// Change of authentication for RADIUS re-authentication and disconnection
	RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"`

	// Acceptable values are `""` for None, or `"11"` for Group Policies ACL
	RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"`

	// List of RADIUS servers to require connecting devices to authenticate against before granting network access
	RadiusServers []*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 `json:"radiusServers"`

	// If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers
	RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"`

	// Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"`

	// IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication
	URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"`

	// CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'.
	VoiceVlanClients bool `json:"voiceVlanClients,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBody update network switch access policy o k body swagger:model UpdateNetworkSwitchAccessPolicyOKBody

func (*UpdateNetworkSwitchAccessPolicyOKBody) ContextValidate

func (o *UpdateNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch access policy o k body based on the context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBody) MarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBody) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBody) Validate

Validate validates this update network switch access policy o k body

type UpdateNetworkSwitchAccessPolicyOKBodyDot1x

type UpdateNetworkSwitchAccessPolicyOKBodyDot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBodyDot1x 802.1x Settings swagger:model UpdateNetworkSwitchAccessPolicyOKBodyDot1x

func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate

ContextValidate validates this update network switch access policy o k body dot1x based on context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) Validate

Validate validates this update network switch access policy o k body dot1x

type UpdateNetworkSwitchAccessPolicyOKBodyRadius

type UpdateNetworkSwitchAccessPolicyOKBodyRadius struct {

	// critical auth
	CriticalAuth *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBodyRadius Object for RADIUS Settings swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadius

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate

ContextValidate validate this update network switch access policy o k body radius based on the context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary

func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) Validate

Validate validates this update network switch access policy o k body radius

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 update network switch access policy o k body radius accounting servers items0 swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate

ContextValidate validates this update network switch access policy o k body radius accounting servers items0 based on context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate

Validate validates this update network switch access policy o k body radius accounting servers items0

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate

ContextValidate validates this update network switch access policy o k body radius critical auth based on context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) Validate

Validate validates this update network switch access policy o k body radius critical auth

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0

type UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	Host string `json:"host,omitempty"`

	// UDP port that the RADIUS server listens on for access requests
	Port int64 `json:"port,omitempty"`
}

UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 update network switch access policy o k body radius servers items0 swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate

ContextValidate validates this update network switch access policy o k body radius servers items0 based on context it is used

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) Validate

Validate validates this update network switch access policy o k body radius servers items0

type UpdateNetworkSwitchAccessPolicyParams

type UpdateNetworkSwitchAccessPolicyParams struct {

	/* AccessPolicyNumber.

	   Access policy number
	*/
	AccessPolicyNumber string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchAccessPolicy.
	UpdateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint

for the update network switch access policy operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchAccessPolicyParams

func NewUpdateNetworkSwitchAccessPolicyParams() *UpdateNetworkSwitchAccessPolicyParams

NewUpdateNetworkSwitchAccessPolicyParams creates a new UpdateNetworkSwitchAccessPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchAccessPolicyParamsWithContext

func NewUpdateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessPolicyParams

NewUpdateNetworkSwitchAccessPolicyParamsWithContext creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient

func NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessPolicyParams

NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout

func NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessPolicyParams

NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber

func (o *UpdateNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)

SetAccessPolicyNumber adds the accessPolicyNumber to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) SetContext

SetContext adds the context to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) SetDefaults

func (o *UpdateNetworkSwitchAccessPolicyParams) SetDefaults()

SetDefaults hydrates default values in the update network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAccessPolicyParams) SetHTTPClient

func (o *UpdateNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) SetNetworkID

func (o *UpdateNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) SetTimeout

func (o *UpdateNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) SetUpdateNetworkSwitchAccessPolicy

func (o *UpdateNetworkSwitchAccessPolicyParams) SetUpdateNetworkSwitchAccessPolicy(updateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody)

SetUpdateNetworkSwitchAccessPolicy adds the updateNetworkSwitchAccessPolicy to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber

func (o *UpdateNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *UpdateNetworkSwitchAccessPolicyParams

WithAccessPolicyNumber adds the accessPolicyNumber to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithContext

WithContext adds the context to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithDefaults

WithDefaults hydrates default values in the update network switch access policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAccessPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithTimeout

WithTimeout adds the timeout to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WithUpdateNetworkSwitchAccessPolicy

func (o *UpdateNetworkSwitchAccessPolicyParams) WithUpdateNetworkSwitchAccessPolicy(updateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody) *UpdateNetworkSwitchAccessPolicyParams

WithUpdateNetworkSwitchAccessPolicy adds the updateNetworkSwitchAccessPolicy to the update network switch access policy params

func (*UpdateNetworkSwitchAccessPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchAccessPolicyParamsBodyDot1x

type UpdateNetworkSwitchAccessPolicyParamsBodyDot1x struct {

	// Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both'
	// Enum: [both inbound]
	ControlDirection string `json:"controlDirection,omitempty"`
}

UpdateNetworkSwitchAccessPolicyParamsBodyDot1x 802.1x Settings swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyDot1x

func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate

ContextValidate validates this update network switch access policy params body dot1x based on context it is used

func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) Validate

Validate validates this update network switch access policy params body dot1x

type UpdateNetworkSwitchAccessPolicyParamsBodyRadius

type UpdateNetworkSwitchAccessPolicyParamsBodyRadius struct {

	// critical auth
	CriticalAuth *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"`

	// VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"`

	// Re-authentication period in seconds. Will be null if hostMode is Multi-Auth
	ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"`
}

UpdateNetworkSwitchAccessPolicyParamsBodyRadius Object for RADIUS Settings swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyRadius

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate

ContextValidate validate this update network switch access policy params body radius based on the context it is used

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) Validate

Validate validates this update network switch access policy params body radius

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 struct {

	// Public IP address of the RADIUS accounting server
	// Required: true
	Host *string `json:"host"`

	// UDP port that the RADIUS Accounting server listens on for access requests
	// Required: true
	Port *int64 `json:"port"`

	// RADIUS client shared secret
	// Required: true
	Secret *string `json:"secret"`
}

UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 update network switch access policy params body radius accounting servers items0 swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate

ContextValidate validates this update network switch access policy params body radius accounting servers items0 based on context it is used

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate

Validate validates this update network switch access policy params body radius accounting servers items0

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth struct {

	// VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	DataVlanID int64 `json:"dataVlanId,omitempty"`

	// Enable to suspend port bounce when RADIUS servers are unreachable
	SuspendPortBounce bool `json:"suspendPortBounce,omitempty"`

	// VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth
	VoiceVlanID int64 `json:"voiceVlanId,omitempty"`
}

UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate

ContextValidate validates this update network switch access policy params body radius critical auth based on context it is used

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) Validate

Validate validates this update network switch access policy params body radius critical auth

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0

type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 struct {

	// Public IP address of the RADIUS server
	// Required: true
	Host *string `json:"host"`

	// UDP port that the RADIUS server listens on for access requests
	// Required: true
	Port *int64 `json:"port"`

	// RADIUS client shared secret
	// Required: true
	Secret *string `json:"secret"`
}

UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 update network switch access policy params body radius servers items0 swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate

ContextValidate validates this update network switch access policy params body radius servers items0 based on context it is used

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) Validate

Validate validates this update network switch access policy params body radius servers items0

type UpdateNetworkSwitchAccessPolicyReader

type UpdateNetworkSwitchAccessPolicyReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAccessPolicyReader is a Reader for the UpdateNetworkSwitchAccessPolicy structure.

func (*UpdateNetworkSwitchAccessPolicyReader) ReadResponse

func (o *UpdateNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchAlternateManagementInterfaceBody

type UpdateNetworkSwitchAlternateManagementInterfaceBody struct {

	// Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set
	Enabled bool `json:"enabled,omitempty"`

	// Can be one or more of the following values: 'radius', 'snmp' or 'syslog'
	Protocols []string `json:"protocols"`

	// Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments
	Switches []*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 `json:"switches"`

	// Alternate management VLAN, must be between 1 and 4094
	VlanID int64 `json:"vlanId,omitempty"`
}

UpdateNetworkSwitchAlternateManagementInterfaceBody update network switch alternate management interface body // Example: {"enabled":true,"protocols":["radius","snmp","syslog"],"switches":[{"alternateManagementIp":"1.2.3.4","gateway":"1.2.3.5","serial":"Q234-ABCD-5678","subnetMask":"255.255.255.0"}],"vlanId":100} swagger:model UpdateNetworkSwitchAlternateManagementInterfaceBody

func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) ContextValidate

ContextValidate validate this update network switch alternate management interface body based on the context it is used

func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) Validate

Validate validates this update network switch alternate management interface body

type UpdateNetworkSwitchAlternateManagementInterfaceOK

type UpdateNetworkSwitchAlternateManagementInterfaceOK struct {
	Payload interface{}
}

UpdateNetworkSwitchAlternateManagementInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchAlternateManagementInterfaceOK

func NewUpdateNetworkSwitchAlternateManagementInterfaceOK() *UpdateNetworkSwitchAlternateManagementInterfaceOK

NewUpdateNetworkSwitchAlternateManagementInterfaceOK creates a UpdateNetworkSwitchAlternateManagementInterfaceOK with default headers values

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) Code

Code gets the status code for the update network switch alternate management interface o k response

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) Error

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload

func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload() interface{}

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsClientError

IsClientError returns true when this update network switch alternate management interface o k response has a 4xx status code

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsCode

IsCode returns true when this update network switch alternate management interface o k response a status code equal to that given

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsRedirect

IsRedirect returns true when this update network switch alternate management interface o k response has a 3xx status code

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsServerError

IsServerError returns true when this update network switch alternate management interface o k response has a 5xx status code

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsSuccess

IsSuccess returns true when this update network switch alternate management interface o k response has a 2xx status code

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) String

type UpdateNetworkSwitchAlternateManagementInterfaceParams

type UpdateNetworkSwitchAlternateManagementInterfaceParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchAlternateManagementInterface.
	UpdateNetworkSwitchAlternateManagementInterface UpdateNetworkSwitchAlternateManagementInterfaceBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAlternateManagementInterfaceParams contains all the parameters to send to the API endpoint

for the update network switch alternate management interface operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchAlternateManagementInterfaceParams

func NewUpdateNetworkSwitchAlternateManagementInterfaceParams() *UpdateNetworkSwitchAlternateManagementInterfaceParams

NewUpdateNetworkSwitchAlternateManagementInterfaceParams creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAlternateManagementInterfaceParams

NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAlternateManagementInterfaceParams

NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout

func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAlternateManagementInterfaceParams

NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetContext

SetContext adds the context to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetDefaults

SetDefaults hydrates default values in the update network switch alternate management interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID

SetNetworkID adds the networkId to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetTimeout

SetTimeout adds the timeout to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetUpdateNetworkSwitchAlternateManagementInterface

func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetUpdateNetworkSwitchAlternateManagementInterface(updateNetworkSwitchAlternateManagementInterface UpdateNetworkSwitchAlternateManagementInterfaceBody)

SetUpdateNetworkSwitchAlternateManagementInterface adds the updateNetworkSwitchAlternateManagementInterface to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithContext

WithContext adds the context to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithDefaults

WithDefaults hydrates default values in the update network switch alternate management interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithTimeout

WithTimeout adds the timeout to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithUpdateNetworkSwitchAlternateManagementInterface

func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithUpdateNetworkSwitchAlternateManagementInterface(updateNetworkSwitchAlternateManagementInterface UpdateNetworkSwitchAlternateManagementInterfaceBody) *UpdateNetworkSwitchAlternateManagementInterfaceParams

WithUpdateNetworkSwitchAlternateManagementInterface adds the updateNetworkSwitchAlternateManagementInterface to the update network switch alternate management interface params

func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0

type UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 struct {

	// Switch alternative management IP. To remove a prior IP setting, provide an empty string
	// Required: true
	AlternateManagementIP *string `json:"alternateManagementIp"`

	// Switch gateway must be in IP format. Only and must be specified for Polaris switches
	Gateway string `json:"gateway,omitempty"`

	// Switch serial number
	// Required: true
	Serial *string `json:"serial"`

	// Switch subnet mask must be in IP format. Only and must be specified for Polaris switches
	SubnetMask string `json:"subnetMask,omitempty"`
}

UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 update network switch alternate management interface params body switches items0 swagger:model UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0

func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) ContextValidate

ContextValidate validates this update network switch alternate management interface params body switches items0 based on context it is used

func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) Validate

Validate validates this update network switch alternate management interface params body switches items0

type UpdateNetworkSwitchAlternateManagementInterfaceReader

type UpdateNetworkSwitchAlternateManagementInterfaceReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchAlternateManagementInterfaceReader is a Reader for the UpdateNetworkSwitchAlternateManagementInterface structure.

func (*UpdateNetworkSwitchAlternateManagementInterfaceReader) ReadResponse

func (o *UpdateNetworkSwitchAlternateManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody struct {

	// ipv4
	IPV4 *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 `json:"ipv4,omitempty"`

	// The updated mac address of the trusted server
	Mac string `json:"mac,omitempty"`

	// The updated VLAN of the trusted server. It must be between 1 and 4094
	Vlan int64 `json:"vlan,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody update network switch dhcp server policy arp inspection trusted server body // Example: {"ipv4":{"address":"1.2.3.4"},"mac":"00:11:22:33:44:55","vlan":100} swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate

ContextValidate validate this update network switch dhcp server policy arp inspection trusted server body based on the context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate

Validate validates this update network switch dhcp server policy arp inspection trusted server body

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK struct {
	Payload *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK

NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK creates a UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK with default headers values

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Code

Code gets the status code for the update network switch dhcp server policy arp inspection trusted server o k response

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Error

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) GetPayload

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsClientError

IsClientError returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 4xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsCode

IsCode returns true when this update network switch dhcp server policy arp inspection trusted server o k response a status code equal to that given

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsRedirect

IsRedirect returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 3xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsServerError

IsServerError returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 5xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsSuccess

IsSuccess returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 2xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) String

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody struct {

	// ipv4
	IPV4 *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 `json:"ipv4,omitempty"`

	// Mac address of the trusted server.
	Mac string `json:"mac,omitempty"`

	// ID of the trusted server.
	TrustedServerID string `json:"trustedServerId,omitempty"`

	// Vlan ID of the trusted server.
	Vlan int64 `json:"vlan,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody update network switch dhcp server policy arp inspection trusted server o k body swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) ContextValidate

ContextValidate validate this update network switch dhcp server policy arp inspection trusted server o k body based on the context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) Validate

Validate validates this update network switch dhcp server policy arp inspection trusted server o k body

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 struct {

	// IPv4 address of the trusted server.
	Address string `json:"address,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 IPv4 attributes of the trusted server. swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) ContextValidate

ContextValidate validates this update network switch dhcp server policy arp inspection trusted server o k body IP v4 based on context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) Validate

Validate validates this update network switch dhcp server policy arp inspection trusted server o k body IP v4

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* TrustedServerID.

	   Trusted server ID
	*/
	TrustedServerID string

	// UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer.
	UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint

for the update network switch dhcp server policy arp inspection trusted server operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout

func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext

SetContext adds the context to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults

SetDefaults hydrates default values in the update network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID

SetNetworkID adds the networkId to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout

SetTimeout adds the timeout to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID

func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)

SetTrustedServerID adds the trustedServerId to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody)

SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext

WithContext adds the context to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults

WithDefaults hydrates default values in the update network switch dhcp server policy arp inspection trusted server params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout

WithTimeout adds the timeout to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID

WithTrustedServerID adds the trustedServerID to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer

func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams

WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the update network switch dhcp server policy arp inspection trusted server params

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 struct {

	// The updated IPv4 address of the trusted server
	Address string `json:"address,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 The updated IPv4 attributes of the trusted server swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate

ContextValidate validates this update network switch dhcp server policy arp inspection trusted server params body IP v4 based on context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate

Validate validates this update network switch dhcp server policy arp inspection trusted server params body IP v4

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader

type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.

func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchDhcpServerPolicyBody

type UpdateNetworkSwitchDhcpServerPolicyBody struct {

	// alerts
	Alerts *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts `json:"alerts,omitempty"`

	// List the MAC addresses of DHCP servers to permit on the network when defaultPolicy is set to block. An empty array will clear the entries.
	AllowedServers []string `json:"allowedServers"`

	// arp inspection
	ArpInspection *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection `json:"arpInspection,omitempty"`

	// List the MAC addresses of DHCP servers to block on the network when defaultPolicy is set to allow. An empty array will clear the entries.
	BlockedServers []string `json:"blockedServers"`

	// 'allow' or 'block' new DHCP servers. Default value is 'allow'.
	// Enum: [allow block]
	DefaultPolicy string `json:"defaultPolicy,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyBody update network switch dhcp server policy body // Example: {"alerts":{"email":{"enabled":true}},"allowedServers":["00:50:56:00:00:01","00:50:56:00:00:02"],"arpInspection":{"enabled":true},"blockedServers":["00:50:56:00:00:03","00:50:56:00:00:04"],"defaultPolicy":"block"} swagger:model UpdateNetworkSwitchDhcpServerPolicyBody

func (*UpdateNetworkSwitchDhcpServerPolicyBody) ContextValidate

ContextValidate validate this update network switch dhcp server policy body based on the context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyBody) MarshalBinary

func (o *UpdateNetworkSwitchDhcpServerPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyBody) UnmarshalBinary

func (o *UpdateNetworkSwitchDhcpServerPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyBody) Validate

Validate validates this update network switch dhcp server policy body

type UpdateNetworkSwitchDhcpServerPolicyOK

type UpdateNetworkSwitchDhcpServerPolicyOK struct {
	Payload interface{}
}

UpdateNetworkSwitchDhcpServerPolicyOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchDhcpServerPolicyOK

func NewUpdateNetworkSwitchDhcpServerPolicyOK() *UpdateNetworkSwitchDhcpServerPolicyOK

NewUpdateNetworkSwitchDhcpServerPolicyOK creates a UpdateNetworkSwitchDhcpServerPolicyOK with default headers values

func (*UpdateNetworkSwitchDhcpServerPolicyOK) Code

Code gets the status code for the update network switch dhcp server policy o k response

func (*UpdateNetworkSwitchDhcpServerPolicyOK) Error

func (*UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload

func (o *UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload() interface{}

func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsClientError

func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsClientError() bool

IsClientError returns true when this update network switch dhcp server policy o k response has a 4xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsCode

IsCode returns true when this update network switch dhcp server policy o k response a status code equal to that given

func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsRedirect

IsRedirect returns true when this update network switch dhcp server policy o k response has a 3xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsServerError

func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsServerError() bool

IsServerError returns true when this update network switch dhcp server policy o k response has a 5xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsSuccess

IsSuccess returns true when this update network switch dhcp server policy o k response has a 2xx status code

func (*UpdateNetworkSwitchDhcpServerPolicyOK) String

type UpdateNetworkSwitchDhcpServerPolicyParams

type UpdateNetworkSwitchDhcpServerPolicyParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchDhcpServerPolicy.
	UpdateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDhcpServerPolicyParams contains all the parameters to send to the API endpoint

for the update network switch dhcp server policy operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchDhcpServerPolicyParams

func NewUpdateNetworkSwitchDhcpServerPolicyParams() *UpdateNetworkSwitchDhcpServerPolicyParams

NewUpdateNetworkSwitchDhcpServerPolicyParams creates a new UpdateNetworkSwitchDhcpServerPolicyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyParams

NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyParams

NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout

func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyParams

NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetContext

SetContext adds the context to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetDefaults

SetDefaults hydrates default values in the update network switch dhcp server policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetHTTPClient

func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetNetworkID

func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetTimeout

SetTimeout adds the timeout to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetUpdateNetworkSwitchDhcpServerPolicy

func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetUpdateNetworkSwitchDhcpServerPolicy(updateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody)

SetUpdateNetworkSwitchDhcpServerPolicy adds the updateNetworkSwitchDhcpServerPolicy to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithContext

WithContext adds the context to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithDefaults

WithDefaults hydrates default values in the update network switch dhcp server policy params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithTimeout

WithTimeout adds the timeout to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithUpdateNetworkSwitchDhcpServerPolicy

func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithUpdateNetworkSwitchDhcpServerPolicy(updateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody) *UpdateNetworkSwitchDhcpServerPolicyParams

WithUpdateNetworkSwitchDhcpServerPolicy adds the updateNetworkSwitchDhcpServerPolicy to the update network switch dhcp server policy params

func (*UpdateNetworkSwitchDhcpServerPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts struct {

	// email
	Email *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail `json:"email,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts Alert settings for DHCP servers swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) ContextValidate

ContextValidate validate this update network switch dhcp server policy params body alerts based on the context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) Validate

Validate validates this update network switch dhcp server policy params body alerts

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail struct {

	// When enabled, send an email if a new DHCP server is seen. Default value is false.
	Enabled bool `json:"enabled,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail Email alert settings for DHCP servers swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) ContextValidate

ContextValidate validates this update network switch dhcp server policy params body alerts email based on context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) Validate

Validate validates this update network switch dhcp server policy params body alerts email

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection

type UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection struct {

	// Enable or disable Dynamic ARP Inspection on the network. Default value is false.
	Enabled bool `json:"enabled,omitempty"`
}

UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection Dynamic ARP Inspection settings swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) ContextValidate

ContextValidate validates this update network switch dhcp server policy params body arp inspection based on context it is used

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) Validate

Validate validates this update network switch dhcp server policy params body arp inspection

type UpdateNetworkSwitchDhcpServerPolicyReader

type UpdateNetworkSwitchDhcpServerPolicyReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDhcpServerPolicyReader is a Reader for the UpdateNetworkSwitchDhcpServerPolicy structure.

func (*UpdateNetworkSwitchDhcpServerPolicyReader) ReadResponse

func (o *UpdateNetworkSwitchDhcpServerPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchDscpToCosMappingsBody

type UpdateNetworkSwitchDscpToCosMappingsBody struct {

	// An array of DSCP to CoS mappings. An empty array will reset the mappings to default.
	// Required: true
	Mappings []*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0 `json:"mappings"`
}

UpdateNetworkSwitchDscpToCosMappingsBody update network switch dscp to cos mappings body // Example: {"mappings":[{"cos":1,"dscp":1,"title":"Video"}]} swagger:model UpdateNetworkSwitchDscpToCosMappingsBody

func (*UpdateNetworkSwitchDscpToCosMappingsBody) ContextValidate

ContextValidate validate this update network switch dscp to cos mappings body based on the context it is used

func (*UpdateNetworkSwitchDscpToCosMappingsBody) MarshalBinary

func (o *UpdateNetworkSwitchDscpToCosMappingsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDscpToCosMappingsBody) UnmarshalBinary

func (o *UpdateNetworkSwitchDscpToCosMappingsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDscpToCosMappingsBody) Validate

Validate validates this update network switch dscp to cos mappings body

type UpdateNetworkSwitchDscpToCosMappingsOK

type UpdateNetworkSwitchDscpToCosMappingsOK struct {
	Payload interface{}
}

UpdateNetworkSwitchDscpToCosMappingsOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchDscpToCosMappingsOK

func NewUpdateNetworkSwitchDscpToCosMappingsOK() *UpdateNetworkSwitchDscpToCosMappingsOK

NewUpdateNetworkSwitchDscpToCosMappingsOK creates a UpdateNetworkSwitchDscpToCosMappingsOK with default headers values

func (*UpdateNetworkSwitchDscpToCosMappingsOK) Code

Code gets the status code for the update network switch dscp to cos mappings o k response

func (*UpdateNetworkSwitchDscpToCosMappingsOK) Error

func (*UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload

func (o *UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload() interface{}

func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsClientError

func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsClientError() bool

IsClientError returns true when this update network switch dscp to cos mappings o k response has a 4xx status code

func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsCode

IsCode returns true when this update network switch dscp to cos mappings o k response a status code equal to that given

func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsRedirect

IsRedirect returns true when this update network switch dscp to cos mappings o k response has a 3xx status code

func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsServerError

func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsServerError() bool

IsServerError returns true when this update network switch dscp to cos mappings o k response has a 5xx status code

func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsSuccess

IsSuccess returns true when this update network switch dscp to cos mappings o k response has a 2xx status code

func (*UpdateNetworkSwitchDscpToCosMappingsOK) String

type UpdateNetworkSwitchDscpToCosMappingsParams

type UpdateNetworkSwitchDscpToCosMappingsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchDscpToCosMappings.
	UpdateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDscpToCosMappingsParams contains all the parameters to send to the API endpoint

for the update network switch dscp to cos mappings operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchDscpToCosMappingsParams

func NewUpdateNetworkSwitchDscpToCosMappingsParams() *UpdateNetworkSwitchDscpToCosMappingsParams

NewUpdateNetworkSwitchDscpToCosMappingsParams creates a new UpdateNetworkSwitchDscpToCosMappingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDscpToCosMappingsParams

NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDscpToCosMappingsParams

NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout

func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDscpToCosMappingsParams

NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetContext

SetContext adds the context to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetDefaults

SetDefaults hydrates default values in the update network switch dscp to cos mappings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetHTTPClient

func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetNetworkID

func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetTimeout

SetTimeout adds the timeout to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetUpdateNetworkSwitchDscpToCosMappings

func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetUpdateNetworkSwitchDscpToCosMappings(updateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody)

SetUpdateNetworkSwitchDscpToCosMappings adds the updateNetworkSwitchDscpToCosMappings to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithContext

WithContext adds the context to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithDefaults

WithDefaults hydrates default values in the update network switch dscp to cos mappings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithTimeout

WithTimeout adds the timeout to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithUpdateNetworkSwitchDscpToCosMappings

func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithUpdateNetworkSwitchDscpToCosMappings(updateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody) *UpdateNetworkSwitchDscpToCosMappingsParams

WithUpdateNetworkSwitchDscpToCosMappings adds the updateNetworkSwitchDscpToCosMappings to the update network switch dscp to cos mappings params

func (*UpdateNetworkSwitchDscpToCosMappingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0

type UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0 struct {

	// The actual layer-2 CoS queue the DSCP value is mapped to. These are not bits set on outgoing frames. Value can be in the range of 0 to 5 inclusive.
	// Required: true
	Cos *int64 `json:"cos"`

	// The Differentiated Services Code Point (DSCP) tag in the IP header that will be mapped to a particular Class-of-Service (CoS) queue. Value can be in the range of 0 to 63 inclusive.
	// Required: true
	Dscp *int64 `json:"dscp"`

	// Label for the mapping (optional).
	Title string `json:"title,omitempty"`
}

UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0 update network switch dscp to cos mappings params body mappings items0 swagger:model UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0

func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) ContextValidate

ContextValidate validates this update network switch dscp to cos mappings params body mappings items0 based on context it is used

func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) Validate

Validate validates this update network switch dscp to cos mappings params body mappings items0

type UpdateNetworkSwitchDscpToCosMappingsReader

type UpdateNetworkSwitchDscpToCosMappingsReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchDscpToCosMappingsReader is a Reader for the UpdateNetworkSwitchDscpToCosMappings structure.

func (*UpdateNetworkSwitchDscpToCosMappingsReader) ReadResponse

func (o *UpdateNetworkSwitchDscpToCosMappingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchLinkAggregationBody

type UpdateNetworkSwitchLinkAggregationBody struct {

	// Array of switch or stack ports for updating aggregation group. Minimum 2 and maximum 8 ports are supported.
	SwitchPorts []*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 `json:"switchPorts"`

	// Array of switch profile ports for updating aggregation group. Minimum 2 and maximum 8 ports are supported.
	SwitchProfilePorts []*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 `json:"switchProfilePorts"`
}

UpdateNetworkSwitchLinkAggregationBody update network switch link aggregation body // Example: {"id":"NDU2N18yXzM=","switchPorts":[{"portId":"1","serial":"Q234-ABCD-0001"},{"portId":"2","serial":"Q234-ABCD-0002"},{"portId":"3","serial":"Q234-ABCD-0003"},{"portId":"4","serial":"Q234-ABCD-0004"},{"portId":"5","serial":"Q234-ABCD-0005"},{"portId":"6","serial":"Q234-ABCD-0006"},{"portId":"7","serial":"Q234-ABCD-0007"},{"portId":"8","serial":"Q234-ABCD-0008"}]} swagger:model UpdateNetworkSwitchLinkAggregationBody

func (*UpdateNetworkSwitchLinkAggregationBody) ContextValidate

ContextValidate validate this update network switch link aggregation body based on the context it is used

func (*UpdateNetworkSwitchLinkAggregationBody) MarshalBinary

func (o *UpdateNetworkSwitchLinkAggregationBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationBody) UnmarshalBinary

func (o *UpdateNetworkSwitchLinkAggregationBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationBody) Validate

Validate validates this update network switch link aggregation body

type UpdateNetworkSwitchLinkAggregationOK

type UpdateNetworkSwitchLinkAggregationOK struct {
	Payload interface{}
}

UpdateNetworkSwitchLinkAggregationOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchLinkAggregationOK

func NewUpdateNetworkSwitchLinkAggregationOK() *UpdateNetworkSwitchLinkAggregationOK

NewUpdateNetworkSwitchLinkAggregationOK creates a UpdateNetworkSwitchLinkAggregationOK with default headers values

func (*UpdateNetworkSwitchLinkAggregationOK) Code

Code gets the status code for the update network switch link aggregation o k response

func (*UpdateNetworkSwitchLinkAggregationOK) Error

func (*UpdateNetworkSwitchLinkAggregationOK) GetPayload

func (o *UpdateNetworkSwitchLinkAggregationOK) GetPayload() interface{}

func (*UpdateNetworkSwitchLinkAggregationOK) IsClientError

func (o *UpdateNetworkSwitchLinkAggregationOK) IsClientError() bool

IsClientError returns true when this update network switch link aggregation o k response has a 4xx status code

func (*UpdateNetworkSwitchLinkAggregationOK) IsCode

IsCode returns true when this update network switch link aggregation o k response a status code equal to that given

func (*UpdateNetworkSwitchLinkAggregationOK) IsRedirect

IsRedirect returns true when this update network switch link aggregation o k response has a 3xx status code

func (*UpdateNetworkSwitchLinkAggregationOK) IsServerError

func (o *UpdateNetworkSwitchLinkAggregationOK) IsServerError() bool

IsServerError returns true when this update network switch link aggregation o k response has a 5xx status code

func (*UpdateNetworkSwitchLinkAggregationOK) IsSuccess

IsSuccess returns true when this update network switch link aggregation o k response has a 2xx status code

func (*UpdateNetworkSwitchLinkAggregationOK) String

type UpdateNetworkSwitchLinkAggregationParams

type UpdateNetworkSwitchLinkAggregationParams struct {

	/* LinkAggregationID.

	   Link aggregation ID
	*/
	LinkAggregationID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchLinkAggregation.
	UpdateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint

for the update network switch link aggregation operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchLinkAggregationParams

func NewUpdateNetworkSwitchLinkAggregationParams() *UpdateNetworkSwitchLinkAggregationParams

NewUpdateNetworkSwitchLinkAggregationParams creates a new UpdateNetworkSwitchLinkAggregationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchLinkAggregationParamsWithContext

func NewUpdateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *UpdateNetworkSwitchLinkAggregationParams

NewUpdateNetworkSwitchLinkAggregationParamsWithContext creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient

func NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchLinkAggregationParams

NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout

func NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchLinkAggregationParams

NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchLinkAggregationParams) SetContext

SetContext adds the context to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) SetDefaults

SetDefaults hydrates default values in the update network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchLinkAggregationParams) SetHTTPClient

func (o *UpdateNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) SetLinkAggregationID

func (o *UpdateNetworkSwitchLinkAggregationParams) SetLinkAggregationID(linkAggregationID string)

SetLinkAggregationID adds the linkAggregationId to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) SetNetworkID

func (o *UpdateNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) SetTimeout

SetTimeout adds the timeout to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) SetUpdateNetworkSwitchLinkAggregation

func (o *UpdateNetworkSwitchLinkAggregationParams) SetUpdateNetworkSwitchLinkAggregation(updateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody)

SetUpdateNetworkSwitchLinkAggregation adds the updateNetworkSwitchLinkAggregation to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithContext

WithContext adds the context to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithDefaults

WithDefaults hydrates default values in the update network switch link aggregation params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchLinkAggregationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithLinkAggregationID

WithLinkAggregationID adds the linkAggregationID to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithTimeout

WithTimeout adds the timeout to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WithUpdateNetworkSwitchLinkAggregation

func (o *UpdateNetworkSwitchLinkAggregationParams) WithUpdateNetworkSwitchLinkAggregation(updateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody) *UpdateNetworkSwitchLinkAggregationParams

WithUpdateNetworkSwitchLinkAggregation adds the updateNetworkSwitchLinkAggregation to the update network switch link aggregation params

func (*UpdateNetworkSwitchLinkAggregationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0

type UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 struct {

	// Port identifier of switch port. For modules, the identifier is "SlotNumber_ModuleType_PortNumber" (Ex: "1_8X10G_1"), otherwise it is just the port number (Ex: "8").
	// Required: true
	PortID *string `json:"portId"`

	// Serial number of the switch.
	// Required: true
	Serial *string `json:"serial"`
}

UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0 update network switch link aggregation params body switch ports items0 swagger:model UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate

ContextValidate validates this update network switch link aggregation params body switch ports items0 based on context it is used

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) Validate

Validate validates this update network switch link aggregation params body switch ports items0

type UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0

type UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 struct {

	// Port identifier of switch port. For modules, the identifier is "SlotNumber_ModuleType_PortNumber" (Ex: "1_8X10G_1"), otherwise it is just the port number (Ex: "8").
	// Required: true
	PortID *string `json:"portId"`

	// Profile identifier.
	// Required: true
	Profile *string `json:"profile"`
}

UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0 update network switch link aggregation params body switch profile ports items0 swagger:model UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate

ContextValidate validates this update network switch link aggregation params body switch profile ports items0 based on context it is used

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate

Validate validates this update network switch link aggregation params body switch profile ports items0

type UpdateNetworkSwitchLinkAggregationReader

type UpdateNetworkSwitchLinkAggregationReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchLinkAggregationReader is a Reader for the UpdateNetworkSwitchLinkAggregation structure.

func (*UpdateNetworkSwitchLinkAggregationReader) ReadResponse

func (o *UpdateNetworkSwitchLinkAggregationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchMtuBody

type UpdateNetworkSwitchMtuBody struct {

	// MTU size for the entire network. Default value is 9578.
	DefaultMtuSize int64 `json:"defaultMtuSize,omitempty"`

	// Override MTU size for individual switches or switch templates. An empty array will clear overrides.
	Overrides []*UpdateNetworkSwitchMtuParamsBodyOverridesItems0 `json:"overrides"`
}

UpdateNetworkSwitchMtuBody update network switch mtu body // Example: {"defaultMtuSize":9578,"overrides":[{"mtuSize":1500,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"mtuSize":1600,"switchProfiles":["1284392014819","2983092129865"]}]} swagger:model UpdateNetworkSwitchMtuBody

func (*UpdateNetworkSwitchMtuBody) ContextValidate

func (o *UpdateNetworkSwitchMtuBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch mtu body based on the context it is used

func (*UpdateNetworkSwitchMtuBody) MarshalBinary

func (o *UpdateNetworkSwitchMtuBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchMtuBody) UnmarshalBinary

func (o *UpdateNetworkSwitchMtuBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchMtuBody) Validate

func (o *UpdateNetworkSwitchMtuBody) Validate(formats strfmt.Registry) error

Validate validates this update network switch mtu body

type UpdateNetworkSwitchMtuOK

type UpdateNetworkSwitchMtuOK struct {
	Payload interface{}
}

UpdateNetworkSwitchMtuOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchMtuOK

func NewUpdateNetworkSwitchMtuOK() *UpdateNetworkSwitchMtuOK

NewUpdateNetworkSwitchMtuOK creates a UpdateNetworkSwitchMtuOK with default headers values

func (*UpdateNetworkSwitchMtuOK) Code

func (o *UpdateNetworkSwitchMtuOK) Code() int

Code gets the status code for the update network switch mtu o k response

func (*UpdateNetworkSwitchMtuOK) Error

func (o *UpdateNetworkSwitchMtuOK) Error() string

func (*UpdateNetworkSwitchMtuOK) GetPayload

func (o *UpdateNetworkSwitchMtuOK) GetPayload() interface{}

func (*UpdateNetworkSwitchMtuOK) IsClientError

func (o *UpdateNetworkSwitchMtuOK) IsClientError() bool

IsClientError returns true when this update network switch mtu o k response has a 4xx status code

func (*UpdateNetworkSwitchMtuOK) IsCode

func (o *UpdateNetworkSwitchMtuOK) IsCode(code int) bool

IsCode returns true when this update network switch mtu o k response a status code equal to that given

func (*UpdateNetworkSwitchMtuOK) IsRedirect

func (o *UpdateNetworkSwitchMtuOK) IsRedirect() bool

IsRedirect returns true when this update network switch mtu o k response has a 3xx status code

func (*UpdateNetworkSwitchMtuOK) IsServerError

func (o *UpdateNetworkSwitchMtuOK) IsServerError() bool

IsServerError returns true when this update network switch mtu o k response has a 5xx status code

func (*UpdateNetworkSwitchMtuOK) IsSuccess

func (o *UpdateNetworkSwitchMtuOK) IsSuccess() bool

IsSuccess returns true when this update network switch mtu o k response has a 2xx status code

func (*UpdateNetworkSwitchMtuOK) String

func (o *UpdateNetworkSwitchMtuOK) String() string

type UpdateNetworkSwitchMtuParams

type UpdateNetworkSwitchMtuParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchMtu.
	UpdateNetworkSwitchMtu UpdateNetworkSwitchMtuBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchMtuParams contains all the parameters to send to the API endpoint

for the update network switch mtu operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchMtuParams

func NewUpdateNetworkSwitchMtuParams() *UpdateNetworkSwitchMtuParams

NewUpdateNetworkSwitchMtuParams creates a new UpdateNetworkSwitchMtuParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchMtuParamsWithContext

func NewUpdateNetworkSwitchMtuParamsWithContext(ctx context.Context) *UpdateNetworkSwitchMtuParams

NewUpdateNetworkSwitchMtuParamsWithContext creates a new UpdateNetworkSwitchMtuParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchMtuParamsWithHTTPClient

func NewUpdateNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchMtuParams

NewUpdateNetworkSwitchMtuParamsWithHTTPClient creates a new UpdateNetworkSwitchMtuParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchMtuParamsWithTimeout

func NewUpdateNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchMtuParams

NewUpdateNetworkSwitchMtuParamsWithTimeout creates a new UpdateNetworkSwitchMtuParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchMtuParams) SetContext

func (o *UpdateNetworkSwitchMtuParams) SetContext(ctx context.Context)

SetContext adds the context to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) SetDefaults

func (o *UpdateNetworkSwitchMtuParams) SetDefaults()

SetDefaults hydrates default values in the update network switch mtu params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchMtuParams) SetHTTPClient

func (o *UpdateNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) SetNetworkID

func (o *UpdateNetworkSwitchMtuParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) SetTimeout

func (o *UpdateNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) SetUpdateNetworkSwitchMtu

func (o *UpdateNetworkSwitchMtuParams) SetUpdateNetworkSwitchMtu(updateNetworkSwitchMtu UpdateNetworkSwitchMtuBody)

SetUpdateNetworkSwitchMtu adds the updateNetworkSwitchMtu to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WithContext

WithContext adds the context to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WithDefaults

WithDefaults hydrates default values in the update network switch mtu params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchMtuParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WithTimeout

WithTimeout adds the timeout to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WithUpdateNetworkSwitchMtu

func (o *UpdateNetworkSwitchMtuParams) WithUpdateNetworkSwitchMtu(updateNetworkSwitchMtu UpdateNetworkSwitchMtuBody) *UpdateNetworkSwitchMtuParams

WithUpdateNetworkSwitchMtu adds the updateNetworkSwitchMtu to the update network switch mtu params

func (*UpdateNetworkSwitchMtuParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchMtuParamsBodyOverridesItems0

type UpdateNetworkSwitchMtuParamsBodyOverridesItems0 struct {

	// MTU size for the switches or switch templates.
	// Required: true
	MtuSize *int64 `json:"mtuSize"`

	// List of switch template IDs. Applicable only for template network.
	SwitchProfiles []string `json:"switchProfiles"`

	// List of switch serials. Applicable only for switch network.
	Switches []string `json:"switches"`
}

UpdateNetworkSwitchMtuParamsBodyOverridesItems0 update network switch mtu params body overrides items0 swagger:model UpdateNetworkSwitchMtuParamsBodyOverridesItems0

func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) ContextValidate

ContextValidate validates this update network switch mtu params body overrides items0 based on context it is used

func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) Validate

Validate validates this update network switch mtu params body overrides items0

type UpdateNetworkSwitchMtuReader

type UpdateNetworkSwitchMtuReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchMtuReader is a Reader for the UpdateNetworkSwitchMtu structure.

func (*UpdateNetworkSwitchMtuReader) ReadResponse

func (o *UpdateNetworkSwitchMtuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchPortScheduleBody

type UpdateNetworkSwitchPortScheduleBody struct {

	// The name for your port schedule.
	Name string `json:"name,omitempty"`

	// port schedule
	PortSchedule *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule `json:"portSchedule,omitempty"`
}

UpdateNetworkSwitchPortScheduleBody update network switch port schedule body // Example: {"name":"Weekdays schedule","portSchedule":{"friday":{"active":true,"from":"9:00","to":"17:00"},"monday":{"active":true,"from":"9:00","to":"17:00"},"saturday":{"active":false,"from":"0:00","to":"24:00"},"sunday":{"active":false,"from":"0:00","to":"24:00"},"thursday":{"active":true,"from":"9:00","to":"17:00"},"tuesday":{"active":true,"from":"9:00","to":"17:00"},"wednesday":{"active":true,"from":"9:00","to":"17:00"}}} swagger:model UpdateNetworkSwitchPortScheduleBody

func (*UpdateNetworkSwitchPortScheduleBody) ContextValidate

func (o *UpdateNetworkSwitchPortScheduleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch port schedule body based on the context it is used

func (*UpdateNetworkSwitchPortScheduleBody) MarshalBinary

func (o *UpdateNetworkSwitchPortScheduleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleBody) UnmarshalBinary

func (o *UpdateNetworkSwitchPortScheduleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleBody) Validate

Validate validates this update network switch port schedule body

type UpdateNetworkSwitchPortScheduleOK

type UpdateNetworkSwitchPortScheduleOK struct {
	Payload *UpdateNetworkSwitchPortScheduleOKBody
}

UpdateNetworkSwitchPortScheduleOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchPortScheduleOK

func NewUpdateNetworkSwitchPortScheduleOK() *UpdateNetworkSwitchPortScheduleOK

NewUpdateNetworkSwitchPortScheduleOK creates a UpdateNetworkSwitchPortScheduleOK with default headers values

func (*UpdateNetworkSwitchPortScheduleOK) Code

Code gets the status code for the update network switch port schedule o k response

func (*UpdateNetworkSwitchPortScheduleOK) Error

func (*UpdateNetworkSwitchPortScheduleOK) GetPayload

func (*UpdateNetworkSwitchPortScheduleOK) IsClientError

func (o *UpdateNetworkSwitchPortScheduleOK) IsClientError() bool

IsClientError returns true when this update network switch port schedule o k response has a 4xx status code

func (*UpdateNetworkSwitchPortScheduleOK) IsCode

func (o *UpdateNetworkSwitchPortScheduleOK) IsCode(code int) bool

IsCode returns true when this update network switch port schedule o k response a status code equal to that given

func (*UpdateNetworkSwitchPortScheduleOK) IsRedirect

func (o *UpdateNetworkSwitchPortScheduleOK) IsRedirect() bool

IsRedirect returns true when this update network switch port schedule o k response has a 3xx status code

func (*UpdateNetworkSwitchPortScheduleOK) IsServerError

func (o *UpdateNetworkSwitchPortScheduleOK) IsServerError() bool

IsServerError returns true when this update network switch port schedule o k response has a 5xx status code

func (*UpdateNetworkSwitchPortScheduleOK) IsSuccess

func (o *UpdateNetworkSwitchPortScheduleOK) IsSuccess() bool

IsSuccess returns true when this update network switch port schedule o k response has a 2xx status code

func (*UpdateNetworkSwitchPortScheduleOK) String

type UpdateNetworkSwitchPortScheduleOKBody

type UpdateNetworkSwitchPortScheduleOKBody struct {

	// Switch port schedule ID
	ID string `json:"id,omitempty"`

	// Switch port schedule name
	Name string `json:"name,omitempty"`

	// Network ID
	NetworkID string `json:"networkId,omitempty"`

	// port schedule
	PortSchedule *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule `json:"portSchedule,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBody update network switch port schedule o k body swagger:model UpdateNetworkSwitchPortScheduleOKBody

func (*UpdateNetworkSwitchPortScheduleOKBody) ContextValidate

func (o *UpdateNetworkSwitchPortScheduleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch port schedule o k body based on the context it is used

func (*UpdateNetworkSwitchPortScheduleOKBody) MarshalBinary

func (o *UpdateNetworkSwitchPortScheduleOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBody) UnmarshalBinary

func (o *UpdateNetworkSwitchPortScheduleOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBody) Validate

Validate validates this update network switch port schedule o k body

type UpdateNetworkSwitchPortScheduleOKBodyPortSchedule

type UpdateNetworkSwitchPortScheduleOKBodyPortSchedule struct {

	// friday
	Friday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday `json:"friday,omitempty"`

	// monday
	Monday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday `json:"monday,omitempty"`

	// saturday
	Saturday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday `json:"saturday,omitempty"`

	// sunday
	Sunday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday `json:"sunday,omitempty"`

	// thursday
	Thursday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday `json:"thursday,omitempty"`

	// tuesday
	Tuesday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday `json:"wednesday,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortSchedule Port schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortSchedule

func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) ContextValidate

ContextValidate validate this update network switch port schedule o k body port schedule based on the context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) Validate

Validate validates this update network switch port schedule o k body port schedule

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday Friday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule friday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) Validate

Validate validates this update network switch port schedule o k body port schedule friday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday Monday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule monday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) Validate

Validate validates this update network switch port schedule o k body port schedule monday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday Saturday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule saturday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) Validate

Validate validates this update network switch port schedule o k body port schedule saturday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday Sunday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule sunday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) Validate

Validate validates this update network switch port schedule o k body port schedule sunday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday Thursday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule thursday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) Validate

Validate validates this update network switch port schedule o k body port schedule thursday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday Tuesday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule tuesday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) Validate

Validate validates this update network switch port schedule o k body port schedule tuesday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday

type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday struct {

	// Whether the schedule is active or inactive
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday Wednesday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) ContextValidate

ContextValidate validates this update network switch port schedule o k body port schedule wednesday based on context it is used

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) Validate

Validate validates this update network switch port schedule o k body port schedule wednesday

type UpdateNetworkSwitchPortScheduleParams

type UpdateNetworkSwitchPortScheduleParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* PortScheduleID.

	   Port schedule ID
	*/
	PortScheduleID string

	// UpdateNetworkSwitchPortSchedule.
	UpdateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint

for the update network switch port schedule operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchPortScheduleParams

func NewUpdateNetworkSwitchPortScheduleParams() *UpdateNetworkSwitchPortScheduleParams

NewUpdateNetworkSwitchPortScheduleParams creates a new UpdateNetworkSwitchPortScheduleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchPortScheduleParamsWithContext

func NewUpdateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams

NewUpdateNetworkSwitchPortScheduleParamsWithContext creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient

func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams

NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout

func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams

NewUpdateNetworkSwitchPortScheduleParamsWithTimeout creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchPortScheduleParams) SetContext

SetContext adds the context to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetDefaults

func (o *UpdateNetworkSwitchPortScheduleParams) SetDefaults()

SetDefaults hydrates default values in the update network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchPortScheduleParams) SetHTTPClient

func (o *UpdateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetNetworkID

func (o *UpdateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID

func (o *UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)

SetPortScheduleID adds the portScheduleId to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetTimeout

func (o *UpdateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule

func (o *UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody)

SetUpdateNetworkSwitchPortSchedule adds the updateNetworkSwitchPortSchedule to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithContext

WithContext adds the context to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithDefaults

WithDefaults hydrates default values in the update network switch port schedule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchPortScheduleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID

WithPortScheduleID adds the portScheduleID to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithTimeout

WithTimeout adds the timeout to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule

func (o *UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody) *UpdateNetworkSwitchPortScheduleParams

WithUpdateNetworkSwitchPortSchedule adds the updateNetworkSwitchPortSchedule to the update network switch port schedule params

func (*UpdateNetworkSwitchPortScheduleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule

type UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule struct {

	// friday
	Friday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday `json:"friday,omitempty"`

	// monday
	Monday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday `json:"monday,omitempty"`

	// saturday
	Saturday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday `json:"saturday,omitempty"`

	// sunday
	Sunday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday `json:"sunday,omitempty"`

	// thursday
	Thursday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday `json:"thursday,omitempty"`

	// tuesday
	Tuesday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday `json:"tuesday,omitempty"`

	// wednesday
	Wednesday *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday `json:"wednesday,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule The schedule for switch port scheduling. Schedules are applied to days of the week. // When it's empty, default schedule with all days of a week are configured. // Any unspecified day in the schedule is added as a default schedule configuration of the day. // swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate

ContextValidate validate this update network switch port schedule params body port schedule based on the context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) Validate

Validate validates this update network switch port schedule params body port schedule

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday The schedule object for Friday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule friday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) Validate

Validate validates this update network switch port schedule params body port schedule friday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday The schedule object for Monday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule monday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) Validate

Validate validates this update network switch port schedule params body port schedule monday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday The schedule object for Saturday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule saturday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) Validate

Validate validates this update network switch port schedule params body port schedule saturday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday The schedule object for Sunday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule sunday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) Validate

Validate validates this update network switch port schedule params body port schedule sunday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday The schedule object for Thursday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule thursday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) Validate

Validate validates this update network switch port schedule params body port schedule thursday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday The schedule object for Tuesday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule tuesday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) Validate

Validate validates this update network switch port schedule params body port schedule tuesday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday

type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday struct {

	// Whether the schedule is active (true) or inactive (false) during the time specified between 'from' and 'to'. Defaults to true.
	Active bool `json:"active,omitempty"`

	// The time, from '00:00' to '24:00'. Must be less than the time specified in 'to'. Defaults to '00:00'. Only 30 minute increments are allowed.
	From string `json:"from,omitempty"`

	// The time, from '00:00' to '24:00'. Must be greater than the time specified in 'from'. Defaults to '24:00'. Only 30 minute increments are allowed.
	To string `json:"to,omitempty"`
}

UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday The schedule object for Wednesday. swagger:model UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate

ContextValidate validates this update network switch port schedule params body port schedule wednesday based on context it is used

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) Validate

Validate validates this update network switch port schedule params body port schedule wednesday

type UpdateNetworkSwitchPortScheduleReader

type UpdateNetworkSwitchPortScheduleReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchPortScheduleReader is a Reader for the UpdateNetworkSwitchPortSchedule structure.

func (*UpdateNetworkSwitchPortScheduleReader) ReadResponse

func (o *UpdateNetworkSwitchPortScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchQosRuleBody

type UpdateNetworkSwitchQosRuleBody struct {

	// DSCP tag that should be assigned to incoming packet. Set this to -1 to trust incoming DSCP. Default value is 0.
	Dscp int64 `json:"dscp,omitempty"`

	// The destination port of the incoming packet. Applicable only if protocol is TCP or UDP.
	DstPort int64 `json:"dstPort,omitempty"`

	// The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	DstPortRange string `json:"dstPortRange,omitempty"`

	// The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY".
	// Enum: [ANY TCP UDP]
	Protocol string `json:"protocol,omitempty"`

	// The source port of the incoming packet. Applicable only if protocol is TCP or UDP.
	SrcPort int64 `json:"srcPort,omitempty"`

	// The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80
	SrcPortRange string `json:"srcPortRange,omitempty"`

	// The VLAN of the incoming packet. A null value will match any VLAN.
	Vlan int64 `json:"vlan,omitempty"`
}

UpdateNetworkSwitchQosRuleBody update network switch qos rule body // Example: {"dscp":0,"dstPort":3000,"dstPortRange":"3000-3100","protocol":"TCP","srcPort":2000,"srcPortRange":"70-80","vlan":100} swagger:model UpdateNetworkSwitchQosRuleBody

func (*UpdateNetworkSwitchQosRuleBody) ContextValidate

func (o *UpdateNetworkSwitchQosRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update network switch qos rule body based on context it is used

func (*UpdateNetworkSwitchQosRuleBody) MarshalBinary

func (o *UpdateNetworkSwitchQosRuleBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchQosRuleBody) UnmarshalBinary

func (o *UpdateNetworkSwitchQosRuleBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchQosRuleBody) Validate

func (o *UpdateNetworkSwitchQosRuleBody) Validate(formats strfmt.Registry) error

Validate validates this update network switch qos rule body

type UpdateNetworkSwitchQosRuleOK

type UpdateNetworkSwitchQosRuleOK struct {
	Payload interface{}
}

UpdateNetworkSwitchQosRuleOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchQosRuleOK

func NewUpdateNetworkSwitchQosRuleOK() *UpdateNetworkSwitchQosRuleOK

NewUpdateNetworkSwitchQosRuleOK creates a UpdateNetworkSwitchQosRuleOK with default headers values

func (*UpdateNetworkSwitchQosRuleOK) Code

Code gets the status code for the update network switch qos rule o k response

func (*UpdateNetworkSwitchQosRuleOK) Error

func (*UpdateNetworkSwitchQosRuleOK) GetPayload

func (o *UpdateNetworkSwitchQosRuleOK) GetPayload() interface{}

func (*UpdateNetworkSwitchQosRuleOK) IsClientError

func (o *UpdateNetworkSwitchQosRuleOK) IsClientError() bool

IsClientError returns true when this update network switch qos rule o k response has a 4xx status code

func (*UpdateNetworkSwitchQosRuleOK) IsCode

func (o *UpdateNetworkSwitchQosRuleOK) IsCode(code int) bool

IsCode returns true when this update network switch qos rule o k response a status code equal to that given

func (*UpdateNetworkSwitchQosRuleOK) IsRedirect

func (o *UpdateNetworkSwitchQosRuleOK) IsRedirect() bool

IsRedirect returns true when this update network switch qos rule o k response has a 3xx status code

func (*UpdateNetworkSwitchQosRuleOK) IsServerError

func (o *UpdateNetworkSwitchQosRuleOK) IsServerError() bool

IsServerError returns true when this update network switch qos rule o k response has a 5xx status code

func (*UpdateNetworkSwitchQosRuleOK) IsSuccess

func (o *UpdateNetworkSwitchQosRuleOK) IsSuccess() bool

IsSuccess returns true when this update network switch qos rule o k response has a 2xx status code

func (*UpdateNetworkSwitchQosRuleOK) String

type UpdateNetworkSwitchQosRuleParams

type UpdateNetworkSwitchQosRuleParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* QosRuleID.

	   Qos rule ID
	*/
	QosRuleID string

	// UpdateNetworkSwitchQosRule.
	UpdateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint

for the update network switch qos rule operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchQosRuleParams

func NewUpdateNetworkSwitchQosRuleParams() *UpdateNetworkSwitchQosRuleParams

NewUpdateNetworkSwitchQosRuleParams creates a new UpdateNetworkSwitchQosRuleParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchQosRuleParamsWithContext

func NewUpdateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRuleParams

NewUpdateNetworkSwitchQosRuleParamsWithContext creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient

func NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRuleParams

NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchQosRuleParamsWithTimeout

func NewUpdateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRuleParams

NewUpdateNetworkSwitchQosRuleParamsWithTimeout creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchQosRuleParams) SetContext

SetContext adds the context to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) SetDefaults

func (o *UpdateNetworkSwitchQosRuleParams) SetDefaults()

SetDefaults hydrates default values in the update network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchQosRuleParams) SetHTTPClient

func (o *UpdateNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) SetNetworkID

func (o *UpdateNetworkSwitchQosRuleParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) SetQosRuleID

func (o *UpdateNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)

SetQosRuleID adds the qosRuleId to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) SetTimeout

func (o *UpdateNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) SetUpdateNetworkSwitchQosRule

func (o *UpdateNetworkSwitchQosRuleParams) SetUpdateNetworkSwitchQosRule(updateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody)

SetUpdateNetworkSwitchQosRule adds the updateNetworkSwitchQosRule to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithContext

WithContext adds the context to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithDefaults

WithDefaults hydrates default values in the update network switch qos rule params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchQosRuleParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithQosRuleID

WithQosRuleID adds the qosRuleID to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithTimeout

WithTimeout adds the timeout to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WithUpdateNetworkSwitchQosRule

func (o *UpdateNetworkSwitchQosRuleParams) WithUpdateNetworkSwitchQosRule(updateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody) *UpdateNetworkSwitchQosRuleParams

WithUpdateNetworkSwitchQosRule adds the updateNetworkSwitchQosRule to the update network switch qos rule params

func (*UpdateNetworkSwitchQosRuleParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchQosRuleReader

type UpdateNetworkSwitchQosRuleReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchQosRuleReader is a Reader for the UpdateNetworkSwitchQosRule structure.

func (*UpdateNetworkSwitchQosRuleReader) ReadResponse

func (o *UpdateNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchQosRulesOrderBody

type UpdateNetworkSwitchQosRulesOrderBody struct {

	// A list of quality of service rule IDs arranged in order in which they should be processed by the switch.
	// Required: true
	RuleIds []string `json:"ruleIds"`
}

UpdateNetworkSwitchQosRulesOrderBody update network switch qos rules order body // Example: {"ruleIds":["1284392014819","2983092129865"]} swagger:model UpdateNetworkSwitchQosRulesOrderBody

func (*UpdateNetworkSwitchQosRulesOrderBody) ContextValidate

func (o *UpdateNetworkSwitchQosRulesOrderBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update network switch qos rules order body based on context it is used

func (*UpdateNetworkSwitchQosRulesOrderBody) MarshalBinary

func (o *UpdateNetworkSwitchQosRulesOrderBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchQosRulesOrderBody) UnmarshalBinary

func (o *UpdateNetworkSwitchQosRulesOrderBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchQosRulesOrderBody) Validate

Validate validates this update network switch qos rules order body

type UpdateNetworkSwitchQosRulesOrderOK

type UpdateNetworkSwitchQosRulesOrderOK struct {
	Payload interface{}
}

UpdateNetworkSwitchQosRulesOrderOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchQosRulesOrderOK

func NewUpdateNetworkSwitchQosRulesOrderOK() *UpdateNetworkSwitchQosRulesOrderOK

NewUpdateNetworkSwitchQosRulesOrderOK creates a UpdateNetworkSwitchQosRulesOrderOK with default headers values

func (*UpdateNetworkSwitchQosRulesOrderOK) Code

Code gets the status code for the update network switch qos rules order o k response

func (*UpdateNetworkSwitchQosRulesOrderOK) Error

func (*UpdateNetworkSwitchQosRulesOrderOK) GetPayload

func (o *UpdateNetworkSwitchQosRulesOrderOK) GetPayload() interface{}

func (*UpdateNetworkSwitchQosRulesOrderOK) IsClientError

func (o *UpdateNetworkSwitchQosRulesOrderOK) IsClientError() bool

IsClientError returns true when this update network switch qos rules order o k response has a 4xx status code

func (*UpdateNetworkSwitchQosRulesOrderOK) IsCode

IsCode returns true when this update network switch qos rules order o k response a status code equal to that given

func (*UpdateNetworkSwitchQosRulesOrderOK) IsRedirect

func (o *UpdateNetworkSwitchQosRulesOrderOK) IsRedirect() bool

IsRedirect returns true when this update network switch qos rules order o k response has a 3xx status code

func (*UpdateNetworkSwitchQosRulesOrderOK) IsServerError

func (o *UpdateNetworkSwitchQosRulesOrderOK) IsServerError() bool

IsServerError returns true when this update network switch qos rules order o k response has a 5xx status code

func (*UpdateNetworkSwitchQosRulesOrderOK) IsSuccess

IsSuccess returns true when this update network switch qos rules order o k response has a 2xx status code

func (*UpdateNetworkSwitchQosRulesOrderOK) String

type UpdateNetworkSwitchQosRulesOrderParams

type UpdateNetworkSwitchQosRulesOrderParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchQosRulesOrder.
	UpdateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchQosRulesOrderParams contains all the parameters to send to the API endpoint

for the update network switch qos rules order operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchQosRulesOrderParams

func NewUpdateNetworkSwitchQosRulesOrderParams() *UpdateNetworkSwitchQosRulesOrderParams

NewUpdateNetworkSwitchQosRulesOrderParams creates a new UpdateNetworkSwitchQosRulesOrderParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchQosRulesOrderParamsWithContext

func NewUpdateNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRulesOrderParams

NewUpdateNetworkSwitchQosRulesOrderParamsWithContext creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient

func NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRulesOrderParams

NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout

func NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRulesOrderParams

NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchQosRulesOrderParams) SetContext

SetContext adds the context to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) SetDefaults

func (o *UpdateNetworkSwitchQosRulesOrderParams) SetDefaults()

SetDefaults hydrates default values in the update network switch qos rules order params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchQosRulesOrderParams) SetHTTPClient

func (o *UpdateNetworkSwitchQosRulesOrderParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) SetNetworkID

func (o *UpdateNetworkSwitchQosRulesOrderParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) SetTimeout

func (o *UpdateNetworkSwitchQosRulesOrderParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) SetUpdateNetworkSwitchQosRulesOrder

func (o *UpdateNetworkSwitchQosRulesOrderParams) SetUpdateNetworkSwitchQosRulesOrder(updateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody)

SetUpdateNetworkSwitchQosRulesOrder adds the updateNetworkSwitchQosRulesOrder to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WithContext

WithContext adds the context to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WithDefaults

WithDefaults hydrates default values in the update network switch qos rules order params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchQosRulesOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WithTimeout

WithTimeout adds the timeout to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WithUpdateNetworkSwitchQosRulesOrder

func (o *UpdateNetworkSwitchQosRulesOrderParams) WithUpdateNetworkSwitchQosRulesOrder(updateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody) *UpdateNetworkSwitchQosRulesOrderParams

WithUpdateNetworkSwitchQosRulesOrder adds the updateNetworkSwitchQosRulesOrder to the update network switch qos rules order params

func (*UpdateNetworkSwitchQosRulesOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchQosRulesOrderReader

type UpdateNetworkSwitchQosRulesOrderReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchQosRulesOrderReader is a Reader for the UpdateNetworkSwitchQosRulesOrder structure.

func (*UpdateNetworkSwitchQosRulesOrderReader) ReadResponse

func (o *UpdateNetworkSwitchQosRulesOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchRoutingMulticastBody

type UpdateNetworkSwitchRoutingMulticastBody struct {

	// default settings
	DefaultSettings *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings `json:"defaultSettings,omitempty"`

	// Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings.
	Overrides []*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 `json:"overrides"`
}

UpdateNetworkSwitchRoutingMulticastBody update network switch routing multicast body // Example: {"defaultSettings":{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true},"overrides":[{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"stacks":["789102","123456","129102"]},{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"switchProfiles":["1234","4567"]}]} swagger:model UpdateNetworkSwitchRoutingMulticastBody

func (*UpdateNetworkSwitchRoutingMulticastBody) ContextValidate

ContextValidate validate this update network switch routing multicast body based on the context it is used

func (*UpdateNetworkSwitchRoutingMulticastBody) MarshalBinary

func (o *UpdateNetworkSwitchRoutingMulticastBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastBody) UnmarshalBinary

func (o *UpdateNetworkSwitchRoutingMulticastBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastBody) Validate

Validate validates this update network switch routing multicast body

type UpdateNetworkSwitchRoutingMulticastOK

type UpdateNetworkSwitchRoutingMulticastOK struct {
	Payload interface{}
}

UpdateNetworkSwitchRoutingMulticastOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchRoutingMulticastOK

func NewUpdateNetworkSwitchRoutingMulticastOK() *UpdateNetworkSwitchRoutingMulticastOK

NewUpdateNetworkSwitchRoutingMulticastOK creates a UpdateNetworkSwitchRoutingMulticastOK with default headers values

func (*UpdateNetworkSwitchRoutingMulticastOK) Code

Code gets the status code for the update network switch routing multicast o k response

func (*UpdateNetworkSwitchRoutingMulticastOK) Error

func (*UpdateNetworkSwitchRoutingMulticastOK) GetPayload

func (o *UpdateNetworkSwitchRoutingMulticastOK) GetPayload() interface{}

func (*UpdateNetworkSwitchRoutingMulticastOK) IsClientError

func (o *UpdateNetworkSwitchRoutingMulticastOK) IsClientError() bool

IsClientError returns true when this update network switch routing multicast o k response has a 4xx status code

func (*UpdateNetworkSwitchRoutingMulticastOK) IsCode

IsCode returns true when this update network switch routing multicast o k response a status code equal to that given

func (*UpdateNetworkSwitchRoutingMulticastOK) IsRedirect

IsRedirect returns true when this update network switch routing multicast o k response has a 3xx status code

func (*UpdateNetworkSwitchRoutingMulticastOK) IsServerError

func (o *UpdateNetworkSwitchRoutingMulticastOK) IsServerError() bool

IsServerError returns true when this update network switch routing multicast o k response has a 5xx status code

func (*UpdateNetworkSwitchRoutingMulticastOK) IsSuccess

IsSuccess returns true when this update network switch routing multicast o k response has a 2xx status code

func (*UpdateNetworkSwitchRoutingMulticastOK) String

type UpdateNetworkSwitchRoutingMulticastParams

type UpdateNetworkSwitchRoutingMulticastParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchRoutingMulticast.
	UpdateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingMulticastParams contains all the parameters to send to the API endpoint

for the update network switch routing multicast operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchRoutingMulticastParams

func NewUpdateNetworkSwitchRoutingMulticastParams() *UpdateNetworkSwitchRoutingMulticastParams

NewUpdateNetworkSwitchRoutingMulticastParams creates a new UpdateNetworkSwitchRoutingMulticastParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchRoutingMulticastParamsWithContext

func NewUpdateNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastParams

NewUpdateNetworkSwitchRoutingMulticastParamsWithContext creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient

func NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastParams

NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout

func NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastParams

NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchRoutingMulticastParams) SetContext

SetContext adds the context to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) SetDefaults

SetDefaults hydrates default values in the update network switch routing multicast params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingMulticastParams) SetHTTPClient

func (o *UpdateNetworkSwitchRoutingMulticastParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) SetNetworkID

func (o *UpdateNetworkSwitchRoutingMulticastParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) SetTimeout

SetTimeout adds the timeout to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) SetUpdateNetworkSwitchRoutingMulticast

func (o *UpdateNetworkSwitchRoutingMulticastParams) SetUpdateNetworkSwitchRoutingMulticast(updateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody)

SetUpdateNetworkSwitchRoutingMulticast adds the updateNetworkSwitchRoutingMulticast to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WithContext

WithContext adds the context to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WithDefaults

WithDefaults hydrates default values in the update network switch routing multicast params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingMulticastParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WithTimeout

WithTimeout adds the timeout to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WithUpdateNetworkSwitchRoutingMulticast

func (o *UpdateNetworkSwitchRoutingMulticastParams) WithUpdateNetworkSwitchRoutingMulticast(updateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody) *UpdateNetworkSwitchRoutingMulticastParams

WithUpdateNetworkSwitchRoutingMulticast adds the updateNetworkSwitchRoutingMulticast to the update network switch routing multicast params

func (*UpdateNetworkSwitchRoutingMulticastParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings

type UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings struct {

	// Flood unknown multicast traffic setting for entire network
	FloodUnknownMulticastTrafficEnabled bool `json:"floodUnknownMulticastTrafficEnabled,omitempty"`

	// IGMP snooping setting for entire network
	IgmpSnoopingEnabled bool `json:"igmpSnoopingEnabled,omitempty"`
}

UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings Default multicast setting for entire network. IGMP snooping and Flood unknown multicast traffic settings are enabled by default. swagger:model UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) ContextValidate

ContextValidate validates this update network switch routing multicast params body default settings based on context it is used

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) Validate

Validate validates this update network switch routing multicast params body default settings

type UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0

type UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 struct {

	// Flood unknown multicast traffic setting for switches, switch stacks or switch templates
	// Required: true
	FloodUnknownMulticastTrafficEnabled *bool `json:"floodUnknownMulticastTrafficEnabled"`

	// IGMP snooping setting for switches, switch stacks or switch templates
	// Required: true
	IgmpSnoopingEnabled *bool `json:"igmpSnoopingEnabled"`

	// List of switch stack ids for non-template network
	Stacks []string `json:"stacks"`

	// List of switch templates ids for template network
	SwitchProfiles []string `json:"switchProfiles"`

	// List of switch serials for non-template network
	Switches []string `json:"switches"`
}

UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 update network switch routing multicast params body overrides items0 swagger:model UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) ContextValidate

ContextValidate validates this update network switch routing multicast params body overrides items0 based on context it is used

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) Validate

Validate validates this update network switch routing multicast params body overrides items0

type UpdateNetworkSwitchRoutingMulticastReader

type UpdateNetworkSwitchRoutingMulticastReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingMulticastReader is a Reader for the UpdateNetworkSwitchRoutingMulticast structure.

func (*UpdateNetworkSwitchRoutingMulticastReader) ReadResponse

func (o *UpdateNetworkSwitchRoutingMulticastReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchRoutingMulticastRendezvousPointBody

type UpdateNetworkSwitchRoutingMulticastRendezvousPointBody struct {

	// The IP address of the interface to use
	// Required: true
	InterfaceIP *string `json:"interfaceIp"`

	// 'Any', or the IP address of a multicast group
	// Required: true
	MulticastGroup *string `json:"multicastGroup"`
}

UpdateNetworkSwitchRoutingMulticastRendezvousPointBody update network switch routing multicast rendezvous point body // Example: {"interfaceIp":"192.168.1.2","multicastGroup":"192.168.128.0/24"} swagger:model UpdateNetworkSwitchRoutingMulticastRendezvousPointBody

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate

ContextValidate validates this update network switch routing multicast rendezvous point body based on context it is used

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) Validate

Validate validates this update network switch routing multicast rendezvous point body

type UpdateNetworkSwitchRoutingMulticastRendezvousPointOK

type UpdateNetworkSwitchRoutingMulticastRendezvousPointOK struct {
	Payload interface{}
}

UpdateNetworkSwitchRoutingMulticastRendezvousPointOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK() *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK

NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK creates a UpdateNetworkSwitchRoutingMulticastRendezvousPointOK with default headers values

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Code

Code gets the status code for the update network switch routing multicast rendezvous point o k response

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Error

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload

func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError

IsClientError returns true when this update network switch routing multicast rendezvous point o k response has a 4xx status code

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode

IsCode returns true when this update network switch routing multicast rendezvous point o k response a status code equal to that given

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect

IsRedirect returns true when this update network switch routing multicast rendezvous point o k response has a 3xx status code

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError

IsServerError returns true when this update network switch routing multicast rendezvous point o k response has a 5xx status code

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess

IsSuccess returns true when this update network switch routing multicast rendezvous point o k response has a 2xx status code

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) String

type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* RendezvousPointID.

	   Rendezvous point ID
	*/
	RendezvousPointID string

	// UpdateNetworkSwitchRoutingMulticastRendezvousPoint.
	UpdateNetworkSwitchRoutingMulticastRendezvousPoint UpdateNetworkSwitchRoutingMulticastRendezvousPointBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint

for the update network switch routing multicast rendezvous point operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams() *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout

func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext

SetContext adds the context to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults

SetDefaults hydrates default values in the update network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID

SetNetworkID adds the networkId to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID

func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)

SetRendezvousPointID adds the rendezvousPointId to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout

SetTimeout adds the timeout to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetUpdateNetworkSwitchRoutingMulticastRendezvousPoint

func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetUpdateNetworkSwitchRoutingMulticastRendezvousPoint(updateNetworkSwitchRoutingMulticastRendezvousPoint UpdateNetworkSwitchRoutingMulticastRendezvousPointBody)

SetUpdateNetworkSwitchRoutingMulticastRendezvousPoint adds the updateNetworkSwitchRoutingMulticastRendezvousPoint to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext

WithContext adds the context to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults

WithDefaults hydrates default values in the update network switch routing multicast rendezvous point params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID

WithRendezvousPointID adds the rendezvousPointID to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout

WithTimeout adds the timeout to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithUpdateNetworkSwitchRoutingMulticastRendezvousPoint

func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithUpdateNetworkSwitchRoutingMulticastRendezvousPoint(updateNetworkSwitchRoutingMulticastRendezvousPoint UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams

WithUpdateNetworkSwitchRoutingMulticastRendezvousPoint adds the updateNetworkSwitchRoutingMulticastRendezvousPoint to the update network switch routing multicast rendezvous point params

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchRoutingMulticastRendezvousPointReader

type UpdateNetworkSwitchRoutingMulticastRendezvousPointReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the UpdateNetworkSwitchRoutingMulticastRendezvousPoint structure.

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse

func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchRoutingOspfBody

type UpdateNetworkSwitchRoutingOspfBody struct {

	// OSPF areas
	Areas []*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 `json:"areas"`

	// Time interval to determine when the peer will be declared inactive/dead. Value must be between 1 and 65535
	DeadTimerInSeconds int64 `json:"deadTimerInSeconds,omitempty"`

	// Boolean value to enable or disable OSPF routing. OSPF routing is disabled by default.
	Enabled bool `json:"enabled,omitempty"`

	// Time interval in seconds at which hello packet will be sent to OSPF neighbors to maintain connectivity. Value must be between 1 and 255. Default is 10 seconds.
	HelloTimerInSeconds int64 `json:"helloTimerInSeconds,omitempty"`

	// Boolean value to enable or disable MD5 authentication. MD5 authentication is disabled by default.
	Md5AuthenticationEnabled bool `json:"md5AuthenticationEnabled,omitempty"`

	// md5 authentication key
	Md5AuthenticationKey *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey `json:"md5AuthenticationKey,omitempty"`

	// v3
	V3 *UpdateNetworkSwitchRoutingOspfParamsBodyV3 `json:"v3,omitempty"`
}

UpdateNetworkSwitchRoutingOspfBody update network switch routing ospf body // Example: {"areas":[{"areaId":"1284392014819","areaName":"Backbone","areaType":"normal"}],"deadTimerInSeconds":40,"enabled":true,"helloTimerInSeconds":10,"md5AuthenticationEnabled":true,"md5AuthenticationKey":{"id":1234,"passphrase":"abc1234"},"v3":{"areas":[{"areaId":"1284392014819","areaName":"V3 Backbone","areaType":"normal"}],"deadTimerInSeconds":40,"enabled":true,"helloTimerInSeconds":10}} swagger:model UpdateNetworkSwitchRoutingOspfBody

func (*UpdateNetworkSwitchRoutingOspfBody) ContextValidate

func (o *UpdateNetworkSwitchRoutingOspfBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch routing ospf body based on the context it is used

func (*UpdateNetworkSwitchRoutingOspfBody) MarshalBinary

func (o *UpdateNetworkSwitchRoutingOspfBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfBody) UnmarshalBinary

func (o *UpdateNetworkSwitchRoutingOspfBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfBody) Validate

Validate validates this update network switch routing ospf body

type UpdateNetworkSwitchRoutingOspfOK

type UpdateNetworkSwitchRoutingOspfOK struct {
	Payload interface{}
}

UpdateNetworkSwitchRoutingOspfOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchRoutingOspfOK

func NewUpdateNetworkSwitchRoutingOspfOK() *UpdateNetworkSwitchRoutingOspfOK

NewUpdateNetworkSwitchRoutingOspfOK creates a UpdateNetworkSwitchRoutingOspfOK with default headers values

func (*UpdateNetworkSwitchRoutingOspfOK) Code

Code gets the status code for the update network switch routing ospf o k response

func (*UpdateNetworkSwitchRoutingOspfOK) Error

func (*UpdateNetworkSwitchRoutingOspfOK) GetPayload

func (o *UpdateNetworkSwitchRoutingOspfOK) GetPayload() interface{}

func (*UpdateNetworkSwitchRoutingOspfOK) IsClientError

func (o *UpdateNetworkSwitchRoutingOspfOK) IsClientError() bool

IsClientError returns true when this update network switch routing ospf o k response has a 4xx status code

func (*UpdateNetworkSwitchRoutingOspfOK) IsCode

func (o *UpdateNetworkSwitchRoutingOspfOK) IsCode(code int) bool

IsCode returns true when this update network switch routing ospf o k response a status code equal to that given

func (*UpdateNetworkSwitchRoutingOspfOK) IsRedirect

func (o *UpdateNetworkSwitchRoutingOspfOK) IsRedirect() bool

IsRedirect returns true when this update network switch routing ospf o k response has a 3xx status code

func (*UpdateNetworkSwitchRoutingOspfOK) IsServerError

func (o *UpdateNetworkSwitchRoutingOspfOK) IsServerError() bool

IsServerError returns true when this update network switch routing ospf o k response has a 5xx status code

func (*UpdateNetworkSwitchRoutingOspfOK) IsSuccess

func (o *UpdateNetworkSwitchRoutingOspfOK) IsSuccess() bool

IsSuccess returns true when this update network switch routing ospf o k response has a 2xx status code

func (*UpdateNetworkSwitchRoutingOspfOK) String

type UpdateNetworkSwitchRoutingOspfParams

type UpdateNetworkSwitchRoutingOspfParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchRoutingOspf.
	UpdateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingOspfParams contains all the parameters to send to the API endpoint

for the update network switch routing ospf operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchRoutingOspfParams

func NewUpdateNetworkSwitchRoutingOspfParams() *UpdateNetworkSwitchRoutingOspfParams

NewUpdateNetworkSwitchRoutingOspfParams creates a new UpdateNetworkSwitchRoutingOspfParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchRoutingOspfParamsWithContext

func NewUpdateNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingOspfParams

NewUpdateNetworkSwitchRoutingOspfParamsWithContext creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient

func NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingOspfParams

NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout

func NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingOspfParams

NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchRoutingOspfParams) SetContext

SetContext adds the context to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) SetDefaults

func (o *UpdateNetworkSwitchRoutingOspfParams) SetDefaults()

SetDefaults hydrates default values in the update network switch routing ospf params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingOspfParams) SetHTTPClient

func (o *UpdateNetworkSwitchRoutingOspfParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) SetNetworkID

func (o *UpdateNetworkSwitchRoutingOspfParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) SetTimeout

func (o *UpdateNetworkSwitchRoutingOspfParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) SetUpdateNetworkSwitchRoutingOspf

func (o *UpdateNetworkSwitchRoutingOspfParams) SetUpdateNetworkSwitchRoutingOspf(updateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody)

SetUpdateNetworkSwitchRoutingOspf adds the updateNetworkSwitchRoutingOspf to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WithContext

WithContext adds the context to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WithDefaults

WithDefaults hydrates default values in the update network switch routing ospf params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchRoutingOspfParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WithTimeout

WithTimeout adds the timeout to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WithUpdateNetworkSwitchRoutingOspf

func (o *UpdateNetworkSwitchRoutingOspfParams) WithUpdateNetworkSwitchRoutingOspf(updateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody) *UpdateNetworkSwitchRoutingOspfParams

WithUpdateNetworkSwitchRoutingOspf adds the updateNetworkSwitchRoutingOspf to the update network switch routing ospf params

func (*UpdateNetworkSwitchRoutingOspfParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0

type UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 struct {

	// OSPF area ID
	// Required: true
	AreaID *string `json:"areaId"`

	// Name of the OSPF area
	// Required: true
	AreaName *string `json:"areaName"`

	// Area types in OSPF. Must be one of: ["normal", "stub", "nssa"]
	// Required: true
	// Enum: [normal nssa stub]
	AreaType *string `json:"areaType"`
}

UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 update network switch routing ospf params body areas items0 swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0

func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) ContextValidate

ContextValidate validates this update network switch routing ospf params body areas items0 based on context it is used

func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) Validate

Validate validates this update network switch routing ospf params body areas items0

type UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey

type UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey struct {

	// MD5 authentication key index. Key index must be between 1 to 255
	ID int64 `json:"id,omitempty"`

	// MD5 authentication passphrase
	Passphrase string `json:"passphrase,omitempty"`
}

UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey MD5 authentication credentials. This param is only relevant if md5AuthenticationEnabled is true swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey

func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) ContextValidate

ContextValidate validates this update network switch routing ospf params body md5 authentication key based on context it is used

func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) Validate

Validate validates this update network switch routing ospf params body md5 authentication key

type UpdateNetworkSwitchRoutingOspfParamsBodyV3

type UpdateNetworkSwitchRoutingOspfParamsBodyV3 struct {

	// OSPF v3 areas
	Areas []*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 `json:"areas"`

	// Time interval to determine when the peer will be declared inactive/dead. Value must be between 1 and 65535
	DeadTimerInSeconds int64 `json:"deadTimerInSeconds,omitempty"`

	// Boolean value to enable or disable V3 OSPF routing. OSPF V3 routing is disabled by default.
	Enabled bool `json:"enabled,omitempty"`

	// Time interval in seconds at which hello packet will be sent to OSPF neighbors to maintain connectivity. Value must be between 1 and 255. Default is 10 seconds.
	HelloTimerInSeconds int64 `json:"helloTimerInSeconds,omitempty"`
}

UpdateNetworkSwitchRoutingOspfParamsBodyV3 OSPF v3 configuration swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyV3

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3) ContextValidate

ContextValidate validate this update network switch routing ospf params body v3 based on the context it is used

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3) MarshalBinary

func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3) UnmarshalBinary

func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3) Validate

Validate validates this update network switch routing ospf params body v3

type UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0

type UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 struct {

	// OSPF area ID
	// Required: true
	AreaID *string `json:"areaId"`

	// Name of the OSPF area
	// Required: true
	AreaName *string `json:"areaName"`

	// Area types in OSPF. Must be one of: ["normal", "stub", "nssa"]
	// Required: true
	// Enum: [normal nssa stub]
	AreaType *string `json:"areaType"`
}

UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 update network switch routing ospf params body v3 areas items0 swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) ContextValidate

ContextValidate validates this update network switch routing ospf params body v3 areas items0 based on context it is used

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) Validate

Validate validates this update network switch routing ospf params body v3 areas items0

type UpdateNetworkSwitchRoutingOspfReader

type UpdateNetworkSwitchRoutingOspfReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchRoutingOspfReader is a Reader for the UpdateNetworkSwitchRoutingOspf structure.

func (*UpdateNetworkSwitchRoutingOspfReader) ReadResponse

func (o *UpdateNetworkSwitchRoutingOspfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchSettingsBody

type UpdateNetworkSwitchSettingsBody struct {

	// Exceptions on a per switch basis to "useCombinedPower"
	PowerExceptions []*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0 `json:"powerExceptions"`

	// uplink client sampling
	UplinkClientSampling *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"`

	// The use Combined Power as the default behavior of secondary power supplies on supported devices.
	UseCombinedPower bool `json:"useCombinedPower,omitempty"`

	// Management VLAN
	Vlan int64 `json:"vlan,omitempty"`
}

UpdateNetworkSwitchSettingsBody update network switch settings body // Example: {} swagger:model UpdateNetworkSwitchSettingsBody

func (*UpdateNetworkSwitchSettingsBody) ContextValidate

func (o *UpdateNetworkSwitchSettingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch settings body based on the context it is used

func (*UpdateNetworkSwitchSettingsBody) MarshalBinary

func (o *UpdateNetworkSwitchSettingsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsBody) UnmarshalBinary

func (o *UpdateNetworkSwitchSettingsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsBody) Validate

Validate validates this update network switch settings body

type UpdateNetworkSwitchSettingsOK

type UpdateNetworkSwitchSettingsOK struct {
	Payload *UpdateNetworkSwitchSettingsOKBody
}

UpdateNetworkSwitchSettingsOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchSettingsOK

func NewUpdateNetworkSwitchSettingsOK() *UpdateNetworkSwitchSettingsOK

NewUpdateNetworkSwitchSettingsOK creates a UpdateNetworkSwitchSettingsOK with default headers values

func (*UpdateNetworkSwitchSettingsOK) Code

Code gets the status code for the update network switch settings o k response

func (*UpdateNetworkSwitchSettingsOK) Error

func (*UpdateNetworkSwitchSettingsOK) GetPayload

func (*UpdateNetworkSwitchSettingsOK) IsClientError

func (o *UpdateNetworkSwitchSettingsOK) IsClientError() bool

IsClientError returns true when this update network switch settings o k response has a 4xx status code

func (*UpdateNetworkSwitchSettingsOK) IsCode

func (o *UpdateNetworkSwitchSettingsOK) IsCode(code int) bool

IsCode returns true when this update network switch settings o k response a status code equal to that given

func (*UpdateNetworkSwitchSettingsOK) IsRedirect

func (o *UpdateNetworkSwitchSettingsOK) IsRedirect() bool

IsRedirect returns true when this update network switch settings o k response has a 3xx status code

func (*UpdateNetworkSwitchSettingsOK) IsServerError

func (o *UpdateNetworkSwitchSettingsOK) IsServerError() bool

IsServerError returns true when this update network switch settings o k response has a 5xx status code

func (*UpdateNetworkSwitchSettingsOK) IsSuccess

func (o *UpdateNetworkSwitchSettingsOK) IsSuccess() bool

IsSuccess returns true when this update network switch settings o k response has a 2xx status code

func (*UpdateNetworkSwitchSettingsOK) String

type UpdateNetworkSwitchSettingsOKBody

type UpdateNetworkSwitchSettingsOKBody struct {

	// Exceptions on a per switch basis to "useCombinedPower"
	PowerExceptions []*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 `json:"powerExceptions"`

	// uplink client sampling
	UplinkClientSampling *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"`

	// The use Combined Power as the default behavior of secondary power supplies on supported devices.
	UseCombinedPower bool `json:"useCombinedPower,omitempty"`

	// Management VLAN
	Vlan int64 `json:"vlan,omitempty"`
}

UpdateNetworkSwitchSettingsOKBody update network switch settings o k body swagger:model UpdateNetworkSwitchSettingsOKBody

func (*UpdateNetworkSwitchSettingsOKBody) ContextValidate

func (o *UpdateNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch settings o k body based on the context it is used

func (*UpdateNetworkSwitchSettingsOKBody) MarshalBinary

func (o *UpdateNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBody) UnmarshalBinary

func (o *UpdateNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBody) Validate

Validate validates this update network switch settings o k body

type UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0

type UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 struct {

	// Per switch exception (combined, redundant, useNetworkSetting)
	// Enum: [combined redundant useNetworkSetting]
	PowerType string `json:"powerType,omitempty"`

	// Serial number of the switch
	Serial string `json:"serial,omitempty"`
}

UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 update network switch settings o k body power exceptions items0 swagger:model UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0

func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate

ContextValidate validates this update network switch settings o k body power exceptions items0 based on context it is used

func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) Validate

Validate validates this update network switch settings o k body power exceptions items0

type UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling

type UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling struct {

	// Enable client sampling on uplink
	Enabled bool `json:"enabled,omitempty"`
}

UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling Uplink client sampling swagger:model UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling

func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate

ContextValidate validates this update network switch settings o k body uplink client sampling based on context it is used

func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) Validate

Validate validates this update network switch settings o k body uplink client sampling

type UpdateNetworkSwitchSettingsParams

type UpdateNetworkSwitchSettingsParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchSettings.
	UpdateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchSettingsParams contains all the parameters to send to the API endpoint

for the update network switch settings operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchSettingsParams

func NewUpdateNetworkSwitchSettingsParams() *UpdateNetworkSwitchSettingsParams

NewUpdateNetworkSwitchSettingsParams creates a new UpdateNetworkSwitchSettingsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchSettingsParamsWithContext

func NewUpdateNetworkSwitchSettingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchSettingsParams

NewUpdateNetworkSwitchSettingsParamsWithContext creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchSettingsParamsWithHTTPClient

func NewUpdateNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchSettingsParams

NewUpdateNetworkSwitchSettingsParamsWithHTTPClient creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchSettingsParamsWithTimeout

func NewUpdateNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchSettingsParams

NewUpdateNetworkSwitchSettingsParamsWithTimeout creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchSettingsParams) SetContext

SetContext adds the context to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) SetDefaults

func (o *UpdateNetworkSwitchSettingsParams) SetDefaults()

SetDefaults hydrates default values in the update network switch settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchSettingsParams) SetHTTPClient

func (o *UpdateNetworkSwitchSettingsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) SetNetworkID

func (o *UpdateNetworkSwitchSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) SetTimeout

func (o *UpdateNetworkSwitchSettingsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) SetUpdateNetworkSwitchSettings

func (o *UpdateNetworkSwitchSettingsParams) SetUpdateNetworkSwitchSettings(updateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody)

SetUpdateNetworkSwitchSettings adds the updateNetworkSwitchSettings to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WithContext

WithContext adds the context to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WithDefaults

WithDefaults hydrates default values in the update network switch settings params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WithTimeout

WithTimeout adds the timeout to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WithUpdateNetworkSwitchSettings

func (o *UpdateNetworkSwitchSettingsParams) WithUpdateNetworkSwitchSettings(updateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody) *UpdateNetworkSwitchSettingsParams

WithUpdateNetworkSwitchSettings adds the updateNetworkSwitchSettings to the update network switch settings params

func (*UpdateNetworkSwitchSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0

type UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0 struct {

	// Per switch exception (combined, redundant, useNetworkSetting)
	// Required: true
	// Enum: [combined redundant useNetworkSetting]
	PowerType *string `json:"powerType"`

	// Serial number of the switch
	// Required: true
	Serial *string `json:"serial"`
}

UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0 update network switch settings params body power exceptions items0 swagger:model UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0

func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) ContextValidate

ContextValidate validates this update network switch settings params body power exceptions items0 based on context it is used

func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) Validate

Validate validates this update network switch settings params body power exceptions items0

type UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling

type UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling struct {

	// Enable uplink client sampling
	Enabled bool `json:"enabled,omitempty"`
}

UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling Uplink client sampling swagger:model UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling

func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) ContextValidate

ContextValidate validates this update network switch settings params body uplink client sampling based on context it is used

func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) Validate

Validate validates this update network switch settings params body uplink client sampling

type UpdateNetworkSwitchSettingsReader

type UpdateNetworkSwitchSettingsReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchSettingsReader is a Reader for the UpdateNetworkSwitchSettings structure.

func (*UpdateNetworkSwitchSettingsReader) ReadResponse

func (o *UpdateNetworkSwitchSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchStackRoutingInterfaceBody

type UpdateNetworkSwitchStackRoutingInterfaceBody struct {

	// The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface.
	DefaultGateway string `json:"defaultGateway,omitempty"`

	// The IP address this switch stack will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP.
	InterfaceIP string `json:"interfaceIp,omitempty"`

	// ipv6
	IPV6 *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"`

	// Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'.
	// Enum: [IGMP snooping querier disabled enabled]
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// A friendly name or description for the interface or VLAN.
	Name string `json:"name,omitempty"`

	// ospf settings
	OspfSettings *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"`

	// The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24).
	Subnet string `json:"subnet,omitempty"`

	// The VLAN this routed interface is on. VLAN must be between 1 and 4094.
	VlanID int64 `json:"vlanId,omitempty"`
}

UpdateNetworkSwitchStackRoutingInterfaceBody update network switch stack routing interface body // Example: {"interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model UpdateNetworkSwitchStackRoutingInterfaceBody

func (*UpdateNetworkSwitchStackRoutingInterfaceBody) ContextValidate

ContextValidate validate this update network switch stack routing interface body based on the context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceBody) Validate

Validate validates this update network switch stack routing interface body

type UpdateNetworkSwitchStackRoutingInterfaceDhcpBody

type UpdateNetworkSwitchStackRoutingInterfaceDhcpBody struct {

	// The PXE boot server file name for the DHCP server running on the switch stack interface
	BootFileName string `json:"bootFileName,omitempty"`

	// The PXE boot server IP for the DHCP server running on the switch stack interface
	BootNextServer string `json:"bootNextServer,omitempty"`

	// Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch
	//         stack interface
	BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"`

	// The DHCP lease time config for the dhcp server running on switch stack interface
	//         ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week')
	// Enum: [1 day 1 hour 1 week 12 hours 30 minutes 4 hours]
	DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"`

	// The DHCP mode options for the switch stack interface
	//         ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer')
	// Enum: [dhcpDisabled dhcpRelay dhcpServer]
	DhcpMode string `json:"dhcpMode,omitempty"`

	// Array of DHCP options consisting of code, type and value for the DHCP server running on the
	//         switch stack interface
	DhcpOptions []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 `json:"dhcpOptions"`

	// The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface
	DhcpRelayServerIps []string `json:"dhcpRelayServerIps"`

	// The DHCP name server IPs when DHCP name server option is '
	//         custom'
	DNSCustomNameservers []string `json:"dnsCustomNameservers"`

	// The DHCP name server option for the dhcp server running on the switch stack interface
	//         ('googlePublicDns', 'openDns' or 'custom')
	// Enum: [custom googlePublicDns openDns]
	DNSNameserversOption string `json:"dnsNameserversOption,omitempty"`

	// Array of DHCP fixed IP assignments for the DHCP server running on the switch stack interface
	FixedIPAssignments []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"`

	// Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface
	ReservedIPRanges []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 `json:"reservedIpRanges"`
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpBody update network switch stack routing interface dhcp body // Example: {"bootFileName":"home_boot_file","bootNextServer":"1.2.3.4","bootOptionsEnabled":true,"dhcpLeaseTime":"1 day","dhcpMode":"dhcpServer","dhcpOptions":[{"code":"5","type":"text","value":"five"}],"dnsCustomNameservers":["8.8.8.8, 8.8.4.4"],"dnsNameserversOption":"custom","fixedIpAssignments":[{"ip":"192.168.1.12","mac":"22:33:44:55:66:77","name":"Cisco Meraki valued client"}],"reservedIpRanges":[{"comment":"A reserved IP range","end":"192.168.1.10","start":"192.168.1.1"}]} swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpBody

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) ContextValidate

ContextValidate validate this update network switch stack routing interface dhcp body based on the context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) Validate

Validate validates this update network switch stack routing interface dhcp body

type UpdateNetworkSwitchStackRoutingInterfaceDhcpOK

type UpdateNetworkSwitchStackRoutingInterfaceDhcpOK struct {
	Payload interface{}
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK() *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK

NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK creates a UpdateNetworkSwitchStackRoutingInterfaceDhcpOK with default headers values

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Code

Code gets the status code for the update network switch stack routing interface dhcp o k response

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Error

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload() interface{}

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError

IsClientError returns true when this update network switch stack routing interface dhcp o k response has a 4xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode

IsCode returns true when this update network switch stack routing interface dhcp o k response a status code equal to that given

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect

IsRedirect returns true when this update network switch stack routing interface dhcp o k response has a 3xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError

IsServerError returns true when this update network switch stack routing interface dhcp o k response has a 5xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess

IsSuccess returns true when this update network switch stack routing interface dhcp o k response has a 2xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) String

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	// UpdateNetworkSwitchStackRoutingInterfaceDhcp.
	UpdateNetworkSwitchStackRoutingInterfaceDhcp UpdateNetworkSwitchStackRoutingInterfaceDhcpBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint

for the update network switch stack routing interface dhcp operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams() *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout

func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext

SetContext adds the context to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults

SetDefaults hydrates default values in the update network switch stack routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID

SetNetworkID adds the networkId to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout

SetTimeout adds the timeout to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetUpdateNetworkSwitchStackRoutingInterfaceDhcp

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetUpdateNetworkSwitchStackRoutingInterfaceDhcp(updateNetworkSwitchStackRoutingInterfaceDhcp UpdateNetworkSwitchStackRoutingInterfaceDhcpBody)

SetUpdateNetworkSwitchStackRoutingInterfaceDhcp adds the updateNetworkSwitchStackRoutingInterfaceDhcp to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext

WithContext adds the context to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults

WithDefaults hydrates default values in the update network switch stack routing interface dhcp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout

WithTimeout adds the timeout to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithUpdateNetworkSwitchStackRoutingInterfaceDhcp

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithUpdateNetworkSwitchStackRoutingInterfaceDhcp(updateNetworkSwitchStackRoutingInterfaceDhcp UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams

WithUpdateNetworkSwitchStackRoutingInterfaceDhcp adds the updateNetworkSwitchStackRoutingInterfaceDhcp to the update network switch stack routing interface dhcp params

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 struct {

	// The code for DHCP option which should be from 2 to 254
	// Required: true
	Code *string `json:"code"`

	// The type of the DHCP option which should be one of
	//           ('text', 'ip', 'integer' or 'hex')
	// Required: true
	// Enum: [hex integer ip text]
	Type *string `json:"type"`

	// The value of the DHCP option
	// Required: true
	Value *string `json:"value"`
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 update network switch stack routing interface dhcp params body dhcp options items0 swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate

ContextValidate validates this update network switch stack routing interface dhcp params body dhcp options items0 based on context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate

Validate validates this update network switch stack routing interface dhcp params body dhcp options items0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 struct {

	// The IP address of the client which has fixed IP address assigned to it
	// Required: true
	IP *string `json:"ip"`

	// The MAC address of the client which has fixed IP address
	// Required: true
	Mac *string `json:"mac"`

	// The name of the client which has fixed IP address
	// Required: true
	Name *string `json:"name"`
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 update network switch stack routing interface dhcp params body fixed IP assignments items0 swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate

ContextValidate validates this update network switch stack routing interface dhcp params body fixed IP assignments items0 based on context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate

Validate validates this update network switch stack routing interface dhcp params body fixed IP assignments items0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 struct {

	// The comment for the reserved IP range
	Comment string `json:"comment,omitempty"`

	// The ending IP address of the reserved IP range
	// Required: true
	End *string `json:"end"`

	// The starting IP address of the reserved IP range
	// Required: true
	Start *string `json:"start"`
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 update network switch stack routing interface dhcp params body reserved IP ranges items0 swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate

ContextValidate validates this update network switch stack routing interface dhcp params body reserved IP ranges items0 based on context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate

Validate validates this update network switch stack routing interface dhcp params body reserved IP ranges items0

type UpdateNetworkSwitchStackRoutingInterfaceDhcpReader

type UpdateNetworkSwitchStackRoutingInterfaceDhcpReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingInterfaceDhcpReader is a Reader for the UpdateNetworkSwitchStackRoutingInterfaceDhcp structure.

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse

func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchStackRoutingInterfaceOK

type UpdateNetworkSwitchStackRoutingInterfaceOK struct {
	Payload interface{}
}

UpdateNetworkSwitchStackRoutingInterfaceOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchStackRoutingInterfaceOK

func NewUpdateNetworkSwitchStackRoutingInterfaceOK() *UpdateNetworkSwitchStackRoutingInterfaceOK

NewUpdateNetworkSwitchStackRoutingInterfaceOK creates a UpdateNetworkSwitchStackRoutingInterfaceOK with default headers values

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) Code

Code gets the status code for the update network switch stack routing interface o k response

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) Error

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload

func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsClientError

IsClientError returns true when this update network switch stack routing interface o k response has a 4xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsCode

IsCode returns true when this update network switch stack routing interface o k response a status code equal to that given

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsRedirect

IsRedirect returns true when this update network switch stack routing interface o k response has a 3xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsServerError

IsServerError returns true when this update network switch stack routing interface o k response has a 5xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsSuccess

IsSuccess returns true when this update network switch stack routing interface o k response has a 2xx status code

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) String

type UpdateNetworkSwitchStackRoutingInterfaceParams

type UpdateNetworkSwitchStackRoutingInterfaceParams struct {

	/* InterfaceID.

	   Interface ID
	*/
	InterfaceID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	// UpdateNetworkSwitchStackRoutingInterface.
	UpdateNetworkSwitchStackRoutingInterface UpdateNetworkSwitchStackRoutingInterfaceBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint

for the update network switch stack routing interface operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchStackRoutingInterfaceParams

func NewUpdateNetworkSwitchStackRoutingInterfaceParams() *UpdateNetworkSwitchStackRoutingInterfaceParams

NewUpdateNetworkSwitchStackRoutingInterfaceParams creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceParams

NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceParams

NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout

func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceParams

NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetContext

SetContext adds the context to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetDefaults

SetDefaults hydrates default values in the update network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID

func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)

SetInterfaceID adds the interfaceId to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID

func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID

func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetTimeout

SetTimeout adds the timeout to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetUpdateNetworkSwitchStackRoutingInterface

func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetUpdateNetworkSwitchStackRoutingInterface(updateNetworkSwitchStackRoutingInterface UpdateNetworkSwitchStackRoutingInterfaceBody)

SetUpdateNetworkSwitchStackRoutingInterface adds the updateNetworkSwitchStackRoutingInterface to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithContext

WithContext adds the context to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithDefaults

WithDefaults hydrates default values in the update network switch stack routing interface params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID

WithInterfaceID adds the interfaceID to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithTimeout

WithTimeout adds the timeout to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithUpdateNetworkSwitchStackRoutingInterface

func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithUpdateNetworkSwitchStackRoutingInterface(updateNetworkSwitchStackRoutingInterface UpdateNetworkSwitchStackRoutingInterfaceBody) *UpdateNetworkSwitchStackRoutingInterfaceParams

WithUpdateNetworkSwitchStackRoutingInterface adds the updateNetworkSwitchStackRoutingInterface to the update network switch stack routing interface params

func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6

type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 struct {

	// The IPv6 address of the interface. Required if assignmentMode is included and set as 'static'. Must not be included if assignmentMode is 'eui-64'.
	Address string `json:"address,omitempty"`

	// The IPv6 assignment mode for the interface. Can be either 'eui-64' or 'static'.
	AssignmentMode string `json:"assignmentMode,omitempty"`

	// The IPv6 default gateway of the interface. Required if prefix is defined and this is the first interface with IPv6 configured for the stack.
	Gateway string `json:"gateway,omitempty"`

	// The IPv6 prefix of the interface. Required if IPv6 object is included and interface does not already have ipv6.prefix configured
	Prefix string `json:"prefix,omitempty"`
}

UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 The IPv6 settings of the interface. swagger:model UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate

ContextValidate validates this update network switch stack routing interface params body IP v6 based on context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) Validate

Validate validates this update network switch stack routing interface params body IP v6

type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings

type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings struct {

	// The OSPF area to which this interface should belong. Can be either 'disabled' or the identifier of an existing OSPF area.
	Area string `json:"area,omitempty"`

	// The path cost for this interface. Defaults to 1, but can be increased up to 65535 to give lower priority.
	Cost int64 `json:"cost,omitempty"`

	// When enabled, OSPF will not run on the interface, but the subnet will still be advertised.
	IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"`
}

UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings The OSPF routing settings of the interface. swagger:model UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate

ContextValidate validates this update network switch stack routing interface params body ospf settings based on context it is used

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) Validate

Validate validates this update network switch stack routing interface params body ospf settings

type UpdateNetworkSwitchStackRoutingInterfaceReader

type UpdateNetworkSwitchStackRoutingInterfaceReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingInterfaceReader is a Reader for the UpdateNetworkSwitchStackRoutingInterface structure.

func (*UpdateNetworkSwitchStackRoutingInterfaceReader) ReadResponse

func (o *UpdateNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchStackRoutingStaticRouteBody

type UpdateNetworkSwitchStackRoutingStaticRouteBody struct {

	// Option to advertise static route via OSPF
	AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"`

	// Name or description for layer 3 static route
	Name string `json:"name,omitempty"`

	// IP address of the next hop device to which the device sends its traffic for the subnet
	NextHopIP string `json:"nextHopIp,omitempty"`

	// Option to prefer static route over OSPF routes
	PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"`

	// The subnet which is routed via this static route and should be specified in CIDR notation (ex. 1.2.3.0/24)
	Subnet string `json:"subnet,omitempty"`
}

UpdateNetworkSwitchStackRoutingStaticRouteBody update network switch stack routing static route body // Example: {"advertiseViaOspfEnabled":false,"name":"My route","nextHopIp":"1.2.3.4","preferOverOspfRoutesEnabled":false,"subnet":"192.168.1.0/24"} swagger:model UpdateNetworkSwitchStackRoutingStaticRouteBody

func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate

ContextValidate validates this update network switch stack routing static route body based on context it is used

func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) Validate

Validate validates this update network switch stack routing static route body

type UpdateNetworkSwitchStackRoutingStaticRouteOK

type UpdateNetworkSwitchStackRoutingStaticRouteOK struct {
	Payload interface{}
}

UpdateNetworkSwitchStackRoutingStaticRouteOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchStackRoutingStaticRouteOK

func NewUpdateNetworkSwitchStackRoutingStaticRouteOK() *UpdateNetworkSwitchStackRoutingStaticRouteOK

NewUpdateNetworkSwitchStackRoutingStaticRouteOK creates a UpdateNetworkSwitchStackRoutingStaticRouteOK with default headers values

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) Code

Code gets the status code for the update network switch stack routing static route o k response

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) Error

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload

func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsClientError

IsClientError returns true when this update network switch stack routing static route o k response has a 4xx status code

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsCode

IsCode returns true when this update network switch stack routing static route o k response a status code equal to that given

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsRedirect

IsRedirect returns true when this update network switch stack routing static route o k response has a 3xx status code

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsServerError

IsServerError returns true when this update network switch stack routing static route o k response has a 5xx status code

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsSuccess

IsSuccess returns true when this update network switch stack routing static route o k response has a 2xx status code

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) String

type UpdateNetworkSwitchStackRoutingStaticRouteParams

type UpdateNetworkSwitchStackRoutingStaticRouteParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* StaticRouteID.

	   Static route ID
	*/
	StaticRouteID string

	/* SwitchStackID.

	   Switch stack ID
	*/
	SwitchStackID string

	// UpdateNetworkSwitchStackRoutingStaticRoute.
	UpdateNetworkSwitchStackRoutingStaticRoute UpdateNetworkSwitchStackRoutingStaticRouteBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint

for the update network switch stack routing static route operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchStackRoutingStaticRouteParams

func NewUpdateNetworkSwitchStackRoutingStaticRouteParams() *UpdateNetworkSwitchStackRoutingStaticRouteParams

NewUpdateNetworkSwitchStackRoutingStaticRouteParams creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingStaticRouteParams

NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingStaticRouteParams

NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout

func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingStaticRouteParams

NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetContext

SetContext adds the context to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetDefaults

SetDefaults hydrates default values in the update network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID

func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID

func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)

SetStaticRouteID adds the staticRouteId to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID

func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)

SetSwitchStackID adds the switchStackId to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout

SetTimeout adds the timeout to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetUpdateNetworkSwitchStackRoutingStaticRoute

func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetUpdateNetworkSwitchStackRoutingStaticRoute(updateNetworkSwitchStackRoutingStaticRoute UpdateNetworkSwitchStackRoutingStaticRouteBody)

SetUpdateNetworkSwitchStackRoutingStaticRoute adds the updateNetworkSwitchStackRoutingStaticRoute to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithContext

WithContext adds the context to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults

WithDefaults hydrates default values in the update network switch stack routing static route params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID

WithStaticRouteID adds the staticRouteID to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID

WithSwitchStackID adds the switchStackID to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout

WithTimeout adds the timeout to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithUpdateNetworkSwitchStackRoutingStaticRoute

func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithUpdateNetworkSwitchStackRoutingStaticRoute(updateNetworkSwitchStackRoutingStaticRoute UpdateNetworkSwitchStackRoutingStaticRouteBody) *UpdateNetworkSwitchStackRoutingStaticRouteParams

WithUpdateNetworkSwitchStackRoutingStaticRoute adds the updateNetworkSwitchStackRoutingStaticRoute to the update network switch stack routing static route params

func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchStackRoutingStaticRouteReader

type UpdateNetworkSwitchStackRoutingStaticRouteReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStackRoutingStaticRouteReader is a Reader for the UpdateNetworkSwitchStackRoutingStaticRoute structure.

func (*UpdateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse

func (o *UpdateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchStormControlBody

type UpdateNetworkSwitchStormControlBody struct {

	// Percentage (1 to 99) of total available port bandwidth for broadcast traffic type. Default value 100 percent rate is to clear the configuration.
	BroadcastThreshold int64 `json:"broadcastThreshold,omitempty"`

	// Percentage (1 to 99) of total available port bandwidth for multicast traffic type. Default value 100 percent rate is to clear the configuration.
	MulticastThreshold int64 `json:"multicastThreshold,omitempty"`

	// Percentage (1 to 99) of total available port bandwidth for unknown unicast (dlf-destination lookup failure) traffic type. Default value 100 percent rate is to clear the configuration.
	UnknownUnicastThreshold int64 `json:"unknownUnicastThreshold,omitempty"`
}

UpdateNetworkSwitchStormControlBody update network switch storm control body // Example: {"broadcastThreshold":30,"multicastThreshold":30,"unknownUnicastThreshold":30} swagger:model UpdateNetworkSwitchStormControlBody

func (*UpdateNetworkSwitchStormControlBody) ContextValidate

func (o *UpdateNetworkSwitchStormControlBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update network switch storm control body based on context it is used

func (*UpdateNetworkSwitchStormControlBody) MarshalBinary

func (o *UpdateNetworkSwitchStormControlBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStormControlBody) UnmarshalBinary

func (o *UpdateNetworkSwitchStormControlBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStormControlBody) Validate

Validate validates this update network switch storm control body

type UpdateNetworkSwitchStormControlOK

type UpdateNetworkSwitchStormControlOK struct {
	Payload interface{}
}

UpdateNetworkSwitchStormControlOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchStormControlOK

func NewUpdateNetworkSwitchStormControlOK() *UpdateNetworkSwitchStormControlOK

NewUpdateNetworkSwitchStormControlOK creates a UpdateNetworkSwitchStormControlOK with default headers values

func (*UpdateNetworkSwitchStormControlOK) Code

Code gets the status code for the update network switch storm control o k response

func (*UpdateNetworkSwitchStormControlOK) Error

func (*UpdateNetworkSwitchStormControlOK) GetPayload

func (o *UpdateNetworkSwitchStormControlOK) GetPayload() interface{}

func (*UpdateNetworkSwitchStormControlOK) IsClientError

func (o *UpdateNetworkSwitchStormControlOK) IsClientError() bool

IsClientError returns true when this update network switch storm control o k response has a 4xx status code

func (*UpdateNetworkSwitchStormControlOK) IsCode

func (o *UpdateNetworkSwitchStormControlOK) IsCode(code int) bool

IsCode returns true when this update network switch storm control o k response a status code equal to that given

func (*UpdateNetworkSwitchStormControlOK) IsRedirect

func (o *UpdateNetworkSwitchStormControlOK) IsRedirect() bool

IsRedirect returns true when this update network switch storm control o k response has a 3xx status code

func (*UpdateNetworkSwitchStormControlOK) IsServerError

func (o *UpdateNetworkSwitchStormControlOK) IsServerError() bool

IsServerError returns true when this update network switch storm control o k response has a 5xx status code

func (*UpdateNetworkSwitchStormControlOK) IsSuccess

func (o *UpdateNetworkSwitchStormControlOK) IsSuccess() bool

IsSuccess returns true when this update network switch storm control o k response has a 2xx status code

func (*UpdateNetworkSwitchStormControlOK) String

type UpdateNetworkSwitchStormControlParams

type UpdateNetworkSwitchStormControlParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchStormControl.
	UpdateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStormControlParams contains all the parameters to send to the API endpoint

for the update network switch storm control operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchStormControlParams

func NewUpdateNetworkSwitchStormControlParams() *UpdateNetworkSwitchStormControlParams

NewUpdateNetworkSwitchStormControlParams creates a new UpdateNetworkSwitchStormControlParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchStormControlParamsWithContext

func NewUpdateNetworkSwitchStormControlParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStormControlParams

NewUpdateNetworkSwitchStormControlParamsWithContext creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchStormControlParamsWithHTTPClient

func NewUpdateNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStormControlParams

NewUpdateNetworkSwitchStormControlParamsWithHTTPClient creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchStormControlParamsWithTimeout

func NewUpdateNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStormControlParams

NewUpdateNetworkSwitchStormControlParamsWithTimeout creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchStormControlParams) SetContext

SetContext adds the context to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) SetDefaults

func (o *UpdateNetworkSwitchStormControlParams) SetDefaults()

SetDefaults hydrates default values in the update network switch storm control params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStormControlParams) SetHTTPClient

func (o *UpdateNetworkSwitchStormControlParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) SetNetworkID

func (o *UpdateNetworkSwitchStormControlParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) SetTimeout

func (o *UpdateNetworkSwitchStormControlParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) SetUpdateNetworkSwitchStormControl

func (o *UpdateNetworkSwitchStormControlParams) SetUpdateNetworkSwitchStormControl(updateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody)

SetUpdateNetworkSwitchStormControl adds the updateNetworkSwitchStormControl to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WithContext

WithContext adds the context to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WithDefaults

WithDefaults hydrates default values in the update network switch storm control params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStormControlParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WithTimeout

WithTimeout adds the timeout to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WithUpdateNetworkSwitchStormControl

func (o *UpdateNetworkSwitchStormControlParams) WithUpdateNetworkSwitchStormControl(updateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody) *UpdateNetworkSwitchStormControlParams

WithUpdateNetworkSwitchStormControl adds the updateNetworkSwitchStormControl to the update network switch storm control params

func (*UpdateNetworkSwitchStormControlParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchStormControlReader

type UpdateNetworkSwitchStormControlReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStormControlReader is a Reader for the UpdateNetworkSwitchStormControl structure.

func (*UpdateNetworkSwitchStormControlReader) ReadResponse

func (o *UpdateNetworkSwitchStormControlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateNetworkSwitchStpBody

type UpdateNetworkSwitchStpBody struct {

	// The spanning tree protocol status in network
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// STP bridge priority for switches/stacks or switch templates. An empty array will clear the STP bridge priority settings.
	StpBridgePriority []*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 `json:"stpBridgePriority"`
}

UpdateNetworkSwitchStpBody update network switch stp body // Example: {"rstpEnabled":true,"stpBridgePriority":[{"stpPriority":4096,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"stacks":["789102","123456","129102"],"stpPriority":28672}]} swagger:model UpdateNetworkSwitchStpBody

func (*UpdateNetworkSwitchStpBody) ContextValidate

func (o *UpdateNetworkSwitchStpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update network switch stp body based on the context it is used

func (*UpdateNetworkSwitchStpBody) MarshalBinary

func (o *UpdateNetworkSwitchStpBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStpBody) UnmarshalBinary

func (o *UpdateNetworkSwitchStpBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStpBody) Validate

func (o *UpdateNetworkSwitchStpBody) Validate(formats strfmt.Registry) error

Validate validates this update network switch stp body

type UpdateNetworkSwitchStpOK

type UpdateNetworkSwitchStpOK struct {
	Payload interface{}
}

UpdateNetworkSwitchStpOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateNetworkSwitchStpOK

func NewUpdateNetworkSwitchStpOK() *UpdateNetworkSwitchStpOK

NewUpdateNetworkSwitchStpOK creates a UpdateNetworkSwitchStpOK with default headers values

func (*UpdateNetworkSwitchStpOK) Code

func (o *UpdateNetworkSwitchStpOK) Code() int

Code gets the status code for the update network switch stp o k response

func (*UpdateNetworkSwitchStpOK) Error

func (o *UpdateNetworkSwitchStpOK) Error() string

func (*UpdateNetworkSwitchStpOK) GetPayload

func (o *UpdateNetworkSwitchStpOK) GetPayload() interface{}

func (*UpdateNetworkSwitchStpOK) IsClientError

func (o *UpdateNetworkSwitchStpOK) IsClientError() bool

IsClientError returns true when this update network switch stp o k response has a 4xx status code

func (*UpdateNetworkSwitchStpOK) IsCode

func (o *UpdateNetworkSwitchStpOK) IsCode(code int) bool

IsCode returns true when this update network switch stp o k response a status code equal to that given

func (*UpdateNetworkSwitchStpOK) IsRedirect

func (o *UpdateNetworkSwitchStpOK) IsRedirect() bool

IsRedirect returns true when this update network switch stp o k response has a 3xx status code

func (*UpdateNetworkSwitchStpOK) IsServerError

func (o *UpdateNetworkSwitchStpOK) IsServerError() bool

IsServerError returns true when this update network switch stp o k response has a 5xx status code

func (*UpdateNetworkSwitchStpOK) IsSuccess

func (o *UpdateNetworkSwitchStpOK) IsSuccess() bool

IsSuccess returns true when this update network switch stp o k response has a 2xx status code

func (*UpdateNetworkSwitchStpOK) String

func (o *UpdateNetworkSwitchStpOK) String() string

type UpdateNetworkSwitchStpParams

type UpdateNetworkSwitchStpParams struct {

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	// UpdateNetworkSwitchStp.
	UpdateNetworkSwitchStp UpdateNetworkSwitchStpBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStpParams contains all the parameters to send to the API endpoint

for the update network switch stp operation.

Typically these are written to a http.Request.

func NewUpdateNetworkSwitchStpParams

func NewUpdateNetworkSwitchStpParams() *UpdateNetworkSwitchStpParams

NewUpdateNetworkSwitchStpParams creates a new UpdateNetworkSwitchStpParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateNetworkSwitchStpParamsWithContext

func NewUpdateNetworkSwitchStpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStpParams

NewUpdateNetworkSwitchStpParamsWithContext creates a new UpdateNetworkSwitchStpParams object with the ability to set a context for a request.

func NewUpdateNetworkSwitchStpParamsWithHTTPClient

func NewUpdateNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStpParams

NewUpdateNetworkSwitchStpParamsWithHTTPClient creates a new UpdateNetworkSwitchStpParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateNetworkSwitchStpParamsWithTimeout

func NewUpdateNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStpParams

NewUpdateNetworkSwitchStpParamsWithTimeout creates a new UpdateNetworkSwitchStpParams object with the ability to set a timeout on a request.

func (*UpdateNetworkSwitchStpParams) SetContext

func (o *UpdateNetworkSwitchStpParams) SetContext(ctx context.Context)

SetContext adds the context to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) SetDefaults

func (o *UpdateNetworkSwitchStpParams) SetDefaults()

SetDefaults hydrates default values in the update network switch stp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStpParams) SetHTTPClient

func (o *UpdateNetworkSwitchStpParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) SetNetworkID

func (o *UpdateNetworkSwitchStpParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) SetTimeout

func (o *UpdateNetworkSwitchStpParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) SetUpdateNetworkSwitchStp

func (o *UpdateNetworkSwitchStpParams) SetUpdateNetworkSwitchStp(updateNetworkSwitchStp UpdateNetworkSwitchStpBody)

SetUpdateNetworkSwitchStp adds the updateNetworkSwitchStp to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WithContext

WithContext adds the context to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WithDefaults

WithDefaults hydrates default values in the update network switch stp params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateNetworkSwitchStpParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WithNetworkID

WithNetworkID adds the networkID to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WithTimeout

WithTimeout adds the timeout to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WithUpdateNetworkSwitchStp

func (o *UpdateNetworkSwitchStpParams) WithUpdateNetworkSwitchStp(updateNetworkSwitchStp UpdateNetworkSwitchStpBody) *UpdateNetworkSwitchStpParams

WithUpdateNetworkSwitchStp adds the updateNetworkSwitchStp to the update network switch stp params

func (*UpdateNetworkSwitchStpParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0

type UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 struct {

	// List of stack IDs
	Stacks []string `json:"stacks"`

	// STP priority for switch, stacks, or switch templates
	// Required: true
	StpPriority *int64 `json:"stpPriority"`

	// List of switch template IDs
	SwitchProfiles []string `json:"switchProfiles"`

	// List of switch serial numbers
	Switches []string `json:"switches"`
}

UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 update network switch stp params body stp bridge priority items0 swagger:model UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0

func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) ContextValidate

ContextValidate validates this update network switch stp params body stp bridge priority items0 based on context it is used

func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) Validate

Validate validates this update network switch stp params body stp bridge priority items0

type UpdateNetworkSwitchStpReader

type UpdateNetworkSwitchStpReader struct {
	// contains filtered or unexported fields
}

UpdateNetworkSwitchStpReader is a Reader for the UpdateNetworkSwitchStp structure.

func (*UpdateNetworkSwitchStpReader) ReadResponse

func (o *UpdateNetworkSwitchStpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateOrganizationConfigTemplateSwitchProfilePortBody

type UpdateOrganizationConfigTemplateSwitchProfilePortBody struct {

	// The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch template port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch template port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch template port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch template port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch template port.
	Name string `json:"name,omitempty"`

	// The PoE status of the switch template port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch template port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch template port.
	Tags []string `json:"tags"`

	// The type of the switch template port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch template port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch template port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

UpdateOrganizationConfigTemplateSwitchProfilePortBody update organization config template switch profile port body // Example: {"accessPolicyNumber":2,"accessPolicyType":"Sticky MAC allow list","allowedVlans":"1,3,5-10","daiTrusted":false,"enabled":true,"flexibleStackingEnabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","macAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"name":"My switch port","poeEnabled":true,"portScheduleId":"1234","profile":{"enabled":false,"id":"1284392014819","iname":"iname"},"rstpEnabled":true,"stickyMacAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"stickyMacAllowListLimit":5,"stormControlEnabled":true,"stpGuard":"disabled","tags":["tag1","tag2"],"type":"access","udld":"Alert only","vlan":10,"voiceVlan":20} swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortBody

func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) ContextValidate

ContextValidate validate this update organization config template switch profile port body based on the context it is used

func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) Validate

Validate validates this update organization config template switch profile port body

type UpdateOrganizationConfigTemplateSwitchProfilePortOK

type UpdateOrganizationConfigTemplateSwitchProfilePortOK struct {
	Payload *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody
}

UpdateOrganizationConfigTemplateSwitchProfilePortOK describes a response with status code 200, with default header values.

Successful operation

func NewUpdateOrganizationConfigTemplateSwitchProfilePortOK

func NewUpdateOrganizationConfigTemplateSwitchProfilePortOK() *UpdateOrganizationConfigTemplateSwitchProfilePortOK

NewUpdateOrganizationConfigTemplateSwitchProfilePortOK creates a UpdateOrganizationConfigTemplateSwitchProfilePortOK with default headers values

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) Code

Code gets the status code for the update organization config template switch profile port o k response

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) Error

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) GetPayload

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsClientError

IsClientError returns true when this update organization config template switch profile port o k response has a 4xx status code

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsCode

IsCode returns true when this update organization config template switch profile port o k response a status code equal to that given

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect

IsRedirect returns true when this update organization config template switch profile port o k response has a 3xx status code

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsServerError

IsServerError returns true when this update organization config template switch profile port o k response has a 5xx status code

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess

IsSuccess returns true when this update organization config template switch profile port o k response has a 2xx status code

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) String

type UpdateOrganizationConfigTemplateSwitchProfilePortOKBody

type UpdateOrganizationConfigTemplateSwitchProfilePortOKBody struct {

	// The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
	// Enum: [Custom access policy MAC allow list Open Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch template port. Only applicable to trunk ports.
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
	DaiTrusted bool `json:"daiTrusted,omitempty"`

	// The status of the switch template port.
	Enabled bool `json:"enabled,omitempty"`

	// For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
	FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"`

	// The isolation status of the switch template port.
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch template port.
	LinkNegotiation string `json:"linkNegotiation,omitempty"`

	// Available link speeds for the switch template port.
	LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"`

	// Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
	MacAllowList []string `json:"macAllowList"`

	// The name of the switch template port.
	Name string `json:"name,omitempty"`

	// The PoE status of the switch template port.
	PoeEnabled bool `json:"poeEnabled,omitempty"`

	// The identifier of the switch template port.
	PortID string `json:"portId,omitempty"`

	// The ID of the port schedule. A value of null will clear the port schedule.
	PortScheduleID string `json:"portScheduleId,omitempty"`

	// profile
	Profile *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile `json:"profile,omitempty"`

	// The rapid spanning tree protocol status.
	RstpEnabled bool `json:"rstpEnabled,omitempty"`

	// The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowList []string `json:"stickyMacAllowList"`

	// The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
	StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"`

	// The storm control status of the switch template port.
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
	// Enum: [bpdu guard disabled loop guard root guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch template port.
	Tags []string `json:"tags"`

	// The type of the switch template port ('trunk' or 'access').
	// Enum: [access trunk]
	Type string `json:"type,omitempty"`

	// The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
	// Enum: [Alert only Enforce]
	Udld string `json:"udld,omitempty"`

	// The VLAN of the switch template port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch template port. Only applicable to access ports.
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

UpdateOrganizationConfigTemplateSwitchProfilePortOKBody update organization config template switch profile port o k body swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortOKBody

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate

ContextValidate validate this update organization config template switch profile port o k body based on the context it is used

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) Validate

Validate validates this update organization config template switch profile port o k body

type UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile

type UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile Profile attributes swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate

ContextValidate validates this update organization config template switch profile port o k body profile based on context it is used

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) Validate

Validate validates this update organization config template switch profile port o k body profile

type UpdateOrganizationConfigTemplateSwitchProfilePortParams

type UpdateOrganizationConfigTemplateSwitchProfilePortParams struct {

	/* ConfigTemplateID.

	   Config template ID
	*/
	ConfigTemplateID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	/* PortID.

	   Port ID
	*/
	PortID string

	/* ProfileID.

	   Profile ID
	*/
	ProfileID string

	// UpdateOrganizationConfigTemplateSwitchProfilePort.
	UpdateOrganizationConfigTemplateSwitchProfilePort UpdateOrganizationConfigTemplateSwitchProfilePortBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateOrganizationConfigTemplateSwitchProfilePortParams contains all the parameters to send to the API endpoint

for the update organization config template switch profile port operation.

Typically these are written to a http.Request.

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParams

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParams() *UpdateOrganizationConfigTemplateSwitchProfilePortParams

NewUpdateOrganizationConfigTemplateSwitchProfilePortParams creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *UpdateOrganizationConfigTemplateSwitchProfilePortParams

NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a context for a request.

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *UpdateOrganizationConfigTemplateSwitchProfilePortParams

NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout

func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *UpdateOrganizationConfigTemplateSwitchProfilePortParams

NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a timeout on a request.

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID

func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)

SetConfigTemplateID adds the configTemplateId to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetContext

SetContext adds the context to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults

SetDefaults hydrates default values in the update organization config template switch profile port params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID

func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetPortID

SetPortID adds the portId to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID

SetProfileID adds the profileId to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout

SetTimeout adds the timeout to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetUpdateOrganizationConfigTemplateSwitchProfilePort

func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetUpdateOrganizationConfigTemplateSwitchProfilePort(updateOrganizationConfigTemplateSwitchProfilePort UpdateOrganizationConfigTemplateSwitchProfilePortBody)

SetUpdateOrganizationConfigTemplateSwitchProfilePort adds the updateOrganizationConfigTemplateSwitchProfilePort to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID

WithConfigTemplateID adds the configTemplateID to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithContext

WithContext adds the context to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults

WithDefaults hydrates default values in the update organization config template switch profile port params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID

WithOrganizationID adds the organizationID to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithPortID

WithPortID adds the portID to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID

WithProfileID adds the profileID to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout

WithTimeout adds the timeout to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithUpdateOrganizationConfigTemplateSwitchProfilePort

func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithUpdateOrganizationConfigTemplateSwitchProfilePort(updateOrganizationConfigTemplateSwitchProfilePort UpdateOrganizationConfigTemplateSwitchProfilePortBody) *UpdateOrganizationConfigTemplateSwitchProfilePortParams

WithUpdateOrganizationConfigTemplateSwitchProfilePort adds the updateOrganizationConfigTemplateSwitchProfilePort to the update organization config template switch profile port params

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile

type UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile struct {

	// When enabled, override this port's configuration with a port profile.
	Enabled bool `json:"enabled,omitempty"`

	// When enabled, the ID of the port profile used to override the port's configuration.
	ID string `json:"id,omitempty"`

	// When enabled, the IName of the profile.
	Iname string `json:"iname,omitempty"`
}

UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile Profile attributes swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) ContextValidate

ContextValidate validates this update organization config template switch profile port params body profile based on context it is used

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) Validate

Validate validates this update organization config template switch profile port params body profile

type UpdateOrganizationConfigTemplateSwitchProfilePortReader

type UpdateOrganizationConfigTemplateSwitchProfilePortReader struct {
	// contains filtered or unexported fields
}

UpdateOrganizationConfigTemplateSwitchProfilePortReader is a Reader for the UpdateOrganizationConfigTemplateSwitchProfilePort structure.

func (*UpdateOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse

func (o *UpdateOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址