switch_operations

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

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

	// CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"

	// CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"
)
View Source
const (

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

	// CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"

	// CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"
)
View Source
const (

	// CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host"
	CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host"

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

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

	// CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth"
)
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 (

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

	// CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"

	// CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"
)
View Source
const (

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

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

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

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

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

	// UpdateDeviceSwitchPortBodyStpGuardRootGuard captures enum value "root guard"
	UpdateDeviceSwitchPortBodyStpGuardRootGuard string = "root guard"

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

	// UpdateDeviceSwitchPortBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateDeviceSwitchPortBodyStpGuardLoopGuard string = "loop guard"
)
View Source
const (

	// UpdateDeviceSwitchPortBodyTypeTrunk captures enum value "trunk"
	UpdateDeviceSwitchPortBodyTypeTrunk string = "trunk"

	// UpdateDeviceSwitchPortBodyTypeAccess captures enum value "access"
	UpdateDeviceSwitchPortBodyTypeAccess string = "access"
)
View Source
const (

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

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

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

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

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours"

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

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

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week"
)
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 (

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

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns"

	// UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom"
	UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom"
)
View Source
const (

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text"

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

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

	// UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex"
	UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex"
)
View Source
const (

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

	// UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"

	// UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"
)
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 (

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

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP captures enum value "udp"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP string = "udp"

	// UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny captures enum value "any"
	UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny string = "any"
)
View Source
const (

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

	// UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass"
	UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass"

	// UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication"
	UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication"
)
View Source
const (

	// UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host"
	UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host"

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

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

	// UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth"
	UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth"
)
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"

	// UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub captures enum value "stub"
	UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub string = "stub"

	// UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa captures enum value "nssa"
	UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa string = "nssa"
)
View Source
const (

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

	// UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub captures enum value "stub"
	UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub string = "stub"

	// UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa captures enum value "nssa"
	UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa string = "nssa"
)
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 (

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

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

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours"

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

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

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week"
)
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 (

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

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns"

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom"
)
View Source
const (

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text"

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

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

	// UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex"
	UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex"
)
View Source
const (

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

	// UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled"
	UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled"

	// UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier"
	UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier"
)
View Source
const (

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

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

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

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

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

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard captures enum value "root guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard string = "root guard"

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

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard captures enum value "loop guard"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard string = "loop guard"
)
View Source
const (

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk captures enum value "trunk"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk string = "trunk"

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess captures enum value "access"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess string = "access"
)
View Source
const (

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

	// UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce captures enum value "Enforce"
	UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce 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 interface{}
}
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) Error ¶

func (o *AddNetworkSwitchStackOK) Error() string

func (*AddNetworkSwitchStackOK) GetPayload ¶

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

type AddNetworkSwitchStackParams ¶

type AddNetworkSwitchStackParams struct {

	// AddNetworkSwitchStack.
	AddNetworkSwitchStack AddNetworkSwitchStackBody

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) 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) 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 policy

Return the DHCP server policy

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 profile port

Return a switch profile port

func (*Client) GetOrganizationConfigTemplateSwitchProfilePorts ¶

GetOrganizationConfigTemplateSwitchProfilePorts returns all the ports of a switch profile

Return all the ports of a switch profile

func (*Client) GetOrganizationConfigTemplateSwitchProfiles ¶

GetOrganizationConfigTemplateSwitchProfiles lists the switch profiles for your switch template configuration

List the switch profiles for your switch template configuration

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 policy

Update the DHCP server policy

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 profile port

Update a switch profile 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)

	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)

	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)

	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)

	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)

	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) Error ¶

func (*CloneOrganizationSwitchDevicesOK) GetPayload ¶

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

type CloneOrganizationSwitchDevicesParams ¶

type CloneOrganizationSwitchDevicesParams struct {

	// CloneOrganizationSwitchDevices.
	CloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody

	// OrganizationID.
	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.
	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: [disabled enabled IGMP snooping querier]
	MulticastRouting string `json:"multicastRouting,omitempty"`

	// A friendly name or description for the interface or VLAN.
	// Required: true
	Name *string `json:"name"`

	// ospf settings
	OspfSettings *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings `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"`
}

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 interface{}
}
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) Error ¶

func (*CreateDeviceSwitchRoutingInterfaceCreated) GetPayload ¶

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

type CreateDeviceSwitchRoutingInterfaceParams ¶

type CreateDeviceSwitchRoutingInterfaceParams struct {

	// CreateDeviceSwitchRoutingInterface.
	CreateDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody

	// 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 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) Error ¶

func (*CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload ¶

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

type CreateDeviceSwitchRoutingStaticRouteParams ¶

type CreateDeviceSwitchRoutingStaticRouteParams struct {

	// CreateDeviceSwitchRoutingStaticRoute.
	CreateDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody

	// 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 MAC authentication bypass Hybrid authentication]
	AccessPolicyType string `json:"accessPolicyType,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: [Single-Host Multi-Domain Multi-Host Multi-Auth]
	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","guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120,"suspendReAuthentication":true},"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 interface{}
}
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) Error ¶

func (*CreateNetworkSwitchAccessPolicyCreated) GetPayload ¶

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

type CreateNetworkSwitchAccessPolicyParams ¶

type CreateNetworkSwitchAccessPolicyParams struct {

	// CreateNetworkSwitchAccessPolicy.
	CreateNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody

	// NetworkID.
	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 CreateNetworkSwitchAccessPolicyParamsBodyRadius ¶

type CreateNetworkSwitchAccessPolicyParamsBodyRadius struct {

	// critical auth
	CriticalAuth *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,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 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) Error ¶

func (*CreateNetworkSwitchLinkAggregationCreated) GetPayload ¶

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

type CreateNetworkSwitchLinkAggregationParams ¶

type CreateNetworkSwitchLinkAggregationParams struct {

	// CreateNetworkSwitchLinkAggregation.
	CreateNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*CreateNetworkSwitchPortScheduleCreated) GetPayload ¶

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

type CreateNetworkSwitchPortScheduleParams ¶

type CreateNetworkSwitchPortScheduleParams struct {

	// CreateNetworkSwitchPortSchedule.
	CreateNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody

	// NetworkID.
	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) Error ¶

func (*CreateNetworkSwitchQosRuleCreated) GetPayload ¶

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

type CreateNetworkSwitchQosRuleParams ¶

type CreateNetworkSwitchQosRuleParams struct {

	// CreateNetworkSwitchQosRule.
	CreateNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody

	// NetworkID.
	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) Error ¶

func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) GetPayload ¶

type CreateNetworkSwitchRoutingMulticastRendezvousPointParams ¶

type CreateNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	// CreateNetworkSwitchRoutingMulticastRendezvousPoint.
	CreateNetworkSwitchRoutingMulticastRendezvousPoint CreateNetworkSwitchRoutingMulticastRendezvousPointBody

	// NetworkID.
	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) Error ¶

func (*CreateNetworkSwitchStackCreated) GetPayload ¶

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

type CreateNetworkSwitchStackParams ¶

type CreateNetworkSwitchStackParams struct {

	// CreateNetworkSwitchStack.
	CreateNetworkSwitchStack CreateNetworkSwitchStackBody

	// NetworkID.
	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: [disabled enabled IGMP snooping querier]
	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) Error ¶

func (*CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload ¶

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

type CreateNetworkSwitchStackRoutingInterfaceParams ¶

type CreateNetworkSwitchStackRoutingInterfaceParams struct {

	// CreateNetworkSwitchStackRoutingInterface.
	CreateNetworkSwitchStackRoutingInterface CreateNetworkSwitchStackRoutingInterfaceBody

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload ¶

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

type CreateNetworkSwitchStackRoutingStaticRouteParams ¶

type CreateNetworkSwitchStackRoutingStaticRouteParams struct {

	// CreateNetworkSwitchStackRoutingStaticRoute.
	CreateNetworkSwitchStackRoutingStaticRoute CreateNetworkSwitchStackRoutingStaticRouteBody

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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. Example: [1, 2-5, 1_MA-MOD-8X10G_1, 1_MA-MOD-8X10G_2-1_MA-MOD-8X10G_8]
	// 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 interface{}
}
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) Error ¶

func (o *CycleDeviceSwitchPortsOK) Error() string

func (*CycleDeviceSwitchPortsOK) GetPayload ¶

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

type CycleDeviceSwitchPortsParams ¶

type CycleDeviceSwitchPortsParams struct {

	// CycleDeviceSwitchPorts.
	CycleDeviceSwitchPorts CycleDeviceSwitchPortsBody

	// 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) Error ¶

type DeleteDeviceSwitchRoutingInterfaceParams ¶

type DeleteDeviceSwitchRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// 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) Error ¶

type DeleteDeviceSwitchRoutingStaticRouteParams ¶

type DeleteDeviceSwitchRoutingStaticRouteParams struct {

	// Serial.
	Serial string

	// StaticRouteID.
	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) Error ¶

type DeleteNetworkSwitchAccessPolicyParams ¶

type DeleteNetworkSwitchAccessPolicyParams struct {

	// AccessPolicyNumber.
	AccessPolicyNumber string

	// NetworkID.
	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 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) Error ¶

type DeleteNetworkSwitchLinkAggregationParams ¶

type DeleteNetworkSwitchLinkAggregationParams struct {

	// LinkAggregationID.
	LinkAggregationID string

	// NetworkID.
	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) Error ¶

type DeleteNetworkSwitchPortScheduleParams ¶

type DeleteNetworkSwitchPortScheduleParams struct {

	// NetworkID.
	NetworkID string

	// PortScheduleID.
	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) Error ¶

type DeleteNetworkSwitchQosRuleParams ¶

type DeleteNetworkSwitchQosRuleParams struct {

	// NetworkID.
	NetworkID string

	// QosRuleID.
	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) Error ¶

type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams ¶

type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	// NetworkID.
	NetworkID string

	// RendezvousPointID.
	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) Error ¶

type DeleteNetworkSwitchStackParams ¶

type DeleteNetworkSwitchStackParams struct {

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

type DeleteNetworkSwitchStackRoutingInterfaceParams ¶

type DeleteNetworkSwitchStackRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

type DeleteNetworkSwitchStackRoutingStaticRouteParams ¶

type DeleteNetworkSwitchStackRoutingStaticRouteParams struct {

	// NetworkID.
	NetworkID string

	// StaticRouteID.
	StaticRouteID string

	// SwitchStackID.
	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 interface{}
}
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) Error ¶

func (o *GetDeviceSwitchPortOK) Error() string

func (*GetDeviceSwitchPortOK) GetPayload ¶

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

type GetDeviceSwitchPortParams ¶

type GetDeviceSwitchPortParams struct {

	// PortID.
	PortID string

	// 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 []interface{}
}
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) Error ¶

func (o *GetDeviceSwitchPortsOK) Error() string

func (*GetDeviceSwitchPortsOK) GetPayload ¶

func (o *GetDeviceSwitchPortsOK) GetPayload() []interface{}

type GetDeviceSwitchPortsParams ¶

type GetDeviceSwitchPortsParams struct {

	// 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 []interface{}
}
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) Error ¶

func (*GetDeviceSwitchPortsStatusesOK) GetPayload ¶

func (o *GetDeviceSwitchPortsStatusesOK) GetPayload() []interface{}

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) Error ¶

func (*GetDeviceSwitchPortsStatusesPacketsOK) GetPayload ¶

func (o *GetDeviceSwitchPortsStatusesPacketsOK) GetPayload() []interface{}

type GetDeviceSwitchPortsStatusesPacketsParams ¶

type GetDeviceSwitchPortsStatusesPacketsParams struct {

	// 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 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) Error ¶

func (*GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload ¶

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

type GetDeviceSwitchRoutingInterfaceDhcpParams ¶

type GetDeviceSwitchRoutingInterfaceDhcpParams struct {

	// InterfaceID.
	InterfaceID string

	// 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 interface{}
}
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) Error ¶

func (*GetDeviceSwitchRoutingInterfaceOK) GetPayload ¶

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

type GetDeviceSwitchRoutingInterfaceParams ¶

type GetDeviceSwitchRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// 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 []interface{}
}
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) Error ¶

func (*GetDeviceSwitchRoutingInterfacesOK) GetPayload ¶

func (o *GetDeviceSwitchRoutingInterfacesOK) GetPayload() []interface{}

type GetDeviceSwitchRoutingInterfacesParams ¶

type GetDeviceSwitchRoutingInterfacesParams struct {

	// 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 interface{}
}
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) Error ¶

func (*GetDeviceSwitchRoutingStaticRouteOK) GetPayload ¶

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

type GetDeviceSwitchRoutingStaticRouteParams ¶

type GetDeviceSwitchRoutingStaticRouteParams struct {

	// Serial.
	Serial string

	// StaticRouteID.
	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) Error ¶

func (*GetDeviceSwitchRoutingStaticRoutesOK) GetPayload ¶

func (o *GetDeviceSwitchRoutingStaticRoutesOK) GetPayload() []interface{}

type GetDeviceSwitchRoutingStaticRoutesParams ¶

type GetDeviceSwitchRoutingStaticRoutesParams struct {

	// 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) Error ¶

func (*GetDeviceSwitchWarmSpareOK) GetPayload ¶

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

type GetDeviceSwitchWarmSpareParams ¶

type GetDeviceSwitchWarmSpareParams struct {

	// 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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchAccessControlListsOK) GetPayload ¶

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

type GetNetworkSwitchAccessControlListsParams ¶

type GetNetworkSwitchAccessControlListsParams struct {

	// NetworkID.
	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 []interface{}
}
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) Error ¶

func (*GetNetworkSwitchAccessPoliciesOK) GetPayload ¶

func (o *GetNetworkSwitchAccessPoliciesOK) GetPayload() []interface{}

type GetNetworkSwitchAccessPoliciesParams ¶

type GetNetworkSwitchAccessPoliciesParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchAccessPolicyOK) GetPayload ¶

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

type GetNetworkSwitchAccessPolicyParams ¶

type GetNetworkSwitchAccessPolicyParams struct {

	// AccessPolicyNumber.
	AccessPolicyNumber string

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchAlternateManagementInterfaceOK) GetPayload ¶

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

type GetNetworkSwitchAlternateManagementInterfaceParams ¶

type GetNetworkSwitchAlternateManagementInterfaceParams struct {

	// NetworkID.
	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 GetNetworkSwitchDhcpServerPolicyOK ¶

type GetNetworkSwitchDhcpServerPolicyOK struct {
	Payload interface{}
}
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) Error ¶

func (*GetNetworkSwitchDhcpServerPolicyOK) GetPayload ¶

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

type GetNetworkSwitchDhcpServerPolicyParams ¶

type GetNetworkSwitchDhcpServerPolicyParams struct {

	// NetworkID.
	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 GetNetworkSwitchDscpToCosMappingsOK ¶

type GetNetworkSwitchDscpToCosMappingsOK struct {
	Payload interface{}
}
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) Error ¶

func (*GetNetworkSwitchDscpToCosMappingsOK) GetPayload ¶

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

type GetNetworkSwitchDscpToCosMappingsParams ¶

type GetNetworkSwitchDscpToCosMappingsParams struct {

	// NetworkID.
	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) Error ¶

func (*GetNetworkSwitchLinkAggregationsOK) GetPayload ¶

func (o *GetNetworkSwitchLinkAggregationsOK) GetPayload() []interface{}

type GetNetworkSwitchLinkAggregationsParams ¶

type GetNetworkSwitchLinkAggregationsParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (o *GetNetworkSwitchMtuOK) Error() string

func (*GetNetworkSwitchMtuOK) GetPayload ¶

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

type GetNetworkSwitchMtuParams ¶

type GetNetworkSwitchMtuParams struct {

	// NetworkID.
	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 []interface{}
}
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) Error ¶

func (*GetNetworkSwitchPortSchedulesOK) GetPayload ¶

func (o *GetNetworkSwitchPortSchedulesOK) GetPayload() []interface{}

type GetNetworkSwitchPortSchedulesParams ¶

type GetNetworkSwitchPortSchedulesParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (o *GetNetworkSwitchQosRuleOK) Error() string

func (*GetNetworkSwitchQosRuleOK) GetPayload ¶

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

type GetNetworkSwitchQosRuleParams ¶

type GetNetworkSwitchQosRuleParams struct {

	// NetworkID.
	NetworkID string

	// QosRuleID.
	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) Error ¶

func (*GetNetworkSwitchQosRulesOK) GetPayload ¶

func (o *GetNetworkSwitchQosRulesOK) GetPayload() []interface{}

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) Error ¶

func (*GetNetworkSwitchQosRulesOrderOK) GetPayload ¶

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

type GetNetworkSwitchQosRulesOrderParams ¶

type GetNetworkSwitchQosRulesOrderParams struct {

	// NetworkID.
	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.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchRoutingMulticastOK) GetPayload ¶

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

type GetNetworkSwitchRoutingMulticastParams ¶

type GetNetworkSwitchRoutingMulticastParams struct {

	// NetworkID.
	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) Error ¶

func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload ¶

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

type GetNetworkSwitchRoutingMulticastRendezvousPointParams ¶

type GetNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	// NetworkID.
	NetworkID string

	// RendezvousPointID.
	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) Error ¶

func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload ¶

func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload() [][]interface{}

type GetNetworkSwitchRoutingMulticastRendezvousPointsParams ¶

type GetNetworkSwitchRoutingMulticastRendezvousPointsParams struct {

	// NetworkID.
	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) Error ¶

func (*GetNetworkSwitchRoutingOspfOK) GetPayload ¶

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

type GetNetworkSwitchRoutingOspfParams ¶

type GetNetworkSwitchRoutingOspfParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchSettingsOK) GetPayload ¶

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

type GetNetworkSwitchSettingsParams ¶

type GetNetworkSwitchSettingsParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (o *GetNetworkSwitchStackOK) Error() string

func (*GetNetworkSwitchStackOK) GetPayload ¶

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

type GetNetworkSwitchStackParams ¶

type GetNetworkSwitchStackParams struct {

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload ¶

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

type GetNetworkSwitchStackRoutingInterfaceDhcpParams ¶

type GetNetworkSwitchStackRoutingInterfaceDhcpParams struct {

	// InterfaceID.
	InterfaceID string

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (*GetNetworkSwitchStackRoutingInterfaceOK) GetPayload ¶

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

type GetNetworkSwitchStackRoutingInterfaceParams ¶

type GetNetworkSwitchStackRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (*GetNetworkSwitchStackRoutingInterfacesOK) GetPayload ¶

func (o *GetNetworkSwitchStackRoutingInterfacesOK) GetPayload() []interface{}

type GetNetworkSwitchStackRoutingInterfacesParams ¶

type GetNetworkSwitchStackRoutingInterfacesParams struct {

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (*GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload ¶

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

type GetNetworkSwitchStackRoutingStaticRouteParams ¶

type GetNetworkSwitchStackRoutingStaticRouteParams struct {

	// NetworkID.
	NetworkID string

	// StaticRouteID.
	StaticRouteID string

	// SwitchStackID.
	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) Error ¶

func (*GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload ¶

func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload() []interface{}

type GetNetworkSwitchStackRoutingStaticRoutesParams ¶

type GetNetworkSwitchStackRoutingStaticRoutesParams struct {

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (o *GetNetworkSwitchStacksOK) Error() string

func (*GetNetworkSwitchStacksOK) GetPayload ¶

func (o *GetNetworkSwitchStacksOK) GetPayload() []interface{}

type GetNetworkSwitchStacksParams ¶

type GetNetworkSwitchStacksParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*GetNetworkSwitchStormControlOK) GetPayload ¶

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

type GetNetworkSwitchStormControlParams ¶

type GetNetworkSwitchStormControlParams struct {

	// NetworkID.
	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) Error ¶

func (o *GetNetworkSwitchStpOK) Error() string

func (*GetNetworkSwitchStpOK) GetPayload ¶

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

type GetNetworkSwitchStpParams ¶

type GetNetworkSwitchStpParams struct {

	// NetworkID.
	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 interface{}
}
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) Error ¶

func (*GetOrganizationConfigTemplateSwitchProfilePortOK) GetPayload ¶

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

type GetOrganizationConfigTemplateSwitchProfilePortParams ¶

type GetOrganizationConfigTemplateSwitchProfilePortParams struct {

	// ConfigTemplateID.
	ConfigTemplateID string

	// OrganizationID.
	OrganizationID string

	// PortID.
	PortID string

	// ProfileID.
	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 interface{}
}
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) Error ¶

func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) GetPayload ¶

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

type GetOrganizationConfigTemplateSwitchProfilePortsParams ¶

type GetOrganizationConfigTemplateSwitchProfilePortsParams struct {

	// ConfigTemplateID.
	ConfigTemplateID string

	// OrganizationID.
	OrganizationID string

	// ProfileID.
	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 []interface{}
}
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) Error ¶

func (*GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload ¶

func (o *GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload() []interface{}

type GetOrganizationConfigTemplateSwitchProfilesParams ¶

type GetOrganizationConfigTemplateSwitchProfilesParams struct {

	// ConfigTemplateID.
	ConfigTemplateID string

	// OrganizationID.
	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 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) Error ¶

func (*RemoveNetworkSwitchStackOK) GetPayload ¶

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

type RemoveNetworkSwitchStackParams ¶

type RemoveNetworkSwitchStackParams struct {

	// NetworkID.
	NetworkID string

	// RemoveNetworkSwitchStack.
	RemoveNetworkSwitchStack RemoveNetworkSwitchStackBody

	// SwitchStackID.
	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: [Open Custom access policy MAC allow list 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"`

	// 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"`

	// 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: [disabled root guard bpdu guard loop 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: [trunk access]
	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: {"accessPolicyType":"Sticky MAC allow list","adaptivePolicyGroupId":"123","enabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","name":"My switch port","peerSgtCapable":false,"poeEnabled":true,"portScheduleId":"1234","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 validates this update device switch port body based on 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 interface{}
}
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) Error ¶

func (o *UpdateDeviceSwitchPortOK) Error() string

func (*UpdateDeviceSwitchPortOK) GetPayload ¶

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

type UpdateDeviceSwitchPortParams ¶

type UpdateDeviceSwitchPortParams struct {

	// PortID.
	PortID string

	// 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 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.
	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'.
	// Enum: [disabled enabled IGMP snooping querier]
	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"`

	// 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: {"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: [30 minutes 1 hour 4 hours 12 hours 1 day 1 week]
	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: [googlePublicDns openDns custom]
	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) Error ¶

func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload ¶

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

type UpdateDeviceSwitchRoutingInterfaceDhcpParams ¶

type UpdateDeviceSwitchRoutingInterfaceDhcpParams struct {

	// InterfaceID.
	InterfaceID string

	// 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: [text ip integer hex]
	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 interface{}
}
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) Error ¶

func (*UpdateDeviceSwitchRoutingInterfaceOK) GetPayload ¶

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

type UpdateDeviceSwitchRoutingInterfaceParams ¶

type UpdateDeviceSwitchRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// 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 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 switch.
	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"`
}

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.
	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 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) Error ¶

func (*UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload ¶

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

type UpdateDeviceSwitchRoutingStaticRouteParams ¶

type UpdateDeviceSwitchRoutingStaticRouteParams struct {

	// Serial.
	Serial string

	// StaticRouteID.
	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) Error ¶

func (*UpdateDeviceSwitchWarmSpareOK) GetPayload ¶

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

type UpdateDeviceSwitchWarmSpareParams ¶

type UpdateDeviceSwitchWarmSpareParams struct {

	// 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 interface{}
}
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) Error ¶

func (*UpdateNetworkSwitchAccessControlListsOK) GetPayload ¶

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

type UpdateNetworkSwitchAccessControlListsParams ¶

type UpdateNetworkSwitchAccessControlListsParams struct {

	// NetworkID.
	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: [tcp udp any]
	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 MAC authentication bypass Hybrid authentication]
	AccessPolicyType string `json:"accessPolicyType,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: [Single-Host Multi-Domain Multi-Host Multi-Auth]
	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"`

	// Can be either `""`, which means `None` on Dashboard, or `"11"`, which means `Filter-Id` on Dashboard and will use Group Policy ACLs when supported (firmware 14+)
	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","guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120,"suspendReAuthentication":true},"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 interface{}
}
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) Error ¶

func (*UpdateNetworkSwitchAccessPolicyOK) GetPayload ¶

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

type UpdateNetworkSwitchAccessPolicyParams ¶

type UpdateNetworkSwitchAccessPolicyParams struct {

	// AccessPolicyNumber.
	AccessPolicyNumber string

	// NetworkID.
	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 UpdateNetworkSwitchAccessPolicyParamsBodyRadius ¶

type UpdateNetworkSwitchAccessPolicyParamsBodyRadius struct {

	// critical auth
	CriticalAuth *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,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","serial":"Q234-ABCD-5678"}],"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) Error ¶

func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload ¶

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

type UpdateNetworkSwitchAlternateManagementInterfaceParams ¶

type UpdateNetworkSwitchAlternateManagementInterfaceParams struct {

	// NetworkID.
	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 serial number
	// Required: true
	Serial *string `json:"serial"`
}

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 UpdateNetworkSwitchDhcpServerPolicyBody ¶

type UpdateNetworkSwitchDhcpServerPolicyBody struct {

	// List the MAC addresses of DHCP servers to permit on the network. Applicable only if defaultPolicy is set to block. An empty array will clear the entries.
	AllowedServers []string `json:"allowedServers"`

	// List the MAC addresses of DHCP servers to block on the network. Applicable only if 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: {"allowedServers":["00:50:56:00:00:01","00:50:56:00:00:02"],"defaultPolicy":"block"} swagger:model UpdateNetworkSwitchDhcpServerPolicyBody

func (*UpdateNetworkSwitchDhcpServerPolicyBody) ContextValidate ¶

ContextValidate validates this update network switch dhcp server policy body based on 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) Error ¶

func (*UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload ¶

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

type UpdateNetworkSwitchDhcpServerPolicyParams ¶

type UpdateNetworkSwitchDhcpServerPolicyParams struct {

	// NetworkID.
	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 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) Error ¶

func (*UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload ¶

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

type UpdateNetworkSwitchDscpToCosMappingsParams ¶

type UpdateNetworkSwitchDscpToCosMappingsParams struct {

	// NetworkID.
	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) Error ¶

func (*UpdateNetworkSwitchLinkAggregationOK) GetPayload ¶

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

type UpdateNetworkSwitchLinkAggregationParams ¶

type UpdateNetworkSwitchLinkAggregationParams struct {

	// LinkAggregationID.
	LinkAggregationID string

	// NetworkID.
	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 profiles. 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) Error ¶

func (o *UpdateNetworkSwitchMtuOK) Error() string

func (*UpdateNetworkSwitchMtuOK) GetPayload ¶

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

type UpdateNetworkSwitchMtuParams ¶

type UpdateNetworkSwitchMtuParams struct {

	// NetworkID.
	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 profiles.
	// Required: true
	MtuSize *int64 `json:"mtuSize"`

	// List of switch profile 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 interface{}
}
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) Error ¶

func (*UpdateNetworkSwitchPortScheduleOK) GetPayload ¶

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

type UpdateNetworkSwitchPortScheduleParams ¶

type UpdateNetworkSwitchPortScheduleParams struct {

	// NetworkID.
	NetworkID string

	// PortScheduleID.
	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) Error ¶

func (*UpdateNetworkSwitchQosRuleOK) GetPayload ¶

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

type UpdateNetworkSwitchQosRuleParams ¶

type UpdateNetworkSwitchQosRuleParams struct {

	// NetworkID.
	NetworkID string

	// QosRuleID.
	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) Error ¶

func (*UpdateNetworkSwitchQosRulesOrderOK) GetPayload ¶

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

type UpdateNetworkSwitchQosRulesOrderParams ¶

type UpdateNetworkSwitchQosRulesOrderParams struct {

	// NetworkID.
	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"]}]} 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) Error ¶

func (*UpdateNetworkSwitchRoutingMulticastOK) GetPayload ¶

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

type UpdateNetworkSwitchRoutingMulticastParams ¶

type UpdateNetworkSwitchRoutingMulticastParams struct {

	// NetworkID.
	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 profiles
	// Required: true
	FloodUnknownMulticastTrafficEnabled *bool `json:"floodUnknownMulticastTrafficEnabled"`

	// IGMP snooping setting for switches, switch stacks or switch profiles
	// Required: true
	IgmpSnoopingEnabled *bool `json:"igmpSnoopingEnabled"`

	// List of switch stack ids for non-template network
	Stacks []string `json:"stacks"`

	// List of switch profiles 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) Error ¶

func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload ¶

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

type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams ¶

type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams struct {

	// NetworkID.
	NetworkID string

	// RendezvousPointID.
	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) Error ¶

func (*UpdateNetworkSwitchRoutingOspfOK) GetPayload ¶

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

type UpdateNetworkSwitchRoutingOspfParams ¶

type UpdateNetworkSwitchRoutingOspfParams struct {

	// NetworkID.
	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 stub nssa]
	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 stub nssa]
	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"`

	// 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: {"powerExceptions":[{"powerType":"redundant","serial":"Q234-ABCD-0001"},{"powerType":"combined","serial":"Q234-ABCD-0002"},{"powerType":"redundant","serial":"Q234-ABCD-0003"},{"powerType":"useNetworkSetting","serial":"Q234-ABCD-0004"}],"useCombinedPower":false,"vlan":100} 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 interface{}
}
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) Error ¶

func (*UpdateNetworkSwitchSettingsOK) GetPayload ¶

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

type UpdateNetworkSwitchSettingsParams ¶

type UpdateNetworkSwitchSettingsParams struct {

	// NetworkID.
	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 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: [disabled enabled IGMP snooping querier]
	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: [30 minutes 1 hour 4 hours 12 hours 1 day 1 week]
	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: [googlePublicDns openDns custom]
	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) Error ¶

func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload ¶

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

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams ¶

type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams struct {

	// InterfaceID.
	InterfaceID string

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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: [text ip integer hex]
	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) Error ¶

func (*UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload ¶

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

type UpdateNetworkSwitchStackRoutingInterfaceParams ¶

type UpdateNetworkSwitchStackRoutingInterfaceParams struct {

	// InterfaceID.
	InterfaceID string

	// NetworkID.
	NetworkID string

	// SwitchStackID.
	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) Error ¶

func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload ¶

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

type UpdateNetworkSwitchStackRoutingStaticRouteParams ¶

type UpdateNetworkSwitchStackRoutingStaticRouteParams struct {

	// NetworkID.
	NetworkID string

	// StaticRouteID.
	StaticRouteID string

	// SwitchStackID.
	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) Error ¶

func (*UpdateNetworkSwitchStormControlOK) GetPayload ¶

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

type UpdateNetworkSwitchStormControlParams ¶

type UpdateNetworkSwitchStormControlParams struct {

	// NetworkID.
	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 profiles. 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) Error ¶

func (o *UpdateNetworkSwitchStpOK) Error() string

func (*UpdateNetworkSwitchStpOK) GetPayload ¶

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

type UpdateNetworkSwitchStpParams ¶

type UpdateNetworkSwitchStpParams struct {

	// NetworkID.
	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 profiles
	// Required: true
	StpPriority *int64 `json:"stpPriority"`

	// List of switch profile 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 profile port. Only applicable when 'accessPolicyType' is 'Custom access policy'
	AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"`

	// The type of the access policy of the switch profile port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'
	// Enum: [Open Custom access policy MAC allow list Sticky MAC allow list]
	AccessPolicyType string `json:"accessPolicyType,omitempty"`

	// The VLANs allowed on the switch profile port. Only applicable to trunk ports
	AllowedVlans string `json:"allowedVlans,omitempty"`

	// The status of the switch profile 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 profile port
	IsolationEnabled bool `json:"isolationEnabled,omitempty"`

	// The link speed for the switch profile 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 profile port
	Name string `json:"name,omitempty"`

	// The PoE status of the switch profile 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"`

	// 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 profile port
	StormControlEnabled bool `json:"stormControlEnabled,omitempty"`

	// The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard')
	// Enum: [disabled root guard bpdu guard loop guard]
	StpGuard string `json:"stpGuard,omitempty"`

	// The list of tags of the switch profile port
	Tags []string `json:"tags"`

	// The type of the switch profile port ('trunk' or 'access')
	// Enum: [trunk access]
	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 profile port. A null value will clear the value set for trunk ports.
	Vlan int64 `json:"vlan,omitempty"`

	// The voice VLAN of the switch profile port. Only applicable to access ports
	VoiceVlan int64 `json:"voiceVlan,omitempty"`
}

UpdateOrganizationConfigTemplateSwitchProfilePortBody update organization config template switch profile port body // Example: {"accessPolicyType":"Sticky MAC allow list","adaptivePolicyGroupId":"123","enabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","name":"My switch port","peerSgtCapable":false,"poeEnabled":true,"portScheduleId":"1234","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 validates this update organization config template switch profile port body based on 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 interface{}
}
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) Error ¶

func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) GetPayload ¶

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

type UpdateOrganizationConfigTemplateSwitchProfilePortParams ¶

type UpdateOrganizationConfigTemplateSwitchProfilePortParams struct {

	// ConfigTemplateID.
	ConfigTemplateID string

	// OrganizationID.
	OrganizationID string

	// PortID.
	PortID string

	// ProfileID.
	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 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