Documentation ¶
Index ¶
- Constants
- type AddNetworkSwitchStackBody
- func (o *AddNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AddNetworkSwitchStackBody) MarshalBinary() ([]byte, error)
- func (o *AddNetworkSwitchStackBody) UnmarshalBinary(b []byte) error
- func (o *AddNetworkSwitchStackBody) Validate(formats strfmt.Registry) error
- type AddNetworkSwitchStackOK
- func (o *AddNetworkSwitchStackOK) Code() int
- func (o *AddNetworkSwitchStackOK) Error() string
- func (o *AddNetworkSwitchStackOK) GetPayload() *AddNetworkSwitchStackOKBody
- func (o *AddNetworkSwitchStackOK) IsClientError() bool
- func (o *AddNetworkSwitchStackOK) IsCode(code int) bool
- func (o *AddNetworkSwitchStackOK) IsRedirect() bool
- func (o *AddNetworkSwitchStackOK) IsServerError() bool
- func (o *AddNetworkSwitchStackOK) IsSuccess() bool
- func (o *AddNetworkSwitchStackOK) String() string
- type AddNetworkSwitchStackOKBody
- func (o *AddNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *AddNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)
- func (o *AddNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error
- func (o *AddNetworkSwitchStackOKBody) Validate(formats strfmt.Registry) error
- type AddNetworkSwitchStackParams
- func NewAddNetworkSwitchStackParams() *AddNetworkSwitchStackParams
- func NewAddNetworkSwitchStackParamsWithContext(ctx context.Context) *AddNetworkSwitchStackParams
- func NewAddNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams
- func NewAddNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) SetAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody)
- func (o *AddNetworkSwitchStackParams) SetContext(ctx context.Context)
- func (o *AddNetworkSwitchStackParams) SetDefaults()
- func (o *AddNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
- func (o *AddNetworkSwitchStackParams) SetNetworkID(networkID string)
- func (o *AddNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
- func (o *AddNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
- func (o *AddNetworkSwitchStackParams) WithAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithContext(ctx context.Context) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithDefaults() *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithNetworkID(networkID string) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams
- func (o *AddNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddNetworkSwitchStackReader
- type Client
- func (a *Client) AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*AddNetworkSwitchStackOK, error)
- func (a *Client) CloneOrganizationSwitchDevices(params *CloneOrganizationSwitchDevicesParams, ...) (*CloneOrganizationSwitchDevicesOK, error)
- func (a *Client) CreateDeviceSwitchRoutingInterface(params *CreateDeviceSwitchRoutingInterfaceParams, ...) (*CreateDeviceSwitchRoutingInterfaceCreated, error)
- func (a *Client) CreateDeviceSwitchRoutingStaticRoute(params *CreateDeviceSwitchRoutingStaticRouteParams, ...) (*CreateDeviceSwitchRoutingStaticRouteCreated, error)
- func (a *Client) CreateNetworkSwitchAccessPolicy(params *CreateNetworkSwitchAccessPolicyParams, ...) (*CreateNetworkSwitchAccessPolicyCreated, error)
- func (a *Client) CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, ...) (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated, error)
- func (a *Client) CreateNetworkSwitchLinkAggregation(params *CreateNetworkSwitchLinkAggregationParams, ...) (*CreateNetworkSwitchLinkAggregationCreated, error)
- func (a *Client) CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, ...) (*CreateNetworkSwitchPortScheduleCreated, error)
- func (a *Client) CreateNetworkSwitchQosRule(params *CreateNetworkSwitchQosRuleParams, ...) (*CreateNetworkSwitchQosRuleCreated, error)
- func (a *Client) CreateNetworkSwitchRoutingMulticastRendezvousPoint(params *CreateNetworkSwitchRoutingMulticastRendezvousPointParams, ...) (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated, error)
- func (a *Client) CreateNetworkSwitchStack(params *CreateNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateNetworkSwitchStackCreated, error)
- func (a *Client) CreateNetworkSwitchStackRoutingInterface(params *CreateNetworkSwitchStackRoutingInterfaceParams, ...) (*CreateNetworkSwitchStackRoutingInterfaceCreated, error)
- func (a *Client) CreateNetworkSwitchStackRoutingStaticRoute(params *CreateNetworkSwitchStackRoutingStaticRouteParams, ...) (*CreateNetworkSwitchStackRoutingStaticRouteCreated, error)
- func (a *Client) CycleDeviceSwitchPorts(params *CycleDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CycleDeviceSwitchPortsOK, error)
- func (a *Client) DeleteDeviceSwitchRoutingInterface(params *DeleteDeviceSwitchRoutingInterfaceParams, ...) (*DeleteDeviceSwitchRoutingInterfaceNoContent, error)
- func (a *Client) DeleteDeviceSwitchRoutingStaticRoute(params *DeleteDeviceSwitchRoutingStaticRouteParams, ...) (*DeleteDeviceSwitchRoutingStaticRouteNoContent, error)
- func (a *Client) DeleteNetworkSwitchAccessPolicy(params *DeleteNetworkSwitchAccessPolicyParams, ...) (*DeleteNetworkSwitchAccessPolicyNoContent, error)
- func (a *Client) DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, ...) (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent, error)
- func (a *Client) DeleteNetworkSwitchLinkAggregation(params *DeleteNetworkSwitchLinkAggregationParams, ...) (*DeleteNetworkSwitchLinkAggregationNoContent, error)
- func (a *Client) DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, ...) (*DeleteNetworkSwitchPortScheduleNoContent, error)
- func (a *Client) DeleteNetworkSwitchQosRule(params *DeleteNetworkSwitchQosRuleParams, ...) (*DeleteNetworkSwitchQosRuleNoContent, error)
- func (a *Client) DeleteNetworkSwitchRoutingMulticastRendezvousPoint(params *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams, ...) (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent, error)
- func (a *Client) DeleteNetworkSwitchStack(params *DeleteNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteNetworkSwitchStackNoContent, error)
- func (a *Client) DeleteNetworkSwitchStackRoutingInterface(params *DeleteNetworkSwitchStackRoutingInterfaceParams, ...) (*DeleteNetworkSwitchStackRoutingInterfaceNoContent, error)
- func (a *Client) DeleteNetworkSwitchStackRoutingStaticRoute(params *DeleteNetworkSwitchStackRoutingStaticRouteParams, ...) (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent, error)
- func (a *Client) GetDeviceSwitchPort(params *GetDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceSwitchPortOK, error)
- func (a *Client) GetDeviceSwitchPorts(params *GetDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceSwitchPortsOK, error)
- func (a *Client) GetDeviceSwitchPortsStatuses(params *GetDeviceSwitchPortsStatusesParams, ...) (*GetDeviceSwitchPortsStatusesOK, error)
- func (a *Client) GetDeviceSwitchPortsStatusesPackets(params *GetDeviceSwitchPortsStatusesPacketsParams, ...) (*GetDeviceSwitchPortsStatusesPacketsOK, error)
- func (a *Client) GetDeviceSwitchRoutingInterface(params *GetDeviceSwitchRoutingInterfaceParams, ...) (*GetDeviceSwitchRoutingInterfaceOK, error)
- func (a *Client) GetDeviceSwitchRoutingInterfaceDhcp(params *GetDeviceSwitchRoutingInterfaceDhcpParams, ...) (*GetDeviceSwitchRoutingInterfaceDhcpOK, error)
- func (a *Client) GetDeviceSwitchRoutingInterfaces(params *GetDeviceSwitchRoutingInterfacesParams, ...) (*GetDeviceSwitchRoutingInterfacesOK, error)
- func (a *Client) GetDeviceSwitchRoutingStaticRoute(params *GetDeviceSwitchRoutingStaticRouteParams, ...) (*GetDeviceSwitchRoutingStaticRouteOK, error)
- func (a *Client) GetDeviceSwitchRoutingStaticRoutes(params *GetDeviceSwitchRoutingStaticRoutesParams, ...) (*GetDeviceSwitchRoutingStaticRoutesOK, error)
- func (a *Client) GetDeviceSwitchWarmSpare(params *GetDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetDeviceSwitchWarmSpareOK, error)
- func (a *Client) GetNetworkSwitchAccessControlLists(params *GetNetworkSwitchAccessControlListsParams, ...) (*GetNetworkSwitchAccessControlListsOK, error)
- func (a *Client) GetNetworkSwitchAccessPolicies(params *GetNetworkSwitchAccessPoliciesParams, ...) (*GetNetworkSwitchAccessPoliciesOK, error)
- func (a *Client) GetNetworkSwitchAccessPolicy(params *GetNetworkSwitchAccessPolicyParams, ...) (*GetNetworkSwitchAccessPolicyOK, error)
- func (a *Client) GetNetworkSwitchAlternateManagementInterface(params *GetNetworkSwitchAlternateManagementInterfaceParams, ...) (*GetNetworkSwitchAlternateManagementInterfaceOK, error)
- func (a *Client) GetNetworkSwitchDhcpServerPolicy(params *GetNetworkSwitchDhcpServerPolicyParams, ...) (*GetNetworkSwitchDhcpServerPolicyOK, error)
- func (a *Client) GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers(params *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams, ...) (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK, error)
- func (a *Client) GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice(params *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams, ...) (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK, error)
- func (a *Client) GetNetworkSwitchDhcpV4ServersSeen(params *GetNetworkSwitchDhcpV4ServersSeenParams, ...) (*GetNetworkSwitchDhcpV4ServersSeenOK, error)
- func (a *Client) GetNetworkSwitchDscpToCosMappings(params *GetNetworkSwitchDscpToCosMappingsParams, ...) (*GetNetworkSwitchDscpToCosMappingsOK, error)
- func (a *Client) GetNetworkSwitchLinkAggregations(params *GetNetworkSwitchLinkAggregationsParams, ...) (*GetNetworkSwitchLinkAggregationsOK, error)
- func (a *Client) GetNetworkSwitchMtu(params *GetNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchMtuOK, error)
- func (a *Client) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, ...) (*GetNetworkSwitchPortSchedulesOK, error)
- func (a *Client) GetNetworkSwitchQosRule(params *GetNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchQosRuleOK, error)
- func (a *Client) GetNetworkSwitchQosRules(params *GetNetworkSwitchQosRulesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchQosRulesOK, error)
- func (a *Client) GetNetworkSwitchQosRulesOrder(params *GetNetworkSwitchQosRulesOrderParams, ...) (*GetNetworkSwitchQosRulesOrderOK, error)
- func (a *Client) GetNetworkSwitchRoutingMulticast(params *GetNetworkSwitchRoutingMulticastParams, ...) (*GetNetworkSwitchRoutingMulticastOK, error)
- func (a *Client) GetNetworkSwitchRoutingMulticastRendezvousPoint(params *GetNetworkSwitchRoutingMulticastRendezvousPointParams, ...) (*GetNetworkSwitchRoutingMulticastRendezvousPointOK, error)
- func (a *Client) GetNetworkSwitchRoutingMulticastRendezvousPoints(params *GetNetworkSwitchRoutingMulticastRendezvousPointsParams, ...) (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK, error)
- func (a *Client) GetNetworkSwitchRoutingOspf(params *GetNetworkSwitchRoutingOspfParams, ...) (*GetNetworkSwitchRoutingOspfOK, error)
- func (a *Client) GetNetworkSwitchSettings(params *GetNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchSettingsOK, error)
- func (a *Client) GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchStackOK, error)
- func (a *Client) GetNetworkSwitchStackRoutingInterface(params *GetNetworkSwitchStackRoutingInterfaceParams, ...) (*GetNetworkSwitchStackRoutingInterfaceOK, error)
- func (a *Client) GetNetworkSwitchStackRoutingInterfaceDhcp(params *GetNetworkSwitchStackRoutingInterfaceDhcpParams, ...) (*GetNetworkSwitchStackRoutingInterfaceDhcpOK, error)
- func (a *Client) GetNetworkSwitchStackRoutingInterfaces(params *GetNetworkSwitchStackRoutingInterfacesParams, ...) (*GetNetworkSwitchStackRoutingInterfacesOK, error)
- func (a *Client) GetNetworkSwitchStackRoutingStaticRoute(params *GetNetworkSwitchStackRoutingStaticRouteParams, ...) (*GetNetworkSwitchStackRoutingStaticRouteOK, error)
- func (a *Client) GetNetworkSwitchStackRoutingStaticRoutes(params *GetNetworkSwitchStackRoutingStaticRoutesParams, ...) (*GetNetworkSwitchStackRoutingStaticRoutesOK, error)
- func (a *Client) GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchStacksOK, error)
- func (a *Client) GetNetworkSwitchStormControl(params *GetNetworkSwitchStormControlParams, ...) (*GetNetworkSwitchStormControlOK, error)
- func (a *Client) GetNetworkSwitchStp(params *GetNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNetworkSwitchStpOK, error)
- func (a *Client) GetOrganizationConfigTemplateSwitchProfilePort(params *GetOrganizationConfigTemplateSwitchProfilePortParams, ...) (*GetOrganizationConfigTemplateSwitchProfilePortOK, error)
- func (a *Client) GetOrganizationConfigTemplateSwitchProfilePorts(params *GetOrganizationConfigTemplateSwitchProfilePortsParams, ...) (*GetOrganizationConfigTemplateSwitchProfilePortsOK, error)
- func (a *Client) GetOrganizationConfigTemplateSwitchProfiles(params *GetOrganizationConfigTemplateSwitchProfilesParams, ...) (*GetOrganizationConfigTemplateSwitchProfilesOK, error)
- func (a *Client) GetOrganizationSwitchPortsBySwitch(params *GetOrganizationSwitchPortsBySwitchParams, ...) (*GetOrganizationSwitchPortsBySwitchOK, error)
- func (a *Client) RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RemoveNetworkSwitchStackOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceSwitchPort(params *UpdateDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateDeviceSwitchPortOK, error)
- func (a *Client) UpdateDeviceSwitchRoutingInterface(params *UpdateDeviceSwitchRoutingInterfaceParams, ...) (*UpdateDeviceSwitchRoutingInterfaceOK, error)
- func (a *Client) UpdateDeviceSwitchRoutingInterfaceDhcp(params *UpdateDeviceSwitchRoutingInterfaceDhcpParams, ...) (*UpdateDeviceSwitchRoutingInterfaceDhcpOK, error)
- func (a *Client) UpdateDeviceSwitchRoutingStaticRoute(params *UpdateDeviceSwitchRoutingStaticRouteParams, ...) (*UpdateDeviceSwitchRoutingStaticRouteOK, error)
- func (a *Client) UpdateDeviceSwitchWarmSpare(params *UpdateDeviceSwitchWarmSpareParams, ...) (*UpdateDeviceSwitchWarmSpareOK, error)
- func (a *Client) UpdateNetworkSwitchAccessControlLists(params *UpdateNetworkSwitchAccessControlListsParams, ...) (*UpdateNetworkSwitchAccessControlListsOK, error)
- func (a *Client) UpdateNetworkSwitchAccessPolicy(params *UpdateNetworkSwitchAccessPolicyParams, ...) (*UpdateNetworkSwitchAccessPolicyOK, error)
- func (a *Client) UpdateNetworkSwitchAlternateManagementInterface(params *UpdateNetworkSwitchAlternateManagementInterfaceParams, ...) (*UpdateNetworkSwitchAlternateManagementInterfaceOK, error)
- func (a *Client) UpdateNetworkSwitchDhcpServerPolicy(params *UpdateNetworkSwitchDhcpServerPolicyParams, ...) (*UpdateNetworkSwitchDhcpServerPolicyOK, error)
- func (a *Client) UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, ...) (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK, error)
- func (a *Client) UpdateNetworkSwitchDscpToCosMappings(params *UpdateNetworkSwitchDscpToCosMappingsParams, ...) (*UpdateNetworkSwitchDscpToCosMappingsOK, error)
- func (a *Client) UpdateNetworkSwitchLinkAggregation(params *UpdateNetworkSwitchLinkAggregationParams, ...) (*UpdateNetworkSwitchLinkAggregationOK, error)
- func (a *Client) UpdateNetworkSwitchMtu(params *UpdateNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNetworkSwitchMtuOK, error)
- func (a *Client) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, ...) (*UpdateNetworkSwitchPortScheduleOK, error)
- func (a *Client) UpdateNetworkSwitchQosRule(params *UpdateNetworkSwitchQosRuleParams, ...) (*UpdateNetworkSwitchQosRuleOK, error)
- func (a *Client) UpdateNetworkSwitchQosRulesOrder(params *UpdateNetworkSwitchQosRulesOrderParams, ...) (*UpdateNetworkSwitchQosRulesOrderOK, error)
- func (a *Client) UpdateNetworkSwitchRoutingMulticast(params *UpdateNetworkSwitchRoutingMulticastParams, ...) (*UpdateNetworkSwitchRoutingMulticastOK, error)
- func (a *Client) UpdateNetworkSwitchRoutingMulticastRendezvousPoint(params *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams, ...) (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK, error)
- func (a *Client) UpdateNetworkSwitchRoutingOspf(params *UpdateNetworkSwitchRoutingOspfParams, ...) (*UpdateNetworkSwitchRoutingOspfOK, error)
- func (a *Client) UpdateNetworkSwitchSettings(params *UpdateNetworkSwitchSettingsParams, ...) (*UpdateNetworkSwitchSettingsOK, error)
- func (a *Client) UpdateNetworkSwitchStackRoutingInterface(params *UpdateNetworkSwitchStackRoutingInterfaceParams, ...) (*UpdateNetworkSwitchStackRoutingInterfaceOK, error)
- func (a *Client) UpdateNetworkSwitchStackRoutingInterfaceDhcp(params *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams, ...) (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK, error)
- func (a *Client) UpdateNetworkSwitchStackRoutingStaticRoute(params *UpdateNetworkSwitchStackRoutingStaticRouteParams, ...) (*UpdateNetworkSwitchStackRoutingStaticRouteOK, error)
- func (a *Client) UpdateNetworkSwitchStormControl(params *UpdateNetworkSwitchStormControlParams, ...) (*UpdateNetworkSwitchStormControlOK, error)
- func (a *Client) UpdateNetworkSwitchStp(params *UpdateNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateNetworkSwitchStpOK, error)
- func (a *Client) UpdateOrganizationConfigTemplateSwitchProfilePort(params *UpdateOrganizationConfigTemplateSwitchProfilePortParams, ...) (*UpdateOrganizationConfigTemplateSwitchProfilePortOK, error)
- type ClientOption
- type ClientService
- type CloneOrganizationSwitchDevicesBody
- func (o *CloneOrganizationSwitchDevicesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CloneOrganizationSwitchDevicesBody) MarshalBinary() ([]byte, error)
- func (o *CloneOrganizationSwitchDevicesBody) UnmarshalBinary(b []byte) error
- func (o *CloneOrganizationSwitchDevicesBody) Validate(formats strfmt.Registry) error
- type CloneOrganizationSwitchDevicesOK
- func (o *CloneOrganizationSwitchDevicesOK) Code() int
- func (o *CloneOrganizationSwitchDevicesOK) Error() string
- func (o *CloneOrganizationSwitchDevicesOK) GetPayload() interface{}
- func (o *CloneOrganizationSwitchDevicesOK) IsClientError() bool
- func (o *CloneOrganizationSwitchDevicesOK) IsCode(code int) bool
- func (o *CloneOrganizationSwitchDevicesOK) IsRedirect() bool
- func (o *CloneOrganizationSwitchDevicesOK) IsServerError() bool
- func (o *CloneOrganizationSwitchDevicesOK) IsSuccess() bool
- func (o *CloneOrganizationSwitchDevicesOK) String() string
- type CloneOrganizationSwitchDevicesParams
- func NewCloneOrganizationSwitchDevicesParams() *CloneOrganizationSwitchDevicesParams
- func NewCloneOrganizationSwitchDevicesParamsWithContext(ctx context.Context) *CloneOrganizationSwitchDevicesParams
- func NewCloneOrganizationSwitchDevicesParamsWithHTTPClient(client *http.Client) *CloneOrganizationSwitchDevicesParams
- func NewCloneOrganizationSwitchDevicesParamsWithTimeout(timeout time.Duration) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) SetCloneOrganizationSwitchDevices(cloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody)
- func (o *CloneOrganizationSwitchDevicesParams) SetContext(ctx context.Context)
- func (o *CloneOrganizationSwitchDevicesParams) SetDefaults()
- func (o *CloneOrganizationSwitchDevicesParams) SetHTTPClient(client *http.Client)
- func (o *CloneOrganizationSwitchDevicesParams) SetOrganizationID(organizationID string)
- func (o *CloneOrganizationSwitchDevicesParams) SetTimeout(timeout time.Duration)
- func (o *CloneOrganizationSwitchDevicesParams) WithCloneOrganizationSwitchDevices(cloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WithContext(ctx context.Context) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WithDefaults() *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WithHTTPClient(client *http.Client) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WithOrganizationID(organizationID string) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WithTimeout(timeout time.Duration) *CloneOrganizationSwitchDevicesParams
- func (o *CloneOrganizationSwitchDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneOrganizationSwitchDevicesReader
- type CreateDeviceSwitchRoutingInterfaceBody
- func (o *CreateDeviceSwitchRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceBody) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceCreated
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) Code() int
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) Error() string
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) GetPayload() *CreateDeviceSwitchRoutingInterfaceCreatedBody
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsClientError() bool
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsCode(code int) bool
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsRedirect() bool
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsServerError() bool
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsSuccess() bool
- func (o *CreateDeviceSwitchRoutingInterfaceCreated) String() string
- type CreateDeviceSwitchRoutingInterfaceCreatedBody
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceParams
- func NewCreateDeviceSwitchRoutingInterfaceParams() *CreateDeviceSwitchRoutingInterfaceParams
- func NewCreateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingInterfaceParams
- func NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingInterfaceParams
- func NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetCreateDeviceSwitchRoutingInterface(createDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody)
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetDefaults()
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)
- func (o *CreateDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithCreateDeviceSwitchRoutingInterface(createDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithDefaults() *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingInterfaceParams
- func (o *CreateDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingInterfaceReader
- type CreateDeviceSwitchRoutingStaticRouteBody
- func (o *CreateDeviceSwitchRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateDeviceSwitchRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
- func (o *CreateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
- func (o *CreateDeviceSwitchRoutingStaticRouteBody) Validate(formats strfmt.Registry) error
- type CreateDeviceSwitchRoutingStaticRouteCreated
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) Code() int
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) Error() string
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload() interface{}
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsClientError() bool
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsCode(code int) bool
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsRedirect() bool
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsServerError() bool
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsSuccess() bool
- func (o *CreateDeviceSwitchRoutingStaticRouteCreated) String() string
- type CreateDeviceSwitchRoutingStaticRouteParams
- func NewCreateDeviceSwitchRoutingStaticRouteParams() *CreateDeviceSwitchRoutingStaticRouteParams
- func NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingStaticRouteParams
- func NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingStaticRouteParams
- func NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetCreateDeviceSwitchRoutingStaticRoute(createDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody)
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetDefaults()
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithCreateDeviceSwitchRoutingStaticRoute(createDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithDefaults() *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingStaticRouteParams
- func (o *CreateDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeviceSwitchRoutingStaticRouteReader
- type CreateNetworkSwitchAccessPolicyBody
- func (o *CreateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreated
- func (o *CreateNetworkSwitchAccessPolicyCreated) Code() int
- func (o *CreateNetworkSwitchAccessPolicyCreated) Error() string
- func (o *CreateNetworkSwitchAccessPolicyCreated) GetPayload() *CreateNetworkSwitchAccessPolicyCreatedBody
- func (o *CreateNetworkSwitchAccessPolicyCreated) IsClientError() bool
- func (o *CreateNetworkSwitchAccessPolicyCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchAccessPolicyCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchAccessPolicyCreated) IsServerError() bool
- func (o *CreateNetworkSwitchAccessPolicyCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchAccessPolicyCreated) String() string
- type CreateNetworkSwitchAccessPolicyCreatedBody
- func (o *CreateNetworkSwitchAccessPolicyCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreatedBodyDot1x
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreatedBodyRadius
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParams
- func NewCreateNetworkSwitchAccessPolicyParams() *CreateNetworkSwitchAccessPolicyParams
- func NewCreateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *CreateNetworkSwitchAccessPolicyParams
- func NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchAccessPolicyParams
- func NewCreateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchAccessPolicyParams) SetCreateNetworkSwitchAccessPolicy(createNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody)
- func (o *CreateNetworkSwitchAccessPolicyParams) SetDefaults()
- func (o *CreateNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WithCreateNetworkSwitchAccessPolicy(createNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WithDefaults() *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchAccessPolicyParams
- func (o *CreateNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParamsBodyDot1x
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParamsBodyRadius
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchAccessPolicyReader
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Code() int
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Error() string
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) GetPayload() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsClientError() bool
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsServerError() bool
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) String() string
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(...)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(...) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader
- type CreateNetworkSwitchLinkAggregationBody
- func (o *CreateNetworkSwitchLinkAggregationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchLinkAggregationBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchLinkAggregationBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchLinkAggregationBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchLinkAggregationCreated
- func (o *CreateNetworkSwitchLinkAggregationCreated) Code() int
- func (o *CreateNetworkSwitchLinkAggregationCreated) Error() string
- func (o *CreateNetworkSwitchLinkAggregationCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchLinkAggregationCreated) IsClientError() bool
- func (o *CreateNetworkSwitchLinkAggregationCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchLinkAggregationCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchLinkAggregationCreated) IsServerError() bool
- func (o *CreateNetworkSwitchLinkAggregationCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchLinkAggregationCreated) String() string
- type CreateNetworkSwitchLinkAggregationParams
- func NewCreateNetworkSwitchLinkAggregationParams() *CreateNetworkSwitchLinkAggregationParams
- func NewCreateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *CreateNetworkSwitchLinkAggregationParams
- func NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchLinkAggregationParams
- func NewCreateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchLinkAggregationParams) SetCreateNetworkSwitchLinkAggregation(createNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody)
- func (o *CreateNetworkSwitchLinkAggregationParams) SetDefaults()
- func (o *CreateNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WithCreateNetworkSwitchLinkAggregation(createNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WithDefaults() *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchLinkAggregationParams
- func (o *CreateNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchLinkAggregationReader
- type CreateNetworkSwitchPortScheduleBody
- func (o *CreateNetworkSwitchPortScheduleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreated
- func (o *CreateNetworkSwitchPortScheduleCreated) Code() int
- func (o *CreateNetworkSwitchPortScheduleCreated) Error() string
- func (o *CreateNetworkSwitchPortScheduleCreated) GetPayload() *CreateNetworkSwitchPortScheduleCreatedBody
- func (o *CreateNetworkSwitchPortScheduleCreated) IsClientError() bool
- func (o *CreateNetworkSwitchPortScheduleCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchPortScheduleCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchPortScheduleCreated) IsServerError() bool
- func (o *CreateNetworkSwitchPortScheduleCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchPortScheduleCreated) String() string
- type CreateNetworkSwitchPortScheduleCreatedBody
- func (o *CreateNetworkSwitchPortScheduleCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParams() *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
- func NewCreateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchPortScheduleParams) SetCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody)
- func (o *CreateNetworkSwitchPortScheduleParams) SetDefaults()
- func (o *CreateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithCreateNetworkSwitchPortSchedule(createNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithDefaults() *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
- func (o *CreateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortSchedule
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchPortScheduleReader
- type CreateNetworkSwitchQosRuleBody
- func (o *CreateNetworkSwitchQosRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchQosRuleBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchQosRuleBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchQosRuleBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchQosRuleCreated
- func (o *CreateNetworkSwitchQosRuleCreated) Code() int
- func (o *CreateNetworkSwitchQosRuleCreated) Error() string
- func (o *CreateNetworkSwitchQosRuleCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchQosRuleCreated) IsClientError() bool
- func (o *CreateNetworkSwitchQosRuleCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchQosRuleCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchQosRuleCreated) IsServerError() bool
- func (o *CreateNetworkSwitchQosRuleCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchQosRuleCreated) String() string
- type CreateNetworkSwitchQosRuleParams
- func NewCreateNetworkSwitchQosRuleParams() *CreateNetworkSwitchQosRuleParams
- func NewCreateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *CreateNetworkSwitchQosRuleParams
- func NewCreateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchQosRuleParams
- func NewCreateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchQosRuleParams) SetCreateNetworkSwitchQosRule(createNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody)
- func (o *CreateNetworkSwitchQosRuleParams) SetDefaults()
- func (o *CreateNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchQosRuleParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WithCreateNetworkSwitchQosRule(createNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WithDefaults() *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchQosRuleParams
- func (o *CreateNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchQosRuleReader
- type CreateNetworkSwitchRoutingMulticastRendezvousPointBody
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchRoutingMulticastRendezvousPointCreated
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Code() int
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Error() string
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsClientError() bool
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsServerError() bool
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) String() string
- type CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams() *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetCreateNetworkSwitchRoutingMulticastRendezvousPoint(...)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults()
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithCreateNetworkSwitchRoutingMulticastRendezvousPoint(...) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchRoutingMulticastRendezvousPointReader
- type CreateNetworkSwitchStackBody
- func (o *CreateNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchStackBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchStackBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchStackBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchStackCreated
- func (o *CreateNetworkSwitchStackCreated) Code() int
- func (o *CreateNetworkSwitchStackCreated) Error() string
- func (o *CreateNetworkSwitchStackCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchStackCreated) IsClientError() bool
- func (o *CreateNetworkSwitchStackCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchStackCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchStackCreated) IsServerError() bool
- func (o *CreateNetworkSwitchStackCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchStackCreated) String() string
- type CreateNetworkSwitchStackParams
- func NewCreateNetworkSwitchStackParams() *CreateNetworkSwitchStackParams
- func NewCreateNetworkSwitchStackParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackParams
- func NewCreateNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams
- func NewCreateNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack(createNetworkSwitchStack CreateNetworkSwitchStackBody)
- func (o *CreateNetworkSwitchStackParams) SetDefaults()
- func (o *CreateNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchStackParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchStackParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WithCreateNetworkSwitchStack(createNetworkSwitchStack CreateNetworkSwitchStackBody) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WithDefaults() *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams
- func (o *CreateNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchStackReader
- type CreateNetworkSwitchStackRoutingInterfaceBody
- func (o *CreateNetworkSwitchStackRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingInterfaceCreated
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) Code() int
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) Error() string
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsClientError() bool
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsServerError() bool
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) String() string
- type CreateNetworkSwitchStackRoutingInterfaceParams
- func NewCreateNetworkSwitchStackRoutingInterfaceParams() *CreateNetworkSwitchStackRoutingInterfaceParams
- func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingInterfaceParams
- func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingInterfaceParams
- func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetCreateNetworkSwitchStackRoutingInterface(...)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetDefaults()
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithCreateNetworkSwitchStackRoutingInterface(...) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingInterfaceParams
- func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingInterfaceReader
- type CreateNetworkSwitchStackRoutingStaticRouteBody
- func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingStaticRouteCreated
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) Code() int
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) Error() string
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload() interface{}
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsClientError() bool
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsCode(code int) bool
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsRedirect() bool
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsServerError() bool
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsSuccess() bool
- func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) String() string
- type CreateNetworkSwitchStackRoutingStaticRouteParams
- func NewCreateNetworkSwitchStackRoutingStaticRouteParams() *CreateNetworkSwitchStackRoutingStaticRouteParams
- func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetCreateNetworkSwitchStackRoutingStaticRoute(...)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetDefaults()
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithCreateNetworkSwitchStackRoutingStaticRoute(...) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingStaticRouteParams
- func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSwitchStackRoutingStaticRouteReader
- type CycleDeviceSwitchPortsBody
- func (o *CycleDeviceSwitchPortsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CycleDeviceSwitchPortsBody) MarshalBinary() ([]byte, error)
- func (o *CycleDeviceSwitchPortsBody) UnmarshalBinary(b []byte) error
- func (o *CycleDeviceSwitchPortsBody) Validate(formats strfmt.Registry) error
- type CycleDeviceSwitchPortsOK
- func (o *CycleDeviceSwitchPortsOK) Code() int
- func (o *CycleDeviceSwitchPortsOK) Error() string
- func (o *CycleDeviceSwitchPortsOK) GetPayload() *CycleDeviceSwitchPortsOKBody
- func (o *CycleDeviceSwitchPortsOK) IsClientError() bool
- func (o *CycleDeviceSwitchPortsOK) IsCode(code int) bool
- func (o *CycleDeviceSwitchPortsOK) IsRedirect() bool
- func (o *CycleDeviceSwitchPortsOK) IsServerError() bool
- func (o *CycleDeviceSwitchPortsOK) IsSuccess() bool
- func (o *CycleDeviceSwitchPortsOK) String() string
- type CycleDeviceSwitchPortsOKBody
- func (o *CycleDeviceSwitchPortsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CycleDeviceSwitchPortsOKBody) MarshalBinary() ([]byte, error)
- func (o *CycleDeviceSwitchPortsOKBody) UnmarshalBinary(b []byte) error
- func (o *CycleDeviceSwitchPortsOKBody) Validate(formats strfmt.Registry) error
- type CycleDeviceSwitchPortsParams
- func NewCycleDeviceSwitchPortsParams() *CycleDeviceSwitchPortsParams
- func NewCycleDeviceSwitchPortsParamsWithContext(ctx context.Context) *CycleDeviceSwitchPortsParams
- func NewCycleDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *CycleDeviceSwitchPortsParams
- func NewCycleDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) SetContext(ctx context.Context)
- func (o *CycleDeviceSwitchPortsParams) SetCycleDeviceSwitchPorts(cycleDeviceSwitchPorts CycleDeviceSwitchPortsBody)
- func (o *CycleDeviceSwitchPortsParams) SetDefaults()
- func (o *CycleDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)
- func (o *CycleDeviceSwitchPortsParams) SetSerial(serial string)
- func (o *CycleDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)
- func (o *CycleDeviceSwitchPortsParams) WithContext(ctx context.Context) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WithCycleDeviceSwitchPorts(cycleDeviceSwitchPorts CycleDeviceSwitchPortsBody) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WithDefaults() *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WithHTTPClient(client *http.Client) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WithSerial(serial string) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WithTimeout(timeout time.Duration) *CycleDeviceSwitchPortsParams
- func (o *CycleDeviceSwitchPortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CycleDeviceSwitchPortsReader
- type DeleteDeviceSwitchRoutingInterfaceNoContent
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) Code() int
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) Error() string
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsClientError() bool
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsCode(code int) bool
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsRedirect() bool
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsServerError() bool
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsSuccess() bool
- func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) String() string
- type DeleteDeviceSwitchRoutingInterfaceParams
- func NewDeleteDeviceSwitchRoutingInterfaceParams() *DeleteDeviceSwitchRoutingInterfaceParams
- func NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingInterfaceParams
- func NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingInterfaceParams
- func NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetDefaults()
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithDefaults() *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingInterfaceParams
- func (o *DeleteDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceSwitchRoutingInterfaceReader
- type DeleteDeviceSwitchRoutingStaticRouteNoContent
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) Code() int
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) Error() string
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsClientError() bool
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsCode(code int) bool
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsRedirect() bool
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsServerError() bool
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsSuccess() bool
- func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) String() string
- type DeleteDeviceSwitchRoutingStaticRouteParams
- func NewDeleteDeviceSwitchRoutingStaticRouteParams() *DeleteDeviceSwitchRoutingStaticRouteParams
- func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingStaticRouteParams
- func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingStaticRouteParams
- func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetDefaults()
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithDefaults() *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingStaticRouteParams
- func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeviceSwitchRoutingStaticRouteReader
- type DeleteNetworkSwitchAccessPolicyNoContent
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) Code() int
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) Error() string
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchAccessPolicyNoContent) String() string
- type DeleteNetworkSwitchAccessPolicyParams
- func NewDeleteNetworkSwitchAccessPolicyParams() *DeleteNetworkSwitchAccessPolicyParams
- func NewDeleteNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *DeleteNetworkSwitchAccessPolicyParams
- func NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchAccessPolicyParams
- func NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetDefaults()
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithDefaults() *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchAccessPolicyParams
- func (o *DeleteNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchAccessPolicyReader
- type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Code() int
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Error() string
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) String() string
- type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID(trustedServerID string) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader
- type DeleteNetworkSwitchLinkAggregationNoContent
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) Code() int
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) Error() string
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchLinkAggregationNoContent) String() string
- type DeleteNetworkSwitchLinkAggregationParams
- func NewDeleteNetworkSwitchLinkAggregationParams() *DeleteNetworkSwitchLinkAggregationParams
- func NewDeleteNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *DeleteNetworkSwitchLinkAggregationParams
- func NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchLinkAggregationParams
- func NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetDefaults()
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetLinkAggregationID(linkAggregationID string)
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithDefaults() *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithLinkAggregationID(linkAggregationID string) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchLinkAggregationParams
- func (o *DeleteNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchLinkAggregationReader
- type DeleteNetworkSwitchPortScheduleNoContent
- func (o *DeleteNetworkSwitchPortScheduleNoContent) Code() int
- func (o *DeleteNetworkSwitchPortScheduleNoContent) Error() string
- func (o *DeleteNetworkSwitchPortScheduleNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchPortScheduleNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchPortScheduleNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchPortScheduleNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchPortScheduleNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchPortScheduleNoContent) String() string
- type DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParams() *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
- func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetDefaults()
- func (o *DeleteNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)
- func (o *DeleteNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithDefaults() *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
- func (o *DeleteNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchPortScheduleReader
- type DeleteNetworkSwitchQosRuleNoContent
- func (o *DeleteNetworkSwitchQosRuleNoContent) Code() int
- func (o *DeleteNetworkSwitchQosRuleNoContent) Error() string
- func (o *DeleteNetworkSwitchQosRuleNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchQosRuleNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchQosRuleNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchQosRuleNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchQosRuleNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchQosRuleNoContent) String() string
- type DeleteNetworkSwitchQosRuleParams
- func NewDeleteNetworkSwitchQosRuleParams() *DeleteNetworkSwitchQosRuleParams
- func NewDeleteNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchQosRuleParams
- func NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchQosRuleParams
- func NewDeleteNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchQosRuleParams) SetDefaults()
- func (o *DeleteNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchQosRuleParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)
- func (o *DeleteNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WithDefaults() *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchQosRuleParams
- func (o *DeleteNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchQosRuleReader
- type DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Code() int
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Error() string
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) String() string
- type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams() *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults()
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchRoutingMulticastRendezvousPointReader
- type DeleteNetworkSwitchStackNoContent
- func (o *DeleteNetworkSwitchStackNoContent) Code() int
- func (o *DeleteNetworkSwitchStackNoContent) Error() string
- func (o *DeleteNetworkSwitchStackNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchStackNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchStackNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchStackNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchStackNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchStackNoContent) String() string
- type DeleteNetworkSwitchStackParams
- func NewDeleteNetworkSwitchStackParams() *DeleteNetworkSwitchStackParams
- func NewDeleteNetworkSwitchStackParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackParams
- func NewDeleteNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams
- func NewDeleteNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchStackParams) SetDefaults()
- func (o *DeleteNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchStackParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
- func (o *DeleteNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchStackParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WithDefaults() *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams
- func (o *DeleteNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchStackReader
- type DeleteNetworkSwitchStackRoutingInterfaceNoContent
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) Code() int
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) Error() string
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) String() string
- type DeleteNetworkSwitchStackRoutingInterfaceParams
- func NewDeleteNetworkSwitchStackRoutingInterfaceParams() *DeleteNetworkSwitchStackRoutingInterfaceParams
- func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetDefaults()
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingInterfaceParams
- func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchStackRoutingInterfaceReader
- type DeleteNetworkSwitchStackRoutingStaticRouteNoContent
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Code() int
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Error() string
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsClientError() bool
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsRedirect() bool
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsServerError() bool
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsSuccess() bool
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) String() string
- type DeleteNetworkSwitchStackRoutingStaticRouteParams
- func NewDeleteNetworkSwitchStackRoutingStaticRouteParams() *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetDefaults()
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingStaticRouteParams
- func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSwitchStackRoutingStaticRouteReader
- type GetDeviceSwitchPortOK
- func (o *GetDeviceSwitchPortOK) Code() int
- func (o *GetDeviceSwitchPortOK) Error() string
- func (o *GetDeviceSwitchPortOK) GetPayload() *GetDeviceSwitchPortOKBody
- func (o *GetDeviceSwitchPortOK) IsClientError() bool
- func (o *GetDeviceSwitchPortOK) IsCode(code int) bool
- func (o *GetDeviceSwitchPortOK) IsRedirect() bool
- func (o *GetDeviceSwitchPortOK) IsServerError() bool
- func (o *GetDeviceSwitchPortOK) IsSuccess() bool
- func (o *GetDeviceSwitchPortOK) String() string
- type GetDeviceSwitchPortOKBody
- func (o *GetDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortOKBody) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortOKBodyProfile
- func (o *GetDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortOKBodyProfile) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortParams
- func NewGetDeviceSwitchPortParams() *GetDeviceSwitchPortParams
- func NewGetDeviceSwitchPortParamsWithContext(ctx context.Context) *GetDeviceSwitchPortParams
- func NewGetDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortParams
- func NewGetDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchPortParams) SetDefaults()
- func (o *GetDeviceSwitchPortParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchPortParams) SetPortID(portID string)
- func (o *GetDeviceSwitchPortParams) SetSerial(serial string)
- func (o *GetDeviceSwitchPortParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchPortParams) WithContext(ctx context.Context) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WithDefaults() *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WithPortID(portID string) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WithSerial(serial string) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortParams
- func (o *GetDeviceSwitchPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchPortReader
- type GetDeviceSwitchPortsOK
- func (o *GetDeviceSwitchPortsOK) Code() int
- func (o *GetDeviceSwitchPortsOK) Error() string
- func (o *GetDeviceSwitchPortsOK) GetPayload() []*GetDeviceSwitchPortsOKBodyItems0
- func (o *GetDeviceSwitchPortsOK) IsClientError() bool
- func (o *GetDeviceSwitchPortsOK) IsCode(code int) bool
- func (o *GetDeviceSwitchPortsOK) IsRedirect() bool
- func (o *GetDeviceSwitchPortsOK) IsServerError() bool
- func (o *GetDeviceSwitchPortsOK) IsSuccess() bool
- func (o *GetDeviceSwitchPortsOK) String() string
- type GetDeviceSwitchPortsOKBodyItems0
- func (o *GetDeviceSwitchPortsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsOKBodyItems0Profile
- func (o *GetDeviceSwitchPortsOKBodyItems0Profile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsOKBodyItems0Profile) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsOKBodyItems0Profile) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsOKBodyItems0Profile) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsParams
- func NewGetDeviceSwitchPortsParams() *GetDeviceSwitchPortsParams
- func NewGetDeviceSwitchPortsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsParams
- func NewGetDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsParams
- func NewGetDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchPortsParams) SetDefaults()
- func (o *GetDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchPortsParams) SetSerial(serial string)
- func (o *GetDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchPortsParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) WithDefaults() *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) WithSerial(serial string) *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsParams
- func (o *GetDeviceSwitchPortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchPortsReader
- type GetDeviceSwitchPortsStatusesOK
- func (o *GetDeviceSwitchPortsStatusesOK) Code() int
- func (o *GetDeviceSwitchPortsStatusesOK) Error() string
- func (o *GetDeviceSwitchPortsStatusesOK) GetPayload() []*GetDeviceSwitchPortsStatusesOKBodyItems0
- func (o *GetDeviceSwitchPortsStatusesOK) IsClientError() bool
- func (o *GetDeviceSwitchPortsStatusesOK) IsCode(code int) bool
- func (o *GetDeviceSwitchPortsStatusesOK) IsRedirect() bool
- func (o *GetDeviceSwitchPortsStatusesOK) IsServerError() bool
- func (o *GetDeviceSwitchPortsStatusesOK) IsSuccess() bool
- func (o *GetDeviceSwitchPortsStatusesOK) String() string
- type GetDeviceSwitchPortsStatusesOKBodyItems0
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0Cdp
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0Lldp
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesPacketsOK
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) Code() int
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) Error() string
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) GetPayload() []interface{}
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsClientError() bool
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsCode(code int) bool
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsRedirect() bool
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsServerError() bool
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsSuccess() bool
- func (o *GetDeviceSwitchPortsStatusesPacketsOK) String() string
- type GetDeviceSwitchPortsStatusesPacketsParams
- func NewGetDeviceSwitchPortsStatusesPacketsParams() *GetDeviceSwitchPortsStatusesPacketsParams
- func NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesPacketsParams
- func NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesPacketsParams
- func NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetDefaults()
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetSerial(serial string)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetT0(t0 *string)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetTimespan(timespan *float32)
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithDefaults() *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithSerial(serial string) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithT0(t0 *string) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithTimespan(timespan *float32) *GetDeviceSwitchPortsStatusesPacketsParams
- func (o *GetDeviceSwitchPortsStatusesPacketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesPacketsReader
- type GetDeviceSwitchPortsStatusesParams
- func NewGetDeviceSwitchPortsStatusesParams() *GetDeviceSwitchPortsStatusesParams
- func NewGetDeviceSwitchPortsStatusesParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesParams
- func NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesParams
- func NewGetDeviceSwitchPortsStatusesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchPortsStatusesParams) SetDefaults()
- func (o *GetDeviceSwitchPortsStatusesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchPortsStatusesParams) SetSerial(serial string)
- func (o *GetDeviceSwitchPortsStatusesParams) SetT0(t0 *string)
- func (o *GetDeviceSwitchPortsStatusesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchPortsStatusesParams) SetTimespan(timespan *float32)
- func (o *GetDeviceSwitchPortsStatusesParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithDefaults() *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithSerial(serial string) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithT0(t0 *string) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WithTimespan(timespan *float32) *GetDeviceSwitchPortsStatusesParams
- func (o *GetDeviceSwitchPortsStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchPortsStatusesReader
- type GetDeviceSwitchRoutingInterfaceDhcpOK
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) Code() int
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) Error() string
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsClientError() bool
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsCode(code int) bool
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect() bool
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsServerError() bool
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess() bool
- func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) String() string
- type GetDeviceSwitchRoutingInterfaceDhcpParams
- func NewGetDeviceSwitchRoutingInterfaceDhcpParams() *GetDeviceSwitchRoutingInterfaceDhcpParams
- func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults()
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetSerial(serial string)
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults() *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceDhcpParams
- func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceDhcpReader
- type GetDeviceSwitchRoutingInterfaceOK
- func (o *GetDeviceSwitchRoutingInterfaceOK) Code() int
- func (o *GetDeviceSwitchRoutingInterfaceOK) Error() string
- func (o *GetDeviceSwitchRoutingInterfaceOK) GetPayload() *GetDeviceSwitchRoutingInterfaceOKBody
- func (o *GetDeviceSwitchRoutingInterfaceOK) IsClientError() bool
- func (o *GetDeviceSwitchRoutingInterfaceOK) IsCode(code int) bool
- func (o *GetDeviceSwitchRoutingInterfaceOK) IsRedirect() bool
- func (o *GetDeviceSwitchRoutingInterfaceOK) IsServerError() bool
- func (o *GetDeviceSwitchRoutingInterfaceOK) IsSuccess() bool
- func (o *GetDeviceSwitchRoutingInterfaceOK) String() string
- type GetDeviceSwitchRoutingInterfaceOKBody
- func (o *GetDeviceSwitchRoutingInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBody) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceOKBodyIPV6
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceOKBodyOspfV3
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceParams
- func NewGetDeviceSwitchRoutingInterfaceParams() *GetDeviceSwitchRoutingInterfaceParams
- func NewGetDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceParams
- func NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceParams
- func NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetDefaults()
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)
- func (o *GetDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithDefaults() *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceParams
- func (o *GetDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfaceReader
- type GetDeviceSwitchRoutingInterfacesOK
- func (o *GetDeviceSwitchRoutingInterfacesOK) Code() int
- func (o *GetDeviceSwitchRoutingInterfacesOK) Error() string
- func (o *GetDeviceSwitchRoutingInterfacesOK) GetPayload() []*GetDeviceSwitchRoutingInterfacesOKBodyItems0
- func (o *GetDeviceSwitchRoutingInterfacesOK) IsClientError() bool
- func (o *GetDeviceSwitchRoutingInterfacesOK) IsCode(code int) bool
- func (o *GetDeviceSwitchRoutingInterfacesOK) IsRedirect() bool
- func (o *GetDeviceSwitchRoutingInterfacesOK) IsServerError() bool
- func (o *GetDeviceSwitchRoutingInterfacesOK) IsSuccess() bool
- func (o *GetDeviceSwitchRoutingInterfacesOK) String() string
- type GetDeviceSwitchRoutingInterfacesOKBodyItems0
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfacesParams
- func NewGetDeviceSwitchRoutingInterfacesParams() *GetDeviceSwitchRoutingInterfacesParams
- func NewGetDeviceSwitchRoutingInterfacesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfacesParams
- func NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfacesParams
- func NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchRoutingInterfacesParams) SetDefaults()
- func (o *GetDeviceSwitchRoutingInterfacesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchRoutingInterfacesParams) SetSerial(serial string)
- func (o *GetDeviceSwitchRoutingInterfacesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchRoutingInterfacesParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) WithDefaults() *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfacesParams
- func (o *GetDeviceSwitchRoutingInterfacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchRoutingInterfacesReader
- type GetDeviceSwitchRoutingStaticRouteOK
- func (o *GetDeviceSwitchRoutingStaticRouteOK) Code() int
- func (o *GetDeviceSwitchRoutingStaticRouteOK) Error() string
- func (o *GetDeviceSwitchRoutingStaticRouteOK) GetPayload() *GetDeviceSwitchRoutingStaticRouteOKBody
- func (o *GetDeviceSwitchRoutingStaticRouteOK) IsClientError() bool
- func (o *GetDeviceSwitchRoutingStaticRouteOK) IsCode(code int) bool
- func (o *GetDeviceSwitchRoutingStaticRouteOK) IsRedirect() bool
- func (o *GetDeviceSwitchRoutingStaticRouteOK) IsServerError() bool
- func (o *GetDeviceSwitchRoutingStaticRouteOK) IsSuccess() bool
- func (o *GetDeviceSwitchRoutingStaticRouteOK) String() string
- type GetDeviceSwitchRoutingStaticRouteOKBody
- func (o *GetDeviceSwitchRoutingStaticRouteOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSwitchRoutingStaticRouteOKBody) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSwitchRoutingStaticRouteOKBody) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSwitchRoutingStaticRouteOKBody) Validate(formats strfmt.Registry) error
- type GetDeviceSwitchRoutingStaticRouteParams
- func NewGetDeviceSwitchRoutingStaticRouteParams() *GetDeviceSwitchRoutingStaticRouteParams
- func NewGetDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRouteParams
- func NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRouteParams
- func NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetDefaults()
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *GetDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithDefaults() *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRouteParams
- func (o *GetDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchRoutingStaticRouteReader
- type GetDeviceSwitchRoutingStaticRoutesOK
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) Code() int
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) Error() string
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) GetPayload() []interface{}
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsClientError() bool
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsCode(code int) bool
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsRedirect() bool
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsServerError() bool
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsSuccess() bool
- func (o *GetDeviceSwitchRoutingStaticRoutesOK) String() string
- type GetDeviceSwitchRoutingStaticRoutesParams
- func NewGetDeviceSwitchRoutingStaticRoutesParams() *GetDeviceSwitchRoutingStaticRoutesParams
- func NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRoutesParams
- func NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRoutesParams
- func NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetDefaults()
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetSerial(serial string)
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithDefaults() *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithSerial(serial string) *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRoutesParams
- func (o *GetDeviceSwitchRoutingStaticRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchRoutingStaticRoutesReader
- type GetDeviceSwitchWarmSpareOK
- func (o *GetDeviceSwitchWarmSpareOK) Code() int
- func (o *GetDeviceSwitchWarmSpareOK) Error() string
- func (o *GetDeviceSwitchWarmSpareOK) GetPayload() interface{}
- func (o *GetDeviceSwitchWarmSpareOK) IsClientError() bool
- func (o *GetDeviceSwitchWarmSpareOK) IsCode(code int) bool
- func (o *GetDeviceSwitchWarmSpareOK) IsRedirect() bool
- func (o *GetDeviceSwitchWarmSpareOK) IsServerError() bool
- func (o *GetDeviceSwitchWarmSpareOK) IsSuccess() bool
- func (o *GetDeviceSwitchWarmSpareOK) String() string
- type GetDeviceSwitchWarmSpareParams
- func NewGetDeviceSwitchWarmSpareParams() *GetDeviceSwitchWarmSpareParams
- func NewGetDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *GetDeviceSwitchWarmSpareParams
- func NewGetDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchWarmSpareParams
- func NewGetDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) SetContext(ctx context.Context)
- func (o *GetDeviceSwitchWarmSpareParams) SetDefaults()
- func (o *GetDeviceSwitchWarmSpareParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSwitchWarmSpareParams) SetSerial(serial string)
- func (o *GetDeviceSwitchWarmSpareParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSwitchWarmSpareParams) WithContext(ctx context.Context) *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) WithDefaults() *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) WithSerial(serial string) *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchWarmSpareParams
- func (o *GetDeviceSwitchWarmSpareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSwitchWarmSpareReader
- type GetNetworkSwitchAccessControlListsOK
- func (o *GetNetworkSwitchAccessControlListsOK) Code() int
- func (o *GetNetworkSwitchAccessControlListsOK) Error() string
- func (o *GetNetworkSwitchAccessControlListsOK) GetPayload() *GetNetworkSwitchAccessControlListsOKBody
- func (o *GetNetworkSwitchAccessControlListsOK) IsClientError() bool
- func (o *GetNetworkSwitchAccessControlListsOK) IsCode(code int) bool
- func (o *GetNetworkSwitchAccessControlListsOK) IsRedirect() bool
- func (o *GetNetworkSwitchAccessControlListsOK) IsServerError() bool
- func (o *GetNetworkSwitchAccessControlListsOK) IsSuccess() bool
- func (o *GetNetworkSwitchAccessControlListsOK) String() string
- type GetNetworkSwitchAccessControlListsOKBody
- func (o *GetNetworkSwitchAccessControlListsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessControlListsOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessControlListsOKBodyRulesItems0
- func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessControlListsParams
- func NewGetNetworkSwitchAccessControlListsParams() *GetNetworkSwitchAccessControlListsParams
- func NewGetNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessControlListsParams
- func NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessControlListsParams
- func NewGetNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchAccessControlListsParams) SetDefaults()
- func (o *GetNetworkSwitchAccessControlListsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchAccessControlListsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchAccessControlListsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchAccessControlListsParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) WithDefaults() *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessControlListsParams
- func (o *GetNetworkSwitchAccessControlListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchAccessControlListsReader
- type GetNetworkSwitchAccessPoliciesOK
- func (o *GetNetworkSwitchAccessPoliciesOK) Code() int
- func (o *GetNetworkSwitchAccessPoliciesOK) Error() string
- func (o *GetNetworkSwitchAccessPoliciesOK) GetPayload() []*GetNetworkSwitchAccessPoliciesOKBodyItems0
- func (o *GetNetworkSwitchAccessPoliciesOK) IsClientError() bool
- func (o *GetNetworkSwitchAccessPoliciesOK) IsCode(code int) bool
- func (o *GetNetworkSwitchAccessPoliciesOK) IsRedirect() bool
- func (o *GetNetworkSwitchAccessPoliciesOK) IsServerError() bool
- func (o *GetNetworkSwitchAccessPoliciesOK) IsSuccess() bool
- func (o *GetNetworkSwitchAccessPoliciesOK) String() string
- type GetNetworkSwitchAccessPoliciesOKBodyItems0
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesOKBodyItems0Radius
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesParams
- func NewGetNetworkSwitchAccessPoliciesParams() *GetNetworkSwitchAccessPoliciesParams
- func NewGetNetworkSwitchAccessPoliciesParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPoliciesParams
- func NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPoliciesParams
- func NewGetNetworkSwitchAccessPoliciesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchAccessPoliciesParams) SetDefaults()
- func (o *GetNetworkSwitchAccessPoliciesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchAccessPoliciesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchAccessPoliciesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchAccessPoliciesParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) WithDefaults() *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPoliciesParams
- func (o *GetNetworkSwitchAccessPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchAccessPoliciesReader
- type GetNetworkSwitchAccessPolicyOK
- func (o *GetNetworkSwitchAccessPolicyOK) Code() int
- func (o *GetNetworkSwitchAccessPolicyOK) Error() string
- func (o *GetNetworkSwitchAccessPolicyOK) GetPayload() *GetNetworkSwitchAccessPolicyOKBody
- func (o *GetNetworkSwitchAccessPolicyOK) IsClientError() bool
- func (o *GetNetworkSwitchAccessPolicyOK) IsCode(code int) bool
- func (o *GetNetworkSwitchAccessPolicyOK) IsRedirect() bool
- func (o *GetNetworkSwitchAccessPolicyOK) IsServerError() bool
- func (o *GetNetworkSwitchAccessPolicyOK) IsSuccess() bool
- func (o *GetNetworkSwitchAccessPolicyOK) String() string
- type GetNetworkSwitchAccessPolicyOKBody
- func (o *GetNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyOKBodyDot1x
- func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyOKBodyRadius
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyParams
- func NewGetNetworkSwitchAccessPolicyParams() *GetNetworkSwitchAccessPolicyParams
- func NewGetNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPolicyParams
- func NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPolicyParams
- func NewGetNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
- func (o *GetNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchAccessPolicyParams) SetDefaults()
- func (o *GetNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WithDefaults() *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPolicyParams
- func (o *GetNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchAccessPolicyReader
- type GetNetworkSwitchAlternateManagementInterfaceOK
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) Code() int
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) Error() string
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) GetPayload() *GetNetworkSwitchAlternateManagementInterfaceOKBody
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsClientError() bool
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsCode(code int) bool
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsRedirect() bool
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsServerError() bool
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsSuccess() bool
- func (o *GetNetworkSwitchAlternateManagementInterfaceOK) String() string
- type GetNetworkSwitchAlternateManagementInterfaceOKBody
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchAlternateManagementInterfaceParams
- func NewGetNetworkSwitchAlternateManagementInterfaceParams() *GetNetworkSwitchAlternateManagementInterfaceParams
- func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchAlternateManagementInterfaceParams
- func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAlternateManagementInterfaceParams
- func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetDefaults()
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithContext(ctx context.Context) *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithDefaults() *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID(networkID string) *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAlternateManagementInterfaceParams
- func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchAlternateManagementInterfaceReader
- type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Code() int
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Error() string
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) GetPayload() []*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsClientError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsCode(code int) bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsRedirect() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsServerError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsSuccess() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) String() string
- type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetDefaults()
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetPerPage(perPage *int64)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader
- type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Code() int
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Error() string
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) GetPayload() []*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsClientError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsCode(code int) bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsRedirect() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsServerError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsSuccess() bool
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) String() string
- type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetDefaults()
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetPerPage(perPage *int64)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
- func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader
- type GetNetworkSwitchDhcpServerPolicyOK
- func (o *GetNetworkSwitchDhcpServerPolicyOK) Code() int
- func (o *GetNetworkSwitchDhcpServerPolicyOK) Error() string
- func (o *GetNetworkSwitchDhcpServerPolicyOK) GetPayload() *GetNetworkSwitchDhcpServerPolicyOKBody
- func (o *GetNetworkSwitchDhcpServerPolicyOK) IsClientError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyOK) IsCode(code int) bool
- func (o *GetNetworkSwitchDhcpServerPolicyOK) IsRedirect() bool
- func (o *GetNetworkSwitchDhcpServerPolicyOK) IsServerError() bool
- func (o *GetNetworkSwitchDhcpServerPolicyOK) IsSuccess() bool
- func (o *GetNetworkSwitchDhcpServerPolicyOK) String() string
- type GetNetworkSwitchDhcpServerPolicyOKBody
- func (o *GetNetworkSwitchDhcpServerPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyOKBodyAlerts
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyParams
- func NewGetNetworkSwitchDhcpServerPolicyParams() *GetNetworkSwitchDhcpServerPolicyParams
- func NewGetNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyParams
- func NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyParams
- func NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchDhcpServerPolicyParams) SetDefaults()
- func (o *GetNetworkSwitchDhcpServerPolicyParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchDhcpServerPolicyParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchDhcpServerPolicyParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyParams
- func (o *GetNetworkSwitchDhcpServerPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchDhcpServerPolicyReader
- type GetNetworkSwitchDhcpV4ServersSeenOK
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) Code() int
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) Error() string
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) GetPayload() []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsClientError() bool
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsCode(code int) bool
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsRedirect() bool
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsServerError() bool
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsSuccess() bool
- func (o *GetNetworkSwitchDhcpV4ServersSeenOK) String() string
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenParams
- func NewGetNetworkSwitchDhcpV4ServersSeenParams() *GetNetworkSwitchDhcpV4ServersSeenParams
- func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpV4ServersSeenParams
- func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpV4ServersSeenParams
- func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetDefaults()
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetEndingBefore(endingBefore *string)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetPerPage(perPage *int64)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetStartingAfter(startingAfter *string)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetT0(t0 *string)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimespan(timespan *float32)
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithDefaults() *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithT0(t0 *string) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithTimespan(timespan *float32) *GetNetworkSwitchDhcpV4ServersSeenParams
- func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchDhcpV4ServersSeenReader
- type GetNetworkSwitchDscpToCosMappingsOK
- func (o *GetNetworkSwitchDscpToCosMappingsOK) Code() int
- func (o *GetNetworkSwitchDscpToCosMappingsOK) Error() string
- func (o *GetNetworkSwitchDscpToCosMappingsOK) GetPayload() *GetNetworkSwitchDscpToCosMappingsOKBody
- func (o *GetNetworkSwitchDscpToCosMappingsOK) IsClientError() bool
- func (o *GetNetworkSwitchDscpToCosMappingsOK) IsCode(code int) bool
- func (o *GetNetworkSwitchDscpToCosMappingsOK) IsRedirect() bool
- func (o *GetNetworkSwitchDscpToCosMappingsOK) IsServerError() bool
- func (o *GetNetworkSwitchDscpToCosMappingsOK) IsSuccess() bool
- func (o *GetNetworkSwitchDscpToCosMappingsOK) String() string
- type GetNetworkSwitchDscpToCosMappingsOKBody
- func (o *GetNetworkSwitchDscpToCosMappingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDscpToCosMappingsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDscpToCosMappingsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDscpToCosMappingsOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0
- func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchDscpToCosMappingsParams
- func NewGetNetworkSwitchDscpToCosMappingsParams() *GetNetworkSwitchDscpToCosMappingsParams
- func NewGetNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *GetNetworkSwitchDscpToCosMappingsParams
- func NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDscpToCosMappingsParams
- func NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchDscpToCosMappingsParams) SetDefaults()
- func (o *GetNetworkSwitchDscpToCosMappingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchDscpToCosMappingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchDscpToCosMappingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WithContext(ctx context.Context) *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WithDefaults() *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WithNetworkID(networkID string) *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDscpToCosMappingsParams
- func (o *GetNetworkSwitchDscpToCosMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchDscpToCosMappingsReader
- type GetNetworkSwitchLinkAggregationsOK
- func (o *GetNetworkSwitchLinkAggregationsOK) Code() int
- func (o *GetNetworkSwitchLinkAggregationsOK) Error() string
- func (o *GetNetworkSwitchLinkAggregationsOK) GetPayload() []interface{}
- func (o *GetNetworkSwitchLinkAggregationsOK) IsClientError() bool
- func (o *GetNetworkSwitchLinkAggregationsOK) IsCode(code int) bool
- func (o *GetNetworkSwitchLinkAggregationsOK) IsRedirect() bool
- func (o *GetNetworkSwitchLinkAggregationsOK) IsServerError() bool
- func (o *GetNetworkSwitchLinkAggregationsOK) IsSuccess() bool
- func (o *GetNetworkSwitchLinkAggregationsOK) String() string
- type GetNetworkSwitchLinkAggregationsParams
- func NewGetNetworkSwitchLinkAggregationsParams() *GetNetworkSwitchLinkAggregationsParams
- func NewGetNetworkSwitchLinkAggregationsParamsWithContext(ctx context.Context) *GetNetworkSwitchLinkAggregationsParams
- func NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchLinkAggregationsParams
- func NewGetNetworkSwitchLinkAggregationsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchLinkAggregationsParams) SetDefaults()
- func (o *GetNetworkSwitchLinkAggregationsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchLinkAggregationsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchLinkAggregationsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchLinkAggregationsParams) WithContext(ctx context.Context) *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) WithDefaults() *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) WithNetworkID(networkID string) *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchLinkAggregationsParams
- func (o *GetNetworkSwitchLinkAggregationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchLinkAggregationsReader
- type GetNetworkSwitchMtuOK
- func (o *GetNetworkSwitchMtuOK) Code() int
- func (o *GetNetworkSwitchMtuOK) Error() string
- func (o *GetNetworkSwitchMtuOK) GetPayload() *GetNetworkSwitchMtuOKBody
- func (o *GetNetworkSwitchMtuOK) IsClientError() bool
- func (o *GetNetworkSwitchMtuOK) IsCode(code int) bool
- func (o *GetNetworkSwitchMtuOK) IsRedirect() bool
- func (o *GetNetworkSwitchMtuOK) IsServerError() bool
- func (o *GetNetworkSwitchMtuOK) IsSuccess() bool
- func (o *GetNetworkSwitchMtuOK) String() string
- type GetNetworkSwitchMtuOKBody
- func (o *GetNetworkSwitchMtuOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchMtuOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchMtuOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchMtuOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchMtuOKBodyOverridesItems0
- func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchMtuParams
- func NewGetNetworkSwitchMtuParams() *GetNetworkSwitchMtuParams
- func NewGetNetworkSwitchMtuParamsWithContext(ctx context.Context) *GetNetworkSwitchMtuParams
- func NewGetNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchMtuParams
- func NewGetNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchMtuParams) SetDefaults()
- func (o *GetNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchMtuParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchMtuParams) WithContext(ctx context.Context) *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) WithDefaults() *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) WithNetworkID(networkID string) *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchMtuParams
- func (o *GetNetworkSwitchMtuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchMtuReader
- type GetNetworkSwitchPortSchedulesOK
- func (o *GetNetworkSwitchPortSchedulesOK) Code() int
- func (o *GetNetworkSwitchPortSchedulesOK) Error() string
- func (o *GetNetworkSwitchPortSchedulesOK) GetPayload() []*GetNetworkSwitchPortSchedulesOKBodyItems0
- func (o *GetNetworkSwitchPortSchedulesOK) IsClientError() bool
- func (o *GetNetworkSwitchPortSchedulesOK) IsCode(code int) bool
- func (o *GetNetworkSwitchPortSchedulesOK) IsRedirect() bool
- func (o *GetNetworkSwitchPortSchedulesOK) IsServerError() bool
- func (o *GetNetworkSwitchPortSchedulesOK) IsSuccess() bool
- func (o *GetNetworkSwitchPortSchedulesOK) String() string
- type GetNetworkSwitchPortSchedulesOKBodyItems0
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParams() *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
- func NewGetNetworkSwitchPortSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchPortSchedulesParams) SetDefaults()
- func (o *GetNetworkSwitchPortSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchPortSchedulesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchPortSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchPortSchedulesParams) WithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithDefaults() *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithNetworkID(networkID string) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
- func (o *GetNetworkSwitchPortSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchPortSchedulesReader
- type GetNetworkSwitchQosRuleOK
- func (o *GetNetworkSwitchQosRuleOK) Code() int
- func (o *GetNetworkSwitchQosRuleOK) Error() string
- func (o *GetNetworkSwitchQosRuleOK) GetPayload() *GetNetworkSwitchQosRuleOKBody
- func (o *GetNetworkSwitchQosRuleOK) IsClientError() bool
- func (o *GetNetworkSwitchQosRuleOK) IsCode(code int) bool
- func (o *GetNetworkSwitchQosRuleOK) IsRedirect() bool
- func (o *GetNetworkSwitchQosRuleOK) IsServerError() bool
- func (o *GetNetworkSwitchQosRuleOK) IsSuccess() bool
- func (o *GetNetworkSwitchQosRuleOK) String() string
- type GetNetworkSwitchQosRuleOKBody
- func (o *GetNetworkSwitchQosRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchQosRuleOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchQosRuleOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchQosRuleOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchQosRuleParams
- func NewGetNetworkSwitchQosRuleParams() *GetNetworkSwitchQosRuleParams
- func NewGetNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRuleParams
- func NewGetNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRuleParams
- func NewGetNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchQosRuleParams) SetDefaults()
- func (o *GetNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchQosRuleParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)
- func (o *GetNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WithDefaults() *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRuleParams
- func (o *GetNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchQosRuleReader
- type GetNetworkSwitchQosRulesOK
- func (o *GetNetworkSwitchQosRulesOK) Code() int
- func (o *GetNetworkSwitchQosRulesOK) Error() string
- func (o *GetNetworkSwitchQosRulesOK) GetPayload() []interface{}
- func (o *GetNetworkSwitchQosRulesOK) IsClientError() bool
- func (o *GetNetworkSwitchQosRulesOK) IsCode(code int) bool
- func (o *GetNetworkSwitchQosRulesOK) IsRedirect() bool
- func (o *GetNetworkSwitchQosRulesOK) IsServerError() bool
- func (o *GetNetworkSwitchQosRulesOK) IsSuccess() bool
- func (o *GetNetworkSwitchQosRulesOK) String() string
- type GetNetworkSwitchQosRulesOrderOK
- func (o *GetNetworkSwitchQosRulesOrderOK) Code() int
- func (o *GetNetworkSwitchQosRulesOrderOK) Error() string
- func (o *GetNetworkSwitchQosRulesOrderOK) GetPayload() interface{}
- func (o *GetNetworkSwitchQosRulesOrderOK) IsClientError() bool
- func (o *GetNetworkSwitchQosRulesOrderOK) IsCode(code int) bool
- func (o *GetNetworkSwitchQosRulesOrderOK) IsRedirect() bool
- func (o *GetNetworkSwitchQosRulesOrderOK) IsServerError() bool
- func (o *GetNetworkSwitchQosRulesOrderOK) IsSuccess() bool
- func (o *GetNetworkSwitchQosRulesOrderOK) String() string
- type GetNetworkSwitchQosRulesOrderParams
- func NewGetNetworkSwitchQosRulesOrderParams() *GetNetworkSwitchQosRulesOrderParams
- func NewGetNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesOrderParams
- func NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesOrderParams
- func NewGetNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchQosRulesOrderParams) SetDefaults()
- func (o *GetNetworkSwitchQosRulesOrderParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchQosRulesOrderParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchQosRulesOrderParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchQosRulesOrderParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) WithDefaults() *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesOrderParams
- func (o *GetNetworkSwitchQosRulesOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchQosRulesOrderReader
- type GetNetworkSwitchQosRulesParams
- func NewGetNetworkSwitchQosRulesParams() *GetNetworkSwitchQosRulesParams
- func NewGetNetworkSwitchQosRulesParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesParams
- func NewGetNetworkSwitchQosRulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesParams
- func NewGetNetworkSwitchQosRulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchQosRulesParams) SetDefaults()
- func (o *GetNetworkSwitchQosRulesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchQosRulesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchQosRulesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchQosRulesParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) WithDefaults() *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesParams
- func (o *GetNetworkSwitchQosRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchQosRulesReader
- type GetNetworkSwitchRoutingMulticastOK
- func (o *GetNetworkSwitchRoutingMulticastOK) Code() int
- func (o *GetNetworkSwitchRoutingMulticastOK) Error() string
- func (o *GetNetworkSwitchRoutingMulticastOK) GetPayload() *GetNetworkSwitchRoutingMulticastOKBody
- func (o *GetNetworkSwitchRoutingMulticastOK) IsClientError() bool
- func (o *GetNetworkSwitchRoutingMulticastOK) IsCode(code int) bool
- func (o *GetNetworkSwitchRoutingMulticastOK) IsRedirect() bool
- func (o *GetNetworkSwitchRoutingMulticastOK) IsServerError() bool
- func (o *GetNetworkSwitchRoutingMulticastOK) IsSuccess() bool
- func (o *GetNetworkSwitchRoutingMulticastOK) String() string
- type GetNetworkSwitchRoutingMulticastOKBody
- func (o *GetNetworkSwitchRoutingMulticastOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchRoutingMulticastOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchRoutingMulticastOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchRoutingMulticastOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings
- func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0
- func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastParams
- func NewGetNetworkSwitchRoutingMulticastParams() *GetNetworkSwitchRoutingMulticastParams
- func NewGetNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastParams
- func NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastParams
- func NewGetNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchRoutingMulticastParams) SetDefaults()
- func (o *GetNetworkSwitchRoutingMulticastParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchRoutingMulticastParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchRoutingMulticastParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchRoutingMulticastParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) WithDefaults() *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastParams
- func (o *GetNetworkSwitchRoutingMulticastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastReader
- type GetNetworkSwitchRoutingMulticastRendezvousPointOK
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) Code() int
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) Error() string
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode(code int) bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) String() string
- type GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointParams() *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults()
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastRendezvousPointReader
- type GetNetworkSwitchRoutingMulticastRendezvousPointsOK
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Code() int
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Error() string
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload() [][]interface{}
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsClientError() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsCode(code int) bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsRedirect() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsServerError() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsSuccess() bool
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) String() string
- type GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams() *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetDefaults()
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithDefaults() *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
- func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchRoutingMulticastRendezvousPointsReader
- type GetNetworkSwitchRoutingOspfOK
- func (o *GetNetworkSwitchRoutingOspfOK) Code() int
- func (o *GetNetworkSwitchRoutingOspfOK) Error() string
- func (o *GetNetworkSwitchRoutingOspfOK) GetPayload() interface{}
- func (o *GetNetworkSwitchRoutingOspfOK) IsClientError() bool
- func (o *GetNetworkSwitchRoutingOspfOK) IsCode(code int) bool
- func (o *GetNetworkSwitchRoutingOspfOK) IsRedirect() bool
- func (o *GetNetworkSwitchRoutingOspfOK) IsServerError() bool
- func (o *GetNetworkSwitchRoutingOspfOK) IsSuccess() bool
- func (o *GetNetworkSwitchRoutingOspfOK) String() string
- type GetNetworkSwitchRoutingOspfParams
- func NewGetNetworkSwitchRoutingOspfParams() *GetNetworkSwitchRoutingOspfParams
- func NewGetNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingOspfParams
- func NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingOspfParams
- func NewGetNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchRoutingOspfParams) SetDefaults()
- func (o *GetNetworkSwitchRoutingOspfParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchRoutingOspfParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchRoutingOspfParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchRoutingOspfParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) WithDefaults() *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingOspfParams
- func (o *GetNetworkSwitchRoutingOspfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchRoutingOspfReader
- type GetNetworkSwitchSettingsOK
- func (o *GetNetworkSwitchSettingsOK) Code() int
- func (o *GetNetworkSwitchSettingsOK) Error() string
- func (o *GetNetworkSwitchSettingsOK) GetPayload() *GetNetworkSwitchSettingsOKBody
- func (o *GetNetworkSwitchSettingsOK) IsClientError() bool
- func (o *GetNetworkSwitchSettingsOK) IsCode(code int) bool
- func (o *GetNetworkSwitchSettingsOK) IsRedirect() bool
- func (o *GetNetworkSwitchSettingsOK) IsServerError() bool
- func (o *GetNetworkSwitchSettingsOK) IsSuccess() bool
- func (o *GetNetworkSwitchSettingsOK) String() string
- type GetNetworkSwitchSettingsOKBody
- func (o *GetNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchSettingsOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0
- func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchSettingsOKBodyUplinkClientSampling
- func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchSettingsParams
- func NewGetNetworkSwitchSettingsParams() *GetNetworkSwitchSettingsParams
- func NewGetNetworkSwitchSettingsParamsWithContext(ctx context.Context) *GetNetworkSwitchSettingsParams
- func NewGetNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchSettingsParams
- func NewGetNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchSettingsParams) SetDefaults()
- func (o *GetNetworkSwitchSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchSettingsParams) WithContext(ctx context.Context) *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) WithDefaults() *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) WithNetworkID(networkID string) *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchSettingsParams
- func (o *GetNetworkSwitchSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchSettingsReader
- type GetNetworkSwitchStackOK
- func (o *GetNetworkSwitchStackOK) Code() int
- func (o *GetNetworkSwitchStackOK) Error() string
- func (o *GetNetworkSwitchStackOK) GetPayload() *GetNetworkSwitchStackOKBody
- func (o *GetNetworkSwitchStackOK) IsClientError() bool
- func (o *GetNetworkSwitchStackOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackOK) IsServerError() bool
- func (o *GetNetworkSwitchStackOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackOK) String() string
- type GetNetworkSwitchStackOKBody
- func (o *GetNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStackOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStackParams
- func NewGetNetworkSwitchStackParams() *GetNetworkSwitchStackParams
- func NewGetNetworkSwitchStackParamsWithContext(ctx context.Context) *GetNetworkSwitchStackParams
- func NewGetNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams
- func NewGetNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackParams) SetDefaults()
- func (o *GetNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackParams) WithContext(ctx context.Context) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WithDefaults() *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WithNetworkID(networkID string) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams
- func (o *GetNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackReader
- type GetNetworkSwitchStackRoutingInterfaceDhcpOK
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) Code() int
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) Error() string
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload() *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) String() string
- type GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewGetNetworkSwitchStackRoutingInterfaceDhcpParams() *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults()
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceDhcpReader
- type GetNetworkSwitchStackRoutingInterfaceOK
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) Code() int
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) Error() string
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsClientError() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsServerError() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackRoutingInterfaceOK) String() string
- type GetNetworkSwitchStackRoutingInterfaceParams
- func NewGetNetworkSwitchStackRoutingInterfaceParams() *GetNetworkSwitchStackRoutingInterfaceParams
- func NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceParams
- func NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceParams
- func NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetDefaults()
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceParams
- func (o *GetNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfaceReader
- type GetNetworkSwitchStackRoutingInterfacesOK
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) Code() int
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) Error() string
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) GetPayload() []interface{}
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsClientError() bool
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsServerError() bool
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackRoutingInterfacesOK) String() string
- type GetNetworkSwitchStackRoutingInterfacesParams
- func NewGetNetworkSwitchStackRoutingInterfacesParams() *GetNetworkSwitchStackRoutingInterfacesParams
- func NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfacesParams
- func NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfacesParams
- func NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetDefaults()
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfacesParams
- func (o *GetNetworkSwitchStackRoutingInterfacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackRoutingInterfacesReader
- type GetNetworkSwitchStackRoutingStaticRouteOK
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) Code() int
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) Error() string
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsClientError() bool
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsServerError() bool
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackRoutingStaticRouteOK) String() string
- type GetNetworkSwitchStackRoutingStaticRouteParams
- func NewGetNetworkSwitchStackRoutingStaticRouteParams() *GetNetworkSwitchStackRoutingStaticRouteParams
- func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRouteParams
- func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRouteParams
- func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetDefaults()
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRouteParams
- func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackRoutingStaticRouteReader
- type GetNetworkSwitchStackRoutingStaticRoutesOK
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) Code() int
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) Error() string
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload() []interface{}
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsClientError() bool
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsRedirect() bool
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsServerError() bool
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsSuccess() bool
- func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) String() string
- type GetNetworkSwitchStackRoutingStaticRoutesParams
- func NewGetNetworkSwitchStackRoutingStaticRoutesParams() *GetNetworkSwitchStackRoutingStaticRoutesParams
- func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetDefaults()
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetSwitchStackID(switchStackID string)
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithDefaults() *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRoutesParams
- func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStackRoutingStaticRoutesReader
- type GetNetworkSwitchStacksOK
- func (o *GetNetworkSwitchStacksOK) Code() int
- func (o *GetNetworkSwitchStacksOK) Error() string
- func (o *GetNetworkSwitchStacksOK) GetPayload() []interface{}
- func (o *GetNetworkSwitchStacksOK) IsClientError() bool
- func (o *GetNetworkSwitchStacksOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStacksOK) IsRedirect() bool
- func (o *GetNetworkSwitchStacksOK) IsServerError() bool
- func (o *GetNetworkSwitchStacksOK) IsSuccess() bool
- func (o *GetNetworkSwitchStacksOK) String() string
- type GetNetworkSwitchStacksParams
- func NewGetNetworkSwitchStacksParams() *GetNetworkSwitchStacksParams
- func NewGetNetworkSwitchStacksParamsWithContext(ctx context.Context) *GetNetworkSwitchStacksParams
- func NewGetNetworkSwitchStacksParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams
- func NewGetNetworkSwitchStacksParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStacksParams) SetDefaults()
- func (o *GetNetworkSwitchStacksParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStacksParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStacksParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStacksParams) WithContext(ctx context.Context) *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) WithDefaults() *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) WithNetworkID(networkID string) *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams
- func (o *GetNetworkSwitchStacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStacksReader
- type GetNetworkSwitchStormControlOK
- func (o *GetNetworkSwitchStormControlOK) Code() int
- func (o *GetNetworkSwitchStormControlOK) Error() string
- func (o *GetNetworkSwitchStormControlOK) GetPayload() *GetNetworkSwitchStormControlOKBody
- func (o *GetNetworkSwitchStormControlOK) IsClientError() bool
- func (o *GetNetworkSwitchStormControlOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStormControlOK) IsRedirect() bool
- func (o *GetNetworkSwitchStormControlOK) IsServerError() bool
- func (o *GetNetworkSwitchStormControlOK) IsSuccess() bool
- func (o *GetNetworkSwitchStormControlOK) String() string
- type GetNetworkSwitchStormControlOKBody
- func (o *GetNetworkSwitchStormControlOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSwitchStormControlOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSwitchStormControlOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSwitchStormControlOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSwitchStormControlParams
- func NewGetNetworkSwitchStormControlParams() *GetNetworkSwitchStormControlParams
- func NewGetNetworkSwitchStormControlParamsWithContext(ctx context.Context) *GetNetworkSwitchStormControlParams
- func NewGetNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStormControlParams
- func NewGetNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStormControlParams) SetDefaults()
- func (o *GetNetworkSwitchStormControlParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStormControlParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStormControlParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStormControlParams) WithContext(ctx context.Context) *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) WithDefaults() *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) WithNetworkID(networkID string) *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStormControlParams
- func (o *GetNetworkSwitchStormControlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStormControlReader
- type GetNetworkSwitchStpOK
- func (o *GetNetworkSwitchStpOK) Code() int
- func (o *GetNetworkSwitchStpOK) Error() string
- func (o *GetNetworkSwitchStpOK) GetPayload() interface{}
- func (o *GetNetworkSwitchStpOK) IsClientError() bool
- func (o *GetNetworkSwitchStpOK) IsCode(code int) bool
- func (o *GetNetworkSwitchStpOK) IsRedirect() bool
- func (o *GetNetworkSwitchStpOK) IsServerError() bool
- func (o *GetNetworkSwitchStpOK) IsSuccess() bool
- func (o *GetNetworkSwitchStpOK) String() string
- type GetNetworkSwitchStpParams
- func NewGetNetworkSwitchStpParams() *GetNetworkSwitchStpParams
- func NewGetNetworkSwitchStpParamsWithContext(ctx context.Context) *GetNetworkSwitchStpParams
- func NewGetNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStpParams
- func NewGetNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) SetContext(ctx context.Context)
- func (o *GetNetworkSwitchStpParams) SetDefaults()
- func (o *GetNetworkSwitchStpParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSwitchStpParams) SetNetworkID(networkID string)
- func (o *GetNetworkSwitchStpParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSwitchStpParams) WithContext(ctx context.Context) *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) WithDefaults() *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) WithNetworkID(networkID string) *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStpParams
- func (o *GetNetworkSwitchStpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSwitchStpReader
- type GetOrganizationConfigTemplateSwitchProfilePortOK
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) Code() int
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) Error() string
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) GetPayload() *GetOrganizationConfigTemplateSwitchProfilePortOKBody
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsClientError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsCode(code int) bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsServerError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) String() string
- type GetOrganizationConfigTemplateSwitchProfilePortOKBody
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) Validate(formats strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) Validate(formats strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortParams() *GetOrganizationConfigTemplateSwitchProfilePortParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetContext(ctx context.Context)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults()
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetPortID(portID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID(profileID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithPortID(portID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID(profileID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortReader
- type GetOrganizationConfigTemplateSwitchProfilePortsOK
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) Code() int
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) Error() string
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) GetPayload() []*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsClientError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsCode(code int) bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsRedirect() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsServerError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsSuccess() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) String() string
- type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) Validate(formats strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortsParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortsParams() *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetConfigTemplateID(configTemplateID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetContext(ctx context.Context)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetDefaults()
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetProfileID(profileID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithProfileID(profileID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortsParams
- func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilePortsReader
- type GetOrganizationConfigTemplateSwitchProfilesOK
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) Code() int
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) Error() string
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload() []*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsClientError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsCode(code int) bool
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsRedirect() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsServerError() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsSuccess() bool
- func (o *GetOrganizationConfigTemplateSwitchProfilesOK) String() string
- type GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
- func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilesParams
- func NewGetOrganizationConfigTemplateSwitchProfilesParams() *GetOrganizationConfigTemplateSwitchProfilesParams
- func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilesParams
- func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilesParams
- func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetConfigTemplateID(configTemplateID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetContext(ctx context.Context)
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetDefaults()
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilesParams
- func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationConfigTemplateSwitchProfilesReader
- type GetOrganizationSwitchPortsBySwitchOK
- func (o *GetOrganizationSwitchPortsBySwitchOK) Code() int
- func (o *GetOrganizationSwitchPortsBySwitchOK) Error() string
- func (o *GetOrganizationSwitchPortsBySwitchOK) GetPayload() []*GetOrganizationSwitchPortsBySwitchOKBodyItems0
- func (o *GetOrganizationSwitchPortsBySwitchOK) IsClientError() bool
- func (o *GetOrganizationSwitchPortsBySwitchOK) IsCode(code int) bool
- func (o *GetOrganizationSwitchPortsBySwitchOK) IsRedirect() bool
- func (o *GetOrganizationSwitchPortsBySwitchOK) IsServerError() bool
- func (o *GetOrganizationSwitchPortsBySwitchOK) IsSuccess() bool
- func (o *GetOrganizationSwitchPortsBySwitchOK) String() string
- type GetOrganizationSwitchPortsBySwitchOKBodyItems0
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationSwitchPortsBySwitchOKBodyItems0Network
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) Validate(formats strfmt.Registry) error
- type GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationSwitchPortsBySwitchParams
- func NewGetOrganizationSwitchPortsBySwitchParams() *GetOrganizationSwitchPortsBySwitchParams
- func NewGetOrganizationSwitchPortsBySwitchParamsWithContext(ctx context.Context) *GetOrganizationSwitchPortsBySwitchParams
- func NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient(client *http.Client) *GetOrganizationSwitchPortsBySwitchParams
- func NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout(timeout time.Duration) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetConfigurationUpdatedAfter(configurationUpdatedAfter *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetContext(ctx context.Context)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetDefaults()
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetMac(mac *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetMacs(macs []string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetName(name *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetNetworkIds(networkIds []string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetPerPage(perPage *int64)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetPortProfileIds(portProfileIds []string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerial(serial *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerials(serials []string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationSwitchPortsBySwitchParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithConfigurationUpdatedAfter(configurationUpdatedAfter *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithContext(ctx context.Context) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithDefaults() *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithEndingBefore(endingBefore *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithHTTPClient(client *http.Client) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithMac(mac *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithMacs(macs []string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithName(name *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithNetworkIds(networkIds []string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithOrganizationID(organizationID string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithPerPage(perPage *int64) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithPortProfileIds(portProfileIds []string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithSerial(serial *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithSerials(serials []string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithStartingAfter(startingAfter *string) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WithTimeout(timeout time.Duration) *GetOrganizationSwitchPortsBySwitchParams
- func (o *GetOrganizationSwitchPortsBySwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationSwitchPortsBySwitchReader
- type RemoveNetworkSwitchStackBody
- func (o *RemoveNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *RemoveNetworkSwitchStackBody) MarshalBinary() ([]byte, error)
- func (o *RemoveNetworkSwitchStackBody) UnmarshalBinary(b []byte) error
- func (o *RemoveNetworkSwitchStackBody) Validate(formats strfmt.Registry) error
- type RemoveNetworkSwitchStackOK
- func (o *RemoveNetworkSwitchStackOK) Code() int
- func (o *RemoveNetworkSwitchStackOK) Error() string
- func (o *RemoveNetworkSwitchStackOK) GetPayload() interface{}
- func (o *RemoveNetworkSwitchStackOK) IsClientError() bool
- func (o *RemoveNetworkSwitchStackOK) IsCode(code int) bool
- func (o *RemoveNetworkSwitchStackOK) IsRedirect() bool
- func (o *RemoveNetworkSwitchStackOK) IsServerError() bool
- func (o *RemoveNetworkSwitchStackOK) IsSuccess() bool
- func (o *RemoveNetworkSwitchStackOK) String() string
- type RemoveNetworkSwitchStackParams
- func NewRemoveNetworkSwitchStackParams() *RemoveNetworkSwitchStackParams
- func NewRemoveNetworkSwitchStackParamsWithContext(ctx context.Context) *RemoveNetworkSwitchStackParams
- func NewRemoveNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams
- func NewRemoveNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) SetContext(ctx context.Context)
- func (o *RemoveNetworkSwitchStackParams) SetDefaults()
- func (o *RemoveNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
- func (o *RemoveNetworkSwitchStackParams) SetNetworkID(networkID string)
- func (o *RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack(removeNetworkSwitchStack RemoveNetworkSwitchStackBody)
- func (o *RemoveNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
- func (o *RemoveNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
- func (o *RemoveNetworkSwitchStackParams) WithContext(ctx context.Context) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithDefaults() *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithNetworkID(networkID string) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithRemoveNetworkSwitchStack(removeNetworkSwitchStack RemoveNetworkSwitchStackBody) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithSwitchStackID(switchStackID string) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams
- func (o *RemoveNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveNetworkSwitchStackReader
- type UpdateDeviceSwitchPortBody
- func (o *UpdateDeviceSwitchPortBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchPortBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchPortBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchPortBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchPortOK
- func (o *UpdateDeviceSwitchPortOK) Code() int
- func (o *UpdateDeviceSwitchPortOK) Error() string
- func (o *UpdateDeviceSwitchPortOK) GetPayload() *UpdateDeviceSwitchPortOKBody
- func (o *UpdateDeviceSwitchPortOK) IsClientError() bool
- func (o *UpdateDeviceSwitchPortOK) IsCode(code int) bool
- func (o *UpdateDeviceSwitchPortOK) IsRedirect() bool
- func (o *UpdateDeviceSwitchPortOK) IsServerError() bool
- func (o *UpdateDeviceSwitchPortOK) IsSuccess() bool
- func (o *UpdateDeviceSwitchPortOK) String() string
- type UpdateDeviceSwitchPortOKBody
- func (o *UpdateDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchPortOKBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchPortOKBodyProfile
- func (o *UpdateDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchPortOKBodyProfile) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchPortParams
- func NewUpdateDeviceSwitchPortParams() *UpdateDeviceSwitchPortParams
- func NewUpdateDeviceSwitchPortParamsWithContext(ctx context.Context) *UpdateDeviceSwitchPortParams
- func NewUpdateDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchPortParams
- func NewUpdateDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSwitchPortParams) SetDefaults()
- func (o *UpdateDeviceSwitchPortParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSwitchPortParams) SetPortID(portID string)
- func (o *UpdateDeviceSwitchPortParams) SetSerial(serial string)
- func (o *UpdateDeviceSwitchPortParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSwitchPortParams) SetUpdateDeviceSwitchPort(updateDeviceSwitchPort UpdateDeviceSwitchPortBody)
- func (o *UpdateDeviceSwitchPortParams) WithContext(ctx context.Context) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithDefaults() *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithPortID(portID string) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithSerial(serial string) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WithUpdateDeviceSwitchPort(updateDeviceSwitchPort UpdateDeviceSwitchPortBody) *UpdateDeviceSwitchPortParams
- func (o *UpdateDeviceSwitchPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSwitchPortParamsBodyProfile
- func (o *UpdateDeviceSwitchPortParamsBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchPortParamsBodyProfile) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchPortParamsBodyProfile) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchPortParamsBodyProfile) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchPortReader
- type UpdateDeviceSwitchRoutingInterfaceBody
- func (o *UpdateDeviceSwitchRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpBody
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpOK
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) Code() int
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) Error() string
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsClientError() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsCode(code int) bool
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsServerError() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) String() string
- type UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func NewUpdateDeviceSwitchRoutingInterfaceDhcpParams() *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults()
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetSerial(serial string)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetUpdateDeviceSwitchRoutingInterfaceDhcp(...)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults() *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithUpdateDeviceSwitchRoutingInterfaceDhcp(...) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceDhcpReader
- type UpdateDeviceSwitchRoutingInterfaceOK
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) Code() int
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) Error() string
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) GetPayload() *UpdateDeviceSwitchRoutingInterfaceOKBody
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsClientError() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsCode(code int) bool
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsRedirect() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsServerError() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsSuccess() bool
- func (o *UpdateDeviceSwitchRoutingInterfaceOK) String() string
- type UpdateDeviceSwitchRoutingInterfaceOKBody
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceParams
- func NewUpdateDeviceSwitchRoutingInterfaceParams() *UpdateDeviceSwitchRoutingInterfaceParams
- func NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceParams
- func NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceParams
- func NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetDefaults()
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetSerial(serial string)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetUpdateDeviceSwitchRoutingInterface(updateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody)
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithDefaults() *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithUpdateDeviceSwitchRoutingInterface(updateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody) *UpdateDeviceSwitchRoutingInterfaceParams
- func (o *UpdateDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingInterfaceReader
- type UpdateDeviceSwitchRoutingStaticRouteBody
- func (o *UpdateDeviceSwitchRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchRoutingStaticRouteBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchRoutingStaticRouteOK
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) Code() int
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) Error() string
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload() interface{}
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsClientError() bool
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsCode(code int) bool
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsRedirect() bool
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsServerError() bool
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsSuccess() bool
- func (o *UpdateDeviceSwitchRoutingStaticRouteOK) String() string
- type UpdateDeviceSwitchRoutingStaticRouteParams
- func NewUpdateDeviceSwitchRoutingStaticRouteParams() *UpdateDeviceSwitchRoutingStaticRouteParams
- func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingStaticRouteParams
- func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingStaticRouteParams
- func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetDefaults()
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetUpdateDeviceSwitchRoutingStaticRoute(updateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody)
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithDefaults() *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithUpdateDeviceSwitchRoutingStaticRoute(updateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody) *UpdateDeviceSwitchRoutingStaticRouteParams
- func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSwitchRoutingStaticRouteReader
- type UpdateDeviceSwitchWarmSpareBody
- func (o *UpdateDeviceSwitchWarmSpareBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSwitchWarmSpareBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSwitchWarmSpareBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSwitchWarmSpareBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSwitchWarmSpareOK
- func (o *UpdateDeviceSwitchWarmSpareOK) Code() int
- func (o *UpdateDeviceSwitchWarmSpareOK) Error() string
- func (o *UpdateDeviceSwitchWarmSpareOK) GetPayload() interface{}
- func (o *UpdateDeviceSwitchWarmSpareOK) IsClientError() bool
- func (o *UpdateDeviceSwitchWarmSpareOK) IsCode(code int) bool
- func (o *UpdateDeviceSwitchWarmSpareOK) IsRedirect() bool
- func (o *UpdateDeviceSwitchWarmSpareOK) IsServerError() bool
- func (o *UpdateDeviceSwitchWarmSpareOK) IsSuccess() bool
- func (o *UpdateDeviceSwitchWarmSpareOK) String() string
- type UpdateDeviceSwitchWarmSpareParams
- func NewUpdateDeviceSwitchWarmSpareParams() *UpdateDeviceSwitchWarmSpareParams
- func NewUpdateDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *UpdateDeviceSwitchWarmSpareParams
- func NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchWarmSpareParams
- func NewUpdateDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSwitchWarmSpareParams) SetDefaults()
- func (o *UpdateDeviceSwitchWarmSpareParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSwitchWarmSpareParams) SetSerial(serial string)
- func (o *UpdateDeviceSwitchWarmSpareParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSwitchWarmSpareParams) SetUpdateDeviceSwitchWarmSpare(updateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody)
- func (o *UpdateDeviceSwitchWarmSpareParams) WithContext(ctx context.Context) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WithDefaults() *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WithSerial(serial string) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WithUpdateDeviceSwitchWarmSpare(updateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody) *UpdateDeviceSwitchWarmSpareParams
- func (o *UpdateDeviceSwitchWarmSpareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSwitchWarmSpareReader
- type UpdateNetworkSwitchAccessControlListsBody
- func (o *UpdateNetworkSwitchAccessControlListsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessControlListsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessControlListsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessControlListsBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessControlListsOK
- func (o *UpdateNetworkSwitchAccessControlListsOK) Code() int
- func (o *UpdateNetworkSwitchAccessControlListsOK) Error() string
- func (o *UpdateNetworkSwitchAccessControlListsOK) GetPayload() *UpdateNetworkSwitchAccessControlListsOKBody
- func (o *UpdateNetworkSwitchAccessControlListsOK) IsClientError() bool
- func (o *UpdateNetworkSwitchAccessControlListsOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchAccessControlListsOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchAccessControlListsOK) IsServerError() bool
- func (o *UpdateNetworkSwitchAccessControlListsOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchAccessControlListsOK) String() string
- type UpdateNetworkSwitchAccessControlListsOKBody
- func (o *UpdateNetworkSwitchAccessControlListsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessControlListsOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0
- func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessControlListsParams
- func NewUpdateNetworkSwitchAccessControlListsParams() *UpdateNetworkSwitchAccessControlListsParams
- func NewUpdateNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessControlListsParams
- func NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessControlListsParams
- func NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetDefaults()
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchAccessControlListsParams) SetUpdateNetworkSwitchAccessControlLists(...)
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithDefaults() *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WithUpdateNetworkSwitchAccessControlLists(...) *UpdateNetworkSwitchAccessControlListsParams
- func (o *UpdateNetworkSwitchAccessControlListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0
- func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessControlListsReader
- type UpdateNetworkSwitchAccessPolicyBody
- func (o *UpdateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOK
- func (o *UpdateNetworkSwitchAccessPolicyOK) Code() int
- func (o *UpdateNetworkSwitchAccessPolicyOK) Error() string
- func (o *UpdateNetworkSwitchAccessPolicyOK) GetPayload() *UpdateNetworkSwitchAccessPolicyOKBody
- func (o *UpdateNetworkSwitchAccessPolicyOK) IsClientError() bool
- func (o *UpdateNetworkSwitchAccessPolicyOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchAccessPolicyOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchAccessPolicyOK) IsServerError() bool
- func (o *UpdateNetworkSwitchAccessPolicyOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchAccessPolicyOK) String() string
- type UpdateNetworkSwitchAccessPolicyOKBody
- func (o *UpdateNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOKBodyDot1x
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOKBodyRadius
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParams
- func NewUpdateNetworkSwitchAccessPolicyParams() *UpdateNetworkSwitchAccessPolicyParams
- func NewUpdateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessPolicyParams
- func NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessPolicyParams
- func NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetDefaults()
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchAccessPolicyParams) SetUpdateNetworkSwitchAccessPolicy(updateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody)
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithAccessPolicyNumber(accessPolicyNumber string) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithDefaults() *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WithUpdateNetworkSwitchAccessPolicy(updateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody) *UpdateNetworkSwitchAccessPolicyParams
- func (o *UpdateNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParamsBodyDot1x
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParamsBodyRadius
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAccessPolicyReader
- type UpdateNetworkSwitchAlternateManagementInterfaceBody
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAlternateManagementInterfaceOK
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) Code() int
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) Error() string
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsClientError() bool
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsServerError() bool
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) String() string
- type UpdateNetworkSwitchAlternateManagementInterfaceParams
- func NewUpdateNetworkSwitchAlternateManagementInterfaceParams() *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetDefaults()
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetUpdateNetworkSwitchAlternateManagementInterface(...)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithDefaults() *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithUpdateNetworkSwitchAlternateManagementInterface(...) *UpdateNetworkSwitchAlternateManagementInterfaceParams
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchAlternateManagementInterfaceReader
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Code() int
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Error() string
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) GetPayload() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsClientError() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsServerError() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) String() string
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(...)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID(trustedServerID string) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(...) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader
- type UpdateNetworkSwitchDhcpServerPolicyBody
- func (o *UpdateNetworkSwitchDhcpServerPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyOK
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) Code() int
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) Error() string
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsClientError() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsServerError() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchDhcpServerPolicyOK) String() string
- type UpdateNetworkSwitchDhcpServerPolicyParams
- func NewUpdateNetworkSwitchDhcpServerPolicyParams() *UpdateNetworkSwitchDhcpServerPolicyParams
- func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyParams
- func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyParams
- func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetDefaults()
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetUpdateNetworkSwitchDhcpServerPolicy(updateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithDefaults() *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithUpdateNetworkSwitchDhcpServerPolicy(updateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody) *UpdateNetworkSwitchDhcpServerPolicyParams
- func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDhcpServerPolicyReader
- type UpdateNetworkSwitchDscpToCosMappingsBody
- func (o *UpdateNetworkSwitchDscpToCosMappingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDscpToCosMappingsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDscpToCosMappingsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDscpToCosMappingsBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDscpToCosMappingsOK
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) Code() int
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) Error() string
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsClientError() bool
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsServerError() bool
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchDscpToCosMappingsOK) String() string
- type UpdateNetworkSwitchDscpToCosMappingsParams
- func NewUpdateNetworkSwitchDscpToCosMappingsParams() *UpdateNetworkSwitchDscpToCosMappingsParams
- func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDscpToCosMappingsParams
- func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDscpToCosMappingsParams
- func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetDefaults()
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetUpdateNetworkSwitchDscpToCosMappings(updateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithDefaults() *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithUpdateNetworkSwitchDscpToCosMappings(updateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody) *UpdateNetworkSwitchDscpToCosMappingsParams
- func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0
- func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchDscpToCosMappingsReader
- type UpdateNetworkSwitchLinkAggregationBody
- func (o *UpdateNetworkSwitchLinkAggregationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchLinkAggregationBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchLinkAggregationBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchLinkAggregationBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchLinkAggregationOK
- func (o *UpdateNetworkSwitchLinkAggregationOK) Code() int
- func (o *UpdateNetworkSwitchLinkAggregationOK) Error() string
- func (o *UpdateNetworkSwitchLinkAggregationOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchLinkAggregationOK) IsClientError() bool
- func (o *UpdateNetworkSwitchLinkAggregationOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchLinkAggregationOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchLinkAggregationOK) IsServerError() bool
- func (o *UpdateNetworkSwitchLinkAggregationOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchLinkAggregationOK) String() string
- type UpdateNetworkSwitchLinkAggregationParams
- func NewUpdateNetworkSwitchLinkAggregationParams() *UpdateNetworkSwitchLinkAggregationParams
- func NewUpdateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *UpdateNetworkSwitchLinkAggregationParams
- func NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchLinkAggregationParams
- func NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetDefaults()
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetLinkAggregationID(linkAggregationID string)
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchLinkAggregationParams) SetUpdateNetworkSwitchLinkAggregation(updateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody)
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithDefaults() *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithLinkAggregationID(linkAggregationID string) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WithUpdateNetworkSwitchLinkAggregation(updateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody) *UpdateNetworkSwitchLinkAggregationParams
- func (o *UpdateNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchLinkAggregationReader
- type UpdateNetworkSwitchMtuBody
- func (o *UpdateNetworkSwitchMtuBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchMtuBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchMtuBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchMtuBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchMtuOK
- func (o *UpdateNetworkSwitchMtuOK) Code() int
- func (o *UpdateNetworkSwitchMtuOK) Error() string
- func (o *UpdateNetworkSwitchMtuOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchMtuOK) IsClientError() bool
- func (o *UpdateNetworkSwitchMtuOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchMtuOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchMtuOK) IsServerError() bool
- func (o *UpdateNetworkSwitchMtuOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchMtuOK) String() string
- type UpdateNetworkSwitchMtuParams
- func NewUpdateNetworkSwitchMtuParams() *UpdateNetworkSwitchMtuParams
- func NewUpdateNetworkSwitchMtuParamsWithContext(ctx context.Context) *UpdateNetworkSwitchMtuParams
- func NewUpdateNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchMtuParams
- func NewUpdateNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchMtuParams) SetDefaults()
- func (o *UpdateNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchMtuParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchMtuParams) SetUpdateNetworkSwitchMtu(updateNetworkSwitchMtu UpdateNetworkSwitchMtuBody)
- func (o *UpdateNetworkSwitchMtuParams) WithContext(ctx context.Context) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WithDefaults() *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WithNetworkID(networkID string) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WithUpdateNetworkSwitchMtu(updateNetworkSwitchMtu UpdateNetworkSwitchMtuBody) *UpdateNetworkSwitchMtuParams
- func (o *UpdateNetworkSwitchMtuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchMtuParamsBodyOverridesItems0
- func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchMtuReader
- type UpdateNetworkSwitchPortScheduleBody
- func (o *UpdateNetworkSwitchPortScheduleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOK
- func (o *UpdateNetworkSwitchPortScheduleOK) Code() int
- func (o *UpdateNetworkSwitchPortScheduleOK) Error() string
- func (o *UpdateNetworkSwitchPortScheduleOK) GetPayload() *UpdateNetworkSwitchPortScheduleOKBody
- func (o *UpdateNetworkSwitchPortScheduleOK) IsClientError() bool
- func (o *UpdateNetworkSwitchPortScheduleOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchPortScheduleOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchPortScheduleOK) IsServerError() bool
- func (o *UpdateNetworkSwitchPortScheduleOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchPortScheduleOK) String() string
- type UpdateNetworkSwitchPortScheduleOKBody
- func (o *UpdateNetworkSwitchPortScheduleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortSchedule
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParams() *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
- func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetDefaults()
- func (o *UpdateNetworkSwitchPortScheduleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetPortScheduleID(portScheduleID string)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchPortScheduleParams) SetUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody)
- func (o *UpdateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithDefaults() *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WithUpdateNetworkSwitchPortSchedule(updateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody) *UpdateNetworkSwitchPortScheduleParams
- func (o *UpdateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchPortScheduleReader
- type UpdateNetworkSwitchQosRuleBody
- func (o *UpdateNetworkSwitchQosRuleBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchQosRuleBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchQosRuleBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchQosRuleBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchQosRuleOK
- func (o *UpdateNetworkSwitchQosRuleOK) Code() int
- func (o *UpdateNetworkSwitchQosRuleOK) Error() string
- func (o *UpdateNetworkSwitchQosRuleOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchQosRuleOK) IsClientError() bool
- func (o *UpdateNetworkSwitchQosRuleOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchQosRuleOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchQosRuleOK) IsServerError() bool
- func (o *UpdateNetworkSwitchQosRuleOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchQosRuleOK) String() string
- type UpdateNetworkSwitchQosRuleParams
- func NewUpdateNetworkSwitchQosRuleParams() *UpdateNetworkSwitchQosRuleParams
- func NewUpdateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRuleParams
- func NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRuleParams
- func NewUpdateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchQosRuleParams) SetDefaults()
- func (o *UpdateNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchQosRuleParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)
- func (o *UpdateNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchQosRuleParams) SetUpdateNetworkSwitchQosRule(updateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody)
- func (o *UpdateNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithDefaults() *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WithUpdateNetworkSwitchQosRule(updateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody) *UpdateNetworkSwitchQosRuleParams
- func (o *UpdateNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchQosRuleReader
- type UpdateNetworkSwitchQosRulesOrderBody
- func (o *UpdateNetworkSwitchQosRulesOrderBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchQosRulesOrderBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchQosRulesOrderBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchQosRulesOrderBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchQosRulesOrderOK
- func (o *UpdateNetworkSwitchQosRulesOrderOK) Code() int
- func (o *UpdateNetworkSwitchQosRulesOrderOK) Error() string
- func (o *UpdateNetworkSwitchQosRulesOrderOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchQosRulesOrderOK) IsClientError() bool
- func (o *UpdateNetworkSwitchQosRulesOrderOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchQosRulesOrderOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchQosRulesOrderOK) IsServerError() bool
- func (o *UpdateNetworkSwitchQosRulesOrderOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchQosRulesOrderOK) String() string
- type UpdateNetworkSwitchQosRulesOrderParams
- func NewUpdateNetworkSwitchQosRulesOrderParams() *UpdateNetworkSwitchQosRulesOrderParams
- func NewUpdateNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRulesOrderParams
- func NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRulesOrderParams
- func NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetDefaults()
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchQosRulesOrderParams) SetUpdateNetworkSwitchQosRulesOrder(updateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody)
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithContext(ctx context.Context) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithDefaults() *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithNetworkID(networkID string) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WithUpdateNetworkSwitchQosRulesOrder(updateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody) *UpdateNetworkSwitchQosRulesOrderParams
- func (o *UpdateNetworkSwitchQosRulesOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchQosRulesOrderReader
- type UpdateNetworkSwitchRoutingMulticastBody
- func (o *UpdateNetworkSwitchRoutingMulticastBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingMulticastBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingMulticastBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingMulticastBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastOK
- func (o *UpdateNetworkSwitchRoutingMulticastOK) Code() int
- func (o *UpdateNetworkSwitchRoutingMulticastOK) Error() string
- func (o *UpdateNetworkSwitchRoutingMulticastOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchRoutingMulticastOK) IsClientError() bool
- func (o *UpdateNetworkSwitchRoutingMulticastOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchRoutingMulticastOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchRoutingMulticastOK) IsServerError() bool
- func (o *UpdateNetworkSwitchRoutingMulticastOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchRoutingMulticastOK) String() string
- type UpdateNetworkSwitchRoutingMulticastParams
- func NewUpdateNetworkSwitchRoutingMulticastParams() *UpdateNetworkSwitchRoutingMulticastParams
- func NewUpdateNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastParams
- func NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastParams
- func NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetDefaults()
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchRoutingMulticastParams) SetUpdateNetworkSwitchRoutingMulticast(updateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody)
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithDefaults() *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WithUpdateNetworkSwitchRoutingMulticast(updateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody) *UpdateNetworkSwitchRoutingMulticastParams
- func (o *UpdateNetworkSwitchRoutingMulticastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastReader
- type UpdateNetworkSwitchRoutingMulticastRendezvousPointBody
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastRendezvousPointOK
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Code() int
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Error() string
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError() bool
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError() bool
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) String() string
- type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams() *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults()
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetRendezvousPointID(rendezvousPointID string)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetUpdateNetworkSwitchRoutingMulticastRendezvousPoint(...)
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithUpdateNetworkSwitchRoutingMulticastRendezvousPoint(...) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
- func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchRoutingMulticastRendezvousPointReader
- type UpdateNetworkSwitchRoutingOspfBody
- func (o *UpdateNetworkSwitchRoutingOspfBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingOspfBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingOspfBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingOspfBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfOK
- func (o *UpdateNetworkSwitchRoutingOspfOK) Code() int
- func (o *UpdateNetworkSwitchRoutingOspfOK) Error() string
- func (o *UpdateNetworkSwitchRoutingOspfOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchRoutingOspfOK) IsClientError() bool
- func (o *UpdateNetworkSwitchRoutingOspfOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchRoutingOspfOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchRoutingOspfOK) IsServerError() bool
- func (o *UpdateNetworkSwitchRoutingOspfOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchRoutingOspfOK) String() string
- type UpdateNetworkSwitchRoutingOspfParams
- func NewUpdateNetworkSwitchRoutingOspfParams() *UpdateNetworkSwitchRoutingOspfParams
- func NewUpdateNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingOspfParams
- func NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingOspfParams
- func NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetDefaults()
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchRoutingOspfParams) SetUpdateNetworkSwitchRoutingOspf(updateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody)
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithDefaults() *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WithUpdateNetworkSwitchRoutingOspf(updateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody) *UpdateNetworkSwitchRoutingOspfParams
- func (o *UpdateNetworkSwitchRoutingOspfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfParamsBodyV3
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchRoutingOspfReader
- type UpdateNetworkSwitchSettingsBody
- func (o *UpdateNetworkSwitchSettingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsOK
- func (o *UpdateNetworkSwitchSettingsOK) Code() int
- func (o *UpdateNetworkSwitchSettingsOK) Error() string
- func (o *UpdateNetworkSwitchSettingsOK) GetPayload() *UpdateNetworkSwitchSettingsOKBody
- func (o *UpdateNetworkSwitchSettingsOK) IsClientError() bool
- func (o *UpdateNetworkSwitchSettingsOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchSettingsOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchSettingsOK) IsServerError() bool
- func (o *UpdateNetworkSwitchSettingsOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchSettingsOK) String() string
- type UpdateNetworkSwitchSettingsOKBody
- func (o *UpdateNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0
- func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling
- func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsParams
- func NewUpdateNetworkSwitchSettingsParams() *UpdateNetworkSwitchSettingsParams
- func NewUpdateNetworkSwitchSettingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchSettingsParams
- func NewUpdateNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchSettingsParams
- func NewUpdateNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchSettingsParams) SetDefaults()
- func (o *UpdateNetworkSwitchSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchSettingsParams) SetUpdateNetworkSwitchSettings(updateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody)
- func (o *UpdateNetworkSwitchSettingsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WithDefaults() *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WithUpdateNetworkSwitchSettings(updateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody) *UpdateNetworkSwitchSettingsParams
- func (o *UpdateNetworkSwitchSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0
- func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling
- func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchSettingsReader
- type UpdateNetworkSwitchStackRoutingInterfaceBody
- func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpBody
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpOK
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Code() int
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Error() string
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) String() string
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams() *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults()
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetInterfaceID(interfaceID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetSwitchStackID(switchStackID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetUpdateNetworkSwitchStackRoutingInterfaceDhcp(...)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults() *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithUpdateNetworkSwitchStackRoutingInterfaceDhcp(...) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceDhcpReader
- type UpdateNetworkSwitchStackRoutingInterfaceOK
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) Code() int
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) Error() string
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsClientError() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsServerError() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) String() string
- type UpdateNetworkSwitchStackRoutingInterfaceParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceParams() *UpdateNetworkSwitchStackRoutingInterfaceParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetDefaults()
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetInterfaceID(interfaceID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetSwitchStackID(switchStackID string)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetUpdateNetworkSwitchStackRoutingInterface(...)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithUpdateNetworkSwitchStackRoutingInterface(...) *UpdateNetworkSwitchStackRoutingInterfaceParams
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingInterfaceReader
- type UpdateNetworkSwitchStackRoutingStaticRouteBody
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingStaticRouteOK
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) Code() int
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) Error() string
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsClientError() bool
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsServerError() bool
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) String() string
- type UpdateNetworkSwitchStackRoutingStaticRouteParams
- func NewUpdateNetworkSwitchStackRoutingStaticRouteParams() *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetDefaults()
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetStaticRouteID(staticRouteID string)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetSwitchStackID(switchStackID string)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetUpdateNetworkSwitchStackRoutingStaticRoute(...)
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithUpdateNetworkSwitchStackRoutingStaticRoute(...) *UpdateNetworkSwitchStackRoutingStaticRouteParams
- func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchStackRoutingStaticRouteReader
- type UpdateNetworkSwitchStormControlBody
- func (o *UpdateNetworkSwitchStormControlBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStormControlBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStormControlBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStormControlBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStormControlOK
- func (o *UpdateNetworkSwitchStormControlOK) Code() int
- func (o *UpdateNetworkSwitchStormControlOK) Error() string
- func (o *UpdateNetworkSwitchStormControlOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchStormControlOK) IsClientError() bool
- func (o *UpdateNetworkSwitchStormControlOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchStormControlOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchStormControlOK) IsServerError() bool
- func (o *UpdateNetworkSwitchStormControlOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchStormControlOK) String() string
- type UpdateNetworkSwitchStormControlParams
- func NewUpdateNetworkSwitchStormControlParams() *UpdateNetworkSwitchStormControlParams
- func NewUpdateNetworkSwitchStormControlParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStormControlParams
- func NewUpdateNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStormControlParams
- func NewUpdateNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchStormControlParams) SetDefaults()
- func (o *UpdateNetworkSwitchStormControlParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchStormControlParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchStormControlParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchStormControlParams) SetUpdateNetworkSwitchStormControl(updateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody)
- func (o *UpdateNetworkSwitchStormControlParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WithDefaults() *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WithUpdateNetworkSwitchStormControl(updateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody) *UpdateNetworkSwitchStormControlParams
- func (o *UpdateNetworkSwitchStormControlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchStormControlReader
- type UpdateNetworkSwitchStpBody
- func (o *UpdateNetworkSwitchStpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStpBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStpBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStpBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStpOK
- func (o *UpdateNetworkSwitchStpOK) Code() int
- func (o *UpdateNetworkSwitchStpOK) Error() string
- func (o *UpdateNetworkSwitchStpOK) GetPayload() interface{}
- func (o *UpdateNetworkSwitchStpOK) IsClientError() bool
- func (o *UpdateNetworkSwitchStpOK) IsCode(code int) bool
- func (o *UpdateNetworkSwitchStpOK) IsRedirect() bool
- func (o *UpdateNetworkSwitchStpOK) IsServerError() bool
- func (o *UpdateNetworkSwitchStpOK) IsSuccess() bool
- func (o *UpdateNetworkSwitchStpOK) String() string
- type UpdateNetworkSwitchStpParams
- func NewUpdateNetworkSwitchStpParams() *UpdateNetworkSwitchStpParams
- func NewUpdateNetworkSwitchStpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStpParams
- func NewUpdateNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStpParams
- func NewUpdateNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSwitchStpParams) SetDefaults()
- func (o *UpdateNetworkSwitchStpParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSwitchStpParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSwitchStpParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSwitchStpParams) SetUpdateNetworkSwitchStp(updateNetworkSwitchStp UpdateNetworkSwitchStpBody)
- func (o *UpdateNetworkSwitchStpParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WithDefaults() *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WithUpdateNetworkSwitchStp(updateNetworkSwitchStp UpdateNetworkSwitchStpBody) *UpdateNetworkSwitchStpParams
- func (o *UpdateNetworkSwitchStpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0
- func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSwitchStpReader
- type UpdateOrganizationConfigTemplateSwitchProfilePortBody
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) Validate(formats strfmt.Registry) error
- type UpdateOrganizationConfigTemplateSwitchProfilePortOK
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) Code() int
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) Error() string
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) GetPayload() *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsClientError() bool
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsCode(code int) bool
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect() bool
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsServerError() bool
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess() bool
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) String() string
- type UpdateOrganizationConfigTemplateSwitchProfilePortOKBody
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) Validate(formats strfmt.Registry) error
- type UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary() ([]byte, error)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary(b []byte) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) Validate(formats strfmt.Registry) error
- type UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func NewUpdateOrganizationConfigTemplateSwitchProfilePortParams() *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetContext(ctx context.Context)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults()
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient(client *http.Client)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetOrganizationID(organizationID string)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetPortID(portID string)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID(profileID string)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout(timeout time.Duration)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetUpdateOrganizationConfigTemplateSwitchProfilePort(...)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID(configTemplateID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithContext(ctx context.Context) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults() *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient(client *http.Client) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID(organizationID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithPortID(portID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID(profileID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout(timeout time.Duration) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithUpdateOrganizationConfigTemplateSwitchProfilePort(...) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) MarshalBinary() ([]byte, error)
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) UnmarshalBinary(b []byte) error
- func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) Validate(formats strfmt.Registry) error
- type UpdateOrganizationConfigTemplateSwitchProfilePortReader
Constants ¶
const ( // CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier" CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier" // CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled" CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled" // CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled" CreateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled" )
const ( // CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x" CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x string = "802.1x" // CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" CreateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth" CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth" // CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain captures enum value "Multi-Domain" CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain string = "Multi-Domain" // CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost captures enum value "Multi-Host" CreateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost string = "Multi-Host" // CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host" CreateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host" )
const ( // CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x" CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeNr802Dot1x string = "802.1x" // CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" CreateNetworkSwitchAccessPolicyCreatedBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashAuth captures enum value "Multi-Auth" CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashAuth string = "Multi-Auth" // CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashDomain captures enum value "Multi-Domain" CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashDomain string = "Multi-Domain" // CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashHost captures enum value "Multi-Host" CreateNetworkSwitchAccessPolicyCreatedBodyHostModeMultiDashHost string = "Multi-Host" // CreateNetworkSwitchAccessPolicyCreatedBodyHostModeSingleDashHost captures enum value "Single-Host" CreateNetworkSwitchAccessPolicyCreatedBodyHostModeSingleDashHost string = "Single-Host" )
const ( // CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionBoth captures enum value "both" CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionBoth string = "both" // CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionInbound captures enum value "inbound" CreateNetworkSwitchAccessPolicyCreatedBodyDot1xControlDirectionInbound string = "inbound" )
const ( // CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth captures enum value "both" CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth string = "both" // CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound captures enum value "inbound" CreateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound string = "inbound" )
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" )
const ( // CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier" CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier" // CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled" CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled" // CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled" CreateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled" )
const ( // GetDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" GetDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // GetDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" GetDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // GetDeviceSwitchPortOKBodyAccessPolicyTypeOpen captures enum value "Open" GetDeviceSwitchPortOKBodyAccessPolicyTypeOpen string = "Open" // GetDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" GetDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // GetDeviceSwitchPortOKBodyStpGuardBpduGuard captures enum value "bpdu guard" GetDeviceSwitchPortOKBodyStpGuardBpduGuard string = "bpdu guard" // GetDeviceSwitchPortOKBodyStpGuardDisabled captures enum value "disabled" GetDeviceSwitchPortOKBodyStpGuardDisabled string = "disabled" // GetDeviceSwitchPortOKBodyStpGuardLoopGuard captures enum value "loop guard" GetDeviceSwitchPortOKBodyStpGuardLoopGuard string = "loop guard" // GetDeviceSwitchPortOKBodyStpGuardRootGuard captures enum value "root guard" GetDeviceSwitchPortOKBodyStpGuardRootGuard string = "root guard" )
const ( // GetDeviceSwitchPortOKBodyTypeAccess captures enum value "access" GetDeviceSwitchPortOKBodyTypeAccess string = "access" // GetDeviceSwitchPortOKBodyTypeTrunk captures enum value "trunk" GetDeviceSwitchPortOKBodyTypeTrunk string = "trunk" )
const ( // GetDeviceSwitchPortOKBodyUdldAlertOnly captures enum value "Alert only" GetDeviceSwitchPortOKBodyUdldAlertOnly string = "Alert only" // GetDeviceSwitchPortOKBodyUdldEnforce captures enum value "Enforce" GetDeviceSwitchPortOKBodyUdldEnforce string = "Enforce" )
const ( // GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list" GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeMACAllowList string = "MAC allow list" // GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeOpen captures enum value "Open" GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeOpen string = "Open" // GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" GetDeviceSwitchPortsOKBodyItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // GetDeviceSwitchPortsOKBodyItems0StpGuardBpduGuard captures enum value "bpdu guard" GetDeviceSwitchPortsOKBodyItems0StpGuardBpduGuard string = "bpdu guard" // GetDeviceSwitchPortsOKBodyItems0StpGuardDisabled captures enum value "disabled" GetDeviceSwitchPortsOKBodyItems0StpGuardDisabled string = "disabled" // GetDeviceSwitchPortsOKBodyItems0StpGuardLoopGuard captures enum value "loop guard" GetDeviceSwitchPortsOKBodyItems0StpGuardLoopGuard string = "loop guard" // GetDeviceSwitchPortsOKBodyItems0StpGuardRootGuard captures enum value "root guard" GetDeviceSwitchPortsOKBodyItems0StpGuardRootGuard string = "root guard" )
const ( // GetDeviceSwitchPortsOKBodyItems0TypeAccess captures enum value "access" GetDeviceSwitchPortsOKBodyItems0TypeAccess string = "access" // GetDeviceSwitchPortsOKBodyItems0TypeTrunk captures enum value "trunk" GetDeviceSwitchPortsOKBodyItems0TypeTrunk string = "trunk" )
const ( // GetDeviceSwitchPortsOKBodyItems0UdldAlertOnly captures enum value "Alert only" GetDeviceSwitchPortsOKBodyItems0UdldAlertOnly string = "Alert only" // GetDeviceSwitchPortsOKBodyItems0UdldEnforce captures enum value "Enforce" GetDeviceSwitchPortsOKBodyItems0UdldEnforce string = "Enforce" )
const ( // GetDeviceSwitchPortsStatusesOKBodyItems0DuplexEmpty captures enum value "" GetDeviceSwitchPortsStatusesOKBodyItems0DuplexEmpty string = "" // GetDeviceSwitchPortsStatusesOKBodyItems0DuplexFull captures enum value "full" GetDeviceSwitchPortsStatusesOKBodyItems0DuplexFull string = "full" // GetDeviceSwitchPortsStatusesOKBodyItems0DuplexHalf captures enum value "half" GetDeviceSwitchPortsStatusesOKBodyItems0DuplexHalf string = "half" )
const ( // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedEmpty captures enum value "" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedEmpty string = "" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr1Gbps captures enum value "1 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr1Gbps string = "1 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Gbps captures enum value "10 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Gbps string = "10 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Mbps captures enum value "10 Mbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr10Mbps string = "10 Mbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Gbps captures enum value "100 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Gbps string = "100 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Mbps captures enum value "100 Mbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr100Mbps string = "100 Mbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr2Dot5Gbps captures enum value "2.5 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr2Dot5Gbps string = "2.5 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr20Gbps captures enum value "20 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr20Gbps string = "20 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr40Gbps captures enum value "40 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr40Gbps string = "40 Gbps" // GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr5Gbps captures enum value "5 Gbps" GetDeviceSwitchPortsStatusesOKBodyItems0SpeedNr5Gbps string = "5 Gbps" )
const ( // GetDeviceSwitchPortsStatusesOKBodyItems0StatusConnected captures enum value "Connected" GetDeviceSwitchPortsStatusesOKBodyItems0StatusConnected string = "Connected" // GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisabled captures enum value "Disabled" GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisabled string = "Disabled" // GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisconnected captures enum value "Disconnected" GetDeviceSwitchPortsStatusesOKBodyItems0StatusDisconnected string = "Disconnected" )
const ( // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationFailure captures enum value "Authentication failure" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationFailure string = "Authentication failure" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationInProgress captures enum value "Authentication in progress" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationInProgress string = "Authentication in progress" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationSuccessful captures enum value "Authentication successful" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationSuccessful string = "Authentication successful" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationTimedOut captures enum value "Authentication timed out" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusAuthenticationTimedOut string = "Authentication timed out" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusDisabled captures enum value "Disabled" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusDisabled string = "Disabled" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusEnabled captures enum value "Enabled" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortAuthenticationStatusEnabled string = "Enabled" )
const ( // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeAccess captures enum value "access" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeAccess string = "access" // GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeTrunk captures enum value "trunk" GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverridesTypeTrunk string = "trunk" )
const ( // GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny captures enum value "any" GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny string = "any" // GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 captures enum value "ipv4" GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 string = "ipv4" // GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 captures enum value "ipv6" GetNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 string = "ipv6" )
const ( // GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow captures enum value "allow" GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow string = "allow" // GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny captures enum value "deny" GetNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny string = "deny" )
const ( // GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny captures enum value "any" GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny string = "any" // GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP captures enum value "tcp" GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP string = "tcp" // GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP captures enum value "udp" GetNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP string = "udp" )
const ( // GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeNr802Dot1x captures enum value "802.1x" GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeNr802Dot1x string = "802.1x" // GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" GetNetworkSwitchAccessPoliciesOKBodyItems0AccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashAuth captures enum value "Multi-Auth" GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashAuth string = "Multi-Auth" // GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashDomain captures enum value "Multi-Domain" GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashDomain string = "Multi-Domain" // GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashHost captures enum value "Multi-Host" GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeMultiDashHost string = "Multi-Host" // GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeSingleDashHost captures enum value "Single-Host" GetNetworkSwitchAccessPoliciesOKBodyItems0HostModeSingleDashHost string = "Single-Host" )
const ( // GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionBoth captures enum value "both" GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionBoth string = "both" // GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionInbound captures enum value "inbound" GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1xControlDirectionInbound string = "inbound" )
const ( // GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x" GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x string = "802.1x" // GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" GetNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth captures enum value "Multi-Auth" GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth string = "Multi-Auth" // GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain captures enum value "Multi-Domain" GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain string = "Multi-Domain" // GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost captures enum value "Multi-Host" GetNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost string = "Multi-Host" // GetNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost captures enum value "Single-Host" GetNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost string = "Single-Host" )
const ( // GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth captures enum value "both" GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth string = "both" // GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound captures enum value "inbound" GetNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound string = "inbound" )
const ( // GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyAllow captures enum value "allow" GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyAllow string = "allow" // GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyBlock captures enum value "block" GetNetworkSwitchDhcpServerPolicyOKBodyDefaultPolicyBlock string = "block" )
const ( // GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDevice captures enum value "device" GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDevice string = "device" // GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDiscovered captures enum value "discovered" GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeDiscovered string = "discovered" // GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeStack captures enum value "stack" GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0TypeStack string = "stack" )
const ( // GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined captures enum value "combined" GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined string = "combined" // GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant captures enum value "redundant" GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant string = "redundant" // GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting captures enum value "useNetworkSetting" GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting string = "useNetworkSetting" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen captures enum value "Open" GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen string = "Open" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" GetOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard captures enum value "bpdu guard" GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard string = "bpdu guard" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled captures enum value "disabled" GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled string = "disabled" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard captures enum value "loop guard" GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard string = "loop guard" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard captures enum value "root guard" GetOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard string = "root guard" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess captures enum value "access" GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess string = "access" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk captures enum value "trunk" GetOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk string = "trunk" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly captures enum value "Alert only" GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly string = "Alert only" // GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce captures enum value "Enforce" GetOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce string = "Enforce" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeMACAllowList string = "MAC allow list" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeOpen captures enum value "Open" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeOpen string = "Open" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardBpduGuard captures enum value "bpdu guard" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardBpduGuard string = "bpdu guard" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardDisabled captures enum value "disabled" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardDisabled string = "disabled" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardLoopGuard captures enum value "loop guard" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardLoopGuard string = "loop guard" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardRootGuard captures enum value "root guard" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0StpGuardRootGuard string = "root guard" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeAccess captures enum value "access" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeAccess string = "access" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeTrunk captures enum value "trunk" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0TypeTrunk string = "trunk" )
const ( // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldAlertOnly captures enum value "Alert only" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldAlertOnly string = "Alert only" // GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldEnforce captures enum value "Enforce" GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0UdldEnforce string = "Enforce" )
const ( // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeMACAllowList captures enum value "MAC allow list" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeMACAllowList string = "MAC allow list" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeOpen captures enum value "Open" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeOpen string = "Open" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0AccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardBpduGuard captures enum value "bpdu guard" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardBpduGuard string = "bpdu guard" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardDisabled captures enum value "disabled" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardDisabled string = "disabled" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardLoopGuard captures enum value "loop guard" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardLoopGuard string = "loop guard" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardRootGuard captures enum value "root guard" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0StpGuardRootGuard string = "root guard" )
const ( // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeAccess captures enum value "access" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeAccess string = "access" // GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeTrunk captures enum value "trunk" GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0TypeTrunk string = "trunk" )
const ( // UpdateDeviceSwitchPortBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" UpdateDeviceSwitchPortBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // UpdateDeviceSwitchPortBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" UpdateDeviceSwitchPortBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // UpdateDeviceSwitchPortBodyAccessPolicyTypeOpen captures enum value "Open" UpdateDeviceSwitchPortBodyAccessPolicyTypeOpen string = "Open" // UpdateDeviceSwitchPortBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" UpdateDeviceSwitchPortBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // UpdateDeviceSwitchPortBodyStpGuardBpduGuard captures enum value "bpdu guard" UpdateDeviceSwitchPortBodyStpGuardBpduGuard string = "bpdu guard" // UpdateDeviceSwitchPortBodyStpGuardDisabled captures enum value "disabled" UpdateDeviceSwitchPortBodyStpGuardDisabled string = "disabled" // UpdateDeviceSwitchPortBodyStpGuardLoopGuard captures enum value "loop guard" UpdateDeviceSwitchPortBodyStpGuardLoopGuard string = "loop guard" // UpdateDeviceSwitchPortBodyStpGuardRootGuard captures enum value "root guard" UpdateDeviceSwitchPortBodyStpGuardRootGuard string = "root guard" )
const ( // UpdateDeviceSwitchPortBodyTypeAccess captures enum value "access" UpdateDeviceSwitchPortBodyTypeAccess string = "access" // UpdateDeviceSwitchPortBodyTypeTrunk captures enum value "trunk" UpdateDeviceSwitchPortBodyTypeTrunk string = "trunk" )
const ( // UpdateDeviceSwitchPortBodyUdldAlertOnly captures enum value "Alert only" UpdateDeviceSwitchPortBodyUdldAlertOnly string = "Alert only" // UpdateDeviceSwitchPortBodyUdldEnforce captures enum value "Enforce" UpdateDeviceSwitchPortBodyUdldEnforce string = "Enforce" )
const ( // UpdateDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" UpdateDeviceSwitchPortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // UpdateDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" UpdateDeviceSwitchPortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // UpdateDeviceSwitchPortOKBodyAccessPolicyTypeOpen captures enum value "Open" UpdateDeviceSwitchPortOKBodyAccessPolicyTypeOpen string = "Open" // UpdateDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" UpdateDeviceSwitchPortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // UpdateDeviceSwitchPortOKBodyStpGuardBpduGuard captures enum value "bpdu guard" UpdateDeviceSwitchPortOKBodyStpGuardBpduGuard string = "bpdu guard" // UpdateDeviceSwitchPortOKBodyStpGuardDisabled captures enum value "disabled" UpdateDeviceSwitchPortOKBodyStpGuardDisabled string = "disabled" // UpdateDeviceSwitchPortOKBodyStpGuardLoopGuard captures enum value "loop guard" UpdateDeviceSwitchPortOKBodyStpGuardLoopGuard string = "loop guard" // UpdateDeviceSwitchPortOKBodyStpGuardRootGuard captures enum value "root guard" UpdateDeviceSwitchPortOKBodyStpGuardRootGuard string = "root guard" )
const ( // UpdateDeviceSwitchPortOKBodyTypeAccess captures enum value "access" UpdateDeviceSwitchPortOKBodyTypeAccess string = "access" // UpdateDeviceSwitchPortOKBodyTypeTrunk captures enum value "trunk" UpdateDeviceSwitchPortOKBodyTypeTrunk string = "trunk" )
const ( // UpdateDeviceSwitchPortOKBodyUdldAlertOnly captures enum value "Alert only" UpdateDeviceSwitchPortOKBodyUdldAlertOnly string = "Alert only" // UpdateDeviceSwitchPortOKBodyUdldEnforce captures enum value "Enforce" UpdateDeviceSwitchPortOKBodyUdldEnforce string = "Enforce" )
const ( // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day captures enum value "1 day" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day string = "1 day" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour captures enum value "1 hour" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour string = "1 hour" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours captures enum value "12 hours" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours string = "12 hours" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes captures enum value "30 minutes" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes string = "30 minutes" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours" )
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" )
const ( // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS captures enum value "googlePublicDns" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS string = "googlePublicDns" // UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns" UpdateDeviceSwitchRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns" )
const ( // UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex" UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex" // UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger captures enum value "integer" UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger string = "integer" // UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP captures enum value "ip" UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP string = "ip" // UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text" UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text" )
const ( // UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier" UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier" // UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled" UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled" // UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled" UpdateDeviceSwitchRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled" )
const ( // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny captures enum value "any" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionAny string = "any" // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 captures enum value "ipv4" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV4 string = "ipv4" // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 captures enum value "ipv6" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0IPVersionIPV6 string = "ipv6" )
const ( // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow captures enum value "allow" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyAllow string = "allow" // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny captures enum value "deny" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0PolicyDeny string = "deny" )
const ( // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny captures enum value "any" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolAny string = "any" // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP captures enum value "tcp" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolTCP string = "tcp" // UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP captures enum value "udp" UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0ProtocolUDP string = "udp" )
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" )
const ( // UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyAllow captures enum value "allow" UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyAllow string = "allow" // UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyDeny captures enum value "deny" UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0PolicyDeny string = "deny" )
const ( // UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny captures enum value "any" UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolAny string = "any" // UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolTCP captures enum value "tcp" UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolTCP string = "tcp" // UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP captures enum value "udp" UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0ProtocolUDP string = "udp" )
const ( // UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x" UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeNr802Dot1x string = "802.1x" // UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" UpdateNetworkSwitchAccessPolicyBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth captures enum value "Multi-Auth" UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashAuth string = "Multi-Auth" // UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain captures enum value "Multi-Domain" UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashDomain string = "Multi-Domain" // UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost captures enum value "Multi-Host" UpdateNetworkSwitchAccessPolicyBodyHostModeMultiDashHost string = "Multi-Host" // UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost captures enum value "Single-Host" UpdateNetworkSwitchAccessPolicyBodyHostModeSingleDashHost string = "Single-Host" )
const ( // UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x captures enum value "802.1x" UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeNr802Dot1x string = "802.1x" // UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication captures enum value "Hybrid authentication" UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeHybridAuthentication string = "Hybrid authentication" // UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass captures enum value "MAC authentication bypass" UpdateNetworkSwitchAccessPolicyOKBodyAccessPolicyTypeMACAuthenticationBypass string = "MAC authentication bypass" )
const ( // UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth captures enum value "Multi-Auth" UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashAuth string = "Multi-Auth" // UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain captures enum value "Multi-Domain" UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashDomain string = "Multi-Domain" // UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost captures enum value "Multi-Host" UpdateNetworkSwitchAccessPolicyOKBodyHostModeMultiDashHost string = "Multi-Host" // UpdateNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost captures enum value "Single-Host" UpdateNetworkSwitchAccessPolicyOKBodyHostModeSingleDashHost string = "Single-Host" )
const ( // UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth captures enum value "both" UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionBoth string = "both" // UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound captures enum value "inbound" UpdateNetworkSwitchAccessPolicyOKBodyDot1xControlDirectionInbound string = "inbound" )
const ( // UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth captures enum value "both" UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionBoth string = "both" // UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound captures enum value "inbound" UpdateNetworkSwitchAccessPolicyParamsBodyDot1xControlDirectionInbound string = "inbound" )
const ( // UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyAllow captures enum value "allow" UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyAllow string = "allow" // UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyBlock captures enum value "block" UpdateNetworkSwitchDhcpServerPolicyBodyDefaultPolicyBlock string = "block" )
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" )
const ( // UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNormal captures enum value "normal" UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNormal string = "normal" // UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa captures enum value "nssa" UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeNssa string = "nssa" // UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub captures enum value "stub" UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0AreaTypeStub string = "stub" )
const ( // UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNormal captures enum value "normal" UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNormal string = "normal" // UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa captures enum value "nssa" UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeNssa string = "nssa" // UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub captures enum value "stub" UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0AreaTypeStub string = "stub" )
const ( // UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined captures enum value "combined" UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeCombined string = "combined" // UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant captures enum value "redundant" UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeRedundant string = "redundant" // UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting captures enum value "useNetworkSetting" UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0PowerTypeUseNetworkSetting string = "useNetworkSetting" )
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" )
const ( // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day captures enum value "1 day" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Day string = "1 day" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour captures enum value "1 hour" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Hour string = "1 hour" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week captures enum value "1 week" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr1Week string = "1 week" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours captures enum value "12 hours" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr12Hours string = "12 hours" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes captures enum value "30 minutes" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr30Minutes string = "30 minutes" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours captures enum value "4 hours" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDhcpLeaseTimeNr4Hours string = "4 hours" )
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" )
const ( // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom captures enum value "custom" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionCustom string = "custom" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS captures enum value "googlePublicDns" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionGooglePublicDNS string = "googlePublicDns" // UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS captures enum value "openDns" UpdateNetworkSwitchStackRoutingInterfaceDhcpBodyDNSNameserversOptionOpenDNS string = "openDns" )
const ( // UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex captures enum value "hex" UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeHex string = "hex" // UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger captures enum value "integer" UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeInteger string = "integer" // UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP captures enum value "ip" UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeIP string = "ip" // UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText captures enum value "text" UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0TypeText string = "text" )
const ( // UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier captures enum value "IGMP snooping querier" UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingIGMPSnoopingQuerier string = "IGMP snooping querier" // UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled captures enum value "disabled" UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingDisabled string = "disabled" // UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled captures enum value "enabled" UpdateNetworkSwitchStackRoutingInterfaceBodyMulticastRoutingEnabled string = "enabled" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeOpen captures enum value "Open" UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeOpen string = "Open" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" UpdateOrganizationConfigTemplateSwitchProfilePortBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardBpduGuard captures enum value "bpdu guard" UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardBpduGuard string = "bpdu guard" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardDisabled captures enum value "disabled" UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardDisabled string = "disabled" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard captures enum value "loop guard" UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardLoopGuard string = "loop guard" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard captures enum value "root guard" UpdateOrganizationConfigTemplateSwitchProfilePortBodyStpGuardRootGuard string = "root guard" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess captures enum value "access" UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeAccess string = "access" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk captures enum value "trunk" UpdateOrganizationConfigTemplateSwitchProfilePortBodyTypeTrunk string = "trunk" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldAlertOnly captures enum value "Alert only" UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldAlertOnly string = "Alert only" // UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce captures enum value "Enforce" UpdateOrganizationConfigTemplateSwitchProfilePortBodyUdldEnforce string = "Enforce" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy captures enum value "Custom access policy" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeCustomAccessPolicy string = "Custom access policy" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList captures enum value "MAC allow list" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeMACAllowList string = "MAC allow list" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen captures enum value "Open" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeOpen string = "Open" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList captures enum value "Sticky MAC allow list" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyAccessPolicyTypeStickyMACAllowList string = "Sticky MAC allow list" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard captures enum value "bpdu guard" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardBpduGuard string = "bpdu guard" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled captures enum value "disabled" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardDisabled string = "disabled" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard captures enum value "loop guard" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardLoopGuard string = "loop guard" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard captures enum value "root guard" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyStpGuardRootGuard string = "root guard" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess captures enum value "access" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeAccess string = "access" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk captures enum value "trunk" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyTypeTrunk string = "trunk" )
const ( // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly captures enum value "Alert only" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldAlertOnly string = "Alert only" // UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce captures enum value "Enforce" UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyUdldEnforce string = "Enforce" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNetworkSwitchStackBody ¶
type AddNetworkSwitchStackBody struct { // The serial of the switch to be added // Required: true Serial *string `json:"serial"` }
AddNetworkSwitchStackBody add network switch stack body // Example: {"serial":"QBZY-XWVU-TSRQ"} swagger:model AddNetworkSwitchStackBody
func (*AddNetworkSwitchStackBody) ContextValidate ¶
func (o *AddNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add network switch stack body based on context it is used
func (*AddNetworkSwitchStackBody) MarshalBinary ¶
func (o *AddNetworkSwitchStackBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddNetworkSwitchStackBody) UnmarshalBinary ¶
func (o *AddNetworkSwitchStackBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddNetworkSwitchStackOK ¶
type AddNetworkSwitchStackOK struct {
Payload *AddNetworkSwitchStackOKBody
}
AddNetworkSwitchStackOK describes a response with status code 200, with default header values.
Successful operation
func NewAddNetworkSwitchStackOK ¶
func NewAddNetworkSwitchStackOK() *AddNetworkSwitchStackOK
NewAddNetworkSwitchStackOK creates a AddNetworkSwitchStackOK with default headers values
func (*AddNetworkSwitchStackOK) Code ¶
func (o *AddNetworkSwitchStackOK) Code() int
Code gets the status code for the add network switch stack o k response
func (*AddNetworkSwitchStackOK) Error ¶
func (o *AddNetworkSwitchStackOK) Error() string
func (*AddNetworkSwitchStackOK) GetPayload ¶
func (o *AddNetworkSwitchStackOK) GetPayload() *AddNetworkSwitchStackOKBody
func (*AddNetworkSwitchStackOK) IsClientError ¶
func (o *AddNetworkSwitchStackOK) IsClientError() bool
IsClientError returns true when this add network switch stack o k response has a 4xx status code
func (*AddNetworkSwitchStackOK) IsCode ¶
func (o *AddNetworkSwitchStackOK) IsCode(code int) bool
IsCode returns true when this add network switch stack o k response a status code equal to that given
func (*AddNetworkSwitchStackOK) IsRedirect ¶
func (o *AddNetworkSwitchStackOK) IsRedirect() bool
IsRedirect returns true when this add network switch stack o k response has a 3xx status code
func (*AddNetworkSwitchStackOK) IsServerError ¶
func (o *AddNetworkSwitchStackOK) IsServerError() bool
IsServerError returns true when this add network switch stack o k response has a 5xx status code
func (*AddNetworkSwitchStackOK) IsSuccess ¶
func (o *AddNetworkSwitchStackOK) IsSuccess() bool
IsSuccess returns true when this add network switch stack o k response has a 2xx status code
func (*AddNetworkSwitchStackOK) String ¶
func (o *AddNetworkSwitchStackOK) String() string
type AddNetworkSwitchStackOKBody ¶
type AddNetworkSwitchStackOKBody struct { // Switch stacks id ID string `json:"id,omitempty"` // Switch stacks name Name string `json:"name,omitempty"` // Serials of the switches in the switch stack Serials []string `json:"serials"` }
AddNetworkSwitchStackOKBody add network switch stack o k body swagger:model AddNetworkSwitchStackOKBody
func (*AddNetworkSwitchStackOKBody) ContextValidate ¶
func (o *AddNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add network switch stack o k body based on context it is used
func (*AddNetworkSwitchStackOKBody) MarshalBinary ¶
func (o *AddNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddNetworkSwitchStackOKBody) UnmarshalBinary ¶
func (o *AddNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddNetworkSwitchStackParams ¶
type AddNetworkSwitchStackParams struct { // AddNetworkSwitchStack. AddNetworkSwitchStack AddNetworkSwitchStackBody /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddNetworkSwitchStackParams contains all the parameters to send to the API endpoint
for the add network switch stack operation. Typically these are written to a http.Request.
func NewAddNetworkSwitchStackParams ¶
func NewAddNetworkSwitchStackParams() *AddNetworkSwitchStackParams
NewAddNetworkSwitchStackParams creates a new AddNetworkSwitchStackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewAddNetworkSwitchStackParamsWithContext ¶
func NewAddNetworkSwitchStackParamsWithContext(ctx context.Context) *AddNetworkSwitchStackParams
NewAddNetworkSwitchStackParamsWithContext creates a new AddNetworkSwitchStackParams object with the ability to set a context for a request.
func NewAddNetworkSwitchStackParamsWithHTTPClient ¶
func NewAddNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams
NewAddNetworkSwitchStackParamsWithHTTPClient creates a new AddNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.
func NewAddNetworkSwitchStackParamsWithTimeout ¶
func NewAddNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams
NewAddNetworkSwitchStackParamsWithTimeout creates a new AddNetworkSwitchStackParams object with the ability to set a timeout on a request.
func (*AddNetworkSwitchStackParams) SetAddNetworkSwitchStack ¶
func (o *AddNetworkSwitchStackParams) SetAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody)
SetAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params
func (*AddNetworkSwitchStackParams) SetContext ¶
func (o *AddNetworkSwitchStackParams) SetContext(ctx context.Context)
SetContext adds the context to the add network switch stack params
func (*AddNetworkSwitchStackParams) SetDefaults ¶
func (o *AddNetworkSwitchStackParams) SetDefaults()
SetDefaults hydrates default values in the add network switch stack params (not the query body).
All values with no default are reset to their zero value.
func (*AddNetworkSwitchStackParams) SetHTTPClient ¶
func (o *AddNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add network switch stack params
func (*AddNetworkSwitchStackParams) SetNetworkID ¶
func (o *AddNetworkSwitchStackParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the add network switch stack params
func (*AddNetworkSwitchStackParams) SetSwitchStackID ¶
func (o *AddNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
SetSwitchStackID adds the switchStackId to the add network switch stack params
func (*AddNetworkSwitchStackParams) SetTimeout ¶
func (o *AddNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add network switch stack params
func (*AddNetworkSwitchStackParams) WithAddNetworkSwitchStack ¶
func (o *AddNetworkSwitchStackParams) WithAddNetworkSwitchStack(addNetworkSwitchStack AddNetworkSwitchStackBody) *AddNetworkSwitchStackParams
WithAddNetworkSwitchStack adds the addNetworkSwitchStack to the add network switch stack params
func (*AddNetworkSwitchStackParams) WithContext ¶
func (o *AddNetworkSwitchStackParams) WithContext(ctx context.Context) *AddNetworkSwitchStackParams
WithContext adds the context to the add network switch stack params
func (*AddNetworkSwitchStackParams) WithDefaults ¶
func (o *AddNetworkSwitchStackParams) WithDefaults() *AddNetworkSwitchStackParams
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 ¶
func (o *AddNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *AddNetworkSwitchStackParams
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 ¶
func (o *AddNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *AddNetworkSwitchStackParams
WithTimeout adds the timeout to the add network switch stack params
func (*AddNetworkSwitchStackParams) WriteToRequest ¶
func (o *AddNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (a *Client) CreateDeviceSwitchRoutingInterface(params *CreateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingInterfaceCreated, error)
CreateDeviceSwitchRoutingInterface creates a layer 3 interface for a switch
Create a layer 3 interface for a switch
func (*Client) CreateDeviceSwitchRoutingStaticRoute ¶
func (a *Client) CreateDeviceSwitchRoutingStaticRoute(params *CreateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingStaticRouteCreated, error)
CreateDeviceSwitchRoutingStaticRoute creates a layer 3 static route for a switch
Create a layer 3 static route for a switch
func (*Client) CreateNetworkSwitchAccessPolicy ¶
func (a *Client) CreateNetworkSwitchAccessPolicy(params *CreateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchAccessPolicyCreated, error)
CreateNetworkSwitchAccessPolicy creates an access policy for a switch network
Create an access policy for a switch network. If you would like to enable Meraki Authentication, set radiusServers to empty array.
func (*Client) CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (a *Client) CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated, error)
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds a server to be trusted by dynamic a r p inspection on this network
Add a server to be trusted by Dynamic ARP Inspection on this network
func (*Client) CreateNetworkSwitchLinkAggregation ¶
func (a *Client) CreateNetworkSwitchLinkAggregation(params *CreateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchLinkAggregationCreated, error)
CreateNetworkSwitchLinkAggregation creates a link aggregation group
Create a link aggregation group
func (*Client) CreateNetworkSwitchPortSchedule ¶
func (a *Client) CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchPortScheduleCreated, error)
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 ¶
func (a *Client) CreateNetworkSwitchRoutingMulticastRendezvousPoint(params *CreateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated, error)
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 ¶
func (a *Client) CreateNetworkSwitchStackRoutingInterface(params *CreateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingInterfaceCreated, error)
CreateNetworkSwitchStackRoutingInterface creates a layer 3 interface for a switch stack
Create a layer 3 interface for a switch stack
func (*Client) CreateNetworkSwitchStackRoutingStaticRoute ¶
func (a *Client) CreateNetworkSwitchStackRoutingStaticRoute(params *CreateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingStaticRouteCreated, error)
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 ¶
func (a *Client) DeleteDeviceSwitchRoutingInterface(params *DeleteDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingInterfaceNoContent, error)
DeleteDeviceSwitchRoutingInterface deletes a layer 3 interface from the switch
Delete a layer 3 interface from the switch
func (*Client) DeleteDeviceSwitchRoutingStaticRoute ¶
func (a *Client) DeleteDeviceSwitchRoutingStaticRoute(params *DeleteDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingStaticRouteNoContent, error)
DeleteDeviceSwitchRoutingStaticRoute deletes a layer 3 static route for a switch
Delete a layer 3 static route for a switch
func (*Client) DeleteNetworkSwitchAccessPolicy ¶
func (a *Client) DeleteNetworkSwitchAccessPolicy(params *DeleteNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchAccessPolicyNoContent, error)
DeleteNetworkSwitchAccessPolicy deletes an access policy for a switch network
Delete an access policy for a switch network
func (*Client) DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (a *Client) DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent, error)
DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer removes a server from being trusted by dynamic a r p inspection on this network
Remove a server from being trusted by Dynamic ARP Inspection on this network
func (*Client) DeleteNetworkSwitchLinkAggregation ¶
func (a *Client) DeleteNetworkSwitchLinkAggregation(params *DeleteNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchLinkAggregationNoContent, error)
DeleteNetworkSwitchLinkAggregation splits a link aggregation group into separate ports
Split a link aggregation group into separate ports
func (*Client) DeleteNetworkSwitchPortSchedule ¶
func (a *Client) DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchPortScheduleNoContent, error)
DeleteNetworkSwitchPortSchedule deletes a switch port schedule
Delete a switch port schedule
func (*Client) DeleteNetworkSwitchQosRule ¶
func (a *Client) DeleteNetworkSwitchQosRule(params *DeleteNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchQosRuleNoContent, error)
DeleteNetworkSwitchQosRule deletes a quality of service rule
Delete a quality of service rule
func (*Client) DeleteNetworkSwitchRoutingMulticastRendezvousPoint ¶
func (a *Client) DeleteNetworkSwitchRoutingMulticastRendezvousPoint(params *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent, error)
DeleteNetworkSwitchRoutingMulticastRendezvousPoint deletes a multicast rendezvous point
Delete a multicast rendezvous point
func (*Client) DeleteNetworkSwitchStack ¶
func (a *Client) DeleteNetworkSwitchStack(params *DeleteNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackNoContent, error)
DeleteNetworkSwitchStack deletes a stack
Delete a stack
func (*Client) DeleteNetworkSwitchStackRoutingInterface ¶
func (a *Client) DeleteNetworkSwitchStackRoutingInterface(params *DeleteNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingInterfaceNoContent, error)
DeleteNetworkSwitchStackRoutingInterface deletes a layer 3 interface from a switch stack
Delete a layer 3 interface from a switch stack
func (*Client) DeleteNetworkSwitchStackRoutingStaticRoute ¶
func (a *Client) DeleteNetworkSwitchStackRoutingStaticRoute(params *DeleteNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent, error)
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 ¶
func (a *Client) GetNetworkSwitchAlternateManagementInterface(params *GetNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAlternateManagementInterfaceOK, error)
GetNetworkSwitchAlternateManagementInterface returns the switch alternate management interface for the network
Return the switch alternate management interface for the network
func (*Client) GetNetworkSwitchDhcpServerPolicy ¶
func (a *Client) GetNetworkSwitchDhcpServerPolicy(params *GetNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyOK, error)
GetNetworkSwitchDhcpServerPolicy returns the d h c p server settings
Return the DHCP server settings. Blocked/allowed servers are only applied when default policy is allow/block, respectively
func (*Client) GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers ¶
func (a *Client) GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers(params *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK, error)
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers returns the list of servers trusted by dynamic a r p inspection on this network
Return the list of servers trusted by Dynamic ARP Inspection on this network. These are also known as allow listed snoop entries
func (*Client) GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice ¶
func (a *Client) GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice(params *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK, error)
GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice returns the devices that have a dynamic a r p inspection warning and their warnings
Return the devices that have a Dynamic ARP Inspection warning and their warnings
func (*Client) GetNetworkSwitchDhcpV4ServersSeen ¶
func (a *Client) GetNetworkSwitchDhcpV4ServersSeen(params *GetNetworkSwitchDhcpV4ServersSeenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpV4ServersSeenOK, error)
GetNetworkSwitchDhcpV4ServersSeen returns the network s d h c pv4 servers seen within the selected timeframe default 1 day
Return the network's DHCPv4 servers seen within the selected timeframe (default 1 day)
func (*Client) GetNetworkSwitchDscpToCosMappings ¶
func (a *Client) GetNetworkSwitchDscpToCosMappings(params *GetNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDscpToCosMappingsOK, error)
GetNetworkSwitchDscpToCosMappings returns the d s c p to co s mappings
Return the DSCP to CoS mappings
func (*Client) GetNetworkSwitchLinkAggregations ¶
func (a *Client) GetNetworkSwitchLinkAggregations(params *GetNetworkSwitchLinkAggregationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchLinkAggregationsOK, error)
GetNetworkSwitchLinkAggregations lists link aggregation groups
List link aggregation groups
func (*Client) GetNetworkSwitchMtu ¶
func (a *Client) GetNetworkSwitchMtu(params *GetNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchMtuOK, error)
GetNetworkSwitchMtu returns the m t u configuration
Return the MTU configuration
func (*Client) GetNetworkSwitchPortSchedules ¶
func (a *Client) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchPortSchedulesOK, error)
GetNetworkSwitchPortSchedules lists switch port schedules
List switch port schedules
func (*Client) GetNetworkSwitchQosRule ¶
func (a *Client) GetNetworkSwitchQosRule(params *GetNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRuleOK, error)
GetNetworkSwitchQosRule returns a quality of service rule
Return a quality of service rule
func (*Client) GetNetworkSwitchQosRules ¶
func (a *Client) GetNetworkSwitchQosRules(params *GetNetworkSwitchQosRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOK, error)
GetNetworkSwitchQosRules lists quality of service rules
List quality of service rules
func (*Client) GetNetworkSwitchQosRulesOrder ¶
func (a *Client) GetNetworkSwitchQosRulesOrder(params *GetNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOrderOK, error)
GetNetworkSwitchQosRulesOrder returns the quality of service rule i ds by order in which they will be processed by the switch
Return the quality of service rule IDs by order in which they will be processed by the switch
func (*Client) GetNetworkSwitchRoutingMulticast ¶
func (a *Client) GetNetworkSwitchRoutingMulticast(params *GetNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastOK, error)
GetNetworkSwitchRoutingMulticast returns multicast settings for a network
Return multicast settings for a network
func (*Client) GetNetworkSwitchRoutingMulticastRendezvousPoint ¶
func (a *Client) GetNetworkSwitchRoutingMulticastRendezvousPoint(params *GetNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointOK, error)
GetNetworkSwitchRoutingMulticastRendezvousPoint returns a multicast rendezvous point
Return a multicast rendezvous point
func (*Client) GetNetworkSwitchRoutingMulticastRendezvousPoints ¶
func (a *Client) GetNetworkSwitchRoutingMulticastRendezvousPoints(params *GetNetworkSwitchRoutingMulticastRendezvousPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK, error)
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 ¶
func (a *Client) GetNetworkSwitchStackRoutingInterfaceDhcp(params *GetNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceDhcpOK, error)
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 ¶
func (a *Client) GetNetworkSwitchStackRoutingInterfaces(params *GetNetworkSwitchStackRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfacesOK, error)
GetNetworkSwitchStackRoutingInterfaces lists layer 3 interfaces for a switch stack
List layer 3 interfaces for a switch stack
func (*Client) GetNetworkSwitchStackRoutingStaticRoute ¶
func (a *Client) GetNetworkSwitchStackRoutingStaticRoute(params *GetNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRouteOK, error)
GetNetworkSwitchStackRoutingStaticRoute returns a layer 3 static route for a switch stack
Return a layer 3 static route for a switch stack
func (*Client) GetNetworkSwitchStackRoutingStaticRoutes ¶
func (a *Client) GetNetworkSwitchStackRoutingStaticRoutes(params *GetNetworkSwitchStackRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRoutesOK, error)
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 ¶
func (a *Client) GetOrganizationConfigTemplateSwitchProfilePort(params *GetOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortOK, error)
GetOrganizationConfigTemplateSwitchProfilePort returns a switch template port
Return a switch template port
func (*Client) GetOrganizationConfigTemplateSwitchProfilePorts ¶
func (a *Client) GetOrganizationConfigTemplateSwitchProfilePorts(params *GetOrganizationConfigTemplateSwitchProfilePortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortsOK, error)
GetOrganizationConfigTemplateSwitchProfilePorts returns all the ports of a switch template
Return all the ports of a switch template
func (*Client) GetOrganizationConfigTemplateSwitchProfiles ¶
func (a *Client) GetOrganizationConfigTemplateSwitchProfiles(params *GetOrganizationConfigTemplateSwitchProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilesOK, error)
GetOrganizationConfigTemplateSwitchProfiles lists the switch templates for your switch template configuration
List the switch templates for your switch template configuration
func (*Client) GetOrganizationSwitchPortsBySwitch ¶
func (a *Client) GetOrganizationSwitchPortsBySwitch(params *GetOrganizationSwitchPortsBySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSwitchPortsBySwitchOK, error)
GetOrganizationSwitchPortsBySwitch lists the switchports in an organization by switch
List the switchports in an organization by switch
func (*Client) RemoveNetworkSwitchStack ¶
func (a *Client) RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNetworkSwitchStackOK, error)
RemoveNetworkSwitchStack removes a switch from a stack
Remove a switch from a stack
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeviceSwitchPort ¶
func (a *Client) UpdateDeviceSwitchPort(params *UpdateDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchPortOK, error)
UpdateDeviceSwitchPort updates a switch port
Update a switch port
func (*Client) UpdateDeviceSwitchRoutingInterface ¶
func (a *Client) UpdateDeviceSwitchRoutingInterface(params *UpdateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceOK, error)
UpdateDeviceSwitchRoutingInterface updates a layer 3 interface for a switch
Update a layer 3 interface for a switch
func (*Client) UpdateDeviceSwitchRoutingInterfaceDhcp ¶
func (a *Client) UpdateDeviceSwitchRoutingInterfaceDhcp(params *UpdateDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceDhcpOK, error)
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 ¶
func (a *Client) UpdateNetworkSwitchAlternateManagementInterface(params *UpdateNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAlternateManagementInterfaceOK, error)
UpdateNetworkSwitchAlternateManagementInterface updates the switch alternate management interface for the network
Update the switch alternate management interface for the network
func (*Client) UpdateNetworkSwitchDhcpServerPolicy ¶
func (a *Client) UpdateNetworkSwitchDhcpServerPolicy(params *UpdateNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyOK, error)
UpdateNetworkSwitchDhcpServerPolicy updates the d h c p server settings
Update the DHCP server settings. Blocked/allowed servers are only applied when default policy is allow/block, respectively
func (*Client) UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (a *Client) UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK, error)
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer updates a server that is trusted by dynamic a r p inspection on this network
Update a server that is trusted by Dynamic ARP Inspection on this network
func (*Client) UpdateNetworkSwitchDscpToCosMappings ¶
func (a *Client) UpdateNetworkSwitchDscpToCosMappings(params *UpdateNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDscpToCosMappingsOK, error)
UpdateNetworkSwitchDscpToCosMappings updates the d s c p to co s mappings
Update the DSCP to CoS mappings
func (*Client) UpdateNetworkSwitchLinkAggregation ¶
func (a *Client) UpdateNetworkSwitchLinkAggregation(params *UpdateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchLinkAggregationOK, error)
UpdateNetworkSwitchLinkAggregation updates a link aggregation group
Update a link aggregation group
func (*Client) UpdateNetworkSwitchMtu ¶
func (a *Client) UpdateNetworkSwitchMtu(params *UpdateNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchMtuOK, error)
UpdateNetworkSwitchMtu updates the m t u configuration
Update the MTU configuration
func (*Client) UpdateNetworkSwitchPortSchedule ¶
func (a *Client) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchPortScheduleOK, error)
UpdateNetworkSwitchPortSchedule updates a switch port schedule
Update a switch port schedule
func (*Client) UpdateNetworkSwitchQosRule ¶
func (a *Client) UpdateNetworkSwitchQosRule(params *UpdateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRuleOK, error)
UpdateNetworkSwitchQosRule updates a quality of service rule
Update a quality of service rule
func (*Client) UpdateNetworkSwitchQosRulesOrder ¶
func (a *Client) UpdateNetworkSwitchQosRulesOrder(params *UpdateNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRulesOrderOK, error)
UpdateNetworkSwitchQosRulesOrder updates the order in which the rules should be processed by the switch
Update the order in which the rules should be processed by the switch
func (*Client) UpdateNetworkSwitchRoutingMulticast ¶
func (a *Client) UpdateNetworkSwitchRoutingMulticast(params *UpdateNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastOK, error)
UpdateNetworkSwitchRoutingMulticast updates multicast settings for a network
Update multicast settings for a network
func (*Client) UpdateNetworkSwitchRoutingMulticastRendezvousPoint ¶
func (a *Client) UpdateNetworkSwitchRoutingMulticastRendezvousPoint(params *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK, error)
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 ¶
func (a *Client) UpdateNetworkSwitchStackRoutingInterface(params *UpdateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceOK, error)
UpdateNetworkSwitchStackRoutingInterface updates a layer 3 interface for a switch stack
Update a layer 3 interface for a switch stack
func (*Client) UpdateNetworkSwitchStackRoutingInterfaceDhcp ¶
func (a *Client) UpdateNetworkSwitchStackRoutingInterfaceDhcp(params *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK, error)
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 ¶
func (a *Client) UpdateNetworkSwitchStackRoutingStaticRoute(params *UpdateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingStaticRouteOK, error)
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 ¶
func (a *Client) UpdateOrganizationConfigTemplateSwitchProfilePort(params *UpdateOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationConfigTemplateSwitchProfilePortOK, error)
UpdateOrganizationConfigTemplateSwitchProfilePort updates a switch template port
Update a switch template port
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { AddNetworkSwitchStack(params *AddNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddNetworkSwitchStackOK, error) CloneOrganizationSwitchDevices(params *CloneOrganizationSwitchDevicesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CloneOrganizationSwitchDevicesOK, error) CreateDeviceSwitchRoutingInterface(params *CreateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingInterfaceCreated, error) CreateDeviceSwitchRoutingStaticRoute(params *CreateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeviceSwitchRoutingStaticRouteCreated, error) CreateNetworkSwitchAccessPolicy(params *CreateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchAccessPolicyCreated, error) CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated, error) CreateNetworkSwitchLinkAggregation(params *CreateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchLinkAggregationCreated, error) CreateNetworkSwitchPortSchedule(params *CreateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchPortScheduleCreated, error) CreateNetworkSwitchQosRule(params *CreateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchQosRuleCreated, error) CreateNetworkSwitchRoutingMulticastRendezvousPoint(params *CreateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated, error) CreateNetworkSwitchStack(params *CreateNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackCreated, error) CreateNetworkSwitchStackRoutingInterface(params *CreateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingInterfaceCreated, error) CreateNetworkSwitchStackRoutingStaticRoute(params *CreateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSwitchStackRoutingStaticRouteCreated, error) CycleDeviceSwitchPorts(params *CycleDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CycleDeviceSwitchPortsOK, error) DeleteDeviceSwitchRoutingInterface(params *DeleteDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingInterfaceNoContent, error) DeleteDeviceSwitchRoutingStaticRoute(params *DeleteDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeviceSwitchRoutingStaticRouteNoContent, error) DeleteNetworkSwitchAccessPolicy(params *DeleteNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchAccessPolicyNoContent, error) DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent, error) DeleteNetworkSwitchLinkAggregation(params *DeleteNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchLinkAggregationNoContent, error) DeleteNetworkSwitchPortSchedule(params *DeleteNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchPortScheduleNoContent, error) DeleteNetworkSwitchQosRule(params *DeleteNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchQosRuleNoContent, error) DeleteNetworkSwitchRoutingMulticastRendezvousPoint(params *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent, error) DeleteNetworkSwitchStack(params *DeleteNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackNoContent, error) DeleteNetworkSwitchStackRoutingInterface(params *DeleteNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingInterfaceNoContent, error) DeleteNetworkSwitchStackRoutingStaticRoute(params *DeleteNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent, error) GetDeviceSwitchPort(params *GetDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortOK, error) GetDeviceSwitchPorts(params *GetDeviceSwitchPortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsOK, error) GetDeviceSwitchPortsStatuses(params *GetDeviceSwitchPortsStatusesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesOK, error) GetDeviceSwitchPortsStatusesPackets(params *GetDeviceSwitchPortsStatusesPacketsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchPortsStatusesPacketsOK, error) GetDeviceSwitchRoutingInterface(params *GetDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceOK, error) GetDeviceSwitchRoutingInterfaceDhcp(params *GetDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfaceDhcpOK, error) GetDeviceSwitchRoutingInterfaces(params *GetDeviceSwitchRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingInterfacesOK, error) GetDeviceSwitchRoutingStaticRoute(params *GetDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRouteOK, error) GetDeviceSwitchRoutingStaticRoutes(params *GetDeviceSwitchRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchRoutingStaticRoutesOK, error) GetDeviceSwitchWarmSpare(params *GetDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSwitchWarmSpareOK, error) GetNetworkSwitchAccessControlLists(params *GetNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessControlListsOK, error) GetNetworkSwitchAccessPolicies(params *GetNetworkSwitchAccessPoliciesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPoliciesOK, error) GetNetworkSwitchAccessPolicy(params *GetNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAccessPolicyOK, error) GetNetworkSwitchAlternateManagementInterface(params *GetNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchAlternateManagementInterfaceOK, error) GetNetworkSwitchDhcpServerPolicy(params *GetNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyOK, error) GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers(params *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK, error) GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice(params *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK, error) GetNetworkSwitchDhcpV4ServersSeen(params *GetNetworkSwitchDhcpV4ServersSeenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDhcpV4ServersSeenOK, error) GetNetworkSwitchDscpToCosMappings(params *GetNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchDscpToCosMappingsOK, error) GetNetworkSwitchLinkAggregations(params *GetNetworkSwitchLinkAggregationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchLinkAggregationsOK, error) GetNetworkSwitchMtu(params *GetNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchMtuOK, error) GetNetworkSwitchPortSchedules(params *GetNetworkSwitchPortSchedulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchPortSchedulesOK, error) GetNetworkSwitchQosRule(params *GetNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRuleOK, error) GetNetworkSwitchQosRules(params *GetNetworkSwitchQosRulesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOK, error) GetNetworkSwitchQosRulesOrder(params *GetNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchQosRulesOrderOK, error) GetNetworkSwitchRoutingMulticast(params *GetNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastOK, error) GetNetworkSwitchRoutingMulticastRendezvousPoint(params *GetNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointOK, error) GetNetworkSwitchRoutingMulticastRendezvousPoints(params *GetNetworkSwitchRoutingMulticastRendezvousPointsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK, error) GetNetworkSwitchRoutingOspf(params *GetNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchRoutingOspfOK, error) GetNetworkSwitchSettings(params *GetNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchSettingsOK, error) GetNetworkSwitchStack(params *GetNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackOK, error) GetNetworkSwitchStackRoutingInterface(params *GetNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceOK, error) GetNetworkSwitchStackRoutingInterfaceDhcp(params *GetNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfaceDhcpOK, error) GetNetworkSwitchStackRoutingInterfaces(params *GetNetworkSwitchStackRoutingInterfacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingInterfacesOK, error) GetNetworkSwitchStackRoutingStaticRoute(params *GetNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRouteOK, error) GetNetworkSwitchStackRoutingStaticRoutes(params *GetNetworkSwitchStackRoutingStaticRoutesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStackRoutingStaticRoutesOK, error) GetNetworkSwitchStacks(params *GetNetworkSwitchStacksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStacksOK, error) GetNetworkSwitchStormControl(params *GetNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStormControlOK, error) GetNetworkSwitchStp(params *GetNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSwitchStpOK, error) GetOrganizationConfigTemplateSwitchProfilePort(params *GetOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortOK, error) GetOrganizationConfigTemplateSwitchProfilePorts(params *GetOrganizationConfigTemplateSwitchProfilePortsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilePortsOK, error) GetOrganizationConfigTemplateSwitchProfiles(params *GetOrganizationConfigTemplateSwitchProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationConfigTemplateSwitchProfilesOK, error) GetOrganizationSwitchPortsBySwitch(params *GetOrganizationSwitchPortsBySwitchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSwitchPortsBySwitchOK, error) RemoveNetworkSwitchStack(params *RemoveNetworkSwitchStackParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RemoveNetworkSwitchStackOK, error) UpdateDeviceSwitchPort(params *UpdateDeviceSwitchPortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchPortOK, error) UpdateDeviceSwitchRoutingInterface(params *UpdateDeviceSwitchRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceOK, error) UpdateDeviceSwitchRoutingInterfaceDhcp(params *UpdateDeviceSwitchRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingInterfaceDhcpOK, error) UpdateDeviceSwitchRoutingStaticRoute(params *UpdateDeviceSwitchRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchRoutingStaticRouteOK, error) UpdateDeviceSwitchWarmSpare(params *UpdateDeviceSwitchWarmSpareParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSwitchWarmSpareOK, error) UpdateNetworkSwitchAccessControlLists(params *UpdateNetworkSwitchAccessControlListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessControlListsOK, error) UpdateNetworkSwitchAccessPolicy(params *UpdateNetworkSwitchAccessPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAccessPolicyOK, error) UpdateNetworkSwitchAlternateManagementInterface(params *UpdateNetworkSwitchAlternateManagementInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchAlternateManagementInterfaceOK, error) UpdateNetworkSwitchDhcpServerPolicy(params *UpdateNetworkSwitchDhcpServerPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyOK, error) UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(params *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK, error) UpdateNetworkSwitchDscpToCosMappings(params *UpdateNetworkSwitchDscpToCosMappingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchDscpToCosMappingsOK, error) UpdateNetworkSwitchLinkAggregation(params *UpdateNetworkSwitchLinkAggregationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchLinkAggregationOK, error) UpdateNetworkSwitchMtu(params *UpdateNetworkSwitchMtuParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchMtuOK, error) UpdateNetworkSwitchPortSchedule(params *UpdateNetworkSwitchPortScheduleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchPortScheduleOK, error) UpdateNetworkSwitchQosRule(params *UpdateNetworkSwitchQosRuleParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRuleOK, error) UpdateNetworkSwitchQosRulesOrder(params *UpdateNetworkSwitchQosRulesOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchQosRulesOrderOK, error) UpdateNetworkSwitchRoutingMulticast(params *UpdateNetworkSwitchRoutingMulticastParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastOK, error) UpdateNetworkSwitchRoutingMulticastRendezvousPoint(params *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK, error) UpdateNetworkSwitchRoutingOspf(params *UpdateNetworkSwitchRoutingOspfParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchRoutingOspfOK, error) UpdateNetworkSwitchSettings(params *UpdateNetworkSwitchSettingsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchSettingsOK, error) UpdateNetworkSwitchStackRoutingInterface(params *UpdateNetworkSwitchStackRoutingInterfaceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceOK, error) UpdateNetworkSwitchStackRoutingInterfaceDhcp(params *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK, error) UpdateNetworkSwitchStackRoutingStaticRoute(params *UpdateNetworkSwitchStackRoutingStaticRouteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStackRoutingStaticRouteOK, error) UpdateNetworkSwitchStormControl(params *UpdateNetworkSwitchStormControlParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStormControlOK, error) UpdateNetworkSwitchStp(params *UpdateNetworkSwitchStpParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSwitchStpOK, error) UpdateOrganizationConfigTemplateSwitchProfilePort(params *UpdateOrganizationConfigTemplateSwitchProfilePortParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationConfigTemplateSwitchProfilePortOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new switch operations API client.
type CloneOrganizationSwitchDevicesBody ¶
type CloneOrganizationSwitchDevicesBody struct { // Serial number of the source switch (must be on a network not bound to a template) // Required: true SourceSerial *string `json:"sourceSerial"` // Array of serial numbers of one or more target switches (must be on a network not bound to a template) // Required: true TargetSerials []string `json:"targetSerials"` }
CloneOrganizationSwitchDevicesBody clone organization switch devices body // Example: {"sourceSerial":"Q234-ABCD-5678","targetSerials":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]} swagger:model CloneOrganizationSwitchDevicesBody
func (*CloneOrganizationSwitchDevicesBody) ContextValidate ¶
func (o *CloneOrganizationSwitchDevicesBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this clone organization switch devices body based on context it is used
func (*CloneOrganizationSwitchDevicesBody) MarshalBinary ¶
func (o *CloneOrganizationSwitchDevicesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CloneOrganizationSwitchDevicesBody) UnmarshalBinary ¶
func (o *CloneOrganizationSwitchDevicesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CloneOrganizationSwitchDevicesOK ¶
type CloneOrganizationSwitchDevicesOK struct {
Payload interface{}
}
CloneOrganizationSwitchDevicesOK describes a response with status code 200, with default header values.
Successful operation
func NewCloneOrganizationSwitchDevicesOK ¶
func NewCloneOrganizationSwitchDevicesOK() *CloneOrganizationSwitchDevicesOK
NewCloneOrganizationSwitchDevicesOK creates a CloneOrganizationSwitchDevicesOK with default headers values
func (*CloneOrganizationSwitchDevicesOK) Code ¶
func (o *CloneOrganizationSwitchDevicesOK) Code() int
Code gets the status code for the clone organization switch devices o k response
func (*CloneOrganizationSwitchDevicesOK) Error ¶
func (o *CloneOrganizationSwitchDevicesOK) Error() string
func (*CloneOrganizationSwitchDevicesOK) GetPayload ¶
func (o *CloneOrganizationSwitchDevicesOK) GetPayload() interface{}
func (*CloneOrganizationSwitchDevicesOK) IsClientError ¶
func (o *CloneOrganizationSwitchDevicesOK) IsClientError() bool
IsClientError returns true when this clone organization switch devices o k response has a 4xx status code
func (*CloneOrganizationSwitchDevicesOK) IsCode ¶
func (o *CloneOrganizationSwitchDevicesOK) IsCode(code int) bool
IsCode returns true when this clone organization switch devices o k response a status code equal to that given
func (*CloneOrganizationSwitchDevicesOK) IsRedirect ¶
func (o *CloneOrganizationSwitchDevicesOK) IsRedirect() bool
IsRedirect returns true when this clone organization switch devices o k response has a 3xx status code
func (*CloneOrganizationSwitchDevicesOK) IsServerError ¶
func (o *CloneOrganizationSwitchDevicesOK) IsServerError() bool
IsServerError returns true when this clone organization switch devices o k response has a 5xx status code
func (*CloneOrganizationSwitchDevicesOK) IsSuccess ¶
func (o *CloneOrganizationSwitchDevicesOK) IsSuccess() bool
IsSuccess returns true when this clone organization switch devices o k response has a 2xx status code
func (*CloneOrganizationSwitchDevicesOK) String ¶
func (o *CloneOrganizationSwitchDevicesOK) String() string
type CloneOrganizationSwitchDevicesParams ¶
type CloneOrganizationSwitchDevicesParams struct { // CloneOrganizationSwitchDevices. CloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody /* OrganizationID. Organization ID */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CloneOrganizationSwitchDevicesParams contains all the parameters to send to the API endpoint
for the clone organization switch devices operation. Typically these are written to a http.Request.
func NewCloneOrganizationSwitchDevicesParams ¶
func NewCloneOrganizationSwitchDevicesParams() *CloneOrganizationSwitchDevicesParams
NewCloneOrganizationSwitchDevicesParams creates a new CloneOrganizationSwitchDevicesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCloneOrganizationSwitchDevicesParamsWithContext ¶
func NewCloneOrganizationSwitchDevicesParamsWithContext(ctx context.Context) *CloneOrganizationSwitchDevicesParams
NewCloneOrganizationSwitchDevicesParamsWithContext creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a context for a request.
func NewCloneOrganizationSwitchDevicesParamsWithHTTPClient ¶
func NewCloneOrganizationSwitchDevicesParamsWithHTTPClient(client *http.Client) *CloneOrganizationSwitchDevicesParams
NewCloneOrganizationSwitchDevicesParamsWithHTTPClient creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a custom HTTPClient for a request.
func NewCloneOrganizationSwitchDevicesParamsWithTimeout ¶
func NewCloneOrganizationSwitchDevicesParamsWithTimeout(timeout time.Duration) *CloneOrganizationSwitchDevicesParams
NewCloneOrganizationSwitchDevicesParamsWithTimeout creates a new CloneOrganizationSwitchDevicesParams object with the ability to set a timeout on a request.
func (*CloneOrganizationSwitchDevicesParams) SetCloneOrganizationSwitchDevices ¶
func (o *CloneOrganizationSwitchDevicesParams) SetCloneOrganizationSwitchDevices(cloneOrganizationSwitchDevices CloneOrganizationSwitchDevicesBody)
SetCloneOrganizationSwitchDevices adds the cloneOrganizationSwitchDevices to the clone organization switch devices params
func (*CloneOrganizationSwitchDevicesParams) SetContext ¶
func (o *CloneOrganizationSwitchDevicesParams) SetContext(ctx context.Context)
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 ¶
func (o *CloneOrganizationSwitchDevicesParams) WithContext(ctx context.Context) *CloneOrganizationSwitchDevicesParams
WithContext adds the context to the clone organization switch devices params
func (*CloneOrganizationSwitchDevicesParams) WithDefaults ¶
func (o *CloneOrganizationSwitchDevicesParams) WithDefaults() *CloneOrganizationSwitchDevicesParams
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 ¶
func (o *CloneOrganizationSwitchDevicesParams) WithHTTPClient(client *http.Client) *CloneOrganizationSwitchDevicesParams
WithHTTPClient adds the HTTPClient to the clone organization switch devices params
func (*CloneOrganizationSwitchDevicesParams) WithOrganizationID ¶
func (o *CloneOrganizationSwitchDevicesParams) WithOrganizationID(organizationID string) *CloneOrganizationSwitchDevicesParams
WithOrganizationID adds the organizationID to the clone organization switch devices params
func (*CloneOrganizationSwitchDevicesParams) WithTimeout ¶
func (o *CloneOrganizationSwitchDevicesParams) WithTimeout(timeout time.Duration) *CloneOrganizationSwitchDevicesParams
WithTimeout adds the timeout to the clone organization switch devices params
func (*CloneOrganizationSwitchDevicesParams) WriteToRequest ¶
func (o *CloneOrganizationSwitchDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CloneOrganizationSwitchDevicesReader ¶
type CloneOrganizationSwitchDevicesReader struct {
// contains filtered or unexported fields
}
CloneOrganizationSwitchDevicesReader is a Reader for the CloneOrganizationSwitchDevices structure.
func (*CloneOrganizationSwitchDevicesReader) ReadResponse ¶
func (o *CloneOrganizationSwitchDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDeviceSwitchRoutingInterfaceBody ¶
type CreateDeviceSwitchRoutingInterfaceBody struct { // The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface. Required if this is the first IPv4 interface. DefaultGateway string `json:"defaultGateway,omitempty"` // The IP address this switch will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP. InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"` // Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. // Enum: [IGMP snooping querier disabled enabled] MulticastRouting string `json:"multicastRouting,omitempty"` // A friendly name or description for the interface or VLAN. Name string `json:"name,omitempty"` // ospf settings OspfSettings *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 `json:"ospfV3,omitempty"` // The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24). Subnet string `json:"subnet,omitempty"` // The VLAN this routed interface is on. VLAN must be between 1 and 4094. VlanID int64 `json:"vlanId,omitempty"` }
CreateDeviceSwitchRoutingInterfaceBody create device switch routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model CreateDeviceSwitchRoutingInterfaceBody
func (*CreateDeviceSwitchRoutingInterfaceBody) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type CreateDeviceSwitchRoutingInterfaceCreated ¶
type CreateDeviceSwitchRoutingInterfaceCreated struct {
Payload *CreateDeviceSwitchRoutingInterfaceCreatedBody
}
CreateDeviceSwitchRoutingInterfaceCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateDeviceSwitchRoutingInterfaceCreated ¶
func NewCreateDeviceSwitchRoutingInterfaceCreated() *CreateDeviceSwitchRoutingInterfaceCreated
NewCreateDeviceSwitchRoutingInterfaceCreated creates a CreateDeviceSwitchRoutingInterfaceCreated with default headers values
func (*CreateDeviceSwitchRoutingInterfaceCreated) Code ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) Code() int
Code gets the status code for the create device switch routing interface created response
func (*CreateDeviceSwitchRoutingInterfaceCreated) Error ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) Error() string
func (*CreateDeviceSwitchRoutingInterfaceCreated) GetPayload ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) GetPayload() *CreateDeviceSwitchRoutingInterfaceCreatedBody
func (*CreateDeviceSwitchRoutingInterfaceCreated) IsClientError ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsClientError() bool
IsClientError returns true when this create device switch routing interface created response has a 4xx status code
func (*CreateDeviceSwitchRoutingInterfaceCreated) IsCode ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsCode(code int) bool
IsCode returns true when this create device switch routing interface created response a status code equal to that given
func (*CreateDeviceSwitchRoutingInterfaceCreated) IsRedirect ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsRedirect() bool
IsRedirect returns true when this create device switch routing interface created response has a 3xx status code
func (*CreateDeviceSwitchRoutingInterfaceCreated) IsServerError ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsServerError() bool
IsServerError returns true when this create device switch routing interface created response has a 5xx status code
func (*CreateDeviceSwitchRoutingInterfaceCreated) IsSuccess ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) IsSuccess() bool
IsSuccess returns true when this create device switch routing interface created response has a 2xx status code
func (*CreateDeviceSwitchRoutingInterfaceCreated) String ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreated) String() string
type CreateDeviceSwitchRoutingInterfaceCreatedBody ¶
type CreateDeviceSwitchRoutingInterfaceCreatedBody struct { // IPv4 default gateway DefaultGateway string `json:"defaultGateway,omitempty"` // The id InterfaceID string `json:"interfaceId,omitempty"` // IPv4 address InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 `json:"ipv6,omitempty"` // Multicast routing status MulticastRouting string `json:"multicastRouting,omitempty"` // The name Name string `json:"name,omitempty"` // ospf settings OspfSettings *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 `json:"ospfV3,omitempty"` // IPv4 subnet Subnet string `json:"subnet,omitempty"` // VLAN id VlanID int64 `json:"vlanId,omitempty"` }
CreateDeviceSwitchRoutingInterfaceCreatedBody create device switch routing interface created body swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBody
func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create device switch routing interface created body based on the context it is used
func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceCreatedBody) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 ¶
type CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 struct { // IPv6 address Address string `json:"address,omitempty"` // Assignment mode AssignmentMode string `json:"assignmentMode,omitempty"` // IPv6 gateway Gateway string `json:"gateway,omitempty"` // IPv6 subnet Prefix string `json:"prefix,omitempty"` }
CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6 IPv6 addressing swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface created body IP v6 based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings ¶
type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv4 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings IPv4 OSPF Settings swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface created body ospf settings based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 ¶
type CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv6 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3 IPv6 OSPF Settings swagger:model CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface created body ospf v3 based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceCreatedBodyOspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceSwitchRoutingInterfaceParams ¶
type CreateDeviceSwitchRoutingInterfaceParams struct { // CreateDeviceSwitchRoutingInterface. CreateDeviceSwitchRoutingInterface CreateDeviceSwitchRoutingInterfaceBody /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the create device switch routing interface operation. Typically these are written to a http.Request.
func NewCreateDeviceSwitchRoutingInterfaceParams ¶
func NewCreateDeviceSwitchRoutingInterfaceParams() *CreateDeviceSwitchRoutingInterfaceParams
NewCreateDeviceSwitchRoutingInterfaceParams creates a new CreateDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDeviceSwitchRoutingInterfaceParamsWithContext ¶
func NewCreateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingInterfaceParams
NewCreateDeviceSwitchRoutingInterfaceParamsWithContext creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.
func NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient ¶
func NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingInterfaceParams
NewCreateDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout ¶
func NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingInterfaceParams
NewCreateDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new CreateDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*CreateDeviceSwitchRoutingInterfaceParams) SetContext ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create device switch routing interface params
func (*CreateDeviceSwitchRoutingInterfaceParams) WithContext ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *CreateDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WithDefaults() *CreateDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the create device switch routing interface params
func (*CreateDeviceSwitchRoutingInterfaceParams) WithSerial ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *CreateDeviceSwitchRoutingInterfaceParams
WithSerial adds the serial to the create device switch routing interface params
func (*CreateDeviceSwitchRoutingInterfaceParams) WithTimeout ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingInterfaceParams
WithTimeout adds the timeout to the create device switch routing interface params
func (*CreateDeviceSwitchRoutingInterfaceParams) WriteToRequest ¶
func (o *CreateDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface params body IP v6 based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface params body ospf settings based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 ¶
type CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 struct { // The OSPFv3 area to which this interface should belong. Can be either 'disabled' or the identifier of an existing OSPFv3 area. Defaults to 'disabled'. Area string `json:"area,omitempty"` // The path cost for this interface. Defaults to 1, but can be increased up to 65535 to give lower priority. Cost int64 `json:"cost,omitempty"` // When enabled, OSPFv3 will not run on the interface, but the subnet will still be advertised. IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 The OSPFv3 routing settings of the interface. swagger:model CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create device switch routing interface params body ospf v3 based on context it is used
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary ¶
func (o *CreateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateDeviceSwitchRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type CreateDeviceSwitchRoutingStaticRouteCreated ¶
type CreateDeviceSwitchRoutingStaticRouteCreated struct {
Payload interface{}
}
CreateDeviceSwitchRoutingStaticRouteCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateDeviceSwitchRoutingStaticRouteCreated ¶
func NewCreateDeviceSwitchRoutingStaticRouteCreated() *CreateDeviceSwitchRoutingStaticRouteCreated
NewCreateDeviceSwitchRoutingStaticRouteCreated creates a CreateDeviceSwitchRoutingStaticRouteCreated with default headers values
func (*CreateDeviceSwitchRoutingStaticRouteCreated) Code ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) Code() int
Code gets the status code for the create device switch routing static route created response
func (*CreateDeviceSwitchRoutingStaticRouteCreated) Error ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) Error() string
func (*CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) GetPayload() interface{}
func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsClientError ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsClientError() bool
IsClientError returns true when this create device switch routing static route created response has a 4xx status code
func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsCode ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsCode(code int) bool
IsCode returns true when this create device switch routing static route created response a status code equal to that given
func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsRedirect ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsRedirect() bool
IsRedirect returns true when this create device switch routing static route created response has a 3xx status code
func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsServerError ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsServerError() bool
IsServerError returns true when this create device switch routing static route created response has a 5xx status code
func (*CreateDeviceSwitchRoutingStaticRouteCreated) IsSuccess ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) IsSuccess() bool
IsSuccess returns true when this create device switch routing static route created response has a 2xx status code
func (*CreateDeviceSwitchRoutingStaticRouteCreated) String ¶
func (o *CreateDeviceSwitchRoutingStaticRouteCreated) String() string
type CreateDeviceSwitchRoutingStaticRouteParams ¶
type CreateDeviceSwitchRoutingStaticRouteParams struct { // CreateDeviceSwitchRoutingStaticRoute. CreateDeviceSwitchRoutingStaticRoute CreateDeviceSwitchRoutingStaticRouteBody /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the create device switch routing static route operation. Typically these are written to a http.Request.
func NewCreateDeviceSwitchRoutingStaticRouteParams ¶
func NewCreateDeviceSwitchRoutingStaticRouteParams() *CreateDeviceSwitchRoutingStaticRouteParams
NewCreateDeviceSwitchRoutingStaticRouteParams creates a new CreateDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext ¶
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateDeviceSwitchRoutingStaticRouteParams
NewCreateDeviceSwitchRoutingStaticRouteParamsWithContext creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient ¶
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingStaticRouteParams
NewCreateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout ¶
func NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingStaticRouteParams
NewCreateDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new CreateDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*CreateDeviceSwitchRoutingStaticRouteParams) SetContext ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
SetSerial adds the serial to the create device switch routing static route params
func (*CreateDeviceSwitchRoutingStaticRouteParams) SetTimeout ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create device switch routing static route params
func (*CreateDeviceSwitchRoutingStaticRouteParams) WithContext ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *CreateDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithDefaults() *CreateDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *CreateDeviceSwitchRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the create device switch routing static route params
func (*CreateDeviceSwitchRoutingStaticRouteParams) WithSerial ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *CreateDeviceSwitchRoutingStaticRouteParams
WithSerial adds the serial to the create device switch routing static route params
func (*CreateDeviceSwitchRoutingStaticRouteParams) WithTimeout ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *CreateDeviceSwitchRoutingStaticRouteParams
WithTimeout adds the timeout to the create device switch routing static route params
func (*CreateDeviceSwitchRoutingStaticRouteParams) WriteToRequest ¶
func (o *CreateDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeviceSwitchRoutingStaticRouteReader ¶
type CreateDeviceSwitchRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
CreateDeviceSwitchRoutingStaticRouteReader is a Reader for the CreateDeviceSwitchRoutingStaticRoute structure.
func (*CreateDeviceSwitchRoutingStaticRouteReader) ReadResponse ¶
func (o *CreateDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNetworkSwitchAccessPolicyBody ¶
type CreateNetworkSwitchAccessPolicyBody struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *CreateNetworkSwitchAccessPolicyParamsBodyDot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Required: true // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode *string `json:"hostMode"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy // Required: true Name *string `json:"name"` // radius Radius *CreateNetworkSwitchAccessPolicyParamsBodyRadius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients // Required: true RadiusAccountingEnabled *bool `json:"radiusAccountingEnabled"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection // Required: true RadiusCoaSupportEnabled *bool `json:"radiusCoaSupportEnabled"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access // Required: true RadiusServers []*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers // Required: true RadiusTestingEnabled *bool `json:"radiusTestingEnabled"` // Enable to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication // Required: true URLRedirectWalledGardenEnabled *bool `json:"urlRedirectWalledGardenEnabled"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
CreateNetworkSwitchAccessPolicyBody create network switch access policy body // Example: {"accessPolicyType":"Hybrid authentication","dot1x":{"controlDirection":"inbound"},"guestPortBouncing":false,"guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120},"radiusAccountingEnabled":true,"radiusAccountingServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusCoaSupportEnabled":false,"radiusGroupAttribute":"11","radiusServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusTestingEnabled":false,"urlRedirectWalledGardenEnabled":true,"urlRedirectWalledGardenRanges":["192.168.1.0/24"],"voiceVlanClients":true} swagger:model CreateNetworkSwitchAccessPolicyBody
func (*CreateNetworkSwitchAccessPolicyBody) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch access policy body based on the context it is used
func (*CreateNetworkSwitchAccessPolicyBody) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyCreated ¶
type CreateNetworkSwitchAccessPolicyCreated struct {
Payload *CreateNetworkSwitchAccessPolicyCreatedBody
}
CreateNetworkSwitchAccessPolicyCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchAccessPolicyCreated ¶
func NewCreateNetworkSwitchAccessPolicyCreated() *CreateNetworkSwitchAccessPolicyCreated
NewCreateNetworkSwitchAccessPolicyCreated creates a CreateNetworkSwitchAccessPolicyCreated with default headers values
func (*CreateNetworkSwitchAccessPolicyCreated) Code ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) Code() int
Code gets the status code for the create network switch access policy created response
func (*CreateNetworkSwitchAccessPolicyCreated) Error ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) Error() string
func (*CreateNetworkSwitchAccessPolicyCreated) GetPayload ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) GetPayload() *CreateNetworkSwitchAccessPolicyCreatedBody
func (*CreateNetworkSwitchAccessPolicyCreated) IsClientError ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) IsClientError() bool
IsClientError returns true when this create network switch access policy created response has a 4xx status code
func (*CreateNetworkSwitchAccessPolicyCreated) IsCode ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) IsCode(code int) bool
IsCode returns true when this create network switch access policy created response a status code equal to that given
func (*CreateNetworkSwitchAccessPolicyCreated) IsRedirect ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) IsRedirect() bool
IsRedirect returns true when this create network switch access policy created response has a 3xx status code
func (*CreateNetworkSwitchAccessPolicyCreated) IsServerError ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) IsServerError() bool
IsServerError returns true when this create network switch access policy created response has a 5xx status code
func (*CreateNetworkSwitchAccessPolicyCreated) IsSuccess ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) IsSuccess() bool
IsSuccess returns true when this create network switch access policy created response has a 2xx status code
func (*CreateNetworkSwitchAccessPolicyCreated) String ¶
func (o *CreateNetworkSwitchAccessPolicyCreated) String() string
type CreateNetworkSwitchAccessPolicyCreatedBody ¶
type CreateNetworkSwitchAccessPolicyCreatedBody struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode string `json:"hostMode,omitempty"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy Name string `json:"name,omitempty"` // radius Radius *CreateNetworkSwitchAccessPolicyCreatedBodyRadius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access RadiusServers []*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"` // Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBody create network switch access policy created body swagger:model CreateNetworkSwitchAccessPolicyCreatedBody
func (*CreateNetworkSwitchAccessPolicyCreatedBody) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch access policy created body based on the context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBody) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyCreatedBodyDot1x ¶
type CreateNetworkSwitchAccessPolicyCreatedBodyDot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBodyDot1x 802.1x Settings swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyDot1x
func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy created body dot1x based on context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyDot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyCreatedBodyRadius ¶
type CreateNetworkSwitchAccessPolicyCreatedBodyRadius struct { // critical auth CriticalAuth *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBodyRadius Object for RADIUS Settings swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadius
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch access policy created body radius based on the context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadius) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 ¶
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 struct { // Public IP address of the RADIUS accounting server Host string `json:"host,omitempty"` // UDP port that the RADIUS Accounting server listens on for access requests Port int64 `json:"port,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0 create network switch access policy created body radius accounting servers items0 swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy created body radius accounting servers items0 based on context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) Validate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
Validate validates this create network switch access policy created body radius accounting servers items0
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth ¶
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth struct { // VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth DataVlanID int64 `json:"dataVlanId,omitempty"` // Enable to suspend port bounce when RADIUS servers are unreachable SuspendPortBounce bool `json:"suspendPortBounce,omitempty"` // VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth VoiceVlanID int64 `json:"voiceVlanId,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy created body radius critical auth based on context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 ¶
type CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 struct { // Public IP address of the RADIUS server Host string `json:"host,omitempty"` // UDP port that the RADIUS server listens on for access requests Port int64 `json:"port,omitempty"` }
CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0 create network switch access policy created body radius servers items0 swagger:model CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy created body radius servers items0 based on context it is used
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyCreatedBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyParams ¶
type CreateNetworkSwitchAccessPolicyParams struct { // CreateNetworkSwitchAccessPolicy. CreateNetworkSwitchAccessPolicy CreateNetworkSwitchAccessPolicyBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint
for the create network switch access policy operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchAccessPolicyParams ¶
func NewCreateNetworkSwitchAccessPolicyParams() *CreateNetworkSwitchAccessPolicyParams
NewCreateNetworkSwitchAccessPolicyParams creates a new CreateNetworkSwitchAccessPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchAccessPolicyParamsWithContext ¶
func NewCreateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *CreateNetworkSwitchAccessPolicyParams
NewCreateNetworkSwitchAccessPolicyParamsWithContext creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient ¶
func NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchAccessPolicyParams
NewCreateNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchAccessPolicyParamsWithTimeout ¶
func NewCreateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchAccessPolicyParams
NewCreateNetworkSwitchAccessPolicyParamsWithTimeout creates a new CreateNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchAccessPolicyParams) SetContext ¶
func (o *CreateNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *CreateNetworkSwitchAccessPolicyParams
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WithDefaults() *CreateNetworkSwitchAccessPolicyParams
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchAccessPolicyParams
WithHTTPClient adds the HTTPClient to the create network switch access policy params
func (*CreateNetworkSwitchAccessPolicyParams) WithNetworkID ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *CreateNetworkSwitchAccessPolicyParams
WithNetworkID adds the networkID to the create network switch access policy params
func (*CreateNetworkSwitchAccessPolicyParams) WithTimeout ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchAccessPolicyParams
WithTimeout adds the timeout to the create network switch access policy params
func (*CreateNetworkSwitchAccessPolicyParams) WriteToRequest ¶
func (o *CreateNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkSwitchAccessPolicyParamsBodyDot1x ¶
type CreateNetworkSwitchAccessPolicyParamsBodyDot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
CreateNetworkSwitchAccessPolicyParamsBodyDot1x 802.1x Settings swagger:model CreateNetworkSwitchAccessPolicyParamsBodyDot1x
func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy params body dot1x based on context it is used
func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyParamsBodyRadius ¶
type CreateNetworkSwitchAccessPolicyParamsBodyRadius struct { // critical auth CriticalAuth *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
CreateNetworkSwitchAccessPolicyParamsBodyRadius Object for RADIUS Settings swagger:model CreateNetworkSwitchAccessPolicyParamsBodyRadius
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch access policy params body radius based on the context it is used
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy params body radius accounting servers items0 based on context it is used
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy params body radius critical auth based on context it is used
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch access policy params body radius servers items0 based on context it is used
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchAccessPolicyReader ¶
type CreateNetworkSwitchAccessPolicyReader struct {
// contains filtered or unexported fields
}
CreateNetworkSwitchAccessPolicyReader is a Reader for the CreateNetworkSwitchAccessPolicy structure.
func (*CreateNetworkSwitchAccessPolicyReader) ReadResponse ¶
func (o *CreateNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody struct { // ipv4 // Required: true IPV4 *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 `json:"ipv4"` // The mac address of the trusted server being added // Required: true Mac *string `json:"mac"` // The VLAN of the trusted server being added. It must be between 1 and 4094 // Required: true Vlan *int64 `json:"vlan"` }
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody create network switch dhcp server policy arp inspection trusted server body // Example: {"ipv4":{"address":"1.2.3.4"},"mac":"00:11:22:33:44:55","vlan":100} swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch dhcp server policy arp inspection trusted server body based on the context it is used
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate(formats strfmt.Registry) error
Validate validates this create network switch dhcp server policy arp inspection trusted server body
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated struct {
Payload *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody
}
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated ¶
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated
NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated creates a CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated with default headers values
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Code ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Code() int
Code gets the status code for the create network switch dhcp server policy arp inspection trusted server created response
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Error ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) Error() string
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) GetPayload ¶
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsClientError ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsClientError() bool
IsClientError returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 4xx status code
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsCode ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsCode(code int) bool
IsCode returns true when this create network switch dhcp server policy arp inspection trusted server created response a status code equal to that given
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsRedirect ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsRedirect() bool
IsRedirect returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 3xx status code
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsServerError ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsServerError() bool
IsServerError returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 5xx status code
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsSuccess ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) IsSuccess() bool
IsSuccess returns true when this create network switch dhcp server policy arp inspection trusted server created response has a 2xx status code
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) String ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreated) String() string
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody struct { // ipv4 IPV4 *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 `json:"ipv4,omitempty"` // Mac address of the trusted server. Mac string `json:"mac,omitempty"` // ID of the trusted server. TrustedServerID string `json:"trustedServerId,omitempty"` // Vlan ID of the trusted server. Vlan int64 `json:"vlan,omitempty"` }
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody create network switch dhcp server policy arp inspection trusted server created body swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) ContextValidate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch dhcp server policy arp inspection trusted server created body based on the context it is used
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) MarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) Validate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBody) Validate(formats strfmt.Registry) error
Validate validates this create network switch dhcp server policy arp inspection trusted server created body
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 struct { // IPv4 address of the trusted server. Address string `json:"address,omitempty"` }
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4 IPv4 attributes of the trusted server. swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) ContextValidate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch dhcp server policy arp inspection trusted server created body IP v4 based on context it is used
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) MarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) UnmarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) Validate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerCreatedBodyIPV4) Validate(formats strfmt.Registry) error
Validate validates this create network switch dhcp server policy arp inspection trusted server created body IP v4
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct { // CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer. CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint
for the create network switch dhcp server policy arp inspection trusted server operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext ¶
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient ¶
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout ¶
func NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
SetContext adds the context to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody)
SetCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
SetDefaults hydrates default values in the create network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithContext adds the context to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithCreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the createNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithDefaults hydrates default values in the create network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithHTTPClient adds the HTTPClient to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithNetworkID adds the networkID to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithTimeout adds the timeout to the create network switch dhcp server policy arp inspection trusted server params
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 struct { // The IPv4 address of the trusted server being added Address string `json:"address,omitempty"` }
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 The IPv4 attributes of the trusted server being added swagger:model CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch dhcp server policy arp inspection trusted server params body IP v4 based on context it is used
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate(formats strfmt.Registry) error
Validate validates this create network switch dhcp server policy arp inspection trusted server params body IP v4
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader ¶
type CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
// contains filtered or unexported fields
}
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.
func (*CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse ¶
func (o *CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) 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 ¶
func (o *CreateNetworkSwitchLinkAggregationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type CreateNetworkSwitchLinkAggregationCreated ¶
type CreateNetworkSwitchLinkAggregationCreated struct {
Payload interface{}
}
CreateNetworkSwitchLinkAggregationCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchLinkAggregationCreated ¶
func NewCreateNetworkSwitchLinkAggregationCreated() *CreateNetworkSwitchLinkAggregationCreated
NewCreateNetworkSwitchLinkAggregationCreated creates a CreateNetworkSwitchLinkAggregationCreated with default headers values
func (*CreateNetworkSwitchLinkAggregationCreated) Code ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) Code() int
Code gets the status code for the create network switch link aggregation created response
func (*CreateNetworkSwitchLinkAggregationCreated) Error ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) Error() string
func (*CreateNetworkSwitchLinkAggregationCreated) GetPayload ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) GetPayload() interface{}
func (*CreateNetworkSwitchLinkAggregationCreated) IsClientError ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) IsClientError() bool
IsClientError returns true when this create network switch link aggregation created response has a 4xx status code
func (*CreateNetworkSwitchLinkAggregationCreated) IsCode ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) IsCode(code int) bool
IsCode returns true when this create network switch link aggregation created response a status code equal to that given
func (*CreateNetworkSwitchLinkAggregationCreated) IsRedirect ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) IsRedirect() bool
IsRedirect returns true when this create network switch link aggregation created response has a 3xx status code
func (*CreateNetworkSwitchLinkAggregationCreated) IsServerError ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) IsServerError() bool
IsServerError returns true when this create network switch link aggregation created response has a 5xx status code
func (*CreateNetworkSwitchLinkAggregationCreated) IsSuccess ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) IsSuccess() bool
IsSuccess returns true when this create network switch link aggregation created response has a 2xx status code
func (*CreateNetworkSwitchLinkAggregationCreated) String ¶
func (o *CreateNetworkSwitchLinkAggregationCreated) String() string
type CreateNetworkSwitchLinkAggregationParams ¶
type CreateNetworkSwitchLinkAggregationParams struct { // CreateNetworkSwitchLinkAggregation. CreateNetworkSwitchLinkAggregation CreateNetworkSwitchLinkAggregationBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint
for the create network switch link aggregation operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchLinkAggregationParams ¶
func NewCreateNetworkSwitchLinkAggregationParams() *CreateNetworkSwitchLinkAggregationParams
NewCreateNetworkSwitchLinkAggregationParams creates a new CreateNetworkSwitchLinkAggregationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchLinkAggregationParamsWithContext ¶
func NewCreateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *CreateNetworkSwitchLinkAggregationParams
NewCreateNetworkSwitchLinkAggregationParamsWithContext creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient ¶
func NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchLinkAggregationParams
NewCreateNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchLinkAggregationParamsWithTimeout ¶
func NewCreateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchLinkAggregationParams
NewCreateNetworkSwitchLinkAggregationParamsWithTimeout creates a new CreateNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchLinkAggregationParams) SetContext ¶
func (o *CreateNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch link aggregation params
func (*CreateNetworkSwitchLinkAggregationParams) WithContext ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *CreateNetworkSwitchLinkAggregationParams
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 ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WithDefaults() *CreateNetworkSwitchLinkAggregationParams
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 ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchLinkAggregationParams
WithHTTPClient adds the HTTPClient to the create network switch link aggregation params
func (*CreateNetworkSwitchLinkAggregationParams) WithNetworkID ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *CreateNetworkSwitchLinkAggregationParams
WithNetworkID adds the networkID to the create network switch link aggregation params
func (*CreateNetworkSwitchLinkAggregationParams) WithTimeout ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchLinkAggregationParams
WithTimeout adds the timeout to the create network switch link aggregation params
func (*CreateNetworkSwitchLinkAggregationParams) WriteToRequest ¶
func (o *CreateNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch link aggregation params body switch ports items0 based on context it is used
func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch link aggregation params body switch profile ports items0 based on context it is used
func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate ¶
func (o *CreateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate(formats strfmt.Registry) error
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
type CreateNetworkSwitchPortScheduleCreated ¶
type CreateNetworkSwitchPortScheduleCreated struct {
Payload *CreateNetworkSwitchPortScheduleCreatedBody
}
CreateNetworkSwitchPortScheduleCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchPortScheduleCreated ¶
func NewCreateNetworkSwitchPortScheduleCreated() *CreateNetworkSwitchPortScheduleCreated
NewCreateNetworkSwitchPortScheduleCreated creates a CreateNetworkSwitchPortScheduleCreated with default headers values
func (*CreateNetworkSwitchPortScheduleCreated) Code ¶
func (o *CreateNetworkSwitchPortScheduleCreated) Code() int
Code gets the status code for the create network switch port schedule created response
func (*CreateNetworkSwitchPortScheduleCreated) Error ¶
func (o *CreateNetworkSwitchPortScheduleCreated) Error() string
func (*CreateNetworkSwitchPortScheduleCreated) GetPayload ¶
func (o *CreateNetworkSwitchPortScheduleCreated) GetPayload() *CreateNetworkSwitchPortScheduleCreatedBody
func (*CreateNetworkSwitchPortScheduleCreated) IsClientError ¶
func (o *CreateNetworkSwitchPortScheduleCreated) IsClientError() bool
IsClientError returns true when this create network switch port schedule created response has a 4xx status code
func (*CreateNetworkSwitchPortScheduleCreated) IsCode ¶
func (o *CreateNetworkSwitchPortScheduleCreated) IsCode(code int) bool
IsCode returns true when this create network switch port schedule created response a status code equal to that given
func (*CreateNetworkSwitchPortScheduleCreated) IsRedirect ¶
func (o *CreateNetworkSwitchPortScheduleCreated) IsRedirect() bool
IsRedirect returns true when this create network switch port schedule created response has a 3xx status code
func (*CreateNetworkSwitchPortScheduleCreated) IsServerError ¶
func (o *CreateNetworkSwitchPortScheduleCreated) IsServerError() bool
IsServerError returns true when this create network switch port schedule created response has a 5xx status code
func (*CreateNetworkSwitchPortScheduleCreated) IsSuccess ¶
func (o *CreateNetworkSwitchPortScheduleCreated) IsSuccess() bool
IsSuccess returns true when this create network switch port schedule created response has a 2xx status code
func (*CreateNetworkSwitchPortScheduleCreated) String ¶
func (o *CreateNetworkSwitchPortScheduleCreated) String() string
type CreateNetworkSwitchPortScheduleCreatedBody ¶
type CreateNetworkSwitchPortScheduleCreatedBody struct { // Switch port schedule ID ID string `json:"id,omitempty"` // Switch port schedule name Name string `json:"name,omitempty"` // Network ID NetworkID string `json:"networkId,omitempty"` // port schedule PortSchedule *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule `json:"portSchedule,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBody create network switch port schedule created body swagger:model CreateNetworkSwitchPortScheduleCreatedBody
func (*CreateNetworkSwitchPortScheduleCreatedBody) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch port schedule created body based on the context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBody) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule struct { // friday Friday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday `json:"friday,omitempty"` // monday Monday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday `json:"monday,omitempty"` // saturday Saturday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday `json:"saturday,omitempty"` // sunday Sunday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday `json:"sunday,omitempty"` // thursday Thursday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday `json:"thursday,omitempty"` // tuesday Tuesday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday `json:"tuesday,omitempty"` // wednesday Wednesday *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday `json:"wednesday,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule Port schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch port schedule created body port schedule based on the context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday Friday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule friday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday Monday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule monday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday Saturday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule saturday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday Sunday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule sunday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday Thursday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule thursday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday Tuesday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule tuesday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday ¶
type CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday Wednesday schedule swagger:model CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) ContextValidate ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule created body port schedule wednesday based on context it is used
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleCreatedBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchPortScheduleParams ¶
type CreateNetworkSwitchPortScheduleParams struct { // CreateNetworkSwitchPortSchedule. CreateNetworkSwitchPortSchedule CreateNetworkSwitchPortScheduleBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint
for the create network switch port schedule operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchPortScheduleParams ¶
func NewCreateNetworkSwitchPortScheduleParams() *CreateNetworkSwitchPortScheduleParams
NewCreateNetworkSwitchPortScheduleParams creates a new CreateNetworkSwitchPortScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchPortScheduleParamsWithContext ¶
func NewCreateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
NewCreateNetworkSwitchPortScheduleParamsWithContext creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient ¶
func NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
NewCreateNetworkSwitchPortScheduleParamsWithHTTPClient creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchPortScheduleParamsWithTimeout ¶
func NewCreateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
NewCreateNetworkSwitchPortScheduleParamsWithTimeout creates a new CreateNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchPortScheduleParams) SetContext ¶
func (o *CreateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *CreateNetworkSwitchPortScheduleParams
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithDefaults() *CreateNetworkSwitchPortScheduleParams
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 ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *CreateNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *CreateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchPortScheduleParams
WithTimeout adds the timeout to the create network switch port schedule params
func (*CreateNetworkSwitchPortScheduleParams) WriteToRequest ¶
func (o *CreateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch port schedule params body port schedule based on the context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule friday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule monday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule saturday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule sunday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule thursday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule tuesday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch port schedule params body port schedule wednesday based on context it is used
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary ¶
func (o *CreateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type CreateNetworkSwitchQosRuleCreated ¶
type CreateNetworkSwitchQosRuleCreated struct {
Payload interface{}
}
CreateNetworkSwitchQosRuleCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchQosRuleCreated ¶
func NewCreateNetworkSwitchQosRuleCreated() *CreateNetworkSwitchQosRuleCreated
NewCreateNetworkSwitchQosRuleCreated creates a CreateNetworkSwitchQosRuleCreated with default headers values
func (*CreateNetworkSwitchQosRuleCreated) Code ¶
func (o *CreateNetworkSwitchQosRuleCreated) Code() int
Code gets the status code for the create network switch qos rule created response
func (*CreateNetworkSwitchQosRuleCreated) Error ¶
func (o *CreateNetworkSwitchQosRuleCreated) Error() string
func (*CreateNetworkSwitchQosRuleCreated) GetPayload ¶
func (o *CreateNetworkSwitchQosRuleCreated) GetPayload() interface{}
func (*CreateNetworkSwitchQosRuleCreated) IsClientError ¶
func (o *CreateNetworkSwitchQosRuleCreated) IsClientError() bool
IsClientError returns true when this create network switch qos rule created response has a 4xx status code
func (*CreateNetworkSwitchQosRuleCreated) IsCode ¶
func (o *CreateNetworkSwitchQosRuleCreated) IsCode(code int) bool
IsCode returns true when this create network switch qos rule created response a status code equal to that given
func (*CreateNetworkSwitchQosRuleCreated) IsRedirect ¶
func (o *CreateNetworkSwitchQosRuleCreated) IsRedirect() bool
IsRedirect returns true when this create network switch qos rule created response has a 3xx status code
func (*CreateNetworkSwitchQosRuleCreated) IsServerError ¶
func (o *CreateNetworkSwitchQosRuleCreated) IsServerError() bool
IsServerError returns true when this create network switch qos rule created response has a 5xx status code
func (*CreateNetworkSwitchQosRuleCreated) IsSuccess ¶
func (o *CreateNetworkSwitchQosRuleCreated) IsSuccess() bool
IsSuccess returns true when this create network switch qos rule created response has a 2xx status code
func (*CreateNetworkSwitchQosRuleCreated) String ¶
func (o *CreateNetworkSwitchQosRuleCreated) String() string
type CreateNetworkSwitchQosRuleParams ¶
type CreateNetworkSwitchQosRuleParams struct { // CreateNetworkSwitchQosRule. CreateNetworkSwitchQosRule CreateNetworkSwitchQosRuleBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint
for the create network switch qos rule operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchQosRuleParams ¶
func NewCreateNetworkSwitchQosRuleParams() *CreateNetworkSwitchQosRuleParams
NewCreateNetworkSwitchQosRuleParams creates a new CreateNetworkSwitchQosRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchQosRuleParamsWithContext ¶
func NewCreateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *CreateNetworkSwitchQosRuleParams
NewCreateNetworkSwitchQosRuleParamsWithContext creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchQosRuleParamsWithHTTPClient ¶
func NewCreateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchQosRuleParams
NewCreateNetworkSwitchQosRuleParamsWithHTTPClient creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchQosRuleParamsWithTimeout ¶
func NewCreateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchQosRuleParams
NewCreateNetworkSwitchQosRuleParamsWithTimeout creates a new CreateNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchQosRuleParams) SetContext ¶
func (o *CreateNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *CreateNetworkSwitchQosRuleParams
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 ¶
func (o *CreateNetworkSwitchQosRuleParams) WithDefaults() *CreateNetworkSwitchQosRuleParams
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 ¶
func (o *CreateNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchQosRuleParams
WithHTTPClient adds the HTTPClient to the create network switch qos rule params
func (*CreateNetworkSwitchQosRuleParams) WithNetworkID ¶
func (o *CreateNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *CreateNetworkSwitchQosRuleParams
WithNetworkID adds the networkID to the create network switch qos rule params
func (*CreateNetworkSwitchQosRuleParams) WithTimeout ¶
func (o *CreateNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchQosRuleParams
WithTimeout adds the timeout to the create network switch qos rule params
func (*CreateNetworkSwitchQosRuleParams) WriteToRequest ¶
func (o *CreateNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch routing multicast rendezvous point body based on context it is used
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchRoutingMulticastRendezvousPointCreated ¶
type CreateNetworkSwitchRoutingMulticastRendezvousPointCreated struct {
Payload interface{}
}
CreateNetworkSwitchRoutingMulticastRendezvousPointCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated ¶
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated() *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated
NewCreateNetworkSwitchRoutingMulticastRendezvousPointCreated creates a CreateNetworkSwitchRoutingMulticastRendezvousPointCreated with default headers values
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Code ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Code() int
Code gets the status code for the create network switch routing multicast rendezvous point created response
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Error ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) Error() string
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) GetPayload ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) GetPayload() interface{}
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsClientError ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsClientError() bool
IsClientError returns true when this create network switch routing multicast rendezvous point created response has a 4xx status code
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsCode ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsCode(code int) bool
IsCode returns true when this create network switch routing multicast rendezvous point created response a status code equal to that given
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsRedirect ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsRedirect() bool
IsRedirect returns true when this create network switch routing multicast rendezvous point created response has a 3xx status code
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsServerError ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsServerError() bool
IsServerError returns true when this create network switch routing multicast rendezvous point created response has a 5xx status code
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsSuccess ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) IsSuccess() bool
IsSuccess returns true when this create network switch routing multicast rendezvous point created response has a 2xx status code
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) String ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointCreated) String() string
type CreateNetworkSwitchRoutingMulticastRendezvousPointParams ¶
type CreateNetworkSwitchRoutingMulticastRendezvousPointParams struct { // CreateNetworkSwitchRoutingMulticastRendezvousPoint. CreateNetworkSwitchRoutingMulticastRendezvousPoint CreateNetworkSwitchRoutingMulticastRendezvousPointBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint
for the create network switch routing multicast rendezvous point operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams ¶
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams() *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
NewCreateNetworkSwitchRoutingMulticastRendezvousPointParams creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext ¶
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient ¶
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout ¶
func NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
NewCreateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new CreateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
WithHTTPClient adds the HTTPClient to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
WithNetworkID adds the networkID to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchRoutingMulticastRendezvousPointParams
WithTimeout adds the timeout to the create network switch routing multicast rendezvous point params
func (*CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest ¶
func (o *CreateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type CreateNetworkSwitchStackCreated ¶
type CreateNetworkSwitchStackCreated struct {
Payload interface{}
}
CreateNetworkSwitchStackCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchStackCreated ¶
func NewCreateNetworkSwitchStackCreated() *CreateNetworkSwitchStackCreated
NewCreateNetworkSwitchStackCreated creates a CreateNetworkSwitchStackCreated with default headers values
func (*CreateNetworkSwitchStackCreated) Code ¶
func (o *CreateNetworkSwitchStackCreated) Code() int
Code gets the status code for the create network switch stack created response
func (*CreateNetworkSwitchStackCreated) Error ¶
func (o *CreateNetworkSwitchStackCreated) Error() string
func (*CreateNetworkSwitchStackCreated) GetPayload ¶
func (o *CreateNetworkSwitchStackCreated) GetPayload() interface{}
func (*CreateNetworkSwitchStackCreated) IsClientError ¶
func (o *CreateNetworkSwitchStackCreated) IsClientError() bool
IsClientError returns true when this create network switch stack created response has a 4xx status code
func (*CreateNetworkSwitchStackCreated) IsCode ¶
func (o *CreateNetworkSwitchStackCreated) IsCode(code int) bool
IsCode returns true when this create network switch stack created response a status code equal to that given
func (*CreateNetworkSwitchStackCreated) IsRedirect ¶
func (o *CreateNetworkSwitchStackCreated) IsRedirect() bool
IsRedirect returns true when this create network switch stack created response has a 3xx status code
func (*CreateNetworkSwitchStackCreated) IsServerError ¶
func (o *CreateNetworkSwitchStackCreated) IsServerError() bool
IsServerError returns true when this create network switch stack created response has a 5xx status code
func (*CreateNetworkSwitchStackCreated) IsSuccess ¶
func (o *CreateNetworkSwitchStackCreated) IsSuccess() bool
IsSuccess returns true when this create network switch stack created response has a 2xx status code
func (*CreateNetworkSwitchStackCreated) String ¶
func (o *CreateNetworkSwitchStackCreated) String() string
type CreateNetworkSwitchStackParams ¶
type CreateNetworkSwitchStackParams struct { // CreateNetworkSwitchStack. CreateNetworkSwitchStack CreateNetworkSwitchStackBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchStackParams contains all the parameters to send to the API endpoint
for the create network switch stack operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchStackParams ¶
func NewCreateNetworkSwitchStackParams() *CreateNetworkSwitchStackParams
NewCreateNetworkSwitchStackParams creates a new CreateNetworkSwitchStackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchStackParamsWithContext ¶
func NewCreateNetworkSwitchStackParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackParams
NewCreateNetworkSwitchStackParamsWithContext creates a new CreateNetworkSwitchStackParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchStackParamsWithHTTPClient ¶
func NewCreateNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams
NewCreateNetworkSwitchStackParamsWithHTTPClient creates a new CreateNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchStackParamsWithTimeout ¶
func NewCreateNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams
NewCreateNetworkSwitchStackParamsWithTimeout creates a new CreateNetworkSwitchStackParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchStackParams) SetContext ¶
func (o *CreateNetworkSwitchStackParams) SetContext(ctx context.Context)
SetContext adds the context to the create network switch stack params
func (*CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack ¶
func (o *CreateNetworkSwitchStackParams) SetCreateNetworkSwitchStack(createNetworkSwitchStack CreateNetworkSwitchStackBody)
SetCreateNetworkSwitchStack adds the createNetworkSwitchStack to the create network switch stack params
func (*CreateNetworkSwitchStackParams) SetDefaults ¶
func (o *CreateNetworkSwitchStackParams) SetDefaults()
SetDefaults hydrates default values in the create network switch stack params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkSwitchStackParams) SetHTTPClient ¶
func (o *CreateNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network switch stack params
func (*CreateNetworkSwitchStackParams) SetNetworkID ¶
func (o *CreateNetworkSwitchStackParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the create network switch stack params
func (*CreateNetworkSwitchStackParams) SetTimeout ¶
func (o *CreateNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch stack params
func (*CreateNetworkSwitchStackParams) WithContext ¶
func (o *CreateNetworkSwitchStackParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackParams
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 ¶
func (o *CreateNetworkSwitchStackParams) WithDefaults() *CreateNetworkSwitchStackParams
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 ¶
func (o *CreateNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackParams
WithHTTPClient adds the HTTPClient to the create network switch stack params
func (*CreateNetworkSwitchStackParams) WithNetworkID ¶
func (o *CreateNetworkSwitchStackParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackParams
WithNetworkID adds the networkID to the create network switch stack params
func (*CreateNetworkSwitchStackParams) WithTimeout ¶
func (o *CreateNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackParams
WithTimeout adds the timeout to the create network switch stack params
func (*CreateNetworkSwitchStackParams) WriteToRequest ¶
func (o *CreateNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkSwitchStackReader ¶
type CreateNetworkSwitchStackReader struct {
// contains filtered or unexported fields
}
CreateNetworkSwitchStackReader is a Reader for the CreateNetworkSwitchStack structure.
func (*CreateNetworkSwitchStackReader) ReadResponse ¶
func (o *CreateNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateNetworkSwitchStackRoutingInterfaceBody ¶
type CreateNetworkSwitchStackRoutingInterfaceBody struct { // The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface. DefaultGateway string `json:"defaultGateway,omitempty"` // The IP address this switch stack will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP. InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"` // Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. // Enum: [IGMP snooping querier disabled enabled] MulticastRouting string `json:"multicastRouting,omitempty"` // A friendly name or description for the interface or VLAN. // Required: true Name *string `json:"name"` // ospf settings OspfSettings *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"` // The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24). Subnet string `json:"subnet,omitempty"` // The VLAN this routed interface is on. VLAN must be between 1 and 4094. // Required: true VlanID *int64 `json:"vlanId"` }
CreateNetworkSwitchStackRoutingInterfaceBody create network switch stack routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model CreateNetworkSwitchStackRoutingInterfaceBody
func (*CreateNetworkSwitchStackRoutingInterfaceBody) ContextValidate ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network switch stack routing interface body based on the context it is used
func (*CreateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchStackRoutingInterfaceCreated ¶
type CreateNetworkSwitchStackRoutingInterfaceCreated struct {
Payload interface{}
}
CreateNetworkSwitchStackRoutingInterfaceCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchStackRoutingInterfaceCreated ¶
func NewCreateNetworkSwitchStackRoutingInterfaceCreated() *CreateNetworkSwitchStackRoutingInterfaceCreated
NewCreateNetworkSwitchStackRoutingInterfaceCreated creates a CreateNetworkSwitchStackRoutingInterfaceCreated with default headers values
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) Code ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) Code() int
Code gets the status code for the create network switch stack routing interface created response
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) Error ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) Error() string
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) GetPayload() interface{}
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsClientError ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsClientError() bool
IsClientError returns true when this create network switch stack routing interface created response has a 4xx status code
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsCode ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsCode(code int) bool
IsCode returns true when this create network switch stack routing interface created response a status code equal to that given
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsRedirect ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsRedirect() bool
IsRedirect returns true when this create network switch stack routing interface created response has a 3xx status code
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsServerError ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsServerError() bool
IsServerError returns true when this create network switch stack routing interface created response has a 5xx status code
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) IsSuccess ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) IsSuccess() bool
IsSuccess returns true when this create network switch stack routing interface created response has a 2xx status code
func (*CreateNetworkSwitchStackRoutingInterfaceCreated) String ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceCreated) String() string
type CreateNetworkSwitchStackRoutingInterfaceParams ¶
type CreateNetworkSwitchStackRoutingInterfaceParams struct { // CreateNetworkSwitchStackRoutingInterface. CreateNetworkSwitchStackRoutingInterface CreateNetworkSwitchStackRoutingInterfaceBody /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the create network switch stack routing interface operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchStackRoutingInterfaceParams ¶
func NewCreateNetworkSwitchStackRoutingInterfaceParams() *CreateNetworkSwitchStackRoutingInterfaceParams
NewCreateNetworkSwitchStackRoutingInterfaceParams creates a new CreateNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext ¶
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingInterfaceParams
NewCreateNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient ¶
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingInterfaceParams
NewCreateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout ¶
func NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingInterfaceParams
NewCreateNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new CreateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchStackRoutingInterfaceParams) SetContext ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch stack routing interface params
func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithContext ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *CreateNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the create network switch stack routing interface params
func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackRoutingInterfaceParams
WithNetworkID adds the networkID to the create network switch stack routing interface params
func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *CreateNetworkSwitchStackRoutingInterfaceParams
WithSwitchStackID adds the switchStackID to the create network switch stack routing interface params
func (*CreateNetworkSwitchStackRoutingInterfaceParams) WithTimeout ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingInterfaceParams
WithTimeout adds the timeout to the create network switch stack routing interface params
func (*CreateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch stack routing interface params body IP v6 based on context it is used
func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch stack routing interface params body ospf settings based on context it is used
func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network switch stack routing static route body based on context it is used
func (*CreateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSwitchStackRoutingStaticRouteCreated ¶
type CreateNetworkSwitchStackRoutingStaticRouteCreated struct {
Payload interface{}
}
CreateNetworkSwitchStackRoutingStaticRouteCreated describes a response with status code 201, with default header values.
Successful operation
func NewCreateNetworkSwitchStackRoutingStaticRouteCreated ¶
func NewCreateNetworkSwitchStackRoutingStaticRouteCreated() *CreateNetworkSwitchStackRoutingStaticRouteCreated
NewCreateNetworkSwitchStackRoutingStaticRouteCreated creates a CreateNetworkSwitchStackRoutingStaticRouteCreated with default headers values
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) Code ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) Code() int
Code gets the status code for the create network switch stack routing static route created response
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) Error ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) Error() string
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) GetPayload() interface{}
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsClientError ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsClientError() bool
IsClientError returns true when this create network switch stack routing static route created response has a 4xx status code
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsCode ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsCode(code int) bool
IsCode returns true when this create network switch stack routing static route created response a status code equal to that given
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsRedirect ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsRedirect() bool
IsRedirect returns true when this create network switch stack routing static route created response has a 3xx status code
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsServerError ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsServerError() bool
IsServerError returns true when this create network switch stack routing static route created response has a 5xx status code
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) IsSuccess ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) IsSuccess() bool
IsSuccess returns true when this create network switch stack routing static route created response has a 2xx status code
func (*CreateNetworkSwitchStackRoutingStaticRouteCreated) String ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteCreated) String() string
type CreateNetworkSwitchStackRoutingStaticRouteParams ¶
type CreateNetworkSwitchStackRoutingStaticRouteParams struct { // CreateNetworkSwitchStackRoutingStaticRoute. CreateNetworkSwitchStackRoutingStaticRoute CreateNetworkSwitchStackRoutingStaticRouteBody /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the create network switch stack routing static route operation. Typically these are written to a http.Request.
func NewCreateNetworkSwitchStackRoutingStaticRouteParams ¶
func NewCreateNetworkSwitchStackRoutingStaticRouteParams() *CreateNetworkSwitchStackRoutingStaticRouteParams
NewCreateNetworkSwitchStackRoutingStaticRouteParams creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext ¶
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingStaticRouteParams
NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient ¶
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingStaticRouteParams
NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout ¶
func NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingStaticRouteParams
NewCreateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new CreateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) SetContext ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *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 ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network switch stack routing static route params
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithContext ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *CreateNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *CreateNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *CreateNetworkSwitchStackRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the create network switch stack routing static route params
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *CreateNetworkSwitchStackRoutingStaticRouteParams
WithNetworkID adds the networkID to the create network switch stack routing static route params
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *CreateNetworkSwitchStackRoutingStaticRouteParams
WithSwitchStackID adds the switchStackID to the create network switch stack routing static route params
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *CreateNetworkSwitchStackRoutingStaticRouteParams
WithTimeout adds the timeout to the create network switch stack routing static route params
func (*CreateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkSwitchStackRoutingStaticRouteReader ¶
type CreateNetworkSwitchStackRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
CreateNetworkSwitchStackRoutingStaticRouteReader is a Reader for the CreateNetworkSwitchStackRoutingStaticRoute structure.
func (*CreateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse ¶
func (o *CreateNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CycleDeviceSwitchPortsBody ¶
type CycleDeviceSwitchPortsBody struct { // List of switch ports // Required: true Ports []string `json:"ports"` }
CycleDeviceSwitchPortsBody cycle device switch ports body // Example: {"ports":["1","2-5","1_MA-MOD-8X10G_1","1_MA-MOD-8X10G_2-1_MA-MOD-8X10G_8"]} swagger:model CycleDeviceSwitchPortsBody
func (*CycleDeviceSwitchPortsBody) ContextValidate ¶
func (o *CycleDeviceSwitchPortsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cycle device switch ports body based on context it is used
func (*CycleDeviceSwitchPortsBody) MarshalBinary ¶
func (o *CycleDeviceSwitchPortsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycleDeviceSwitchPortsBody) UnmarshalBinary ¶
func (o *CycleDeviceSwitchPortsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycleDeviceSwitchPortsOK ¶
type CycleDeviceSwitchPortsOK struct {
Payload *CycleDeviceSwitchPortsOKBody
}
CycleDeviceSwitchPortsOK describes a response with status code 200, with default header values.
Successful operation
func NewCycleDeviceSwitchPortsOK ¶
func NewCycleDeviceSwitchPortsOK() *CycleDeviceSwitchPortsOK
NewCycleDeviceSwitchPortsOK creates a CycleDeviceSwitchPortsOK with default headers values
func (*CycleDeviceSwitchPortsOK) Code ¶
func (o *CycleDeviceSwitchPortsOK) Code() int
Code gets the status code for the cycle device switch ports o k response
func (*CycleDeviceSwitchPortsOK) Error ¶
func (o *CycleDeviceSwitchPortsOK) Error() string
func (*CycleDeviceSwitchPortsOK) GetPayload ¶
func (o *CycleDeviceSwitchPortsOK) GetPayload() *CycleDeviceSwitchPortsOKBody
func (*CycleDeviceSwitchPortsOK) IsClientError ¶
func (o *CycleDeviceSwitchPortsOK) IsClientError() bool
IsClientError returns true when this cycle device switch ports o k response has a 4xx status code
func (*CycleDeviceSwitchPortsOK) IsCode ¶
func (o *CycleDeviceSwitchPortsOK) IsCode(code int) bool
IsCode returns true when this cycle device switch ports o k response a status code equal to that given
func (*CycleDeviceSwitchPortsOK) IsRedirect ¶
func (o *CycleDeviceSwitchPortsOK) IsRedirect() bool
IsRedirect returns true when this cycle device switch ports o k response has a 3xx status code
func (*CycleDeviceSwitchPortsOK) IsServerError ¶
func (o *CycleDeviceSwitchPortsOK) IsServerError() bool
IsServerError returns true when this cycle device switch ports o k response has a 5xx status code
func (*CycleDeviceSwitchPortsOK) IsSuccess ¶
func (o *CycleDeviceSwitchPortsOK) IsSuccess() bool
IsSuccess returns true when this cycle device switch ports o k response has a 2xx status code
func (*CycleDeviceSwitchPortsOK) String ¶
func (o *CycleDeviceSwitchPortsOK) String() string
type CycleDeviceSwitchPortsOKBody ¶
type CycleDeviceSwitchPortsOKBody struct { // List of switch ports Ports []string `json:"ports"` }
CycleDeviceSwitchPortsOKBody cycle device switch ports o k body swagger:model CycleDeviceSwitchPortsOKBody
func (*CycleDeviceSwitchPortsOKBody) ContextValidate ¶
func (o *CycleDeviceSwitchPortsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this cycle device switch ports o k body based on context it is used
func (*CycleDeviceSwitchPortsOKBody) MarshalBinary ¶
func (o *CycleDeviceSwitchPortsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CycleDeviceSwitchPortsOKBody) UnmarshalBinary ¶
func (o *CycleDeviceSwitchPortsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CycleDeviceSwitchPortsParams ¶
type CycleDeviceSwitchPortsParams struct { // CycleDeviceSwitchPorts. CycleDeviceSwitchPorts CycleDeviceSwitchPortsBody /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CycleDeviceSwitchPortsParams contains all the parameters to send to the API endpoint
for the cycle device switch ports operation. Typically these are written to a http.Request.
func NewCycleDeviceSwitchPortsParams ¶
func NewCycleDeviceSwitchPortsParams() *CycleDeviceSwitchPortsParams
NewCycleDeviceSwitchPortsParams creates a new CycleDeviceSwitchPortsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCycleDeviceSwitchPortsParamsWithContext ¶
func NewCycleDeviceSwitchPortsParamsWithContext(ctx context.Context) *CycleDeviceSwitchPortsParams
NewCycleDeviceSwitchPortsParamsWithContext creates a new CycleDeviceSwitchPortsParams object with the ability to set a context for a request.
func NewCycleDeviceSwitchPortsParamsWithHTTPClient ¶
func NewCycleDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *CycleDeviceSwitchPortsParams
NewCycleDeviceSwitchPortsParamsWithHTTPClient creates a new CycleDeviceSwitchPortsParams object with the ability to set a custom HTTPClient for a request.
func NewCycleDeviceSwitchPortsParamsWithTimeout ¶
func NewCycleDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *CycleDeviceSwitchPortsParams
NewCycleDeviceSwitchPortsParamsWithTimeout creates a new CycleDeviceSwitchPortsParams object with the ability to set a timeout on a request.
func (*CycleDeviceSwitchPortsParams) SetContext ¶
func (o *CycleDeviceSwitchPortsParams) SetContext(ctx context.Context)
SetContext adds the context to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) SetCycleDeviceSwitchPorts ¶
func (o *CycleDeviceSwitchPortsParams) SetCycleDeviceSwitchPorts(cycleDeviceSwitchPorts CycleDeviceSwitchPortsBody)
SetCycleDeviceSwitchPorts adds the cycleDeviceSwitchPorts to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) SetDefaults ¶
func (o *CycleDeviceSwitchPortsParams) SetDefaults()
SetDefaults hydrates default values in the cycle device switch ports params (not the query body).
All values with no default are reset to their zero value.
func (*CycleDeviceSwitchPortsParams) SetHTTPClient ¶
func (o *CycleDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) SetSerial ¶
func (o *CycleDeviceSwitchPortsParams) SetSerial(serial string)
SetSerial adds the serial to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) SetTimeout ¶
func (o *CycleDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) WithContext ¶
func (o *CycleDeviceSwitchPortsParams) WithContext(ctx context.Context) *CycleDeviceSwitchPortsParams
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 ¶
func (o *CycleDeviceSwitchPortsParams) WithDefaults() *CycleDeviceSwitchPortsParams
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 ¶
func (o *CycleDeviceSwitchPortsParams) WithHTTPClient(client *http.Client) *CycleDeviceSwitchPortsParams
WithHTTPClient adds the HTTPClient to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) WithSerial ¶
func (o *CycleDeviceSwitchPortsParams) WithSerial(serial string) *CycleDeviceSwitchPortsParams
WithSerial adds the serial to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) WithTimeout ¶
func (o *CycleDeviceSwitchPortsParams) WithTimeout(timeout time.Duration) *CycleDeviceSwitchPortsParams
WithTimeout adds the timeout to the cycle device switch ports params
func (*CycleDeviceSwitchPortsParams) WriteToRequest ¶
func (o *CycleDeviceSwitchPortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CycleDeviceSwitchPortsReader ¶
type CycleDeviceSwitchPortsReader struct {
// contains filtered or unexported fields
}
CycleDeviceSwitchPortsReader is a Reader for the CycleDeviceSwitchPorts structure.
func (*CycleDeviceSwitchPortsReader) ReadResponse ¶
func (o *CycleDeviceSwitchPortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeviceSwitchRoutingInterfaceNoContent ¶
type DeleteDeviceSwitchRoutingInterfaceNoContent struct { }
DeleteDeviceSwitchRoutingInterfaceNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteDeviceSwitchRoutingInterfaceNoContent ¶
func NewDeleteDeviceSwitchRoutingInterfaceNoContent() *DeleteDeviceSwitchRoutingInterfaceNoContent
NewDeleteDeviceSwitchRoutingInterfaceNoContent creates a DeleteDeviceSwitchRoutingInterfaceNoContent with default headers values
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) Code ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) Code() int
Code gets the status code for the delete device switch routing interface no content response
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) Error ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) Error() string
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsClientError ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsClientError() bool
IsClientError returns true when this delete device switch routing interface no content response has a 4xx status code
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsCode ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsCode(code int) bool
IsCode returns true when this delete device switch routing interface no content response a status code equal to that given
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsRedirect ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsRedirect() bool
IsRedirect returns true when this delete device switch routing interface no content response has a 3xx status code
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsServerError ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsServerError() bool
IsServerError returns true when this delete device switch routing interface no content response has a 5xx status code
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) IsSuccess ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) IsSuccess() bool
IsSuccess returns true when this delete device switch routing interface no content response has a 2xx status code
func (*DeleteDeviceSwitchRoutingInterfaceNoContent) String ¶
func (o *DeleteDeviceSwitchRoutingInterfaceNoContent) String() string
type DeleteDeviceSwitchRoutingInterfaceParams ¶
type DeleteDeviceSwitchRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the delete device switch routing interface operation. Typically these are written to a http.Request.
func NewDeleteDeviceSwitchRoutingInterfaceParams ¶
func NewDeleteDeviceSwitchRoutingInterfaceParams() *DeleteDeviceSwitchRoutingInterfaceParams
NewDeleteDeviceSwitchRoutingInterfaceParams creates a new DeleteDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext ¶
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingInterfaceParams
NewDeleteDeviceSwitchRoutingInterfaceParamsWithContext creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient ¶
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingInterfaceParams
NewDeleteDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout ¶
func NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingInterfaceParams
NewDeleteDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new DeleteDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*DeleteDeviceSwitchRoutingInterfaceParams) SetContext ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WithContext ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *DeleteDeviceSwitchRoutingInterfaceParams
WithContext adds the context to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WithDefaults ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithDefaults() *DeleteDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WithInterfaceID ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *DeleteDeviceSwitchRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WithSerial ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *DeleteDeviceSwitchRoutingInterfaceParams
WithSerial adds the serial to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WithTimeout ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingInterfaceParams
WithTimeout adds the timeout to the delete device switch routing interface params
func (*DeleteDeviceSwitchRoutingInterfaceParams) WriteToRequest ¶
func (o *DeleteDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeviceSwitchRoutingInterfaceReader ¶
type DeleteDeviceSwitchRoutingInterfaceReader struct {
// contains filtered or unexported fields
}
DeleteDeviceSwitchRoutingInterfaceReader is a Reader for the DeleteDeviceSwitchRoutingInterface structure.
func (*DeleteDeviceSwitchRoutingInterfaceReader) ReadResponse ¶
func (o *DeleteDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeviceSwitchRoutingStaticRouteNoContent ¶
type DeleteDeviceSwitchRoutingStaticRouteNoContent struct { }
DeleteDeviceSwitchRoutingStaticRouteNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteDeviceSwitchRoutingStaticRouteNoContent ¶
func NewDeleteDeviceSwitchRoutingStaticRouteNoContent() *DeleteDeviceSwitchRoutingStaticRouteNoContent
NewDeleteDeviceSwitchRoutingStaticRouteNoContent creates a DeleteDeviceSwitchRoutingStaticRouteNoContent with default headers values
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) Code ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) Code() int
Code gets the status code for the delete device switch routing static route no content response
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) Error ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) Error() string
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsClientError ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsClientError() bool
IsClientError returns true when this delete device switch routing static route no content response has a 4xx status code
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsCode ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsCode(code int) bool
IsCode returns true when this delete device switch routing static route no content response a status code equal to that given
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsRedirect ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsRedirect() bool
IsRedirect returns true when this delete device switch routing static route no content response has a 3xx status code
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsServerError ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsServerError() bool
IsServerError returns true when this delete device switch routing static route no content response has a 5xx status code
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) IsSuccess ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) IsSuccess() bool
IsSuccess returns true when this delete device switch routing static route no content response has a 2xx status code
func (*DeleteDeviceSwitchRoutingStaticRouteNoContent) String ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteNoContent) String() string
type DeleteDeviceSwitchRoutingStaticRouteParams ¶
type DeleteDeviceSwitchRoutingStaticRouteParams struct { /* Serial. Serial */ Serial string /* StaticRouteID. Static route ID */ StaticRouteID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the delete device switch routing static route operation. Typically these are written to a http.Request.
func NewDeleteDeviceSwitchRoutingStaticRouteParams ¶
func NewDeleteDeviceSwitchRoutingStaticRouteParams() *DeleteDeviceSwitchRoutingStaticRouteParams
NewDeleteDeviceSwitchRoutingStaticRouteParams creates a new DeleteDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext ¶
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteDeviceSwitchRoutingStaticRouteParams
NewDeleteDeviceSwitchRoutingStaticRouteParamsWithContext creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient ¶
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingStaticRouteParams
NewDeleteDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout ¶
func NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingStaticRouteParams
NewDeleteDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new DeleteDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetContext ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
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 ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithContext ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *DeleteDeviceSwitchRoutingStaticRouteParams
WithContext adds the context to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithDefaults ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithDefaults() *DeleteDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *DeleteDeviceSwitchRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithSerial ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *DeleteDeviceSwitchRoutingStaticRouteParams
WithSerial adds the serial to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *DeleteDeviceSwitchRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WithTimeout ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *DeleteDeviceSwitchRoutingStaticRouteParams
WithTimeout adds the timeout to the delete device switch routing static route params
func (*DeleteDeviceSwitchRoutingStaticRouteParams) WriteToRequest ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeviceSwitchRoutingStaticRouteReader ¶
type DeleteDeviceSwitchRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
DeleteDeviceSwitchRoutingStaticRouteReader is a Reader for the DeleteDeviceSwitchRoutingStaticRoute structure.
func (*DeleteDeviceSwitchRoutingStaticRouteReader) ReadResponse ¶
func (o *DeleteDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchAccessPolicyNoContent ¶
type DeleteNetworkSwitchAccessPolicyNoContent struct { }
DeleteNetworkSwitchAccessPolicyNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchAccessPolicyNoContent ¶
func NewDeleteNetworkSwitchAccessPolicyNoContent() *DeleteNetworkSwitchAccessPolicyNoContent
NewDeleteNetworkSwitchAccessPolicyNoContent creates a DeleteNetworkSwitchAccessPolicyNoContent with default headers values
func (*DeleteNetworkSwitchAccessPolicyNoContent) Code ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) Code() int
Code gets the status code for the delete network switch access policy no content response
func (*DeleteNetworkSwitchAccessPolicyNoContent) Error ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) Error() string
func (*DeleteNetworkSwitchAccessPolicyNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsClientError() bool
IsClientError returns true when this delete network switch access policy no content response has a 4xx status code
func (*DeleteNetworkSwitchAccessPolicyNoContent) IsCode ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch access policy no content response a status code equal to that given
func (*DeleteNetworkSwitchAccessPolicyNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch access policy no content response has a 3xx status code
func (*DeleteNetworkSwitchAccessPolicyNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsServerError() bool
IsServerError returns true when this delete network switch access policy no content response has a 5xx status code
func (*DeleteNetworkSwitchAccessPolicyNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch access policy no content response has a 2xx status code
func (*DeleteNetworkSwitchAccessPolicyNoContent) String ¶
func (o *DeleteNetworkSwitchAccessPolicyNoContent) String() string
type DeleteNetworkSwitchAccessPolicyParams ¶
type DeleteNetworkSwitchAccessPolicyParams struct { /* AccessPolicyNumber. Access policy number */ AccessPolicyNumber string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint
for the delete network switch access policy operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchAccessPolicyParams ¶
func NewDeleteNetworkSwitchAccessPolicyParams() *DeleteNetworkSwitchAccessPolicyParams
NewDeleteNetworkSwitchAccessPolicyParams creates a new DeleteNetworkSwitchAccessPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchAccessPolicyParamsWithContext ¶
func NewDeleteNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *DeleteNetworkSwitchAccessPolicyParams
NewDeleteNetworkSwitchAccessPolicyParamsWithContext creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchAccessPolicyParams
NewDeleteNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout ¶
func NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchAccessPolicyParams
NewDeleteNetworkSwitchAccessPolicyParamsWithTimeout creates a new DeleteNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
SetAccessPolicyNumber adds the accessPolicyNumber to the delete network switch access policy params
func (*DeleteNetworkSwitchAccessPolicyParams) SetContext ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *DeleteNetworkSwitchAccessPolicyParams
WithContext adds the context to the delete network switch access policy params
func (*DeleteNetworkSwitchAccessPolicyParams) WithDefaults ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WithDefaults() *DeleteNetworkSwitchAccessPolicyParams
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 ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchAccessPolicyParams
WithHTTPClient adds the HTTPClient to the delete network switch access policy params
func (*DeleteNetworkSwitchAccessPolicyParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *DeleteNetworkSwitchAccessPolicyParams
WithNetworkID adds the networkID to the delete network switch access policy params
func (*DeleteNetworkSwitchAccessPolicyParams) WithTimeout ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchAccessPolicyParams
WithTimeout adds the timeout to the delete network switch access policy params
func (*DeleteNetworkSwitchAccessPolicyParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchAccessPolicyReader ¶
type DeleteNetworkSwitchAccessPolicyReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchAccessPolicyReader is a Reader for the DeleteNetworkSwitchAccessPolicy structure.
func (*DeleteNetworkSwitchAccessPolicyReader) ReadResponse ¶
func (o *DeleteNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent ¶
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent struct { }
DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent ¶
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent
NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent creates a DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent with default headers values
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Code ¶
Code gets the status code for the delete network switch dhcp server policy arp inspection trusted server no content response
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Error ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) Error() string
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsClientError() bool
IsClientError returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 4xx status code
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsCode ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch dhcp server policy arp inspection trusted server no content response a status code equal to that given
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 3xx status code
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsServerError() bool
IsServerError returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 5xx status code
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch dhcp server policy arp inspection trusted server no content response has a 2xx status code
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) String ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerNoContent) String() string
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct { /* NetworkID. Network ID */ NetworkID string /* TrustedServerID. Trusted server ID */ TrustedServerID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint
for the delete network switch dhcp server policy arp inspection trusted server operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext ¶
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout ¶
func NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewDeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
SetDefaults hydrates default values in the delete network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)
SetTrustedServerID adds the trustedServerId to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithContext adds the context to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithDefaults hydrates default values in the delete network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithHTTPClient adds the HTTPClient to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithNetworkID adds the networkID to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithTimeout adds the timeout to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID(trustedServerID string) *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithTrustedServerID adds the trustedServerID to the delete network switch dhcp server policy arp inspection trusted server params
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader ¶
type DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.
func (*DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse ¶
func (o *DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) 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) Code ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) Code() int
Code gets the status code for the delete network switch link aggregation no content response
func (*DeleteNetworkSwitchLinkAggregationNoContent) Error ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) Error() string
func (*DeleteNetworkSwitchLinkAggregationNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsClientError() bool
IsClientError returns true when this delete network switch link aggregation no content response has a 4xx status code
func (*DeleteNetworkSwitchLinkAggregationNoContent) IsCode ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch link aggregation no content response a status code equal to that given
func (*DeleteNetworkSwitchLinkAggregationNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch link aggregation no content response has a 3xx status code
func (*DeleteNetworkSwitchLinkAggregationNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsServerError() bool
IsServerError returns true when this delete network switch link aggregation no content response has a 5xx status code
func (*DeleteNetworkSwitchLinkAggregationNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch link aggregation no content response has a 2xx status code
func (*DeleteNetworkSwitchLinkAggregationNoContent) String ¶
func (o *DeleteNetworkSwitchLinkAggregationNoContent) String() string
type DeleteNetworkSwitchLinkAggregationParams ¶
type DeleteNetworkSwitchLinkAggregationParams struct { /* LinkAggregationID. Link aggregation ID */ LinkAggregationID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint
for the delete network switch link aggregation operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchLinkAggregationParams ¶
func NewDeleteNetworkSwitchLinkAggregationParams() *DeleteNetworkSwitchLinkAggregationParams
NewDeleteNetworkSwitchLinkAggregationParams creates a new DeleteNetworkSwitchLinkAggregationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchLinkAggregationParamsWithContext ¶
func NewDeleteNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *DeleteNetworkSwitchLinkAggregationParams
NewDeleteNetworkSwitchLinkAggregationParamsWithContext creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchLinkAggregationParams
NewDeleteNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout ¶
func NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchLinkAggregationParams
NewDeleteNetworkSwitchLinkAggregationParamsWithTimeout creates a new DeleteNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchLinkAggregationParams) SetContext ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WithContext ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *DeleteNetworkSwitchLinkAggregationParams
WithContext adds the context to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WithDefaults ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithDefaults() *DeleteNetworkSwitchLinkAggregationParams
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 ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchLinkAggregationParams
WithHTTPClient adds the HTTPClient to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WithLinkAggregationID ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithLinkAggregationID(linkAggregationID string) *DeleteNetworkSwitchLinkAggregationParams
WithLinkAggregationID adds the linkAggregationID to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *DeleteNetworkSwitchLinkAggregationParams
WithNetworkID adds the networkID to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WithTimeout ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchLinkAggregationParams
WithTimeout adds the timeout to the delete network switch link aggregation params
func (*DeleteNetworkSwitchLinkAggregationParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchLinkAggregationReader ¶
type DeleteNetworkSwitchLinkAggregationReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchLinkAggregationReader is a Reader for the DeleteNetworkSwitchLinkAggregation structure.
func (*DeleteNetworkSwitchLinkAggregationReader) ReadResponse ¶
func (o *DeleteNetworkSwitchLinkAggregationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchPortScheduleNoContent ¶
type DeleteNetworkSwitchPortScheduleNoContent struct { }
DeleteNetworkSwitchPortScheduleNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchPortScheduleNoContent ¶
func NewDeleteNetworkSwitchPortScheduleNoContent() *DeleteNetworkSwitchPortScheduleNoContent
NewDeleteNetworkSwitchPortScheduleNoContent creates a DeleteNetworkSwitchPortScheduleNoContent with default headers values
func (*DeleteNetworkSwitchPortScheduleNoContent) Code ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) Code() int
Code gets the status code for the delete network switch port schedule no content response
func (*DeleteNetworkSwitchPortScheduleNoContent) Error ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) Error() string
func (*DeleteNetworkSwitchPortScheduleNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) IsClientError() bool
IsClientError returns true when this delete network switch port schedule no content response has a 4xx status code
func (*DeleteNetworkSwitchPortScheduleNoContent) IsCode ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch port schedule no content response a status code equal to that given
func (*DeleteNetworkSwitchPortScheduleNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch port schedule no content response has a 3xx status code
func (*DeleteNetworkSwitchPortScheduleNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) IsServerError() bool
IsServerError returns true when this delete network switch port schedule no content response has a 5xx status code
func (*DeleteNetworkSwitchPortScheduleNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch port schedule no content response has a 2xx status code
func (*DeleteNetworkSwitchPortScheduleNoContent) String ¶
func (o *DeleteNetworkSwitchPortScheduleNoContent) String() string
type DeleteNetworkSwitchPortScheduleParams ¶
type DeleteNetworkSwitchPortScheduleParams struct { /* NetworkID. Network ID */ NetworkID string /* PortScheduleID. Port schedule ID */ PortScheduleID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint
for the delete network switch port schedule operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchPortScheduleParams ¶
func NewDeleteNetworkSwitchPortScheduleParams() *DeleteNetworkSwitchPortScheduleParams
NewDeleteNetworkSwitchPortScheduleParams creates a new DeleteNetworkSwitchPortScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchPortScheduleParamsWithContext ¶
func NewDeleteNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
NewDeleteNetworkSwitchPortScheduleParamsWithContext creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
NewDeleteNetworkSwitchPortScheduleParamsWithHTTPClient creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout ¶
func NewDeleteNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
NewDeleteNetworkSwitchPortScheduleParamsWithTimeout creates a new DeleteNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchPortScheduleParams) SetContext ¶
func (o *DeleteNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchPortScheduleParams
WithContext adds the context to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithDefaults ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithDefaults() *DeleteNetworkSwitchPortScheduleParams
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 ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *DeleteNetworkSwitchPortScheduleParams
WithPortScheduleID adds the portScheduleID to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchPortScheduleParams
WithTimeout adds the timeout to the delete network switch port schedule params
func (*DeleteNetworkSwitchPortScheduleParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchPortScheduleReader ¶
type DeleteNetworkSwitchPortScheduleReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchPortScheduleReader is a Reader for the DeleteNetworkSwitchPortSchedule structure.
func (*DeleteNetworkSwitchPortScheduleReader) ReadResponse ¶
func (o *DeleteNetworkSwitchPortScheduleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchQosRuleNoContent ¶
type DeleteNetworkSwitchQosRuleNoContent struct { }
DeleteNetworkSwitchQosRuleNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchQosRuleNoContent ¶
func NewDeleteNetworkSwitchQosRuleNoContent() *DeleteNetworkSwitchQosRuleNoContent
NewDeleteNetworkSwitchQosRuleNoContent creates a DeleteNetworkSwitchQosRuleNoContent with default headers values
func (*DeleteNetworkSwitchQosRuleNoContent) Code ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) Code() int
Code gets the status code for the delete network switch qos rule no content response
func (*DeleteNetworkSwitchQosRuleNoContent) Error ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) Error() string
func (*DeleteNetworkSwitchQosRuleNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) IsClientError() bool
IsClientError returns true when this delete network switch qos rule no content response has a 4xx status code
func (*DeleteNetworkSwitchQosRuleNoContent) IsCode ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch qos rule no content response a status code equal to that given
func (*DeleteNetworkSwitchQosRuleNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch qos rule no content response has a 3xx status code
func (*DeleteNetworkSwitchQosRuleNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) IsServerError() bool
IsServerError returns true when this delete network switch qos rule no content response has a 5xx status code
func (*DeleteNetworkSwitchQosRuleNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch qos rule no content response has a 2xx status code
func (*DeleteNetworkSwitchQosRuleNoContent) String ¶
func (o *DeleteNetworkSwitchQosRuleNoContent) String() string
type DeleteNetworkSwitchQosRuleParams ¶
type DeleteNetworkSwitchQosRuleParams struct { /* NetworkID. Network ID */ NetworkID string /* QosRuleID. Qos rule ID */ QosRuleID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint
for the delete network switch qos rule operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchQosRuleParams ¶
func NewDeleteNetworkSwitchQosRuleParams() *DeleteNetworkSwitchQosRuleParams
NewDeleteNetworkSwitchQosRuleParams creates a new DeleteNetworkSwitchQosRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchQosRuleParamsWithContext ¶
func NewDeleteNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *DeleteNetworkSwitchQosRuleParams
NewDeleteNetworkSwitchQosRuleParamsWithContext creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchQosRuleParams
NewDeleteNetworkSwitchQosRuleParamsWithHTTPClient creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchQosRuleParamsWithTimeout ¶
func NewDeleteNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchQosRuleParams
NewDeleteNetworkSwitchQosRuleParamsWithTimeout creates a new DeleteNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchQosRuleParams) SetContext ¶
func (o *DeleteNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *DeleteNetworkSwitchQosRuleParams
WithContext adds the context to the delete network switch qos rule params
func (*DeleteNetworkSwitchQosRuleParams) WithDefaults ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithDefaults() *DeleteNetworkSwitchQosRuleParams
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 ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchQosRuleParams
WithHTTPClient adds the HTTPClient to the delete network switch qos rule params
func (*DeleteNetworkSwitchQosRuleParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *DeleteNetworkSwitchQosRuleParams
WithNetworkID adds the networkID to the delete network switch qos rule params
func (*DeleteNetworkSwitchQosRuleParams) WithQosRuleID ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *DeleteNetworkSwitchQosRuleParams
WithQosRuleID adds the qosRuleID to the delete network switch qos rule params
func (*DeleteNetworkSwitchQosRuleParams) WithTimeout ¶
func (o *DeleteNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchQosRuleParams
WithTimeout adds the timeout to the delete network switch qos rule params
func (*DeleteNetworkSwitchQosRuleParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchQosRuleReader ¶
type DeleteNetworkSwitchQosRuleReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchQosRuleReader is a Reader for the DeleteNetworkSwitchQosRule structure.
func (*DeleteNetworkSwitchQosRuleReader) ReadResponse ¶
func (o *DeleteNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent ¶
type DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent struct { }
DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent ¶
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent() *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent
NewDeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent creates a DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent with default headers values
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Code ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Code() int
Code gets the status code for the delete network switch routing multicast rendezvous point no content response
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Error ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) Error() string
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsClientError() bool
IsClientError returns true when this delete network switch routing multicast rendezvous point no content response has a 4xx status code
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsCode ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch routing multicast rendezvous point no content response a status code equal to that given
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch routing multicast rendezvous point no content response has a 3xx status code
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsServerError() bool
IsServerError returns true when this delete network switch routing multicast rendezvous point no content response has a 5xx status code
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch routing multicast rendezvous point no content response has a 2xx status code
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) String ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointNoContent) String() string
type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams ¶
type DeleteNetworkSwitchRoutingMulticastRendezvousPointParams struct { /* NetworkID. Network ID */ NetworkID string /* RendezvousPointID. Rendezvous point ID */ RendezvousPointID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint
for the delete network switch routing multicast rendezvous point operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams ¶
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams() *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParams creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext ¶
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout ¶
func NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
NewDeleteNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new DeleteNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
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 ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
WithContext adds the context to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
WithHTTPClient adds the HTTPClient to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
WithNetworkID adds the networkID to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
WithRendezvousPointID adds the rendezvousPointID to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams
WithTimeout adds the timeout to the delete network switch routing multicast rendezvous point params
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchRoutingMulticastRendezvousPointReader ¶
type DeleteNetworkSwitchRoutingMulticastRendezvousPointReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the DeleteNetworkSwitchRoutingMulticastRendezvousPoint structure.
func (*DeleteNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse ¶
func (o *DeleteNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchStackNoContent ¶
type DeleteNetworkSwitchStackNoContent struct { }
DeleteNetworkSwitchStackNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchStackNoContent ¶
func NewDeleteNetworkSwitchStackNoContent() *DeleteNetworkSwitchStackNoContent
NewDeleteNetworkSwitchStackNoContent creates a DeleteNetworkSwitchStackNoContent with default headers values
func (*DeleteNetworkSwitchStackNoContent) Code ¶
func (o *DeleteNetworkSwitchStackNoContent) Code() int
Code gets the status code for the delete network switch stack no content response
func (*DeleteNetworkSwitchStackNoContent) Error ¶
func (o *DeleteNetworkSwitchStackNoContent) Error() string
func (*DeleteNetworkSwitchStackNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchStackNoContent) IsClientError() bool
IsClientError returns true when this delete network switch stack no content response has a 4xx status code
func (*DeleteNetworkSwitchStackNoContent) IsCode ¶
func (o *DeleteNetworkSwitchStackNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch stack no content response a status code equal to that given
func (*DeleteNetworkSwitchStackNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchStackNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch stack no content response has a 3xx status code
func (*DeleteNetworkSwitchStackNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchStackNoContent) IsServerError() bool
IsServerError returns true when this delete network switch stack no content response has a 5xx status code
func (*DeleteNetworkSwitchStackNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchStackNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch stack no content response has a 2xx status code
func (*DeleteNetworkSwitchStackNoContent) String ¶
func (o *DeleteNetworkSwitchStackNoContent) String() string
type DeleteNetworkSwitchStackParams ¶
type DeleteNetworkSwitchStackParams struct { /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchStackParams contains all the parameters to send to the API endpoint
for the delete network switch stack operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchStackParams ¶
func NewDeleteNetworkSwitchStackParams() *DeleteNetworkSwitchStackParams
NewDeleteNetworkSwitchStackParams creates a new DeleteNetworkSwitchStackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchStackParamsWithContext ¶
func NewDeleteNetworkSwitchStackParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackParams
NewDeleteNetworkSwitchStackParamsWithContext creates a new DeleteNetworkSwitchStackParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchStackParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams
NewDeleteNetworkSwitchStackParamsWithHTTPClient creates a new DeleteNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchStackParamsWithTimeout ¶
func NewDeleteNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams
NewDeleteNetworkSwitchStackParamsWithTimeout creates a new DeleteNetworkSwitchStackParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchStackParams) SetContext ¶
func (o *DeleteNetworkSwitchStackParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) SetDefaults ¶
func (o *DeleteNetworkSwitchStackParams) SetDefaults()
SetDefaults hydrates default values in the delete network switch stack params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkSwitchStackParams) SetHTTPClient ¶
func (o *DeleteNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) SetNetworkID ¶
func (o *DeleteNetworkSwitchStackParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) SetSwitchStackID ¶
func (o *DeleteNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
SetSwitchStackID adds the switchStackId to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) SetTimeout ¶
func (o *DeleteNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) WithContext ¶
func (o *DeleteNetworkSwitchStackParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackParams
WithContext adds the context to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) WithDefaults ¶
func (o *DeleteNetworkSwitchStackParams) WithDefaults() *DeleteNetworkSwitchStackParams
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 ¶
func (o *DeleteNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackParams
WithHTTPClient adds the HTTPClient to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchStackParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackParams
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 ¶
func (o *DeleteNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackParams
WithTimeout adds the timeout to the delete network switch stack params
func (*DeleteNetworkSwitchStackParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchStackReader ¶
type DeleteNetworkSwitchStackReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchStackReader is a Reader for the DeleteNetworkSwitchStack structure.
func (*DeleteNetworkSwitchStackReader) ReadResponse ¶
func (o *DeleteNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchStackRoutingInterfaceNoContent ¶
type DeleteNetworkSwitchStackRoutingInterfaceNoContent struct { }
DeleteNetworkSwitchStackRoutingInterfaceNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchStackRoutingInterfaceNoContent ¶
func NewDeleteNetworkSwitchStackRoutingInterfaceNoContent() *DeleteNetworkSwitchStackRoutingInterfaceNoContent
NewDeleteNetworkSwitchStackRoutingInterfaceNoContent creates a DeleteNetworkSwitchStackRoutingInterfaceNoContent with default headers values
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) Code ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) Code() int
Code gets the status code for the delete network switch stack routing interface no content response
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) Error ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) Error() string
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsClientError() bool
IsClientError returns true when this delete network switch stack routing interface no content response has a 4xx status code
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsCode ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch stack routing interface no content response a status code equal to that given
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch stack routing interface no content response has a 3xx status code
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsServerError() bool
IsServerError returns true when this delete network switch stack routing interface no content response has a 5xx status code
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch stack routing interface no content response has a 2xx status code
func (*DeleteNetworkSwitchStackRoutingInterfaceNoContent) String ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceNoContent) String() string
type DeleteNetworkSwitchStackRoutingInterfaceParams ¶
type DeleteNetworkSwitchStackRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the delete network switch stack routing interface operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchStackRoutingInterfaceParams ¶
func NewDeleteNetworkSwitchStackRoutingInterfaceParams() *DeleteNetworkSwitchStackRoutingInterfaceParams
NewDeleteNetworkSwitchStackRoutingInterfaceParams creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext ¶
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingInterfaceParams
NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingInterfaceParams
NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout ¶
func NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingInterfaceParams
NewDeleteNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new DeleteNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetContext ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithContext ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithContext adds the context to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithDefaults ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *DeleteNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithNetworkID adds the networkID to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithSwitchStackID adds the switchStackID to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WithTimeout ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingInterfaceParams
WithTimeout adds the timeout to the delete network switch stack routing interface params
func (*DeleteNetworkSwitchStackRoutingInterfaceParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchStackRoutingInterfaceReader ¶
type DeleteNetworkSwitchStackRoutingInterfaceReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchStackRoutingInterfaceReader is a Reader for the DeleteNetworkSwitchStackRoutingInterface structure.
func (*DeleteNetworkSwitchStackRoutingInterfaceReader) ReadResponse ¶
func (o *DeleteNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSwitchStackRoutingStaticRouteNoContent ¶
type DeleteNetworkSwitchStackRoutingStaticRouteNoContent struct { }
DeleteNetworkSwitchStackRoutingStaticRouteNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent ¶
func NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent() *DeleteNetworkSwitchStackRoutingStaticRouteNoContent
NewDeleteNetworkSwitchStackRoutingStaticRouteNoContent creates a DeleteNetworkSwitchStackRoutingStaticRouteNoContent with default headers values
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Code ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Code() int
Code gets the status code for the delete network switch stack routing static route no content response
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Error ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) Error() string
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsClientError ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsClientError() bool
IsClientError returns true when this delete network switch stack routing static route no content response has a 4xx status code
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsCode ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsCode(code int) bool
IsCode returns true when this delete network switch stack routing static route no content response a status code equal to that given
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsRedirect ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsRedirect() bool
IsRedirect returns true when this delete network switch stack routing static route no content response has a 3xx status code
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsServerError ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsServerError() bool
IsServerError returns true when this delete network switch stack routing static route no content response has a 5xx status code
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsSuccess ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) IsSuccess() bool
IsSuccess returns true when this delete network switch stack routing static route no content response has a 2xx status code
func (*DeleteNetworkSwitchStackRoutingStaticRouteNoContent) String ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteNoContent) String() string
type DeleteNetworkSwitchStackRoutingStaticRouteParams ¶
type DeleteNetworkSwitchStackRoutingStaticRouteParams struct { /* NetworkID. Network ID */ NetworkID string /* StaticRouteID. Static route ID */ StaticRouteID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the delete network switch stack routing static route operation. Typically these are written to a http.Request.
func NewDeleteNetworkSwitchStackRoutingStaticRouteParams ¶
func NewDeleteNetworkSwitchStackRoutingStaticRouteParams() *DeleteNetworkSwitchStackRoutingStaticRouteParams
NewDeleteNetworkSwitchStackRoutingStaticRouteParams creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext ¶
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingStaticRouteParams
NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient ¶
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingStaticRouteParams
NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout ¶
func NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingStaticRouteParams
NewDeleteNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new DeleteNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetContext ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) SetDefaults ¶
func (o *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 ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithContext ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithContext adds the context to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithDefaults ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *DeleteNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithNetworkID adds the networkID to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithSwitchStackID adds the switchStackID to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WithTimeout ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *DeleteNetworkSwitchStackRoutingStaticRouteParams
WithTimeout adds the timeout to the delete network switch stack routing static route params
func (*DeleteNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSwitchStackRoutingStaticRouteReader ¶
type DeleteNetworkSwitchStackRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSwitchStackRoutingStaticRouteReader is a Reader for the DeleteNetworkSwitchStackRoutingStaticRoute structure.
func (*DeleteNetworkSwitchStackRoutingStaticRouteReader) ReadResponse ¶
func (o *DeleteNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchPortOK ¶
type GetDeviceSwitchPortOK struct {
Payload *GetDeviceSwitchPortOKBody
}
GetDeviceSwitchPortOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchPortOK ¶
func NewGetDeviceSwitchPortOK() *GetDeviceSwitchPortOK
NewGetDeviceSwitchPortOK creates a GetDeviceSwitchPortOK with default headers values
func (*GetDeviceSwitchPortOK) Code ¶
func (o *GetDeviceSwitchPortOK) Code() int
Code gets the status code for the get device switch port o k response
func (*GetDeviceSwitchPortOK) Error ¶
func (o *GetDeviceSwitchPortOK) Error() string
func (*GetDeviceSwitchPortOK) GetPayload ¶
func (o *GetDeviceSwitchPortOK) GetPayload() *GetDeviceSwitchPortOKBody
func (*GetDeviceSwitchPortOK) IsClientError ¶
func (o *GetDeviceSwitchPortOK) IsClientError() bool
IsClientError returns true when this get device switch port o k response has a 4xx status code
func (*GetDeviceSwitchPortOK) IsCode ¶
func (o *GetDeviceSwitchPortOK) IsCode(code int) bool
IsCode returns true when this get device switch port o k response a status code equal to that given
func (*GetDeviceSwitchPortOK) IsRedirect ¶
func (o *GetDeviceSwitchPortOK) IsRedirect() bool
IsRedirect returns true when this get device switch port o k response has a 3xx status code
func (*GetDeviceSwitchPortOK) IsServerError ¶
func (o *GetDeviceSwitchPortOK) IsServerError() bool
IsServerError returns true when this get device switch port o k response has a 5xx status code
func (*GetDeviceSwitchPortOK) IsSuccess ¶
func (o *GetDeviceSwitchPortOK) IsSuccess() bool
IsSuccess returns true when this get device switch port o k response has a 2xx status code
func (*GetDeviceSwitchPortOK) String ¶
func (o *GetDeviceSwitchPortOK) String() string
type GetDeviceSwitchPortOKBody ¶
type GetDeviceSwitchPortOKBody struct { // The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile. AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"` // The VLANs allowed on the switch port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch port. Name string `json:"name,omitempty"` // If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile. PeerSgtCapable bool `json:"peerSgtCapable,omitempty"` // The PoE status of the switch port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *GetDeviceSwitchPortOKBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch port. Tags []string `json:"tags"` // The type of the switch port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetDeviceSwitchPortOKBody get device switch port o k body swagger:model GetDeviceSwitchPortOKBody
func (*GetDeviceSwitchPortOKBody) ContextValidate ¶
func (o *GetDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch port o k body based on the context it is used
func (*GetDeviceSwitchPortOKBody) MarshalBinary ¶
func (o *GetDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortOKBody) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortOKBodyProfile ¶
type GetDeviceSwitchPortOKBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
GetDeviceSwitchPortOKBodyProfile Profile attributes swagger:model GetDeviceSwitchPortOKBodyProfile
func (*GetDeviceSwitchPortOKBodyProfile) ContextValidate ¶
func (o *GetDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch port o k body profile based on context it is used
func (*GetDeviceSwitchPortOKBodyProfile) MarshalBinary ¶
func (o *GetDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortOKBodyProfile) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortParams ¶
type GetDeviceSwitchPortParams struct { /* PortID. Port ID */ PortID string /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchPortParams contains all the parameters to send to the API endpoint
for the get device switch port operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchPortParams ¶
func NewGetDeviceSwitchPortParams() *GetDeviceSwitchPortParams
NewGetDeviceSwitchPortParams creates a new GetDeviceSwitchPortParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchPortParamsWithContext ¶
func NewGetDeviceSwitchPortParamsWithContext(ctx context.Context) *GetDeviceSwitchPortParams
NewGetDeviceSwitchPortParamsWithContext creates a new GetDeviceSwitchPortParams object with the ability to set a context for a request.
func NewGetDeviceSwitchPortParamsWithHTTPClient ¶
func NewGetDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortParams
NewGetDeviceSwitchPortParamsWithHTTPClient creates a new GetDeviceSwitchPortParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchPortParamsWithTimeout ¶
func NewGetDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortParams
NewGetDeviceSwitchPortParamsWithTimeout creates a new GetDeviceSwitchPortParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchPortParams) SetContext ¶
func (o *GetDeviceSwitchPortParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch port params
func (*GetDeviceSwitchPortParams) SetDefaults ¶
func (o *GetDeviceSwitchPortParams) SetDefaults()
SetDefaults hydrates default values in the get device switch port params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceSwitchPortParams) SetHTTPClient ¶
func (o *GetDeviceSwitchPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device switch port params
func (*GetDeviceSwitchPortParams) SetPortID ¶
func (o *GetDeviceSwitchPortParams) SetPortID(portID string)
SetPortID adds the portId to the get device switch port params
func (*GetDeviceSwitchPortParams) SetSerial ¶
func (o *GetDeviceSwitchPortParams) SetSerial(serial string)
SetSerial adds the serial to the get device switch port params
func (*GetDeviceSwitchPortParams) SetTimeout ¶
func (o *GetDeviceSwitchPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device switch port params
func (*GetDeviceSwitchPortParams) WithContext ¶
func (o *GetDeviceSwitchPortParams) WithContext(ctx context.Context) *GetDeviceSwitchPortParams
WithContext adds the context to the get device switch port params
func (*GetDeviceSwitchPortParams) WithDefaults ¶
func (o *GetDeviceSwitchPortParams) WithDefaults() *GetDeviceSwitchPortParams
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 ¶
func (o *GetDeviceSwitchPortParams) WithPortID(portID string) *GetDeviceSwitchPortParams
WithPortID adds the portID to the get device switch port params
func (*GetDeviceSwitchPortParams) WithSerial ¶
func (o *GetDeviceSwitchPortParams) WithSerial(serial string) *GetDeviceSwitchPortParams
WithSerial adds the serial to the get device switch port params
func (*GetDeviceSwitchPortParams) WithTimeout ¶
func (o *GetDeviceSwitchPortParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortParams
WithTimeout adds the timeout to the get device switch port params
func (*GetDeviceSwitchPortParams) WriteToRequest ¶
func (o *GetDeviceSwitchPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchPortReader ¶
type GetDeviceSwitchPortReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchPortReader is a Reader for the GetDeviceSwitchPort structure.
func (*GetDeviceSwitchPortReader) ReadResponse ¶
func (o *GetDeviceSwitchPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchPortsOK ¶
type GetDeviceSwitchPortsOK struct {
Payload []*GetDeviceSwitchPortsOKBodyItems0
}
GetDeviceSwitchPortsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchPortsOK ¶
func NewGetDeviceSwitchPortsOK() *GetDeviceSwitchPortsOK
NewGetDeviceSwitchPortsOK creates a GetDeviceSwitchPortsOK with default headers values
func (*GetDeviceSwitchPortsOK) Code ¶
func (o *GetDeviceSwitchPortsOK) Code() int
Code gets the status code for the get device switch ports o k response
func (*GetDeviceSwitchPortsOK) Error ¶
func (o *GetDeviceSwitchPortsOK) Error() string
func (*GetDeviceSwitchPortsOK) GetPayload ¶
func (o *GetDeviceSwitchPortsOK) GetPayload() []*GetDeviceSwitchPortsOKBodyItems0
func (*GetDeviceSwitchPortsOK) IsClientError ¶
func (o *GetDeviceSwitchPortsOK) IsClientError() bool
IsClientError returns true when this get device switch ports o k response has a 4xx status code
func (*GetDeviceSwitchPortsOK) IsCode ¶
func (o *GetDeviceSwitchPortsOK) IsCode(code int) bool
IsCode returns true when this get device switch ports o k response a status code equal to that given
func (*GetDeviceSwitchPortsOK) IsRedirect ¶
func (o *GetDeviceSwitchPortsOK) IsRedirect() bool
IsRedirect returns true when this get device switch ports o k response has a 3xx status code
func (*GetDeviceSwitchPortsOK) IsServerError ¶
func (o *GetDeviceSwitchPortsOK) IsServerError() bool
IsServerError returns true when this get device switch ports o k response has a 5xx status code
func (*GetDeviceSwitchPortsOK) IsSuccess ¶
func (o *GetDeviceSwitchPortsOK) IsSuccess() bool
IsSuccess returns true when this get device switch ports o k response has a 2xx status code
func (*GetDeviceSwitchPortsOK) String ¶
func (o *GetDeviceSwitchPortsOK) String() string
type GetDeviceSwitchPortsOKBodyItems0 ¶
type GetDeviceSwitchPortsOKBodyItems0 struct { // The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile. AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"` // The VLANs allowed on the switch port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch port. Name string `json:"name,omitempty"` // If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile. PeerSgtCapable bool `json:"peerSgtCapable,omitempty"` // The PoE status of the switch port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *GetDeviceSwitchPortsOKBodyItems0Profile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch port. Tags []string `json:"tags"` // The type of the switch port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetDeviceSwitchPortsOKBodyItems0 get device switch ports o k body items0 swagger:model GetDeviceSwitchPortsOKBodyItems0
func (*GetDeviceSwitchPortsOKBodyItems0) ContextValidate ¶
func (o *GetDeviceSwitchPortsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch ports o k body items0 based on the context it is used
func (*GetDeviceSwitchPortsOKBodyItems0) MarshalBinary ¶
func (o *GetDeviceSwitchPortsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsOKBodyItems0) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsOKBodyItems0Profile ¶
type GetDeviceSwitchPortsOKBodyItems0Profile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
GetDeviceSwitchPortsOKBodyItems0Profile Profile attributes swagger:model GetDeviceSwitchPortsOKBodyItems0Profile
func (*GetDeviceSwitchPortsOKBodyItems0Profile) ContextValidate ¶
func (o *GetDeviceSwitchPortsOKBodyItems0Profile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports o k body items0 profile based on context it is used
func (*GetDeviceSwitchPortsOKBodyItems0Profile) MarshalBinary ¶
func (o *GetDeviceSwitchPortsOKBodyItems0Profile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsOKBodyItems0Profile) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsOKBodyItems0Profile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsParams ¶
type GetDeviceSwitchPortsParams struct { /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchPortsParams contains all the parameters to send to the API endpoint
for the get device switch ports operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchPortsParams ¶
func NewGetDeviceSwitchPortsParams() *GetDeviceSwitchPortsParams
NewGetDeviceSwitchPortsParams creates a new GetDeviceSwitchPortsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchPortsParamsWithContext ¶
func NewGetDeviceSwitchPortsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsParams
NewGetDeviceSwitchPortsParamsWithContext creates a new GetDeviceSwitchPortsParams object with the ability to set a context for a request.
func NewGetDeviceSwitchPortsParamsWithHTTPClient ¶
func NewGetDeviceSwitchPortsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsParams
NewGetDeviceSwitchPortsParamsWithHTTPClient creates a new GetDeviceSwitchPortsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchPortsParamsWithTimeout ¶
func NewGetDeviceSwitchPortsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsParams
NewGetDeviceSwitchPortsParamsWithTimeout creates a new GetDeviceSwitchPortsParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchPortsParams) SetContext ¶
func (o *GetDeviceSwitchPortsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch ports params
func (*GetDeviceSwitchPortsParams) SetDefaults ¶
func (o *GetDeviceSwitchPortsParams) SetDefaults()
SetDefaults hydrates default values in the get device switch ports params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceSwitchPortsParams) SetHTTPClient ¶
func (o *GetDeviceSwitchPortsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device switch ports params
func (*GetDeviceSwitchPortsParams) SetSerial ¶
func (o *GetDeviceSwitchPortsParams) SetSerial(serial string)
SetSerial adds the serial to the get device switch ports params
func (*GetDeviceSwitchPortsParams) SetTimeout ¶
func (o *GetDeviceSwitchPortsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device switch ports params
func (*GetDeviceSwitchPortsParams) WithContext ¶
func (o *GetDeviceSwitchPortsParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsParams
WithContext adds the context to the get device switch ports params
func (*GetDeviceSwitchPortsParams) WithDefaults ¶
func (o *GetDeviceSwitchPortsParams) WithDefaults() *GetDeviceSwitchPortsParams
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 ¶
func (o *GetDeviceSwitchPortsParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsParams
WithHTTPClient adds the HTTPClient to the get device switch ports params
func (*GetDeviceSwitchPortsParams) WithSerial ¶
func (o *GetDeviceSwitchPortsParams) WithSerial(serial string) *GetDeviceSwitchPortsParams
WithSerial adds the serial to the get device switch ports params
func (*GetDeviceSwitchPortsParams) WithTimeout ¶
func (o *GetDeviceSwitchPortsParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsParams
WithTimeout adds the timeout to the get device switch ports params
func (*GetDeviceSwitchPortsParams) WriteToRequest ¶
func (o *GetDeviceSwitchPortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchPortsReader ¶
type GetDeviceSwitchPortsReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchPortsReader is a Reader for the GetDeviceSwitchPorts structure.
func (*GetDeviceSwitchPortsReader) ReadResponse ¶
func (o *GetDeviceSwitchPortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchPortsStatusesOK ¶
type GetDeviceSwitchPortsStatusesOK struct {
Payload []*GetDeviceSwitchPortsStatusesOKBodyItems0
}
GetDeviceSwitchPortsStatusesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchPortsStatusesOK ¶
func NewGetDeviceSwitchPortsStatusesOK() *GetDeviceSwitchPortsStatusesOK
NewGetDeviceSwitchPortsStatusesOK creates a GetDeviceSwitchPortsStatusesOK with default headers values
func (*GetDeviceSwitchPortsStatusesOK) Code ¶
func (o *GetDeviceSwitchPortsStatusesOK) Code() int
Code gets the status code for the get device switch ports statuses o k response
func (*GetDeviceSwitchPortsStatusesOK) Error ¶
func (o *GetDeviceSwitchPortsStatusesOK) Error() string
func (*GetDeviceSwitchPortsStatusesOK) GetPayload ¶
func (o *GetDeviceSwitchPortsStatusesOK) GetPayload() []*GetDeviceSwitchPortsStatusesOKBodyItems0
func (*GetDeviceSwitchPortsStatusesOK) IsClientError ¶
func (o *GetDeviceSwitchPortsStatusesOK) IsClientError() bool
IsClientError returns true when this get device switch ports statuses o k response has a 4xx status code
func (*GetDeviceSwitchPortsStatusesOK) IsCode ¶
func (o *GetDeviceSwitchPortsStatusesOK) IsCode(code int) bool
IsCode returns true when this get device switch ports statuses o k response a status code equal to that given
func (*GetDeviceSwitchPortsStatusesOK) IsRedirect ¶
func (o *GetDeviceSwitchPortsStatusesOK) IsRedirect() bool
IsRedirect returns true when this get device switch ports statuses o k response has a 3xx status code
func (*GetDeviceSwitchPortsStatusesOK) IsServerError ¶
func (o *GetDeviceSwitchPortsStatusesOK) IsServerError() bool
IsServerError returns true when this get device switch ports statuses o k response has a 5xx status code
func (*GetDeviceSwitchPortsStatusesOK) IsSuccess ¶
func (o *GetDeviceSwitchPortsStatusesOK) IsSuccess() bool
IsSuccess returns true when this get device switch ports statuses o k response has a 2xx status code
func (*GetDeviceSwitchPortsStatusesOK) String ¶
func (o *GetDeviceSwitchPortsStatusesOK) String() string
type GetDeviceSwitchPortsStatusesOKBodyItems0 ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0 struct { // cdp Cdp *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp `json:"cdp,omitempty"` // The number of clients connected through this port. ClientCount int64 `json:"clientCount,omitempty"` // The current duplex of a connected port. // Enum: [ full half] Duplex string `json:"duplex,omitempty"` // Whether the port is configured to be enabled. Enabled bool `json:"enabled,omitempty"` // All errors present on the port. Errors []string `json:"errors"` // Whether the port is the switch's uplink. IsUplink bool `json:"isUplink,omitempty"` // lldp Lldp *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp `json:"lldp,omitempty"` // The string identifier of this port on the switch. This is commonly just the port number but may contain additional identifying information such as the slot and module-type if the port is located on a port module. PortID string `json:"portId,omitempty"` // How much power (in watt-hours) has been delivered by this port during the timespan. PowerUsageInWh float32 `json:"powerUsageInWh,omitempty"` // secure port SecurePort *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort `json:"securePort,omitempty"` // The current data transfer rate which the port is operating at. // Enum: [ 1 Gbps 10 Gbps 10 Mbps 100 Gbps 100 Mbps 2.5 Gbps 20 Gbps 40 Gbps 5 Gbps] Speed string `json:"speed,omitempty"` // The current connection status of the port. // Enum: [Connected Disabled Disconnected] Status string `json:"status,omitempty"` // traffic in kbps TrafficInKbps *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps `json:"trafficInKbps,omitempty"` // usage in kb UsageInKb *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb `json:"usageInKb,omitempty"` // All warnings present on the port. Warnings []string `json:"warnings"` }
GetDeviceSwitchPortsStatusesOKBodyItems0 get device switch ports statuses o k body items0 swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0
func (*GetDeviceSwitchPortsStatusesOKBodyItems0) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch ports statuses o k body items0 based on the context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesOKBodyItems0Cdp ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0Cdp struct { // Contains network addresses of both receiving and sending devices. Address string `json:"address,omitempty"` // Identifies the device type, which indicates the functional capabilities of the device. Capabilities string `json:"capabilities,omitempty"` // Identifies the device name. DeviceID string `json:"deviceId,omitempty"` // The device's management IP. ManagementAddress string `json:"managementAddress,omitempty"` // Indicates, per interface, the assumed VLAN for untagged packets on the interface. NativeVlan int64 `json:"nativeVlan,omitempty"` // Identifies the hardware platform of the device. Platform string `json:"platform,omitempty"` // Identifies the port from which the CDP packet was sent. PortID string `json:"portId,omitempty"` // The system name. SystemName string `json:"systemName,omitempty"` // Contains the device software release information. Version string `json:"version,omitempty"` // Advertises the configured VLAN Trunking Protocl (VTP)-management-domain name of the system. VtpManagementDomain string `json:"vtpManagementDomain,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0Cdp The Cisco Discovery Protocol (CDP) information of the connected device. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0Cdp
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports statuses o k body items0 cdp based on context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Cdp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesOKBodyItems0Lldp ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0Lldp struct { // The device's chassis ID. ChassisID string `json:"chassisId,omitempty"` // The device's management IP. ManagementAddress string `json:"managementAddress,omitempty"` // The device's management VLAN. ManagementVlan int64 `json:"managementVlan,omitempty"` // Description of the port from which the LLDP packet was sent. PortDescription string `json:"portDescription,omitempty"` // Identifies the port from which the LLDP packet was sent PortID string `json:"portId,omitempty"` // The port's VLAN. PortVlan int64 `json:"portVlan,omitempty"` // Identifies the device type, which indicates the functional capabilities of the device. SystemCapabilities string `json:"systemCapabilities,omitempty"` // The device's system description. SystemDescription string `json:"systemDescription,omitempty"` // The device's system name. SystemName string `json:"systemName,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0Lldp The Link Layer Discovery Protocol (LLDP) information of the connected device. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0Lldp
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports statuses o k body items0 lldp based on context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0Lldp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort struct { // Whether Secure Port is currently active for this port. Active bool `json:"active,omitempty"` // The current Secure Port status. // Enum: [Authentication failure Authentication in progress Authentication successful Authentication timed out Disabled Enabled] AuthenticationStatus string `json:"authenticationStatus,omitempty"` // config overrides ConfigOverrides *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides `json:"configOverrides,omitempty"` // Whether Secure Port is turned on for this port. Enabled bool `json:"enabled,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort The Secure Port status of the port. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch ports statuses o k body items0 secure port based on the context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePort) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides struct { // The VLANs allowed on the . Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // The type of the ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The VLAN of the . A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the . Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides The configuration overrides applied to this port when Secure Port is active. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports statuses o k body items0 secure port config overrides based on context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) Validate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0SecurePortConfigOverrides) Validate(formats strfmt.Registry) error
Validate validates this get device switch ports statuses o k body items0 secure port config overrides
type GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps struct { // The average speed of the data received (in kilobits-per-second). Recv float32 `json:"recv,omitempty"` // The average speed of the data sent (in kilobits-per-second). Sent float32 `json:"sent,omitempty"` // The average speed of the data sent and received (in kilobits-per-second). Total float32 `json:"total,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps A breakdown of the average speed of data that has passed through this port during the timespan. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps
func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports statuses o k body items0 traffic in kbps based on context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0TrafficInKbps) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb ¶
type GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb struct { // The amount of data received (in kilobytes). Recv int64 `json:"recv,omitempty"` // The amount of data sent (in kilobytes). Sent int64 `json:"sent,omitempty"` // The total amount of data sent and received (in kilobytes). Total int64 `json:"total,omitempty"` }
GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb A breakdown of how many kilobytes have passed through this port during the timespan. swagger:model GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb
func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) ContextValidate ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch ports statuses o k body items0 usage in kb based on context it is used
func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) MarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) UnmarshalBinary ¶
func (o *GetDeviceSwitchPortsStatusesOKBodyItems0UsageInKb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchPortsStatusesPacketsOK ¶
type GetDeviceSwitchPortsStatusesPacketsOK struct {
Payload []interface{}
}
GetDeviceSwitchPortsStatusesPacketsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchPortsStatusesPacketsOK ¶
func NewGetDeviceSwitchPortsStatusesPacketsOK() *GetDeviceSwitchPortsStatusesPacketsOK
NewGetDeviceSwitchPortsStatusesPacketsOK creates a GetDeviceSwitchPortsStatusesPacketsOK with default headers values
func (*GetDeviceSwitchPortsStatusesPacketsOK) Code ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) Code() int
Code gets the status code for the get device switch ports statuses packets o k response
func (*GetDeviceSwitchPortsStatusesPacketsOK) Error ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) Error() string
func (*GetDeviceSwitchPortsStatusesPacketsOK) GetPayload ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) GetPayload() []interface{}
func (*GetDeviceSwitchPortsStatusesPacketsOK) IsClientError ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsClientError() bool
IsClientError returns true when this get device switch ports statuses packets o k response has a 4xx status code
func (*GetDeviceSwitchPortsStatusesPacketsOK) IsCode ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsCode(code int) bool
IsCode returns true when this get device switch ports statuses packets o k response a status code equal to that given
func (*GetDeviceSwitchPortsStatusesPacketsOK) IsRedirect ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsRedirect() bool
IsRedirect returns true when this get device switch ports statuses packets o k response has a 3xx status code
func (*GetDeviceSwitchPortsStatusesPacketsOK) IsServerError ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsServerError() bool
IsServerError returns true when this get device switch ports statuses packets o k response has a 5xx status code
func (*GetDeviceSwitchPortsStatusesPacketsOK) IsSuccess ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) IsSuccess() bool
IsSuccess returns true when this get device switch ports statuses packets o k response has a 2xx status code
func (*GetDeviceSwitchPortsStatusesPacketsOK) String ¶
func (o *GetDeviceSwitchPortsStatusesPacketsOK) String() string
type GetDeviceSwitchPortsStatusesPacketsParams ¶
type GetDeviceSwitchPortsStatusesPacketsParams struct { /* Serial. Serial */ Serial string /* T0. The beginning of the timespan for the data. The maximum lookback period is 1 day from today. */ T0 *string /* Timespan. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 1 day. The default is 1 day. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchPortsStatusesPacketsParams contains all the parameters to send to the API endpoint
for the get device switch ports statuses packets operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchPortsStatusesPacketsParams ¶
func NewGetDeviceSwitchPortsStatusesPacketsParams() *GetDeviceSwitchPortsStatusesPacketsParams
NewGetDeviceSwitchPortsStatusesPacketsParams creates a new GetDeviceSwitchPortsStatusesPacketsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext ¶
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesPacketsParams
NewGetDeviceSwitchPortsStatusesPacketsParamsWithContext creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a context for a request.
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient ¶
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesPacketsParams
NewGetDeviceSwitchPortsStatusesPacketsParamsWithHTTPClient creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout ¶
func NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesPacketsParams
NewGetDeviceSwitchPortsStatusesPacketsParamsWithTimeout creates a new GetDeviceSwitchPortsStatusesPacketsParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchPortsStatusesPacketsParams) SetContext ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetSerial(serial string)
SetSerial adds the serial to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) SetT0 ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetT0(t0 *string)
SetT0 adds the t0 to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) SetTimeout ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesPacketsParams
WithContext adds the context to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WithDefaults ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithDefaults() *GetDeviceSwitchPortsStatusesPacketsParams
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 ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesPacketsParams
WithHTTPClient adds the HTTPClient to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WithSerial ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithSerial(serial string) *GetDeviceSwitchPortsStatusesPacketsParams
WithSerial adds the serial to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WithT0 ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithT0(t0 *string) *GetDeviceSwitchPortsStatusesPacketsParams
WithT0 adds the t0 to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WithTimeout ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesPacketsParams
WithTimeout adds the timeout to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WithTimespan ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WithTimespan(timespan *float32) *GetDeviceSwitchPortsStatusesPacketsParams
WithTimespan adds the timespan to the get device switch ports statuses packets params
func (*GetDeviceSwitchPortsStatusesPacketsParams) WriteToRequest ¶
func (o *GetDeviceSwitchPortsStatusesPacketsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchPortsStatusesPacketsReader ¶
type GetDeviceSwitchPortsStatusesPacketsReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchPortsStatusesPacketsReader is a Reader for the GetDeviceSwitchPortsStatusesPackets structure.
func (*GetDeviceSwitchPortsStatusesPacketsReader) ReadResponse ¶
func (o *GetDeviceSwitchPortsStatusesPacketsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchPortsStatusesParams ¶
type GetDeviceSwitchPortsStatusesParams struct { /* Serial. Serial */ Serial string /* T0. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ T0 *string /* Timespan. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchPortsStatusesParams contains all the parameters to send to the API endpoint
for the get device switch ports statuses operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchPortsStatusesParams ¶
func NewGetDeviceSwitchPortsStatusesParams() *GetDeviceSwitchPortsStatusesParams
NewGetDeviceSwitchPortsStatusesParams creates a new GetDeviceSwitchPortsStatusesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchPortsStatusesParamsWithContext ¶
func NewGetDeviceSwitchPortsStatusesParamsWithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesParams
NewGetDeviceSwitchPortsStatusesParamsWithContext creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a context for a request.
func NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient ¶
func NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesParams
NewGetDeviceSwitchPortsStatusesParamsWithHTTPClient creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchPortsStatusesParamsWithTimeout ¶
func NewGetDeviceSwitchPortsStatusesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesParams
NewGetDeviceSwitchPortsStatusesParamsWithTimeout creates a new GetDeviceSwitchPortsStatusesParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchPortsStatusesParams) SetContext ¶
func (o *GetDeviceSwitchPortsStatusesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceSwitchPortsStatusesParams) SetT0(t0 *string)
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 ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithContext(ctx context.Context) *GetDeviceSwitchPortsStatusesParams
WithContext adds the context to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WithDefaults ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithDefaults() *GetDeviceSwitchPortsStatusesParams
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 ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchPortsStatusesParams
WithHTTPClient adds the HTTPClient to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WithSerial ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithSerial(serial string) *GetDeviceSwitchPortsStatusesParams
WithSerial adds the serial to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WithT0 ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithT0(t0 *string) *GetDeviceSwitchPortsStatusesParams
WithT0 adds the t0 to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WithTimeout ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchPortsStatusesParams
WithTimeout adds the timeout to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WithTimespan ¶
func (o *GetDeviceSwitchPortsStatusesParams) WithTimespan(timespan *float32) *GetDeviceSwitchPortsStatusesParams
WithTimespan adds the timespan to the get device switch ports statuses params
func (*GetDeviceSwitchPortsStatusesParams) WriteToRequest ¶
func (o *GetDeviceSwitchPortsStatusesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchPortsStatusesReader ¶
type GetDeviceSwitchPortsStatusesReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchPortsStatusesReader is a Reader for the GetDeviceSwitchPortsStatuses structure.
func (*GetDeviceSwitchPortsStatusesReader) ReadResponse ¶
func (o *GetDeviceSwitchPortsStatusesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchRoutingInterfaceDhcpOK ¶
type GetDeviceSwitchRoutingInterfaceDhcpOK struct {
Payload interface{}
}
GetDeviceSwitchRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchRoutingInterfaceDhcpOK ¶
func NewGetDeviceSwitchRoutingInterfaceDhcpOK() *GetDeviceSwitchRoutingInterfaceDhcpOK
NewGetDeviceSwitchRoutingInterfaceDhcpOK creates a GetDeviceSwitchRoutingInterfaceDhcpOK with default headers values
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) Code ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) Code() int
Code gets the status code for the get device switch routing interface dhcp o k response
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) Error ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) Error() string
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsClientError ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsClientError() bool
IsClientError returns true when this get device switch routing interface dhcp o k response has a 4xx status code
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsCode ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsCode(code int) bool
IsCode returns true when this get device switch routing interface dhcp o k response a status code equal to that given
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect() bool
IsRedirect returns true when this get device switch routing interface dhcp o k response has a 3xx status code
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsServerError ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsServerError() bool
IsServerError returns true when this get device switch routing interface dhcp o k response has a 5xx status code
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess() bool
IsSuccess returns true when this get device switch routing interface dhcp o k response has a 2xx status code
func (*GetDeviceSwitchRoutingInterfaceDhcpOK) String ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpOK) String() string
type GetDeviceSwitchRoutingInterfaceDhcpParams ¶
type GetDeviceSwitchRoutingInterfaceDhcpParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint
for the get device switch routing interface dhcp operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchRoutingInterfaceDhcpParams ¶
func NewGetDeviceSwitchRoutingInterfaceDhcpParams() *GetDeviceSwitchRoutingInterfaceDhcpParams
NewGetDeviceSwitchRoutingInterfaceDhcpParams creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext ¶
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceDhcpParams
NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithContext creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a context for a request.
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient ¶
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceDhcpParams
NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout ¶
func NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceDhcpParams
NewGetDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetContext ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults ¶
func (o *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 ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetSerial(serial string)
SetSerial adds the serial to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithContext ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceDhcpParams
WithContext adds the context to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults() *GetDeviceSwitchRoutingInterfaceDhcpParams
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 ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceDhcpParams
WithHTTPClient adds the HTTPClient to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *GetDeviceSwitchRoutingInterfaceDhcpParams
WithInterfaceID adds the interfaceID to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithSerial ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfaceDhcpParams
WithSerial adds the serial to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceDhcpParams
WithTimeout adds the timeout to the get device switch routing interface dhcp params
func (*GetDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchRoutingInterfaceDhcpReader ¶
type GetDeviceSwitchRoutingInterfaceDhcpReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchRoutingInterfaceDhcpReader is a Reader for the GetDeviceSwitchRoutingInterfaceDhcp structure.
func (*GetDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse ¶
func (o *GetDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchRoutingInterfaceOK ¶
type GetDeviceSwitchRoutingInterfaceOK struct {
Payload *GetDeviceSwitchRoutingInterfaceOKBody
}
GetDeviceSwitchRoutingInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchRoutingInterfaceOK ¶
func NewGetDeviceSwitchRoutingInterfaceOK() *GetDeviceSwitchRoutingInterfaceOK
NewGetDeviceSwitchRoutingInterfaceOK creates a GetDeviceSwitchRoutingInterfaceOK with default headers values
func (*GetDeviceSwitchRoutingInterfaceOK) Code ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) Code() int
Code gets the status code for the get device switch routing interface o k response
func (*GetDeviceSwitchRoutingInterfaceOK) Error ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) Error() string
func (*GetDeviceSwitchRoutingInterfaceOK) GetPayload ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) GetPayload() *GetDeviceSwitchRoutingInterfaceOKBody
func (*GetDeviceSwitchRoutingInterfaceOK) IsClientError ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) IsClientError() bool
IsClientError returns true when this get device switch routing interface o k response has a 4xx status code
func (*GetDeviceSwitchRoutingInterfaceOK) IsCode ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) IsCode(code int) bool
IsCode returns true when this get device switch routing interface o k response a status code equal to that given
func (*GetDeviceSwitchRoutingInterfaceOK) IsRedirect ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) IsRedirect() bool
IsRedirect returns true when this get device switch routing interface o k response has a 3xx status code
func (*GetDeviceSwitchRoutingInterfaceOK) IsServerError ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) IsServerError() bool
IsServerError returns true when this get device switch routing interface o k response has a 5xx status code
func (*GetDeviceSwitchRoutingInterfaceOK) IsSuccess ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) IsSuccess() bool
IsSuccess returns true when this get device switch routing interface o k response has a 2xx status code
func (*GetDeviceSwitchRoutingInterfaceOK) String ¶
func (o *GetDeviceSwitchRoutingInterfaceOK) String() string
type GetDeviceSwitchRoutingInterfaceOKBody ¶
type GetDeviceSwitchRoutingInterfaceOKBody struct { // IPv4 default gateway DefaultGateway string `json:"defaultGateway,omitempty"` // The id InterfaceID string `json:"interfaceId,omitempty"` // IPv4 address InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *GetDeviceSwitchRoutingInterfaceOKBodyIPV6 `json:"ipv6,omitempty"` // Multicast routing status MulticastRouting string `json:"multicastRouting,omitempty"` // The name Name string `json:"name,omitempty"` // ospf settings OspfSettings *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 `json:"ospfV3,omitempty"` // IPv4 subnet Subnet string `json:"subnet,omitempty"` // VLAN id VlanID int64 `json:"vlanId,omitempty"` }
GetDeviceSwitchRoutingInterfaceOKBody get device switch routing interface o k body swagger:model GetDeviceSwitchRoutingInterfaceOKBody
func (*GetDeviceSwitchRoutingInterfaceOKBody) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch routing interface o k body based on the context it is used
func (*GetDeviceSwitchRoutingInterfaceOKBody) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfaceOKBodyIPV6 ¶
type GetDeviceSwitchRoutingInterfaceOKBodyIPV6 struct { // IPv6 address Address string `json:"address,omitempty"` // Assignment mode AssignmentMode string `json:"assignmentMode,omitempty"` // IPv6 gateway Gateway string `json:"gateway,omitempty"` // IPv6 subnet Prefix string `json:"prefix,omitempty"` }
GetDeviceSwitchRoutingInterfaceOKBodyIPV6 IPv6 addressing swagger:model GetDeviceSwitchRoutingInterfaceOKBodyIPV6
func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interface o k body IP v6 based on context it is used
func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings ¶
type GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv4 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings IPv4 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interface o k body ospf settings based on context it is used
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 ¶
type GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv6 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
GetDeviceSwitchRoutingInterfaceOKBodyOspfV3 IPv6 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfaceOKBodyOspfV3
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interface o k body ospf v3 based on context it is used
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfaceParams ¶
type GetDeviceSwitchRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the get device switch routing interface operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchRoutingInterfaceParams ¶
func NewGetDeviceSwitchRoutingInterfaceParams() *GetDeviceSwitchRoutingInterfaceParams
NewGetDeviceSwitchRoutingInterfaceParams creates a new GetDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchRoutingInterfaceParamsWithContext ¶
func NewGetDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceParams
NewGetDeviceSwitchRoutingInterfaceParamsWithContext creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.
func NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient ¶
func NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceParams
NewGetDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout ¶
func NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceParams
NewGetDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchRoutingInterfaceParams) SetContext ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfaceParams
WithContext adds the context to the get device switch routing interface params
func (*GetDeviceSwitchRoutingInterfaceParams) WithDefaults ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithDefaults() *GetDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the get device switch routing interface params
func (*GetDeviceSwitchRoutingInterfaceParams) WithInterfaceID ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *GetDeviceSwitchRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the get device switch routing interface params
func (*GetDeviceSwitchRoutingInterfaceParams) WithSerial ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfaceParams
WithSerial adds the serial to the get device switch routing interface params
func (*GetDeviceSwitchRoutingInterfaceParams) WithTimeout ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfaceParams
WithTimeout adds the timeout to the get device switch routing interface params
func (*GetDeviceSwitchRoutingInterfaceParams) WriteToRequest ¶
func (o *GetDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchRoutingInterfaceReader ¶
type GetDeviceSwitchRoutingInterfaceReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchRoutingInterfaceReader is a Reader for the GetDeviceSwitchRoutingInterface structure.
func (*GetDeviceSwitchRoutingInterfaceReader) ReadResponse ¶
func (o *GetDeviceSwitchRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchRoutingInterfacesOK ¶
type GetDeviceSwitchRoutingInterfacesOK struct {
Payload []*GetDeviceSwitchRoutingInterfacesOKBodyItems0
}
GetDeviceSwitchRoutingInterfacesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchRoutingInterfacesOK ¶
func NewGetDeviceSwitchRoutingInterfacesOK() *GetDeviceSwitchRoutingInterfacesOK
NewGetDeviceSwitchRoutingInterfacesOK creates a GetDeviceSwitchRoutingInterfacesOK with default headers values
func (*GetDeviceSwitchRoutingInterfacesOK) Code ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) Code() int
Code gets the status code for the get device switch routing interfaces o k response
func (*GetDeviceSwitchRoutingInterfacesOK) Error ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) Error() string
func (*GetDeviceSwitchRoutingInterfacesOK) GetPayload ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) GetPayload() []*GetDeviceSwitchRoutingInterfacesOKBodyItems0
func (*GetDeviceSwitchRoutingInterfacesOK) IsClientError ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) IsClientError() bool
IsClientError returns true when this get device switch routing interfaces o k response has a 4xx status code
func (*GetDeviceSwitchRoutingInterfacesOK) IsCode ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) IsCode(code int) bool
IsCode returns true when this get device switch routing interfaces o k response a status code equal to that given
func (*GetDeviceSwitchRoutingInterfacesOK) IsRedirect ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) IsRedirect() bool
IsRedirect returns true when this get device switch routing interfaces o k response has a 3xx status code
func (*GetDeviceSwitchRoutingInterfacesOK) IsServerError ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) IsServerError() bool
IsServerError returns true when this get device switch routing interfaces o k response has a 5xx status code
func (*GetDeviceSwitchRoutingInterfacesOK) IsSuccess ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) IsSuccess() bool
IsSuccess returns true when this get device switch routing interfaces o k response has a 2xx status code
func (*GetDeviceSwitchRoutingInterfacesOK) String ¶
func (o *GetDeviceSwitchRoutingInterfacesOK) String() string
type GetDeviceSwitchRoutingInterfacesOKBodyItems0 ¶
type GetDeviceSwitchRoutingInterfacesOKBodyItems0 struct { // IPv4 default gateway DefaultGateway string `json:"defaultGateway,omitempty"` // The id InterfaceID string `json:"interfaceId,omitempty"` // IPv4 address InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 `json:"ipv6,omitempty"` // Multicast routing status MulticastRouting string `json:"multicastRouting,omitempty"` // The name Name string `json:"name,omitempty"` // ospf settings OspfSettings *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 `json:"ospfV3,omitempty"` // IPv4 subnet Subnet string `json:"subnet,omitempty"` // VLAN id VlanID int64 `json:"vlanId,omitempty"` }
GetDeviceSwitchRoutingInterfacesOKBodyItems0 get device switch routing interfaces o k body items0 swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device switch routing interfaces o k body items0 based on the context it is used
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 ¶
type GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 struct { // IPv6 address Address string `json:"address,omitempty"` // Assignment mode AssignmentMode string `json:"assignmentMode,omitempty"` // IPv6 gateway Gateway string `json:"gateway,omitempty"` // IPv6 subnet Prefix string `json:"prefix,omitempty"` }
GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6 IPv6 addressing swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interfaces o k body items0 IP v6 based on context it is used
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0IPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings ¶
type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv4 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings IPv4 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interfaces o k body items0 ospf settings based on context it is used
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 ¶
type GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv6 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3 IPv6 OSPF Settings swagger:model GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) ContextValidate ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing interfaces o k body items0 ospf v3 based on context it is used
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingInterfacesOKBodyItems0OspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingInterfacesParams ¶
type GetDeviceSwitchRoutingInterfacesParams struct { /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchRoutingInterfacesParams contains all the parameters to send to the API endpoint
for the get device switch routing interfaces operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchRoutingInterfacesParams ¶
func NewGetDeviceSwitchRoutingInterfacesParams() *GetDeviceSwitchRoutingInterfacesParams
NewGetDeviceSwitchRoutingInterfacesParams creates a new GetDeviceSwitchRoutingInterfacesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchRoutingInterfacesParamsWithContext ¶
func NewGetDeviceSwitchRoutingInterfacesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfacesParams
NewGetDeviceSwitchRoutingInterfacesParamsWithContext creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a context for a request.
func NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient ¶
func NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfacesParams
NewGetDeviceSwitchRoutingInterfacesParamsWithHTTPClient creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout ¶
func NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfacesParams
NewGetDeviceSwitchRoutingInterfacesParamsWithTimeout creates a new GetDeviceSwitchRoutingInterfacesParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchRoutingInterfacesParams) SetContext ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingInterfacesParams
WithContext adds the context to the get device switch routing interfaces params
func (*GetDeviceSwitchRoutingInterfacesParams) WithDefaults ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WithDefaults() *GetDeviceSwitchRoutingInterfacesParams
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 ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingInterfacesParams
WithHTTPClient adds the HTTPClient to the get device switch routing interfaces params
func (*GetDeviceSwitchRoutingInterfacesParams) WithSerial ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WithSerial(serial string) *GetDeviceSwitchRoutingInterfacesParams
WithSerial adds the serial to the get device switch routing interfaces params
func (*GetDeviceSwitchRoutingInterfacesParams) WithTimeout ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingInterfacesParams
WithTimeout adds the timeout to the get device switch routing interfaces params
func (*GetDeviceSwitchRoutingInterfacesParams) WriteToRequest ¶
func (o *GetDeviceSwitchRoutingInterfacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchRoutingInterfacesReader ¶
type GetDeviceSwitchRoutingInterfacesReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchRoutingInterfacesReader is a Reader for the GetDeviceSwitchRoutingInterfaces structure.
func (*GetDeviceSwitchRoutingInterfacesReader) ReadResponse ¶
func (o *GetDeviceSwitchRoutingInterfacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchRoutingStaticRouteOK ¶
type GetDeviceSwitchRoutingStaticRouteOK struct {
Payload *GetDeviceSwitchRoutingStaticRouteOKBody
}
GetDeviceSwitchRoutingStaticRouteOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchRoutingStaticRouteOK ¶
func NewGetDeviceSwitchRoutingStaticRouteOK() *GetDeviceSwitchRoutingStaticRouteOK
NewGetDeviceSwitchRoutingStaticRouteOK creates a GetDeviceSwitchRoutingStaticRouteOK with default headers values
func (*GetDeviceSwitchRoutingStaticRouteOK) Code ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) Code() int
Code gets the status code for the get device switch routing static route o k response
func (*GetDeviceSwitchRoutingStaticRouteOK) Error ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) Error() string
func (*GetDeviceSwitchRoutingStaticRouteOK) GetPayload ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) GetPayload() *GetDeviceSwitchRoutingStaticRouteOKBody
func (*GetDeviceSwitchRoutingStaticRouteOK) IsClientError ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) IsClientError() bool
IsClientError returns true when this get device switch routing static route o k response has a 4xx status code
func (*GetDeviceSwitchRoutingStaticRouteOK) IsCode ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) IsCode(code int) bool
IsCode returns true when this get device switch routing static route o k response a status code equal to that given
func (*GetDeviceSwitchRoutingStaticRouteOK) IsRedirect ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) IsRedirect() bool
IsRedirect returns true when this get device switch routing static route o k response has a 3xx status code
func (*GetDeviceSwitchRoutingStaticRouteOK) IsServerError ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) IsServerError() bool
IsServerError returns true when this get device switch routing static route o k response has a 5xx status code
func (*GetDeviceSwitchRoutingStaticRouteOK) IsSuccess ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) IsSuccess() bool
IsSuccess returns true when this get device switch routing static route o k response has a 2xx status code
func (*GetDeviceSwitchRoutingStaticRouteOK) String ¶
func (o *GetDeviceSwitchRoutingStaticRouteOK) String() string
type GetDeviceSwitchRoutingStaticRouteOKBody ¶
type GetDeviceSwitchRoutingStaticRouteOKBody struct { // Option to advertise static routes via OSPF AdvertiseViaOspfEnabled bool `json:"advertiseViaOspfEnabled,omitempty"` // The name or description of the layer 3 static route Name string `json:"name,omitempty"` // The IP address of the router to which traffic for this destination network should be sent // Required: true NextHopIP *string `json:"nextHopIp"` // Option to prefer static routes over OSPF routes PreferOverOspfRoutesEnabled bool `json:"preferOverOspfRoutesEnabled,omitempty"` // The identifier of a layer 3 static route StaticRouteID string `json:"staticRouteId,omitempty"` // The IP address of the subnetwork specified in CIDR notation (ex. 1.2.3.0/24) // Required: true Subnet *string `json:"subnet"` }
GetDeviceSwitchRoutingStaticRouteOKBody get device switch routing static route o k body swagger:model GetDeviceSwitchRoutingStaticRouteOKBody
func (*GetDeviceSwitchRoutingStaticRouteOKBody) ContextValidate ¶
func (o *GetDeviceSwitchRoutingStaticRouteOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device switch routing static route o k body based on context it is used
func (*GetDeviceSwitchRoutingStaticRouteOKBody) MarshalBinary ¶
func (o *GetDeviceSwitchRoutingStaticRouteOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSwitchRoutingStaticRouteOKBody) UnmarshalBinary ¶
func (o *GetDeviceSwitchRoutingStaticRouteOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSwitchRoutingStaticRouteParams ¶
type GetDeviceSwitchRoutingStaticRouteParams struct { /* Serial. Serial */ Serial string /* StaticRouteID. Static route ID */ StaticRouteID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the get device switch routing static route operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchRoutingStaticRouteParams ¶
func NewGetDeviceSwitchRoutingStaticRouteParams() *GetDeviceSwitchRoutingStaticRouteParams
NewGetDeviceSwitchRoutingStaticRouteParams creates a new GetDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchRoutingStaticRouteParamsWithContext ¶
func NewGetDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRouteParams
NewGetDeviceSwitchRoutingStaticRouteParamsWithContext creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.
func NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient ¶
func NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRouteParams
NewGetDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout ¶
func NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRouteParams
NewGetDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new GetDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchRoutingStaticRouteParams) SetContext ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
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 ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRouteParams
WithContext adds the context to the get device switch routing static route params
func (*GetDeviceSwitchRoutingStaticRouteParams) WithDefaults ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithDefaults() *GetDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the get device switch routing static route params
func (*GetDeviceSwitchRoutingStaticRouteParams) WithSerial ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *GetDeviceSwitchRoutingStaticRouteParams
WithSerial adds the serial to the get device switch routing static route params
func (*GetDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *GetDeviceSwitchRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the get device switch routing static route params
func (*GetDeviceSwitchRoutingStaticRouteParams) WithTimeout ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRouteParams
WithTimeout adds the timeout to the get device switch routing static route params
func (*GetDeviceSwitchRoutingStaticRouteParams) WriteToRequest ¶
func (o *GetDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchRoutingStaticRouteReader ¶
type GetDeviceSwitchRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchRoutingStaticRouteReader is a Reader for the GetDeviceSwitchRoutingStaticRoute structure.
func (*GetDeviceSwitchRoutingStaticRouteReader) ReadResponse ¶
func (o *GetDeviceSwitchRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchRoutingStaticRoutesOK ¶
type GetDeviceSwitchRoutingStaticRoutesOK struct {
Payload []interface{}
}
GetDeviceSwitchRoutingStaticRoutesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchRoutingStaticRoutesOK ¶
func NewGetDeviceSwitchRoutingStaticRoutesOK() *GetDeviceSwitchRoutingStaticRoutesOK
NewGetDeviceSwitchRoutingStaticRoutesOK creates a GetDeviceSwitchRoutingStaticRoutesOK with default headers values
func (*GetDeviceSwitchRoutingStaticRoutesOK) Code ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) Code() int
Code gets the status code for the get device switch routing static routes o k response
func (*GetDeviceSwitchRoutingStaticRoutesOK) Error ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) Error() string
func (*GetDeviceSwitchRoutingStaticRoutesOK) GetPayload ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) GetPayload() []interface{}
func (*GetDeviceSwitchRoutingStaticRoutesOK) IsClientError ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsClientError() bool
IsClientError returns true when this get device switch routing static routes o k response has a 4xx status code
func (*GetDeviceSwitchRoutingStaticRoutesOK) IsCode ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsCode(code int) bool
IsCode returns true when this get device switch routing static routes o k response a status code equal to that given
func (*GetDeviceSwitchRoutingStaticRoutesOK) IsRedirect ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsRedirect() bool
IsRedirect returns true when this get device switch routing static routes o k response has a 3xx status code
func (*GetDeviceSwitchRoutingStaticRoutesOK) IsServerError ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsServerError() bool
IsServerError returns true when this get device switch routing static routes o k response has a 5xx status code
func (*GetDeviceSwitchRoutingStaticRoutesOK) IsSuccess ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) IsSuccess() bool
IsSuccess returns true when this get device switch routing static routes o k response has a 2xx status code
func (*GetDeviceSwitchRoutingStaticRoutesOK) String ¶
func (o *GetDeviceSwitchRoutingStaticRoutesOK) String() string
type GetDeviceSwitchRoutingStaticRoutesParams ¶
type GetDeviceSwitchRoutingStaticRoutesParams struct { /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchRoutingStaticRoutesParams contains all the parameters to send to the API endpoint
for the get device switch routing static routes operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchRoutingStaticRoutesParams ¶
func NewGetDeviceSwitchRoutingStaticRoutesParams() *GetDeviceSwitchRoutingStaticRoutesParams
NewGetDeviceSwitchRoutingStaticRoutesParams creates a new GetDeviceSwitchRoutingStaticRoutesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext ¶
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRoutesParams
NewGetDeviceSwitchRoutingStaticRoutesParamsWithContext creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a context for a request.
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient ¶
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRoutesParams
NewGetDeviceSwitchRoutingStaticRoutesParamsWithHTTPClient creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout ¶
func NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRoutesParams
NewGetDeviceSwitchRoutingStaticRoutesParamsWithTimeout creates a new GetDeviceSwitchRoutingStaticRoutesParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchRoutingStaticRoutesParams) SetContext ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) SetDefaults ¶
func (o *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 ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) WithContext ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithContext(ctx context.Context) *GetDeviceSwitchRoutingStaticRoutesParams
WithContext adds the context to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) WithDefaults ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithDefaults() *GetDeviceSwitchRoutingStaticRoutesParams
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 ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchRoutingStaticRoutesParams
WithHTTPClient adds the HTTPClient to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) WithSerial ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithSerial(serial string) *GetDeviceSwitchRoutingStaticRoutesParams
WithSerial adds the serial to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) WithTimeout ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchRoutingStaticRoutesParams
WithTimeout adds the timeout to the get device switch routing static routes params
func (*GetDeviceSwitchRoutingStaticRoutesParams) WriteToRequest ¶
func (o *GetDeviceSwitchRoutingStaticRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchRoutingStaticRoutesReader ¶
type GetDeviceSwitchRoutingStaticRoutesReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchRoutingStaticRoutesReader is a Reader for the GetDeviceSwitchRoutingStaticRoutes structure.
func (*GetDeviceSwitchRoutingStaticRoutesReader) ReadResponse ¶
func (o *GetDeviceSwitchRoutingStaticRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSwitchWarmSpareOK ¶
type GetDeviceSwitchWarmSpareOK struct {
Payload interface{}
}
GetDeviceSwitchWarmSpareOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSwitchWarmSpareOK ¶
func NewGetDeviceSwitchWarmSpareOK() *GetDeviceSwitchWarmSpareOK
NewGetDeviceSwitchWarmSpareOK creates a GetDeviceSwitchWarmSpareOK with default headers values
func (*GetDeviceSwitchWarmSpareOK) Code ¶
func (o *GetDeviceSwitchWarmSpareOK) Code() int
Code gets the status code for the get device switch warm spare o k response
func (*GetDeviceSwitchWarmSpareOK) Error ¶
func (o *GetDeviceSwitchWarmSpareOK) Error() string
func (*GetDeviceSwitchWarmSpareOK) GetPayload ¶
func (o *GetDeviceSwitchWarmSpareOK) GetPayload() interface{}
func (*GetDeviceSwitchWarmSpareOK) IsClientError ¶
func (o *GetDeviceSwitchWarmSpareOK) IsClientError() bool
IsClientError returns true when this get device switch warm spare o k response has a 4xx status code
func (*GetDeviceSwitchWarmSpareOK) IsCode ¶
func (o *GetDeviceSwitchWarmSpareOK) IsCode(code int) bool
IsCode returns true when this get device switch warm spare o k response a status code equal to that given
func (*GetDeviceSwitchWarmSpareOK) IsRedirect ¶
func (o *GetDeviceSwitchWarmSpareOK) IsRedirect() bool
IsRedirect returns true when this get device switch warm spare o k response has a 3xx status code
func (*GetDeviceSwitchWarmSpareOK) IsServerError ¶
func (o *GetDeviceSwitchWarmSpareOK) IsServerError() bool
IsServerError returns true when this get device switch warm spare o k response has a 5xx status code
func (*GetDeviceSwitchWarmSpareOK) IsSuccess ¶
func (o *GetDeviceSwitchWarmSpareOK) IsSuccess() bool
IsSuccess returns true when this get device switch warm spare o k response has a 2xx status code
func (*GetDeviceSwitchWarmSpareOK) String ¶
func (o *GetDeviceSwitchWarmSpareOK) String() string
type GetDeviceSwitchWarmSpareParams ¶
type GetDeviceSwitchWarmSpareParams struct { /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSwitchWarmSpareParams contains all the parameters to send to the API endpoint
for the get device switch warm spare operation. Typically these are written to a http.Request.
func NewGetDeviceSwitchWarmSpareParams ¶
func NewGetDeviceSwitchWarmSpareParams() *GetDeviceSwitchWarmSpareParams
NewGetDeviceSwitchWarmSpareParams creates a new GetDeviceSwitchWarmSpareParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeviceSwitchWarmSpareParamsWithContext ¶
func NewGetDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *GetDeviceSwitchWarmSpareParams
NewGetDeviceSwitchWarmSpareParamsWithContext creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a context for a request.
func NewGetDeviceSwitchWarmSpareParamsWithHTTPClient ¶
func NewGetDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *GetDeviceSwitchWarmSpareParams
NewGetDeviceSwitchWarmSpareParamsWithHTTPClient creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSwitchWarmSpareParamsWithTimeout ¶
func NewGetDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *GetDeviceSwitchWarmSpareParams
NewGetDeviceSwitchWarmSpareParamsWithTimeout creates a new GetDeviceSwitchWarmSpareParams object with the ability to set a timeout on a request.
func (*GetDeviceSwitchWarmSpareParams) SetContext ¶
func (o *GetDeviceSwitchWarmSpareParams) SetContext(ctx context.Context)
SetContext adds the context to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) SetDefaults ¶
func (o *GetDeviceSwitchWarmSpareParams) SetDefaults()
SetDefaults hydrates default values in the get device switch warm spare params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceSwitchWarmSpareParams) SetHTTPClient ¶
func (o *GetDeviceSwitchWarmSpareParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) SetSerial ¶
func (o *GetDeviceSwitchWarmSpareParams) SetSerial(serial string)
SetSerial adds the serial to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) SetTimeout ¶
func (o *GetDeviceSwitchWarmSpareParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) WithContext ¶
func (o *GetDeviceSwitchWarmSpareParams) WithContext(ctx context.Context) *GetDeviceSwitchWarmSpareParams
WithContext adds the context to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) WithDefaults ¶
func (o *GetDeviceSwitchWarmSpareParams) WithDefaults() *GetDeviceSwitchWarmSpareParams
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 ¶
func (o *GetDeviceSwitchWarmSpareParams) WithHTTPClient(client *http.Client) *GetDeviceSwitchWarmSpareParams
WithHTTPClient adds the HTTPClient to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) WithSerial ¶
func (o *GetDeviceSwitchWarmSpareParams) WithSerial(serial string) *GetDeviceSwitchWarmSpareParams
WithSerial adds the serial to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) WithTimeout ¶
func (o *GetDeviceSwitchWarmSpareParams) WithTimeout(timeout time.Duration) *GetDeviceSwitchWarmSpareParams
WithTimeout adds the timeout to the get device switch warm spare params
func (*GetDeviceSwitchWarmSpareParams) WriteToRequest ¶
func (o *GetDeviceSwitchWarmSpareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSwitchWarmSpareReader ¶
type GetDeviceSwitchWarmSpareReader struct {
// contains filtered or unexported fields
}
GetDeviceSwitchWarmSpareReader is a Reader for the GetDeviceSwitchWarmSpare structure.
func (*GetDeviceSwitchWarmSpareReader) ReadResponse ¶
func (o *GetDeviceSwitchWarmSpareReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchAccessControlListsOK ¶
type GetNetworkSwitchAccessControlListsOK struct {
Payload *GetNetworkSwitchAccessControlListsOKBody
}
GetNetworkSwitchAccessControlListsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchAccessControlListsOK ¶
func NewGetNetworkSwitchAccessControlListsOK() *GetNetworkSwitchAccessControlListsOK
NewGetNetworkSwitchAccessControlListsOK creates a GetNetworkSwitchAccessControlListsOK with default headers values
func (*GetNetworkSwitchAccessControlListsOK) Code ¶
func (o *GetNetworkSwitchAccessControlListsOK) Code() int
Code gets the status code for the get network switch access control lists o k response
func (*GetNetworkSwitchAccessControlListsOK) Error ¶
func (o *GetNetworkSwitchAccessControlListsOK) Error() string
func (*GetNetworkSwitchAccessControlListsOK) GetPayload ¶
func (o *GetNetworkSwitchAccessControlListsOK) GetPayload() *GetNetworkSwitchAccessControlListsOKBody
func (*GetNetworkSwitchAccessControlListsOK) IsClientError ¶
func (o *GetNetworkSwitchAccessControlListsOK) IsClientError() bool
IsClientError returns true when this get network switch access control lists o k response has a 4xx status code
func (*GetNetworkSwitchAccessControlListsOK) IsCode ¶
func (o *GetNetworkSwitchAccessControlListsOK) IsCode(code int) bool
IsCode returns true when this get network switch access control lists o k response a status code equal to that given
func (*GetNetworkSwitchAccessControlListsOK) IsRedirect ¶
func (o *GetNetworkSwitchAccessControlListsOK) IsRedirect() bool
IsRedirect returns true when this get network switch access control lists o k response has a 3xx status code
func (*GetNetworkSwitchAccessControlListsOK) IsServerError ¶
func (o *GetNetworkSwitchAccessControlListsOK) IsServerError() bool
IsServerError returns true when this get network switch access control lists o k response has a 5xx status code
func (*GetNetworkSwitchAccessControlListsOK) IsSuccess ¶
func (o *GetNetworkSwitchAccessControlListsOK) IsSuccess() bool
IsSuccess returns true when this get network switch access control lists o k response has a 2xx status code
func (*GetNetworkSwitchAccessControlListsOK) String ¶
func (o *GetNetworkSwitchAccessControlListsOK) String() string
type GetNetworkSwitchAccessControlListsOKBody ¶
type GetNetworkSwitchAccessControlListsOKBody struct { // An ordered array of the access control list rules Rules []*GetNetworkSwitchAccessControlListsOKBodyRulesItems0 `json:"rules"` }
GetNetworkSwitchAccessControlListsOKBody get network switch access control lists o k body swagger:model GetNetworkSwitchAccessControlListsOKBody
func (*GetNetworkSwitchAccessControlListsOKBody) ContextValidate ¶
func (o *GetNetworkSwitchAccessControlListsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch access control lists o k body based on the context it is used
func (*GetNetworkSwitchAccessControlListsOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessControlListsOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessControlListsOKBodyRulesItems0 ¶
type GetNetworkSwitchAccessControlListsOKBodyRulesItems0 struct { // Description of the rule (optional) Comment string `json:"comment,omitempty"` // Destination IP address (in IP or CIDR notation) DstCidr string `json:"dstCidr,omitempty"` // Destination port DstPort string `json:"dstPort,omitempty"` // IP address version // Enum: [any ipv4 ipv6] IPVersion string `json:"ipVersion,omitempty"` // 'allow' or 'deny' traffic specified by this rule // Enum: [allow deny] Policy string `json:"policy,omitempty"` // The type of protocol // Enum: [any tcp udp] Protocol string `json:"protocol,omitempty"` // Source IP address (in IP or CIDR notation) SrcCidr string `json:"srcCidr,omitempty"` // Source port SrcPort string `json:"srcPort,omitempty"` // ncoming traffic VLAN Vlan string `json:"vlan,omitempty"` }
GetNetworkSwitchAccessControlListsOKBodyRulesItems0 get network switch access control lists o k body rules items0 swagger:model GetNetworkSwitchAccessControlListsOKBodyRulesItems0
func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access control lists o k body rules items0 based on context it is used
func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessControlListsParams ¶
type GetNetworkSwitchAccessControlListsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchAccessControlListsParams contains all the parameters to send to the API endpoint
for the get network switch access control lists operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchAccessControlListsParams ¶
func NewGetNetworkSwitchAccessControlListsParams() *GetNetworkSwitchAccessControlListsParams
NewGetNetworkSwitchAccessControlListsParams creates a new GetNetworkSwitchAccessControlListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchAccessControlListsParamsWithContext ¶
func NewGetNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessControlListsParams
NewGetNetworkSwitchAccessControlListsParamsWithContext creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a context for a request.
func NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient ¶
func NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessControlListsParams
NewGetNetworkSwitchAccessControlListsParamsWithHTTPClient creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchAccessControlListsParamsWithTimeout ¶
func NewGetNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessControlListsParams
NewGetNetworkSwitchAccessControlListsParamsWithTimeout creates a new GetNetworkSwitchAccessControlListsParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchAccessControlListsParams) SetContext ¶
func (o *GetNetworkSwitchAccessControlListsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchAccessControlListsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) WithContext ¶
func (o *GetNetworkSwitchAccessControlListsParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessControlListsParams
WithContext adds the context to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) WithDefaults ¶
func (o *GetNetworkSwitchAccessControlListsParams) WithDefaults() *GetNetworkSwitchAccessControlListsParams
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 ¶
func (o *GetNetworkSwitchAccessControlListsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessControlListsParams
WithHTTPClient adds the HTTPClient to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) WithNetworkID ¶
func (o *GetNetworkSwitchAccessControlListsParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessControlListsParams
WithNetworkID adds the networkID to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) WithTimeout ¶
func (o *GetNetworkSwitchAccessControlListsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessControlListsParams
WithTimeout adds the timeout to the get network switch access control lists params
func (*GetNetworkSwitchAccessControlListsParams) WriteToRequest ¶
func (o *GetNetworkSwitchAccessControlListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchAccessControlListsReader ¶
type GetNetworkSwitchAccessControlListsReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchAccessControlListsReader is a Reader for the GetNetworkSwitchAccessControlLists structure.
func (*GetNetworkSwitchAccessControlListsReader) ReadResponse ¶
func (o *GetNetworkSwitchAccessControlListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchAccessPoliciesOK ¶
type GetNetworkSwitchAccessPoliciesOK struct {
Payload []*GetNetworkSwitchAccessPoliciesOKBodyItems0
}
GetNetworkSwitchAccessPoliciesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchAccessPoliciesOK ¶
func NewGetNetworkSwitchAccessPoliciesOK() *GetNetworkSwitchAccessPoliciesOK
NewGetNetworkSwitchAccessPoliciesOK creates a GetNetworkSwitchAccessPoliciesOK with default headers values
func (*GetNetworkSwitchAccessPoliciesOK) Code ¶
func (o *GetNetworkSwitchAccessPoliciesOK) Code() int
Code gets the status code for the get network switch access policies o k response
func (*GetNetworkSwitchAccessPoliciesOK) Error ¶
func (o *GetNetworkSwitchAccessPoliciesOK) Error() string
func (*GetNetworkSwitchAccessPoliciesOK) GetPayload ¶
func (o *GetNetworkSwitchAccessPoliciesOK) GetPayload() []*GetNetworkSwitchAccessPoliciesOKBodyItems0
func (*GetNetworkSwitchAccessPoliciesOK) IsClientError ¶
func (o *GetNetworkSwitchAccessPoliciesOK) IsClientError() bool
IsClientError returns true when this get network switch access policies o k response has a 4xx status code
func (*GetNetworkSwitchAccessPoliciesOK) IsCode ¶
func (o *GetNetworkSwitchAccessPoliciesOK) IsCode(code int) bool
IsCode returns true when this get network switch access policies o k response a status code equal to that given
func (*GetNetworkSwitchAccessPoliciesOK) IsRedirect ¶
func (o *GetNetworkSwitchAccessPoliciesOK) IsRedirect() bool
IsRedirect returns true when this get network switch access policies o k response has a 3xx status code
func (*GetNetworkSwitchAccessPoliciesOK) IsServerError ¶
func (o *GetNetworkSwitchAccessPoliciesOK) IsServerError() bool
IsServerError returns true when this get network switch access policies o k response has a 5xx status code
func (*GetNetworkSwitchAccessPoliciesOK) IsSuccess ¶
func (o *GetNetworkSwitchAccessPoliciesOK) IsSuccess() bool
IsSuccess returns true when this get network switch access policies o k response has a 2xx status code
func (*GetNetworkSwitchAccessPoliciesOK) String ¶
func (o *GetNetworkSwitchAccessPoliciesOK) String() string
type GetNetworkSwitchAccessPoliciesOKBodyItems0 ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0 struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode string `json:"hostMode,omitempty"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy Name string `json:"name,omitempty"` // radius Radius *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access RadiusServers []*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"` // Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0 get network switch access policies o k body items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch access policies o k body items0 based on the context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x 802.1x Settings swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policies o k body items0 dot1x based on context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Dot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPoliciesOKBodyItems0Radius ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0Radius struct { // critical auth CriticalAuth *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0Radius Object for RADIUS Settings swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0Radius
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch access policies o k body items0 radius based on the context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0Radius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 struct { // Public IP address of the RADIUS accounting server Host string `json:"host,omitempty"` // UDP port that the RADIUS Accounting server listens on for access requests Port int64 `json:"port,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0 get network switch access policies o k body items0 radius accounting servers items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policies o k body items0 radius accounting servers items0 based on context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) Validate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch access policies o k body items0 radius accounting servers items0
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth struct { // VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth DataVlanID int64 `json:"dataVlanId,omitempty"` // Enable to suspend port bounce when RADIUS servers are unreachable SuspendPortBounce bool `json:"suspendPortBounce,omitempty"` // VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth VoiceVlanID int64 `json:"voiceVlanId,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policies o k body items0 radius critical auth based on context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 ¶
type GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 struct { // Public IP address of the RADIUS server Host string `json:"host,omitempty"` // UDP port that the RADIUS server listens on for access requests Port int64 `json:"port,omitempty"` }
GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0 get network switch access policies o k body items0 radius servers items0 swagger:model GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policies o k body items0 radius servers items0 based on context it is used
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPoliciesOKBodyItems0RadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPoliciesParams ¶
type GetNetworkSwitchAccessPoliciesParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchAccessPoliciesParams contains all the parameters to send to the API endpoint
for the get network switch access policies operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchAccessPoliciesParams ¶
func NewGetNetworkSwitchAccessPoliciesParams() *GetNetworkSwitchAccessPoliciesParams
NewGetNetworkSwitchAccessPoliciesParams creates a new GetNetworkSwitchAccessPoliciesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchAccessPoliciesParamsWithContext ¶
func NewGetNetworkSwitchAccessPoliciesParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPoliciesParams
NewGetNetworkSwitchAccessPoliciesParamsWithContext creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a context for a request.
func NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient ¶
func NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPoliciesParams
NewGetNetworkSwitchAccessPoliciesParamsWithHTTPClient creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchAccessPoliciesParamsWithTimeout ¶
func NewGetNetworkSwitchAccessPoliciesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPoliciesParams
NewGetNetworkSwitchAccessPoliciesParamsWithTimeout creates a new GetNetworkSwitchAccessPoliciesParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchAccessPoliciesParams) SetContext ¶
func (o *GetNetworkSwitchAccessPoliciesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessPoliciesParams
WithContext adds the context to the get network switch access policies params
func (*GetNetworkSwitchAccessPoliciesParams) WithDefaults ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WithDefaults() *GetNetworkSwitchAccessPoliciesParams
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 ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPoliciesParams
WithHTTPClient adds the HTTPClient to the get network switch access policies params
func (*GetNetworkSwitchAccessPoliciesParams) WithNetworkID ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessPoliciesParams
WithNetworkID adds the networkID to the get network switch access policies params
func (*GetNetworkSwitchAccessPoliciesParams) WithTimeout ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPoliciesParams
WithTimeout adds the timeout to the get network switch access policies params
func (*GetNetworkSwitchAccessPoliciesParams) WriteToRequest ¶
func (o *GetNetworkSwitchAccessPoliciesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchAccessPoliciesReader ¶
type GetNetworkSwitchAccessPoliciesReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchAccessPoliciesReader is a Reader for the GetNetworkSwitchAccessPolicies structure.
func (*GetNetworkSwitchAccessPoliciesReader) ReadResponse ¶
func (o *GetNetworkSwitchAccessPoliciesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchAccessPolicyOK ¶
type GetNetworkSwitchAccessPolicyOK struct {
Payload *GetNetworkSwitchAccessPolicyOKBody
}
GetNetworkSwitchAccessPolicyOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchAccessPolicyOK ¶
func NewGetNetworkSwitchAccessPolicyOK() *GetNetworkSwitchAccessPolicyOK
NewGetNetworkSwitchAccessPolicyOK creates a GetNetworkSwitchAccessPolicyOK with default headers values
func (*GetNetworkSwitchAccessPolicyOK) Code ¶
func (o *GetNetworkSwitchAccessPolicyOK) Code() int
Code gets the status code for the get network switch access policy o k response
func (*GetNetworkSwitchAccessPolicyOK) Error ¶
func (o *GetNetworkSwitchAccessPolicyOK) Error() string
func (*GetNetworkSwitchAccessPolicyOK) GetPayload ¶
func (o *GetNetworkSwitchAccessPolicyOK) GetPayload() *GetNetworkSwitchAccessPolicyOKBody
func (*GetNetworkSwitchAccessPolicyOK) IsClientError ¶
func (o *GetNetworkSwitchAccessPolicyOK) IsClientError() bool
IsClientError returns true when this get network switch access policy o k response has a 4xx status code
func (*GetNetworkSwitchAccessPolicyOK) IsCode ¶
func (o *GetNetworkSwitchAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this get network switch access policy o k response a status code equal to that given
func (*GetNetworkSwitchAccessPolicyOK) IsRedirect ¶
func (o *GetNetworkSwitchAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this get network switch access policy o k response has a 3xx status code
func (*GetNetworkSwitchAccessPolicyOK) IsServerError ¶
func (o *GetNetworkSwitchAccessPolicyOK) IsServerError() bool
IsServerError returns true when this get network switch access policy o k response has a 5xx status code
func (*GetNetworkSwitchAccessPolicyOK) IsSuccess ¶
func (o *GetNetworkSwitchAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this get network switch access policy o k response has a 2xx status code
func (*GetNetworkSwitchAccessPolicyOK) String ¶
func (o *GetNetworkSwitchAccessPolicyOK) String() string
type GetNetworkSwitchAccessPolicyOKBody ¶
type GetNetworkSwitchAccessPolicyOKBody struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *GetNetworkSwitchAccessPolicyOKBodyDot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode string `json:"hostMode,omitempty"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy Name string `json:"name,omitempty"` // radius Radius *GetNetworkSwitchAccessPolicyOKBodyRadius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access RadiusServers []*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"` // Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
GetNetworkSwitchAccessPolicyOKBody get network switch access policy o k body swagger:model GetNetworkSwitchAccessPolicyOKBody
func (*GetNetworkSwitchAccessPolicyOKBody) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch access policy o k body based on the context it is used
func (*GetNetworkSwitchAccessPolicyOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyOKBodyDot1x ¶
type GetNetworkSwitchAccessPolicyOKBodyDot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
GetNetworkSwitchAccessPolicyOKBodyDot1x 802.1x Settings swagger:model GetNetworkSwitchAccessPolicyOKBodyDot1x
func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policy o k body dot1x based on context it is used
func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyOKBodyRadius ¶
type GetNetworkSwitchAccessPolicyOKBodyRadius struct { // critical auth CriticalAuth *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
GetNetworkSwitchAccessPolicyOKBodyRadius Object for RADIUS Settings swagger:model GetNetworkSwitchAccessPolicyOKBodyRadius
func (*GetNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch access policy o k body radius based on the context it is used
func (*GetNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 ¶
type GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 struct { // Public IP address of the RADIUS accounting server Host string `json:"host,omitempty"` // UDP port that the RADIUS Accounting server listens on for access requests Port int64 `json:"port,omitempty"` }
GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 get network switch access policy o k body radius accounting servers items0 swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policy o k body radius accounting servers items0 based on context it is used
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth ¶
type GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth struct { // VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth DataVlanID int64 `json:"dataVlanId,omitempty"` // Enable to suspend port bounce when RADIUS servers are unreachable SuspendPortBounce bool `json:"suspendPortBounce,omitempty"` // VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth VoiceVlanID int64 `json:"voiceVlanId,omitempty"` }
GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policy o k body radius critical auth based on context it is used
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 ¶
type GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 struct { // Public IP address of the RADIUS server Host string `json:"host,omitempty"` // UDP port that the RADIUS server listens on for access requests Port int64 `json:"port,omitempty"` }
GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 get network switch access policy o k body radius servers items0 swagger:model GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch access policy o k body radius servers items0 based on context it is used
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAccessPolicyParams ¶
type GetNetworkSwitchAccessPolicyParams struct { /* AccessPolicyNumber. Access policy number */ AccessPolicyNumber string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint
for the get network switch access policy operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchAccessPolicyParams ¶
func NewGetNetworkSwitchAccessPolicyParams() *GetNetworkSwitchAccessPolicyParams
NewGetNetworkSwitchAccessPolicyParams creates a new GetNetworkSwitchAccessPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchAccessPolicyParamsWithContext ¶
func NewGetNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchAccessPolicyParams
NewGetNetworkSwitchAccessPolicyParamsWithContext creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.
func NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient ¶
func NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPolicyParams
NewGetNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchAccessPolicyParamsWithTimeout ¶
func NewGetNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPolicyParams
NewGetNetworkSwitchAccessPolicyParamsWithTimeout creates a new GetNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber ¶
func (o *GetNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
SetAccessPolicyNumber adds the accessPolicyNumber to the get network switch access policy params
func (*GetNetworkSwitchAccessPolicyParams) SetContext ¶
func (o *GetNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *GetNetworkSwitchAccessPolicyParams
WithContext adds the context to the get network switch access policy params
func (*GetNetworkSwitchAccessPolicyParams) WithDefaults ¶
func (o *GetNetworkSwitchAccessPolicyParams) WithDefaults() *GetNetworkSwitchAccessPolicyParams
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 ¶
func (o *GetNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAccessPolicyParams
WithHTTPClient adds the HTTPClient to the get network switch access policy params
func (*GetNetworkSwitchAccessPolicyParams) WithNetworkID ¶
func (o *GetNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *GetNetworkSwitchAccessPolicyParams
WithNetworkID adds the networkID to the get network switch access policy params
func (*GetNetworkSwitchAccessPolicyParams) WithTimeout ¶
func (o *GetNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAccessPolicyParams
WithTimeout adds the timeout to the get network switch access policy params
func (*GetNetworkSwitchAccessPolicyParams) WriteToRequest ¶
func (o *GetNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchAccessPolicyReader ¶
type GetNetworkSwitchAccessPolicyReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchAccessPolicyReader is a Reader for the GetNetworkSwitchAccessPolicy structure.
func (*GetNetworkSwitchAccessPolicyReader) ReadResponse ¶
func (o *GetNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchAlternateManagementInterfaceOK ¶
type GetNetworkSwitchAlternateManagementInterfaceOK struct {
Payload *GetNetworkSwitchAlternateManagementInterfaceOKBody
}
GetNetworkSwitchAlternateManagementInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchAlternateManagementInterfaceOK ¶
func NewGetNetworkSwitchAlternateManagementInterfaceOK() *GetNetworkSwitchAlternateManagementInterfaceOK
NewGetNetworkSwitchAlternateManagementInterfaceOK creates a GetNetworkSwitchAlternateManagementInterfaceOK with default headers values
func (*GetNetworkSwitchAlternateManagementInterfaceOK) Code ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) Code() int
Code gets the status code for the get network switch alternate management interface o k response
func (*GetNetworkSwitchAlternateManagementInterfaceOK) Error ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) Error() string
func (*GetNetworkSwitchAlternateManagementInterfaceOK) GetPayload ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) GetPayload() *GetNetworkSwitchAlternateManagementInterfaceOKBody
func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsClientError ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsClientError() bool
IsClientError returns true when this get network switch alternate management interface o k response has a 4xx status code
func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsCode ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsCode(code int) bool
IsCode returns true when this get network switch alternate management interface o k response a status code equal to that given
func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsRedirect ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsRedirect() bool
IsRedirect returns true when this get network switch alternate management interface o k response has a 3xx status code
func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsServerError ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsServerError() bool
IsServerError returns true when this get network switch alternate management interface o k response has a 5xx status code
func (*GetNetworkSwitchAlternateManagementInterfaceOK) IsSuccess ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) IsSuccess() bool
IsSuccess returns true when this get network switch alternate management interface o k response has a 2xx status code
func (*GetNetworkSwitchAlternateManagementInterfaceOK) String ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOK) String() string
type GetNetworkSwitchAlternateManagementInterfaceOKBody ¶
type GetNetworkSwitchAlternateManagementInterfaceOKBody struct { // Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set Enabled bool `json:"enabled,omitempty"` // Can be one or more of the following values: 'radius', 'snmp' or 'syslog' Protocols []string `json:"protocols"` // Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments Switches []*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 `json:"switches"` // Alternate management VLAN, must be between 1 and 4094 VlanID int64 `json:"vlanId,omitempty"` }
GetNetworkSwitchAlternateManagementInterfaceOKBody get network switch alternate management interface o k body swagger:model GetNetworkSwitchAlternateManagementInterfaceOKBody
func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) ContextValidate ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch alternate management interface o k body based on the context it is used
func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAlternateManagementInterfaceOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 ¶
type GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 struct { // Switch alternative management IP. To remove a prior IP setting, provide an empty string AlternateManagementIP string `json:"alternateManagementIp,omitempty"` // Switch gateway must be in IP format. Only and must be specified for Polaris switches Gateway string `json:"gateway,omitempty"` // Switch serial number Serial string `json:"serial,omitempty"` // Switch subnet mask must be in IP format. Only and must be specified for Polaris switches SubnetMask string `json:"subnetMask,omitempty"` }
GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0 get network switch alternate management interface o k body switches items0 swagger:model GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0
func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) ContextValidate ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch alternate management interface o k body switches items0 based on context it is used
func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) MarshalBinary ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceOKBodySwitchesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchAlternateManagementInterfaceParams ¶
type GetNetworkSwitchAlternateManagementInterfaceParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchAlternateManagementInterfaceParams contains all the parameters to send to the API endpoint
for the get network switch alternate management interface operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchAlternateManagementInterfaceParams ¶
func NewGetNetworkSwitchAlternateManagementInterfaceParams() *GetNetworkSwitchAlternateManagementInterfaceParams
NewGetNetworkSwitchAlternateManagementInterfaceParams creates a new GetNetworkSwitchAlternateManagementInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext ¶
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchAlternateManagementInterfaceParams
NewGetNetworkSwitchAlternateManagementInterfaceParamsWithContext creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a context for a request.
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient ¶
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchAlternateManagementInterfaceParams
NewGetNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout ¶
func NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchAlternateManagementInterfaceParams
NewGetNetworkSwitchAlternateManagementInterfaceParamsWithTimeout creates a new GetNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetContext ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) SetTimeout ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithContext ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithContext(ctx context.Context) *GetNetworkSwitchAlternateManagementInterfaceParams
WithContext adds the context to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithDefaults ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithDefaults() *GetNetworkSwitchAlternateManagementInterfaceParams
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 ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchAlternateManagementInterfaceParams
WithHTTPClient adds the HTTPClient to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID(networkID string) *GetNetworkSwitchAlternateManagementInterfaceParams
WithNetworkID adds the networkID to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) WithTimeout ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchAlternateManagementInterfaceParams
WithTimeout adds the timeout to the get network switch alternate management interface params
func (*GetNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchAlternateManagementInterfaceReader ¶
type GetNetworkSwitchAlternateManagementInterfaceReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchAlternateManagementInterfaceReader is a Reader for the GetNetworkSwitchAlternateManagementInterface structure.
func (*GetNetworkSwitchAlternateManagementInterfaceReader) ReadResponse ¶
func (o *GetNetworkSwitchAlternateManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 }
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK
NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK creates a GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK with default headers values
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Code ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Code() int
Code gets the status code for the get network switch dhcp server policy arp inspection trusted servers o k response
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Error ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) Error() string
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) GetPayload ¶
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsClientError ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsClientError() bool
IsClientError returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 4xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsCode ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsCode(code int) bool
IsCode returns true when this get network switch dhcp server policy arp inspection trusted servers o k response a status code equal to that given
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsRedirect ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsRedirect() bool
IsRedirect returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 3xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsServerError ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsServerError() bool
IsServerError returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 5xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsSuccess ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) IsSuccess() bool
IsSuccess returns true when this get network switch dhcp server policy arp inspection trusted servers o k response has a 2xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) String ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOK) String() string
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 struct { // ipv4 IPV4 *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 `json:"ipv4,omitempty"` // Mac address of the trusted server. Mac string `json:"mac,omitempty"` // ID of the trusted server. TrustedServerID string `json:"trustedServerId,omitempty"` // Vlan ID of the trusted server. Vlan int64 `json:"vlan,omitempty"` }
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0 get network switch dhcp server policy arp inspection trusted servers o k body items0 swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp server policy arp inspection trusted servers o k body items0 based on the context it is used
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) Validate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 struct { // IPv4 address of the trusted server. Address string `json:"address,omitempty"` }
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4 IPv4 attributes of the trusted server. swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0 IP v4 based on context it is used
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) Validate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersOKBodyItems0IPV4) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp server policy arp inspection trusted servers o k body items0 IP v4
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* NetworkID. Network ID */ NetworkID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. */ PerPage *int64 /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams contains all the parameters to send to the API endpoint
for the get network switch dhcp server policy arp inspection trusted servers operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a context for a request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetContext ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetDefaults ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetDefaults()
SetDefaults hydrates default values in the get network switch dhcp server policy arp inspection trusted servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetEndingBefore ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetHTTPClient ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetNetworkID ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetPerPage ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetStartingAfter ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetTimeout ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithContext ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithContext adds the context to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithDefaults ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithDefaults hydrates default values in the get network switch dhcp server policy arp inspection trusted servers params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithEndingBefore ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithHTTPClient ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithNetworkID ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithNetworkID adds the networkID to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithPerPage ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithPerPage adds the perPage to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithStartingAfter ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithTimeout ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams
WithTimeout adds the timeout to the get network switch dhcp server policy arp inspection trusted servers params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WriteToRequest ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader is a Reader for the GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers structure.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader) ReadResponse ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 }
GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK
NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK creates a GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK with default headers values
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Code ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Code() int
Code gets the status code for the get network switch dhcp server policy arp inspection warnings by device o k response
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Error ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) Error() string
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) GetPayload ¶
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsClientError ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsClientError() bool
IsClientError returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 4xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsCode ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsCode(code int) bool
IsCode returns true when this get network switch dhcp server policy arp inspection warnings by device o k response a status code equal to that given
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsRedirect ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsRedirect() bool
IsRedirect returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 3xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsServerError ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsServerError() bool
IsServerError returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 5xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsSuccess ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) IsSuccess() bool
IsSuccess returns true when this get network switch dhcp server policy arp inspection warnings by device o k response has a 2xx status code
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) String ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOK) String() string
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 struct { // Whether this switch has a trusted DAI port. Always false if supportsInspection is false. HasTrustedPort bool `json:"hasTrustedPort,omitempty"` // Switch name. Name string `json:"name,omitempty"` // Switch serial. Serial string `json:"serial,omitempty"` // Whether this switch supports Dynamic ARP Inspection. SupportsInspection bool `json:"supportsInspection,omitempty"` // Url link to switch. URL string `json:"url,omitempty"` }
GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0 get network switch dhcp server policy arp inspection warnings by device o k body items0 swagger:model GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp server policy arp inspection warnings by device o k body items0 based on context it is used
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) Validate ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceOKBodyItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp server policy arp inspection warnings by device o k body items0
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* NetworkID. Network ID */ NetworkID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. */ PerPage *int64 /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams contains all the parameters to send to the API endpoint
for the get network switch dhcp server policy arp inspection warnings by device operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a context for a request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout ¶
func NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
NewGetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetContext ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetDefaults ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetDefaults()
SetDefaults hydrates default values in the get network switch dhcp server policy arp inspection warnings by device params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetEndingBefore ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetHTTPClient ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetNetworkID ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetPerPage ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetStartingAfter ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetTimeout ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithContext ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithContext adds the context to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithDefaults ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithDefaults hydrates default values in the get network switch dhcp server policy arp inspection warnings by device params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithEndingBefore ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithEndingBefore adds the endingBefore to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithHTTPClient ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithNetworkID ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithNetworkID adds the networkID to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithPerPage ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithPerPage adds the perPage to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithStartingAfter ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithStartingAfter adds the startingAfter to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithTimeout ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams
WithTimeout adds the timeout to the get network switch dhcp server policy arp inspection warnings by device params
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WriteToRequest ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader ¶
type GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader is a Reader for the GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDevice structure.
func (*GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader) ReadResponse ¶
func (o *GetNetworkSwitchDhcpServerPolicyArpInspectionWarningsByDeviceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchDhcpServerPolicyOK ¶
type GetNetworkSwitchDhcpServerPolicyOK struct {
Payload *GetNetworkSwitchDhcpServerPolicyOKBody
}
GetNetworkSwitchDhcpServerPolicyOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchDhcpServerPolicyOK ¶
func NewGetNetworkSwitchDhcpServerPolicyOK() *GetNetworkSwitchDhcpServerPolicyOK
NewGetNetworkSwitchDhcpServerPolicyOK creates a GetNetworkSwitchDhcpServerPolicyOK with default headers values
func (*GetNetworkSwitchDhcpServerPolicyOK) Code ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) Code() int
Code gets the status code for the get network switch dhcp server policy o k response
func (*GetNetworkSwitchDhcpServerPolicyOK) Error ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) Error() string
func (*GetNetworkSwitchDhcpServerPolicyOK) GetPayload ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) GetPayload() *GetNetworkSwitchDhcpServerPolicyOKBody
func (*GetNetworkSwitchDhcpServerPolicyOK) IsClientError ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) IsClientError() bool
IsClientError returns true when this get network switch dhcp server policy o k response has a 4xx status code
func (*GetNetworkSwitchDhcpServerPolicyOK) IsCode ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) IsCode(code int) bool
IsCode returns true when this get network switch dhcp server policy o k response a status code equal to that given
func (*GetNetworkSwitchDhcpServerPolicyOK) IsRedirect ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) IsRedirect() bool
IsRedirect returns true when this get network switch dhcp server policy o k response has a 3xx status code
func (*GetNetworkSwitchDhcpServerPolicyOK) IsServerError ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) IsServerError() bool
IsServerError returns true when this get network switch dhcp server policy o k response has a 5xx status code
func (*GetNetworkSwitchDhcpServerPolicyOK) IsSuccess ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) IsSuccess() bool
IsSuccess returns true when this get network switch dhcp server policy o k response has a 2xx status code
func (*GetNetworkSwitchDhcpServerPolicyOK) String ¶
func (o *GetNetworkSwitchDhcpServerPolicyOK) String() string
type GetNetworkSwitchDhcpServerPolicyOKBody ¶
type GetNetworkSwitchDhcpServerPolicyOKBody struct { // alerts Alerts *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts `json:"alerts,omitempty"` // List the MAC addresses of DHCP servers to permit on the network when defaultPolicy is set // to block.An empty array will clear the entries. AllowedServers []string `json:"allowedServers"` // arp inspection ArpInspection *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection `json:"arpInspection,omitempty"` // List the MAC addresses of DHCP servers to block on the network when defaultPolicy is set // to allow.An empty array will clear the entries. BlockedServers []string `json:"blockedServers"` // 'allow' or 'block' new DHCP servers. Default value is 'allow'. // Enum: [allow block] DefaultPolicy string `json:"defaultPolicy,omitempty"` }
GetNetworkSwitchDhcpServerPolicyOKBody get network switch dhcp server policy o k body swagger:model GetNetworkSwitchDhcpServerPolicyOKBody
func (*GetNetworkSwitchDhcpServerPolicyOKBody) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp server policy o k body based on the context it is used
func (*GetNetworkSwitchDhcpServerPolicyOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpServerPolicyOKBodyAlerts ¶
type GetNetworkSwitchDhcpServerPolicyOKBodyAlerts struct { // email Email *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail `json:"email,omitempty"` }
GetNetworkSwitchDhcpServerPolicyOKBodyAlerts Email alert settings for DHCP servers swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyAlerts
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp server policy o k body alerts based on the context it is used
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlerts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail ¶
type GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail struct { // When enabled, send an email if a new DHCP server is seen. Default value is false. Enabled bool `json:"enabled,omitempty"` }
GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail Alert settings for DHCP servers swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp server policy o k body alerts email based on context it is used
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyAlertsEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection ¶
type GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection struct { // Enable or disable Dynamic ARP Inspection on the network. Default value is false. Enabled bool `json:"enabled,omitempty"` }
GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection Dynamic ARP Inspection settings swagger:model GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection
func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) ContextValidate ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp server policy o k body arp inspection based on context it is used
func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpServerPolicyOKBodyArpInspection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpServerPolicyParams ¶
type GetNetworkSwitchDhcpServerPolicyParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchDhcpServerPolicyParams contains all the parameters to send to the API endpoint
for the get network switch dhcp server policy operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchDhcpServerPolicyParams ¶
func NewGetNetworkSwitchDhcpServerPolicyParams() *GetNetworkSwitchDhcpServerPolicyParams
NewGetNetworkSwitchDhcpServerPolicyParams creates a new GetNetworkSwitchDhcpServerPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchDhcpServerPolicyParamsWithContext ¶
func NewGetNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyParams
NewGetNetworkSwitchDhcpServerPolicyParamsWithContext creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a context for a request.
func NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient ¶
func NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyParams
NewGetNetworkSwitchDhcpServerPolicyParamsWithHTTPClient creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout ¶
func NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyParams
NewGetNetworkSwitchDhcpServerPolicyParamsWithTimeout creates a new GetNetworkSwitchDhcpServerPolicyParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchDhcpServerPolicyParams) SetContext ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpServerPolicyParams
WithContext adds the context to the get network switch dhcp server policy params
func (*GetNetworkSwitchDhcpServerPolicyParams) WithDefaults ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WithDefaults() *GetNetworkSwitchDhcpServerPolicyParams
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 ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpServerPolicyParams
WithHTTPClient adds the HTTPClient to the get network switch dhcp server policy params
func (*GetNetworkSwitchDhcpServerPolicyParams) WithNetworkID ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpServerPolicyParams
WithNetworkID adds the networkID to the get network switch dhcp server policy params
func (*GetNetworkSwitchDhcpServerPolicyParams) WithTimeout ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpServerPolicyParams
WithTimeout adds the timeout to the get network switch dhcp server policy params
func (*GetNetworkSwitchDhcpServerPolicyParams) WriteToRequest ¶
func (o *GetNetworkSwitchDhcpServerPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchDhcpServerPolicyReader ¶
type GetNetworkSwitchDhcpServerPolicyReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchDhcpServerPolicyReader is a Reader for the GetNetworkSwitchDhcpServerPolicy structure.
func (*GetNetworkSwitchDhcpServerPolicyReader) ReadResponse ¶
func (o *GetNetworkSwitchDhcpServerPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchDhcpV4ServersSeenOK ¶
type GetNetworkSwitchDhcpV4ServersSeenOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 }
GetNetworkSwitchDhcpV4ServersSeenOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchDhcpV4ServersSeenOK ¶
func NewGetNetworkSwitchDhcpV4ServersSeenOK() *GetNetworkSwitchDhcpV4ServersSeenOK
NewGetNetworkSwitchDhcpV4ServersSeenOK creates a GetNetworkSwitchDhcpV4ServersSeenOK with default headers values
func (*GetNetworkSwitchDhcpV4ServersSeenOK) Code ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) Code() int
Code gets the status code for the get network switch dhcp v4 servers seen o k response
func (*GetNetworkSwitchDhcpV4ServersSeenOK) Error ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) Error() string
func (*GetNetworkSwitchDhcpV4ServersSeenOK) GetPayload ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) GetPayload() []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0
func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsClientError ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsClientError() bool
IsClientError returns true when this get network switch dhcp v4 servers seen o k response has a 4xx status code
func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsCode ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsCode(code int) bool
IsCode returns true when this get network switch dhcp v4 servers seen o k response a status code equal to that given
func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsRedirect ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsRedirect() bool
IsRedirect returns true when this get network switch dhcp v4 servers seen o k response has a 3xx status code
func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsServerError ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsServerError() bool
IsServerError returns true when this get network switch dhcp v4 servers seen o k response has a 5xx status code
func (*GetNetworkSwitchDhcpV4ServersSeenOK) IsSuccess ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) IsSuccess() bool
IsSuccess returns true when this get network switch dhcp v4 servers seen o k response has a 2xx status code
func (*GetNetworkSwitchDhcpV4ServersSeenOK) String ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOK) String() string
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 struct { // Client id of the server if available. ClientID string `json:"clientId,omitempty"` // device Device *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device `json:"device,omitempty"` // ipv4 IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 `json:"ipv4,omitempty"` // Whether the server is allowed or blocked. Always true for configured servers. IsAllowed bool `json:"isAllowed,omitempty"` // Whether the server is configured. IsConfigured bool `json:"isConfigured,omitempty"` // last ack LastAck *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck `json:"lastAck,omitempty"` // last packet LastPacket *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket `json:"lastPacket,omitempty"` // Last time the server was seen. // Format: date-time LastSeenAt strfmt.DateTime `json:"lastSeenAt,omitempty"` // Mac address of the server. Mac string `json:"mac,omitempty"` // Devices that saw the server. SeenBy []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 `json:"seenBy"` // server type. Can be a 'device', 'stack', or 'discovered' (i.e client). // Enum: [device discovered stack] Type string `json:"type,omitempty"` // Vlan id of the server. Vlan int64 `json:"vlan,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0 get network switch dhcp v4 servers seen o k body items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device struct { // interface Interface *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface `json:"interface,omitempty"` // Device name. Name string `json:"name,omitempty"` // Device serial. Serial string `json:"serial,omitempty"` // Url link to device. URL string `json:"url,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device Attributes of the server when it's a device. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 device based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0Device) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface struct { // Interface name. Name string `json:"name,omitempty"` // Url link to interface. URL string `json:"url,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface Interface attributes of the server. Only for configured servers. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 device interface based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0DeviceInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 struct { // IPv4 address of the server. Address string `json:"address,omitempty"` // IPv4 gateway address of the server. Gateway string `json:"gateway,omitempty"` // Subnet of the server. Subnet string `json:"subnet,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4 IPv4 attributes of the server. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 IP v4 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0IPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck struct { // ipv4 IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 `json:"ipv4,omitempty"` // Last time the server was acked. // Format: date-time Ts strfmt.DateTime `json:"ts,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck Attributes of the server's last ack. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last ack based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAck) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 struct { // IPv4 address of the last ack. Address string `json:"address,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4 IPv4 attributes of the last ack. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last ack IP v4 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastAckIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket struct { // destination Destination *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination `json:"destination,omitempty"` // ethernet Ethernet *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet `json:"ethernet,omitempty"` // fields Fields *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields `json:"fields,omitempty"` // ip IP *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP `json:"ip,omitempty"` // source Source *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource `json:"source,omitempty"` // Packet type. Type string `json:"type,omitempty"` // udp UDP *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP `json:"udp,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket Last packet the server received. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacket) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination struct { // ipv4 IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 `json:"ipv4,omitempty"` // Destination mac address of the packet. Mac string `json:"mac,omitempty"` // Destination port of the packet. Port int64 `json:"port,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination Destination of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet destination based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) Validate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestination) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 struct { // Destination ipv4 address of the packet. Address string `json:"address,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4 Destination ipv4 attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination IP v4 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) Validate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketDestinationIPV4) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet destination IP v4
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet struct { // Ethernet type of the packet. Type string `json:"type,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet Additional ethernet attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet ethernet based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketEthernet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields struct { // Client hardware address of the packet. Chaddr string `json:"chaddr,omitempty"` // Client IP address of the packet. Ciaddr string `json:"ciaddr,omitempty"` // Packet flags. Flags string `json:"flags,omitempty"` // Gateway IP address of the packet. Giaddr string `json:"giaddr,omitempty"` // Hardware length of the packet. Hlen int64 `json:"hlen,omitempty"` // Number of hops the packet took. Hops int64 `json:"hops,omitempty"` // Hardware type code of the packet. Htype int64 `json:"htype,omitempty"` // Magic cookie of the packet. MagicCookie string `json:"magicCookie,omitempty"` // Operation code of the packet. Op int64 `json:"op,omitempty"` // Additional DHCP options of the packet. Options []*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 `json:"options"` // Number of seconds since receiving the packet. Secs int64 `json:"secs,omitempty"` // Server IP address of the packet. Siaddr string `json:"siaddr,omitempty"` // Server identifier address of the packet. Sname string `json:"sname,omitempty"` // Transaction id of the packet. Xid string `json:"xid,omitempty"` // Assigned IP address of the packet. Yiaddr string `json:"yiaddr,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields DHCP-specific fields of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet fields based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFields) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 struct { // Option name. Name string `json:"name,omitempty"` // Option value. Value string `json:"value,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0 get network switch dhcp v4 servers seen o k body items0 last packet fields options items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet fields options items0 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) Validate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketFieldsOptionsItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet fields options items0
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP struct { // dscp Dscp *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp `json:"dscp,omitempty"` // IP header length of the packet. HeaderLength int64 `json:"headerLength,omitempty"` // IP ID of the packet. ID string `json:"id,omitempty"` // IP length of the packet. Length int64 `json:"length,omitempty"` // IP protocol number of the packet. Protocol int64 `json:"protocol,omitempty"` // Time to live of the packet. TTL int64 `json:"ttl,omitempty"` // IP version of the packet. // Enum: [4 6] Version int64 `json:"version,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP Additional IP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet IP based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp struct { // ECN number of the packet. Ecn int64 `json:"ecn,omitempty"` // DSCP tag number of the packet. Tag int64 `json:"tag,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp DSCP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet IP dscp based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketIPDscp) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource struct { // ipv4 IPV4 *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 `json:"ipv4,omitempty"` // Source mac address of the packet. Mac string `json:"mac,omitempty"` // Source port of the packet. Port int64 `json:"port,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource Source of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dhcp v4 servers seen o k body items0 last packet source based on the context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 struct { // Source ipv4 address of the packet. Address string `json:"address,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4 Source ipv4 attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet source IP v4 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) Validate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketSourceIPV4) Validate(formats strfmt.Registry) error
Validate validates this get network switch dhcp v4 servers seen o k body items0 last packet source IP v4
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP struct { // UDP checksum of the packet. Checksum string `json:"checksum,omitempty"` // UDP length of the packet. Length int64 `json:"length,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP UDP attributes of the packet. swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 last packet UDP based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0LastPacketUDP) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 ¶
type GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 struct { // Device name. Name string `json:"name,omitempty"` // Device serial. Serial string `json:"serial,omitempty"` // Url link to device. URL string `json:"url,omitempty"` }
GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0 get network switch dhcp v4 servers seen o k body items0 seen by items0 swagger:model GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) ContextValidate ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dhcp v4 servers seen o k body items0 seen by items0 based on context it is used
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenOKBodyItems0SeenByItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDhcpV4ServersSeenParams ¶
type GetNetworkSwitchDhcpV4ServersSeenParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* NetworkID. Network ID */ NetworkID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. */ PerPage *int64 /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /* T0. The beginning of the timespan for the data. The maximum lookback period is 31 days from today. */ T0 *string /* Timespan. The timespan for which the information will be fetched. If specifying timespan, do not specify parameter t0. The value must be in seconds and be less than or equal to 31 days. The default is 1 day. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchDhcpV4ServersSeenParams contains all the parameters to send to the API endpoint
for the get network switch dhcp v4 servers seen operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchDhcpV4ServersSeenParams ¶
func NewGetNetworkSwitchDhcpV4ServersSeenParams() *GetNetworkSwitchDhcpV4ServersSeenParams
NewGetNetworkSwitchDhcpV4ServersSeenParams creates a new GetNetworkSwitchDhcpV4ServersSeenParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext ¶
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext(ctx context.Context) *GetNetworkSwitchDhcpV4ServersSeenParams
NewGetNetworkSwitchDhcpV4ServersSeenParamsWithContext creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a context for a request.
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient ¶
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpV4ServersSeenParams
NewGetNetworkSwitchDhcpV4ServersSeenParamsWithHTTPClient creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout ¶
func NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpV4ServersSeenParams
NewGetNetworkSwitchDhcpV4ServersSeenParamsWithTimeout creates a new GetNetworkSwitchDhcpV4ServersSeenParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetContext ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetDefaults ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetDefaults()
SetDefaults hydrates default values in the get network switch dhcp v4 servers seen params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetEndingBefore ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetHTTPClient ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetNetworkID ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetPerPage ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetStartingAfter ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetT0 ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetT0(t0 *string)
SetT0 adds the t0 to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetTimeout ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) SetTimespan ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) SetTimespan(timespan *float32)
SetTimespan adds the timespan to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithContext ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithContext(ctx context.Context) *GetNetworkSwitchDhcpV4ServersSeenParams
WithContext adds the context to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithDefaults ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithDefaults() *GetNetworkSwitchDhcpV4ServersSeenParams
WithDefaults hydrates default values in the get network switch dhcp v4 servers seen params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithEndingBefore ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithEndingBefore(endingBefore *string) *GetNetworkSwitchDhcpV4ServersSeenParams
WithEndingBefore adds the endingBefore to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithHTTPClient ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDhcpV4ServersSeenParams
WithHTTPClient adds the HTTPClient to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithNetworkID ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithNetworkID(networkID string) *GetNetworkSwitchDhcpV4ServersSeenParams
WithNetworkID adds the networkID to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithPerPage ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithPerPage(perPage *int64) *GetNetworkSwitchDhcpV4ServersSeenParams
WithPerPage adds the perPage to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithStartingAfter ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithStartingAfter(startingAfter *string) *GetNetworkSwitchDhcpV4ServersSeenParams
WithStartingAfter adds the startingAfter to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithT0 ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithT0(t0 *string) *GetNetworkSwitchDhcpV4ServersSeenParams
WithT0 adds the t0 to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithTimeout ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDhcpV4ServersSeenParams
WithTimeout adds the timeout to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WithTimespan ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WithTimespan(timespan *float32) *GetNetworkSwitchDhcpV4ServersSeenParams
WithTimespan adds the timespan to the get network switch dhcp v4 servers seen params
func (*GetNetworkSwitchDhcpV4ServersSeenParams) WriteToRequest ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchDhcpV4ServersSeenReader ¶
type GetNetworkSwitchDhcpV4ServersSeenReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchDhcpV4ServersSeenReader is a Reader for the GetNetworkSwitchDhcpV4ServersSeen structure.
func (*GetNetworkSwitchDhcpV4ServersSeenReader) ReadResponse ¶
func (o *GetNetworkSwitchDhcpV4ServersSeenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchDscpToCosMappingsOK ¶
type GetNetworkSwitchDscpToCosMappingsOK struct {
Payload *GetNetworkSwitchDscpToCosMappingsOKBody
}
GetNetworkSwitchDscpToCosMappingsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchDscpToCosMappingsOK ¶
func NewGetNetworkSwitchDscpToCosMappingsOK() *GetNetworkSwitchDscpToCosMappingsOK
NewGetNetworkSwitchDscpToCosMappingsOK creates a GetNetworkSwitchDscpToCosMappingsOK with default headers values
func (*GetNetworkSwitchDscpToCosMappingsOK) Code ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) Code() int
Code gets the status code for the get network switch dscp to cos mappings o k response
func (*GetNetworkSwitchDscpToCosMappingsOK) Error ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) Error() string
func (*GetNetworkSwitchDscpToCosMappingsOK) GetPayload ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) GetPayload() *GetNetworkSwitchDscpToCosMappingsOKBody
func (*GetNetworkSwitchDscpToCosMappingsOK) IsClientError ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) IsClientError() bool
IsClientError returns true when this get network switch dscp to cos mappings o k response has a 4xx status code
func (*GetNetworkSwitchDscpToCosMappingsOK) IsCode ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) IsCode(code int) bool
IsCode returns true when this get network switch dscp to cos mappings o k response a status code equal to that given
func (*GetNetworkSwitchDscpToCosMappingsOK) IsRedirect ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) IsRedirect() bool
IsRedirect returns true when this get network switch dscp to cos mappings o k response has a 3xx status code
func (*GetNetworkSwitchDscpToCosMappingsOK) IsServerError ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) IsServerError() bool
IsServerError returns true when this get network switch dscp to cos mappings o k response has a 5xx status code
func (*GetNetworkSwitchDscpToCosMappingsOK) IsSuccess ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) IsSuccess() bool
IsSuccess returns true when this get network switch dscp to cos mappings o k response has a 2xx status code
func (*GetNetworkSwitchDscpToCosMappingsOK) String ¶
func (o *GetNetworkSwitchDscpToCosMappingsOK) String() string
type GetNetworkSwitchDscpToCosMappingsOKBody ¶
type GetNetworkSwitchDscpToCosMappingsOKBody struct { // An array of DSCP to CoS mappings. An empty array will reset the mappings to default. Mappings []*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 `json:"mappings"` }
GetNetworkSwitchDscpToCosMappingsOKBody get network switch dscp to cos mappings o k body swagger:model GetNetworkSwitchDscpToCosMappingsOKBody
func (*GetNetworkSwitchDscpToCosMappingsOKBody) ContextValidate ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch dscp to cos mappings o k body based on the context it is used
func (*GetNetworkSwitchDscpToCosMappingsOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDscpToCosMappingsOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 ¶
type GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 struct { // The actual layer-2 CoS queue the DSCP value is mapped to. These are not bits set on outgoing frames. Value can be in the range of 0 to 5 inclusive. Cos int64 `json:"cos,omitempty"` // The Differentiated Services Code Point (DSCP) tag in the IP header that will be mapped to a particular Class-of-Service (CoS) queue. Value can be in the range of 0 to 63 inclusive. Dscp int64 `json:"dscp,omitempty"` // Label for the mapping (optional). Title string `json:"title,omitempty"` }
GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0 get network switch dscp to cos mappings o k body mappings items0 swagger:model GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0
func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) ContextValidate ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch dscp to cos mappings o k body mappings items0 based on context it is used
func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) MarshalBinary ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchDscpToCosMappingsOKBodyMappingsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchDscpToCosMappingsParams ¶
type GetNetworkSwitchDscpToCosMappingsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchDscpToCosMappingsParams contains all the parameters to send to the API endpoint
for the get network switch dscp to cos mappings operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchDscpToCosMappingsParams ¶
func NewGetNetworkSwitchDscpToCosMappingsParams() *GetNetworkSwitchDscpToCosMappingsParams
NewGetNetworkSwitchDscpToCosMappingsParams creates a new GetNetworkSwitchDscpToCosMappingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchDscpToCosMappingsParamsWithContext ¶
func NewGetNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *GetNetworkSwitchDscpToCosMappingsParams
NewGetNetworkSwitchDscpToCosMappingsParamsWithContext creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a context for a request.
func NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient ¶
func NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchDscpToCosMappingsParams
NewGetNetworkSwitchDscpToCosMappingsParamsWithHTTPClient creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout ¶
func NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchDscpToCosMappingsParams
NewGetNetworkSwitchDscpToCosMappingsParamsWithTimeout creates a new GetNetworkSwitchDscpToCosMappingsParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchDscpToCosMappingsParams) SetContext ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WithContext(ctx context.Context) *GetNetworkSwitchDscpToCosMappingsParams
WithContext adds the context to the get network switch dscp to cos mappings params
func (*GetNetworkSwitchDscpToCosMappingsParams) WithDefaults ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WithDefaults() *GetNetworkSwitchDscpToCosMappingsParams
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 ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchDscpToCosMappingsParams
WithHTTPClient adds the HTTPClient to the get network switch dscp to cos mappings params
func (*GetNetworkSwitchDscpToCosMappingsParams) WithNetworkID ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WithNetworkID(networkID string) *GetNetworkSwitchDscpToCosMappingsParams
WithNetworkID adds the networkID to the get network switch dscp to cos mappings params
func (*GetNetworkSwitchDscpToCosMappingsParams) WithTimeout ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchDscpToCosMappingsParams
WithTimeout adds the timeout to the get network switch dscp to cos mappings params
func (*GetNetworkSwitchDscpToCosMappingsParams) WriteToRequest ¶
func (o *GetNetworkSwitchDscpToCosMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchDscpToCosMappingsReader ¶
type GetNetworkSwitchDscpToCosMappingsReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchDscpToCosMappingsReader is a Reader for the GetNetworkSwitchDscpToCosMappings structure.
func (*GetNetworkSwitchDscpToCosMappingsReader) ReadResponse ¶
func (o *GetNetworkSwitchDscpToCosMappingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchLinkAggregationsOK ¶
type GetNetworkSwitchLinkAggregationsOK struct {
Payload []interface{}
}
GetNetworkSwitchLinkAggregationsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchLinkAggregationsOK ¶
func NewGetNetworkSwitchLinkAggregationsOK() *GetNetworkSwitchLinkAggregationsOK
NewGetNetworkSwitchLinkAggregationsOK creates a GetNetworkSwitchLinkAggregationsOK with default headers values
func (*GetNetworkSwitchLinkAggregationsOK) Code ¶
func (o *GetNetworkSwitchLinkAggregationsOK) Code() int
Code gets the status code for the get network switch link aggregations o k response
func (*GetNetworkSwitchLinkAggregationsOK) Error ¶
func (o *GetNetworkSwitchLinkAggregationsOK) Error() string
func (*GetNetworkSwitchLinkAggregationsOK) GetPayload ¶
func (o *GetNetworkSwitchLinkAggregationsOK) GetPayload() []interface{}
func (*GetNetworkSwitchLinkAggregationsOK) IsClientError ¶
func (o *GetNetworkSwitchLinkAggregationsOK) IsClientError() bool
IsClientError returns true when this get network switch link aggregations o k response has a 4xx status code
func (*GetNetworkSwitchLinkAggregationsOK) IsCode ¶
func (o *GetNetworkSwitchLinkAggregationsOK) IsCode(code int) bool
IsCode returns true when this get network switch link aggregations o k response a status code equal to that given
func (*GetNetworkSwitchLinkAggregationsOK) IsRedirect ¶
func (o *GetNetworkSwitchLinkAggregationsOK) IsRedirect() bool
IsRedirect returns true when this get network switch link aggregations o k response has a 3xx status code
func (*GetNetworkSwitchLinkAggregationsOK) IsServerError ¶
func (o *GetNetworkSwitchLinkAggregationsOK) IsServerError() bool
IsServerError returns true when this get network switch link aggregations o k response has a 5xx status code
func (*GetNetworkSwitchLinkAggregationsOK) IsSuccess ¶
func (o *GetNetworkSwitchLinkAggregationsOK) IsSuccess() bool
IsSuccess returns true when this get network switch link aggregations o k response has a 2xx status code
func (*GetNetworkSwitchLinkAggregationsOK) String ¶
func (o *GetNetworkSwitchLinkAggregationsOK) String() string
type GetNetworkSwitchLinkAggregationsParams ¶
type GetNetworkSwitchLinkAggregationsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchLinkAggregationsParams contains all the parameters to send to the API endpoint
for the get network switch link aggregations operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchLinkAggregationsParams ¶
func NewGetNetworkSwitchLinkAggregationsParams() *GetNetworkSwitchLinkAggregationsParams
NewGetNetworkSwitchLinkAggregationsParams creates a new GetNetworkSwitchLinkAggregationsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchLinkAggregationsParamsWithContext ¶
func NewGetNetworkSwitchLinkAggregationsParamsWithContext(ctx context.Context) *GetNetworkSwitchLinkAggregationsParams
NewGetNetworkSwitchLinkAggregationsParamsWithContext creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a context for a request.
func NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient ¶
func NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchLinkAggregationsParams
NewGetNetworkSwitchLinkAggregationsParamsWithHTTPClient creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchLinkAggregationsParamsWithTimeout ¶
func NewGetNetworkSwitchLinkAggregationsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchLinkAggregationsParams
NewGetNetworkSwitchLinkAggregationsParamsWithTimeout creates a new GetNetworkSwitchLinkAggregationsParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchLinkAggregationsParams) SetContext ¶
func (o *GetNetworkSwitchLinkAggregationsParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WithContext(ctx context.Context) *GetNetworkSwitchLinkAggregationsParams
WithContext adds the context to the get network switch link aggregations params
func (*GetNetworkSwitchLinkAggregationsParams) WithDefaults ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WithDefaults() *GetNetworkSwitchLinkAggregationsParams
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 ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchLinkAggregationsParams
WithHTTPClient adds the HTTPClient to the get network switch link aggregations params
func (*GetNetworkSwitchLinkAggregationsParams) WithNetworkID ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WithNetworkID(networkID string) *GetNetworkSwitchLinkAggregationsParams
WithNetworkID adds the networkID to the get network switch link aggregations params
func (*GetNetworkSwitchLinkAggregationsParams) WithTimeout ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchLinkAggregationsParams
WithTimeout adds the timeout to the get network switch link aggregations params
func (*GetNetworkSwitchLinkAggregationsParams) WriteToRequest ¶
func (o *GetNetworkSwitchLinkAggregationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchLinkAggregationsReader ¶
type GetNetworkSwitchLinkAggregationsReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchLinkAggregationsReader is a Reader for the GetNetworkSwitchLinkAggregations structure.
func (*GetNetworkSwitchLinkAggregationsReader) ReadResponse ¶
func (o *GetNetworkSwitchLinkAggregationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchMtuOK ¶
type GetNetworkSwitchMtuOK struct {
Payload *GetNetworkSwitchMtuOKBody
}
GetNetworkSwitchMtuOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchMtuOK ¶
func NewGetNetworkSwitchMtuOK() *GetNetworkSwitchMtuOK
NewGetNetworkSwitchMtuOK creates a GetNetworkSwitchMtuOK with default headers values
func (*GetNetworkSwitchMtuOK) Code ¶
func (o *GetNetworkSwitchMtuOK) Code() int
Code gets the status code for the get network switch mtu o k response
func (*GetNetworkSwitchMtuOK) Error ¶
func (o *GetNetworkSwitchMtuOK) Error() string
func (*GetNetworkSwitchMtuOK) GetPayload ¶
func (o *GetNetworkSwitchMtuOK) GetPayload() *GetNetworkSwitchMtuOKBody
func (*GetNetworkSwitchMtuOK) IsClientError ¶
func (o *GetNetworkSwitchMtuOK) IsClientError() bool
IsClientError returns true when this get network switch mtu o k response has a 4xx status code
func (*GetNetworkSwitchMtuOK) IsCode ¶
func (o *GetNetworkSwitchMtuOK) IsCode(code int) bool
IsCode returns true when this get network switch mtu o k response a status code equal to that given
func (*GetNetworkSwitchMtuOK) IsRedirect ¶
func (o *GetNetworkSwitchMtuOK) IsRedirect() bool
IsRedirect returns true when this get network switch mtu o k response has a 3xx status code
func (*GetNetworkSwitchMtuOK) IsServerError ¶
func (o *GetNetworkSwitchMtuOK) IsServerError() bool
IsServerError returns true when this get network switch mtu o k response has a 5xx status code
func (*GetNetworkSwitchMtuOK) IsSuccess ¶
func (o *GetNetworkSwitchMtuOK) IsSuccess() bool
IsSuccess returns true when this get network switch mtu o k response has a 2xx status code
func (*GetNetworkSwitchMtuOK) String ¶
func (o *GetNetworkSwitchMtuOK) String() string
type GetNetworkSwitchMtuOKBody ¶
type GetNetworkSwitchMtuOKBody struct { // MTU size for the entire network. Default value is 9578. DefaultMtuSize int64 `json:"defaultMtuSize,omitempty"` // Override MTU size for individual switches or switch templates. // An empty array will clear overrides. Overrides []*GetNetworkSwitchMtuOKBodyOverridesItems0 `json:"overrides"` }
GetNetworkSwitchMtuOKBody get network switch mtu o k body swagger:model GetNetworkSwitchMtuOKBody
func (*GetNetworkSwitchMtuOKBody) ContextValidate ¶
func (o *GetNetworkSwitchMtuOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch mtu o k body based on the context it is used
func (*GetNetworkSwitchMtuOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchMtuOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchMtuOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchMtuOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchMtuOKBodyOverridesItems0 ¶
type GetNetworkSwitchMtuOKBodyOverridesItems0 struct { // MTU size for the switches or switch templates. // Required: true MtuSize *int64 `json:"mtuSize"` // List of switch template IDs. Applicable only for template network. SwitchProfiles []string `json:"switchProfiles"` // List of switch serials. Applicable only for switch network. Switches []string `json:"switches"` }
GetNetworkSwitchMtuOKBodyOverridesItems0 get network switch mtu o k body overrides items0 swagger:model GetNetworkSwitchMtuOKBodyOverridesItems0
func (*GetNetworkSwitchMtuOKBodyOverridesItems0) ContextValidate ¶
func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch mtu o k body overrides items0 based on context it is used
func (*GetNetworkSwitchMtuOKBodyOverridesItems0) MarshalBinary ¶
func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchMtuOKBodyOverridesItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchMtuOKBodyOverridesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchMtuParams ¶
type GetNetworkSwitchMtuParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchMtuParams contains all the parameters to send to the API endpoint
for the get network switch mtu operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchMtuParams ¶
func NewGetNetworkSwitchMtuParams() *GetNetworkSwitchMtuParams
NewGetNetworkSwitchMtuParams creates a new GetNetworkSwitchMtuParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchMtuParamsWithContext ¶
func NewGetNetworkSwitchMtuParamsWithContext(ctx context.Context) *GetNetworkSwitchMtuParams
NewGetNetworkSwitchMtuParamsWithContext creates a new GetNetworkSwitchMtuParams object with the ability to set a context for a request.
func NewGetNetworkSwitchMtuParamsWithHTTPClient ¶
func NewGetNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchMtuParams
NewGetNetworkSwitchMtuParamsWithHTTPClient creates a new GetNetworkSwitchMtuParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchMtuParamsWithTimeout ¶
func NewGetNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchMtuParams
NewGetNetworkSwitchMtuParamsWithTimeout creates a new GetNetworkSwitchMtuParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchMtuParams) SetContext ¶
func (o *GetNetworkSwitchMtuParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) SetDefaults ¶
func (o *GetNetworkSwitchMtuParams) SetDefaults()
SetDefaults hydrates default values in the get network switch mtu params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchMtuParams) SetHTTPClient ¶
func (o *GetNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) SetNetworkID ¶
func (o *GetNetworkSwitchMtuParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) SetTimeout ¶
func (o *GetNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) WithContext ¶
func (o *GetNetworkSwitchMtuParams) WithContext(ctx context.Context) *GetNetworkSwitchMtuParams
WithContext adds the context to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) WithDefaults ¶
func (o *GetNetworkSwitchMtuParams) WithDefaults() *GetNetworkSwitchMtuParams
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 ¶
func (o *GetNetworkSwitchMtuParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchMtuParams
WithTimeout adds the timeout to the get network switch mtu params
func (*GetNetworkSwitchMtuParams) WriteToRequest ¶
func (o *GetNetworkSwitchMtuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchMtuReader ¶
type GetNetworkSwitchMtuReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchMtuReader is a Reader for the GetNetworkSwitchMtu structure.
func (*GetNetworkSwitchMtuReader) ReadResponse ¶
func (o *GetNetworkSwitchMtuReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchPortSchedulesOK ¶
type GetNetworkSwitchPortSchedulesOK struct {
Payload []*GetNetworkSwitchPortSchedulesOKBodyItems0
}
GetNetworkSwitchPortSchedulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchPortSchedulesOK ¶
func NewGetNetworkSwitchPortSchedulesOK() *GetNetworkSwitchPortSchedulesOK
NewGetNetworkSwitchPortSchedulesOK creates a GetNetworkSwitchPortSchedulesOK with default headers values
func (*GetNetworkSwitchPortSchedulesOK) Code ¶
func (o *GetNetworkSwitchPortSchedulesOK) Code() int
Code gets the status code for the get network switch port schedules o k response
func (*GetNetworkSwitchPortSchedulesOK) Error ¶
func (o *GetNetworkSwitchPortSchedulesOK) Error() string
func (*GetNetworkSwitchPortSchedulesOK) GetPayload ¶
func (o *GetNetworkSwitchPortSchedulesOK) GetPayload() []*GetNetworkSwitchPortSchedulesOKBodyItems0
func (*GetNetworkSwitchPortSchedulesOK) IsClientError ¶
func (o *GetNetworkSwitchPortSchedulesOK) IsClientError() bool
IsClientError returns true when this get network switch port schedules o k response has a 4xx status code
func (*GetNetworkSwitchPortSchedulesOK) IsCode ¶
func (o *GetNetworkSwitchPortSchedulesOK) IsCode(code int) bool
IsCode returns true when this get network switch port schedules o k response a status code equal to that given
func (*GetNetworkSwitchPortSchedulesOK) IsRedirect ¶
func (o *GetNetworkSwitchPortSchedulesOK) IsRedirect() bool
IsRedirect returns true when this get network switch port schedules o k response has a 3xx status code
func (*GetNetworkSwitchPortSchedulesOK) IsServerError ¶
func (o *GetNetworkSwitchPortSchedulesOK) IsServerError() bool
IsServerError returns true when this get network switch port schedules o k response has a 5xx status code
func (*GetNetworkSwitchPortSchedulesOK) IsSuccess ¶
func (o *GetNetworkSwitchPortSchedulesOK) IsSuccess() bool
IsSuccess returns true when this get network switch port schedules o k response has a 2xx status code
func (*GetNetworkSwitchPortSchedulesOK) String ¶
func (o *GetNetworkSwitchPortSchedulesOK) String() string
type GetNetworkSwitchPortSchedulesOKBodyItems0 ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0 struct { // Switch port schedule ID ID string `json:"id,omitempty"` // Switch port schedule name Name string `json:"name,omitempty"` // Network ID NetworkID string `json:"networkId,omitempty"` // port schedule PortSchedule *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule `json:"portSchedule,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0 get network switch port schedules o k body items0 swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0
func (*GetNetworkSwitchPortSchedulesOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch port schedules o k body items0 based on the context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule struct { // friday Friday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday `json:"friday,omitempty"` // monday Monday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday `json:"monday,omitempty"` // saturday Saturday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday `json:"saturday,omitempty"` // sunday Sunday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday `json:"sunday,omitempty"` // thursday Thursday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday `json:"thursday,omitempty"` // tuesday Tuesday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday `json:"tuesday,omitempty"` // wednesday Wednesday *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday `json:"wednesday,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule Port schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch port schedules o k body items0 port schedule based on the context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday Friday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule friday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleFriday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday Monday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule monday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleMonday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday Saturday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule saturday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSaturday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday Sunday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule sunday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleSunday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday Thursday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule thursday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleThursday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday Tuesday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule tuesday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleTuesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday ¶
type GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday Wednesday schedule swagger:model GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) ContextValidate ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch port schedules o k body items0 port schedule wednesday based on context it is used
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) MarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) UnmarshalBinary ¶
func (o *GetNetworkSwitchPortSchedulesOKBodyItems0PortScheduleWednesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchPortSchedulesParams ¶
type GetNetworkSwitchPortSchedulesParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchPortSchedulesParams contains all the parameters to send to the API endpoint
for the get network switch port schedules operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchPortSchedulesParams ¶
func NewGetNetworkSwitchPortSchedulesParams() *GetNetworkSwitchPortSchedulesParams
NewGetNetworkSwitchPortSchedulesParams creates a new GetNetworkSwitchPortSchedulesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchPortSchedulesParamsWithContext ¶
func NewGetNetworkSwitchPortSchedulesParamsWithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
NewGetNetworkSwitchPortSchedulesParamsWithContext creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a context for a request.
func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient ¶
func NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
NewGetNetworkSwitchPortSchedulesParamsWithHTTPClient creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchPortSchedulesParamsWithTimeout ¶
func NewGetNetworkSwitchPortSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
NewGetNetworkSwitchPortSchedulesParamsWithTimeout creates a new GetNetworkSwitchPortSchedulesParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchPortSchedulesParams) SetContext ¶
func (o *GetNetworkSwitchPortSchedulesParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithContext(ctx context.Context) *GetNetworkSwitchPortSchedulesParams
WithContext adds the context to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithDefaults ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithDefaults() *GetNetworkSwitchPortSchedulesParams
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 ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchPortSchedulesParams
WithHTTPClient adds the HTTPClient to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithNetworkID ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithNetworkID(networkID string) *GetNetworkSwitchPortSchedulesParams
WithNetworkID adds the networkID to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WithTimeout ¶
func (o *GetNetworkSwitchPortSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchPortSchedulesParams
WithTimeout adds the timeout to the get network switch port schedules params
func (*GetNetworkSwitchPortSchedulesParams) WriteToRequest ¶
func (o *GetNetworkSwitchPortSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchPortSchedulesReader ¶
type GetNetworkSwitchPortSchedulesReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchPortSchedulesReader is a Reader for the GetNetworkSwitchPortSchedules structure.
func (*GetNetworkSwitchPortSchedulesReader) ReadResponse ¶
func (o *GetNetworkSwitchPortSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchQosRuleOK ¶
type GetNetworkSwitchQosRuleOK struct {
Payload *GetNetworkSwitchQosRuleOKBody
}
GetNetworkSwitchQosRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchQosRuleOK ¶
func NewGetNetworkSwitchQosRuleOK() *GetNetworkSwitchQosRuleOK
NewGetNetworkSwitchQosRuleOK creates a GetNetworkSwitchQosRuleOK with default headers values
func (*GetNetworkSwitchQosRuleOK) Code ¶
func (o *GetNetworkSwitchQosRuleOK) Code() int
Code gets the status code for the get network switch qos rule o k response
func (*GetNetworkSwitchQosRuleOK) Error ¶
func (o *GetNetworkSwitchQosRuleOK) Error() string
func (*GetNetworkSwitchQosRuleOK) GetPayload ¶
func (o *GetNetworkSwitchQosRuleOK) GetPayload() *GetNetworkSwitchQosRuleOKBody
func (*GetNetworkSwitchQosRuleOK) IsClientError ¶
func (o *GetNetworkSwitchQosRuleOK) IsClientError() bool
IsClientError returns true when this get network switch qos rule o k response has a 4xx status code
func (*GetNetworkSwitchQosRuleOK) IsCode ¶
func (o *GetNetworkSwitchQosRuleOK) IsCode(code int) bool
IsCode returns true when this get network switch qos rule o k response a status code equal to that given
func (*GetNetworkSwitchQosRuleOK) IsRedirect ¶
func (o *GetNetworkSwitchQosRuleOK) IsRedirect() bool
IsRedirect returns true when this get network switch qos rule o k response has a 3xx status code
func (*GetNetworkSwitchQosRuleOK) IsServerError ¶
func (o *GetNetworkSwitchQosRuleOK) IsServerError() bool
IsServerError returns true when this get network switch qos rule o k response has a 5xx status code
func (*GetNetworkSwitchQosRuleOK) IsSuccess ¶
func (o *GetNetworkSwitchQosRuleOK) IsSuccess() bool
IsSuccess returns true when this get network switch qos rule o k response has a 2xx status code
func (*GetNetworkSwitchQosRuleOK) String ¶
func (o *GetNetworkSwitchQosRuleOK) String() string
type GetNetworkSwitchQosRuleOKBody ¶
type GetNetworkSwitchQosRuleOKBody struct { // DSCP tag. Set this to -1 to trust incoming DSCP. Default value is 0 Dscp int64 `json:"dscp,omitempty"` // The destination port of the incoming packet. Applicable only if protocol is TCP or UDP. DstPort int64 `json:"dstPort,omitempty"` // The destination port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 DstPortRange string `json:"dstPortRange,omitempty"` // Qos Rule id ID string `json:"id,omitempty"` // The protocol of the incoming packet. Can be one of "ANY", "TCP" or "UDP". Default value is "ANY" Protocol string `json:"protocol,omitempty"` // The source port of the incoming packet. Applicable only if protocol is TCP or UDP. SrcPort int64 `json:"srcPort,omitempty"` // The source port range of the incoming packet. Applicable only if protocol is set to TCP or UDP. Example: 70-80 SrcPortRange string `json:"srcPortRange,omitempty"` // The VLAN of the incoming packet. A null value will match any VLAN. Vlan int64 `json:"vlan,omitempty"` }
GetNetworkSwitchQosRuleOKBody get network switch qos rule o k body swagger:model GetNetworkSwitchQosRuleOKBody
func (*GetNetworkSwitchQosRuleOKBody) ContextValidate ¶
func (o *GetNetworkSwitchQosRuleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch qos rule o k body based on context it is used
func (*GetNetworkSwitchQosRuleOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchQosRuleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchQosRuleOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchQosRuleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchQosRuleParams ¶
type GetNetworkSwitchQosRuleParams struct { /* NetworkID. Network ID */ NetworkID string /* QosRuleID. Qos rule ID */ QosRuleID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint
for the get network switch qos rule operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchQosRuleParams ¶
func NewGetNetworkSwitchQosRuleParams() *GetNetworkSwitchQosRuleParams
NewGetNetworkSwitchQosRuleParams creates a new GetNetworkSwitchQosRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchQosRuleParamsWithContext ¶
func NewGetNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRuleParams
NewGetNetworkSwitchQosRuleParamsWithContext creates a new GetNetworkSwitchQosRuleParams object with the ability to set a context for a request.
func NewGetNetworkSwitchQosRuleParamsWithHTTPClient ¶
func NewGetNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRuleParams
NewGetNetworkSwitchQosRuleParamsWithHTTPClient creates a new GetNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchQosRuleParamsWithTimeout ¶
func NewGetNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRuleParams
NewGetNetworkSwitchQosRuleParamsWithTimeout creates a new GetNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchQosRuleParams) SetContext ¶
func (o *GetNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) SetDefaults ¶
func (o *GetNetworkSwitchQosRuleParams) SetDefaults()
SetDefaults hydrates default values in the get network switch qos rule params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchQosRuleParams) SetHTTPClient ¶
func (o *GetNetworkSwitchQosRuleParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) SetNetworkID ¶
func (o *GetNetworkSwitchQosRuleParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) SetQosRuleID ¶
func (o *GetNetworkSwitchQosRuleParams) SetQosRuleID(qosRuleID string)
SetQosRuleID adds the qosRuleId to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) SetTimeout ¶
func (o *GetNetworkSwitchQosRuleParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WithContext ¶
func (o *GetNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRuleParams
WithContext adds the context to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WithDefaults ¶
func (o *GetNetworkSwitchQosRuleParams) WithDefaults() *GetNetworkSwitchQosRuleParams
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 ¶
func (o *GetNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRuleParams
WithHTTPClient adds the HTTPClient to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WithNetworkID ¶
func (o *GetNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRuleParams
WithNetworkID adds the networkID to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WithQosRuleID ¶
func (o *GetNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *GetNetworkSwitchQosRuleParams
WithQosRuleID adds the qosRuleID to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WithTimeout ¶
func (o *GetNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRuleParams
WithTimeout adds the timeout to the get network switch qos rule params
func (*GetNetworkSwitchQosRuleParams) WriteToRequest ¶
func (o *GetNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchQosRuleReader ¶
type GetNetworkSwitchQosRuleReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchQosRuleReader is a Reader for the GetNetworkSwitchQosRule structure.
func (*GetNetworkSwitchQosRuleReader) ReadResponse ¶
func (o *GetNetworkSwitchQosRuleReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchQosRulesOK ¶
type GetNetworkSwitchQosRulesOK struct {
Payload []interface{}
}
GetNetworkSwitchQosRulesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchQosRulesOK ¶
func NewGetNetworkSwitchQosRulesOK() *GetNetworkSwitchQosRulesOK
NewGetNetworkSwitchQosRulesOK creates a GetNetworkSwitchQosRulesOK with default headers values
func (*GetNetworkSwitchQosRulesOK) Code ¶
func (o *GetNetworkSwitchQosRulesOK) Code() int
Code gets the status code for the get network switch qos rules o k response
func (*GetNetworkSwitchQosRulesOK) Error ¶
func (o *GetNetworkSwitchQosRulesOK) Error() string
func (*GetNetworkSwitchQosRulesOK) GetPayload ¶
func (o *GetNetworkSwitchQosRulesOK) GetPayload() []interface{}
func (*GetNetworkSwitchQosRulesOK) IsClientError ¶
func (o *GetNetworkSwitchQosRulesOK) IsClientError() bool
IsClientError returns true when this get network switch qos rules o k response has a 4xx status code
func (*GetNetworkSwitchQosRulesOK) IsCode ¶
func (o *GetNetworkSwitchQosRulesOK) IsCode(code int) bool
IsCode returns true when this get network switch qos rules o k response a status code equal to that given
func (*GetNetworkSwitchQosRulesOK) IsRedirect ¶
func (o *GetNetworkSwitchQosRulesOK) IsRedirect() bool
IsRedirect returns true when this get network switch qos rules o k response has a 3xx status code
func (*GetNetworkSwitchQosRulesOK) IsServerError ¶
func (o *GetNetworkSwitchQosRulesOK) IsServerError() bool
IsServerError returns true when this get network switch qos rules o k response has a 5xx status code
func (*GetNetworkSwitchQosRulesOK) IsSuccess ¶
func (o *GetNetworkSwitchQosRulesOK) IsSuccess() bool
IsSuccess returns true when this get network switch qos rules o k response has a 2xx status code
func (*GetNetworkSwitchQosRulesOK) String ¶
func (o *GetNetworkSwitchQosRulesOK) String() string
type GetNetworkSwitchQosRulesOrderOK ¶
type GetNetworkSwitchQosRulesOrderOK struct {
Payload interface{}
}
GetNetworkSwitchQosRulesOrderOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchQosRulesOrderOK ¶
func NewGetNetworkSwitchQosRulesOrderOK() *GetNetworkSwitchQosRulesOrderOK
NewGetNetworkSwitchQosRulesOrderOK creates a GetNetworkSwitchQosRulesOrderOK with default headers values
func (*GetNetworkSwitchQosRulesOrderOK) Code ¶
func (o *GetNetworkSwitchQosRulesOrderOK) Code() int
Code gets the status code for the get network switch qos rules order o k response
func (*GetNetworkSwitchQosRulesOrderOK) Error ¶
func (o *GetNetworkSwitchQosRulesOrderOK) Error() string
func (*GetNetworkSwitchQosRulesOrderOK) GetPayload ¶
func (o *GetNetworkSwitchQosRulesOrderOK) GetPayload() interface{}
func (*GetNetworkSwitchQosRulesOrderOK) IsClientError ¶
func (o *GetNetworkSwitchQosRulesOrderOK) IsClientError() bool
IsClientError returns true when this get network switch qos rules order o k response has a 4xx status code
func (*GetNetworkSwitchQosRulesOrderOK) IsCode ¶
func (o *GetNetworkSwitchQosRulesOrderOK) IsCode(code int) bool
IsCode returns true when this get network switch qos rules order o k response a status code equal to that given
func (*GetNetworkSwitchQosRulesOrderOK) IsRedirect ¶
func (o *GetNetworkSwitchQosRulesOrderOK) IsRedirect() bool
IsRedirect returns true when this get network switch qos rules order o k response has a 3xx status code
func (*GetNetworkSwitchQosRulesOrderOK) IsServerError ¶
func (o *GetNetworkSwitchQosRulesOrderOK) IsServerError() bool
IsServerError returns true when this get network switch qos rules order o k response has a 5xx status code
func (*GetNetworkSwitchQosRulesOrderOK) IsSuccess ¶
func (o *GetNetworkSwitchQosRulesOrderOK) IsSuccess() bool
IsSuccess returns true when this get network switch qos rules order o k response has a 2xx status code
func (*GetNetworkSwitchQosRulesOrderOK) String ¶
func (o *GetNetworkSwitchQosRulesOrderOK) String() string
type GetNetworkSwitchQosRulesOrderParams ¶
type GetNetworkSwitchQosRulesOrderParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchQosRulesOrderParams contains all the parameters to send to the API endpoint
for the get network switch qos rules order operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchQosRulesOrderParams ¶
func NewGetNetworkSwitchQosRulesOrderParams() *GetNetworkSwitchQosRulesOrderParams
NewGetNetworkSwitchQosRulesOrderParams creates a new GetNetworkSwitchQosRulesOrderParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchQosRulesOrderParamsWithContext ¶
func NewGetNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesOrderParams
NewGetNetworkSwitchQosRulesOrderParamsWithContext creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a context for a request.
func NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient ¶
func NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesOrderParams
NewGetNetworkSwitchQosRulesOrderParamsWithHTTPClient creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchQosRulesOrderParamsWithTimeout ¶
func NewGetNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesOrderParams
NewGetNetworkSwitchQosRulesOrderParamsWithTimeout creates a new GetNetworkSwitchQosRulesOrderParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchQosRulesOrderParams) SetContext ¶
func (o *GetNetworkSwitchQosRulesOrderParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRulesOrderParams
WithContext adds the context to the get network switch qos rules order params
func (*GetNetworkSwitchQosRulesOrderParams) WithDefaults ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WithDefaults() *GetNetworkSwitchQosRulesOrderParams
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 ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesOrderParams
WithHTTPClient adds the HTTPClient to the get network switch qos rules order params
func (*GetNetworkSwitchQosRulesOrderParams) WithNetworkID ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRulesOrderParams
WithNetworkID adds the networkID to the get network switch qos rules order params
func (*GetNetworkSwitchQosRulesOrderParams) WithTimeout ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesOrderParams
WithTimeout adds the timeout to the get network switch qos rules order params
func (*GetNetworkSwitchQosRulesOrderParams) WriteToRequest ¶
func (o *GetNetworkSwitchQosRulesOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchQosRulesOrderReader ¶
type GetNetworkSwitchQosRulesOrderReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchQosRulesOrderReader is a Reader for the GetNetworkSwitchQosRulesOrder structure.
func (*GetNetworkSwitchQosRulesOrderReader) ReadResponse ¶
func (o *GetNetworkSwitchQosRulesOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchQosRulesParams ¶
type GetNetworkSwitchQosRulesParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchQosRulesParams contains all the parameters to send to the API endpoint
for the get network switch qos rules operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchQosRulesParams ¶
func NewGetNetworkSwitchQosRulesParams() *GetNetworkSwitchQosRulesParams
NewGetNetworkSwitchQosRulesParams creates a new GetNetworkSwitchQosRulesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchQosRulesParamsWithContext ¶
func NewGetNetworkSwitchQosRulesParamsWithContext(ctx context.Context) *GetNetworkSwitchQosRulesParams
NewGetNetworkSwitchQosRulesParamsWithContext creates a new GetNetworkSwitchQosRulesParams object with the ability to set a context for a request.
func NewGetNetworkSwitchQosRulesParamsWithHTTPClient ¶
func NewGetNetworkSwitchQosRulesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesParams
NewGetNetworkSwitchQosRulesParamsWithHTTPClient creates a new GetNetworkSwitchQosRulesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchQosRulesParamsWithTimeout ¶
func NewGetNetworkSwitchQosRulesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesParams
NewGetNetworkSwitchQosRulesParamsWithTimeout creates a new GetNetworkSwitchQosRulesParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchQosRulesParams) SetContext ¶
func (o *GetNetworkSwitchQosRulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) SetDefaults ¶
func (o *GetNetworkSwitchQosRulesParams) SetDefaults()
SetDefaults hydrates default values in the get network switch qos rules params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchQosRulesParams) SetHTTPClient ¶
func (o *GetNetworkSwitchQosRulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) SetNetworkID ¶
func (o *GetNetworkSwitchQosRulesParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) SetTimeout ¶
func (o *GetNetworkSwitchQosRulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) WithContext ¶
func (o *GetNetworkSwitchQosRulesParams) WithContext(ctx context.Context) *GetNetworkSwitchQosRulesParams
WithContext adds the context to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) WithDefaults ¶
func (o *GetNetworkSwitchQosRulesParams) WithDefaults() *GetNetworkSwitchQosRulesParams
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 ¶
func (o *GetNetworkSwitchQosRulesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchQosRulesParams
WithHTTPClient adds the HTTPClient to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) WithNetworkID ¶
func (o *GetNetworkSwitchQosRulesParams) WithNetworkID(networkID string) *GetNetworkSwitchQosRulesParams
WithNetworkID adds the networkID to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) WithTimeout ¶
func (o *GetNetworkSwitchQosRulesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchQosRulesParams
WithTimeout adds the timeout to the get network switch qos rules params
func (*GetNetworkSwitchQosRulesParams) WriteToRequest ¶
func (o *GetNetworkSwitchQosRulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchQosRulesReader ¶
type GetNetworkSwitchQosRulesReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchQosRulesReader is a Reader for the GetNetworkSwitchQosRules structure.
func (*GetNetworkSwitchQosRulesReader) ReadResponse ¶
func (o *GetNetworkSwitchQosRulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchRoutingMulticastOK ¶
type GetNetworkSwitchRoutingMulticastOK struct {
Payload *GetNetworkSwitchRoutingMulticastOKBody
}
GetNetworkSwitchRoutingMulticastOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchRoutingMulticastOK ¶
func NewGetNetworkSwitchRoutingMulticastOK() *GetNetworkSwitchRoutingMulticastOK
NewGetNetworkSwitchRoutingMulticastOK creates a GetNetworkSwitchRoutingMulticastOK with default headers values
func (*GetNetworkSwitchRoutingMulticastOK) Code ¶
func (o *GetNetworkSwitchRoutingMulticastOK) Code() int
Code gets the status code for the get network switch routing multicast o k response
func (*GetNetworkSwitchRoutingMulticastOK) Error ¶
func (o *GetNetworkSwitchRoutingMulticastOK) Error() string
func (*GetNetworkSwitchRoutingMulticastOK) GetPayload ¶
func (o *GetNetworkSwitchRoutingMulticastOK) GetPayload() *GetNetworkSwitchRoutingMulticastOKBody
func (*GetNetworkSwitchRoutingMulticastOK) IsClientError ¶
func (o *GetNetworkSwitchRoutingMulticastOK) IsClientError() bool
IsClientError returns true when this get network switch routing multicast o k response has a 4xx status code
func (*GetNetworkSwitchRoutingMulticastOK) IsCode ¶
func (o *GetNetworkSwitchRoutingMulticastOK) IsCode(code int) bool
IsCode returns true when this get network switch routing multicast o k response a status code equal to that given
func (*GetNetworkSwitchRoutingMulticastOK) IsRedirect ¶
func (o *GetNetworkSwitchRoutingMulticastOK) IsRedirect() bool
IsRedirect returns true when this get network switch routing multicast o k response has a 3xx status code
func (*GetNetworkSwitchRoutingMulticastOK) IsServerError ¶
func (o *GetNetworkSwitchRoutingMulticastOK) IsServerError() bool
IsServerError returns true when this get network switch routing multicast o k response has a 5xx status code
func (*GetNetworkSwitchRoutingMulticastOK) IsSuccess ¶
func (o *GetNetworkSwitchRoutingMulticastOK) IsSuccess() bool
IsSuccess returns true when this get network switch routing multicast o k response has a 2xx status code
func (*GetNetworkSwitchRoutingMulticastOK) String ¶
func (o *GetNetworkSwitchRoutingMulticastOK) String() string
type GetNetworkSwitchRoutingMulticastOKBody ¶
type GetNetworkSwitchRoutingMulticastOKBody struct { // default settings DefaultSettings *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings `json:"defaultSettings,omitempty"` // Array of paired switches/stacks/profiles and corresponding multicast settings. // An empty array will clear the multicast settings. Overrides []*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 `json:"overrides"` }
GetNetworkSwitchRoutingMulticastOKBody get network switch routing multicast o k body swagger:model GetNetworkSwitchRoutingMulticastOKBody
func (*GetNetworkSwitchRoutingMulticastOKBody) ContextValidate ¶
func (o *GetNetworkSwitchRoutingMulticastOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch routing multicast o k body based on the context it is used
func (*GetNetworkSwitchRoutingMulticastOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchRoutingMulticastOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings ¶
type GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings struct { // Flood unknown multicast traffic enabled for the entire network FloodUnknownMulticastTrafficEnabled bool `json:"floodUnknownMulticastTrafficEnabled,omitempty"` // IGMP snooping enabled for the entire network IgmpSnoopingEnabled bool `json:"igmpSnoopingEnabled,omitempty"` }
GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings Default multicast setting for entire network. IGMP snooping and Flood unknown // multicast traffic settings are enabled by default. swagger:model GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings
func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) ContextValidate ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch routing multicast o k body default settings based on context it is used
func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) MarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) UnmarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyDefaultSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 ¶
type GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 struct { // Flood unknown multicast traffic enabled for switches, switch stacks or switch templates FloodUnknownMulticastTrafficEnabled bool `json:"floodUnknownMulticastTrafficEnabled,omitempty"` // IGMP snooping enabled for switches, switch stacks or switch templates IgmpSnoopingEnabled bool `json:"igmpSnoopingEnabled,omitempty"` // (optional) List of switch stack ids for non-template network Stacks []string `json:"stacks"` // (optional) List of switch templates ids for template network SwitchProfiles []string `json:"switchProfiles"` // (optional) List of switch serials for non-template network Switches []string `json:"switches"` }
GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0 get network switch routing multicast o k body overrides items0 swagger:model GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0
func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) ContextValidate ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch routing multicast o k body overrides items0 based on context it is used
func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) MarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchRoutingMulticastOKBodyOverridesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchRoutingMulticastParams ¶
type GetNetworkSwitchRoutingMulticastParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchRoutingMulticastParams contains all the parameters to send to the API endpoint
for the get network switch routing multicast operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchRoutingMulticastParams ¶
func NewGetNetworkSwitchRoutingMulticastParams() *GetNetworkSwitchRoutingMulticastParams
NewGetNetworkSwitchRoutingMulticastParams creates a new GetNetworkSwitchRoutingMulticastParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchRoutingMulticastParamsWithContext ¶
func NewGetNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastParams
NewGetNetworkSwitchRoutingMulticastParamsWithContext creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a context for a request.
func NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient ¶
func NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastParams
NewGetNetworkSwitchRoutingMulticastParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchRoutingMulticastParamsWithTimeout ¶
func NewGetNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastParams
NewGetNetworkSwitchRoutingMulticastParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchRoutingMulticastParams) SetContext ¶
func (o *GetNetworkSwitchRoutingMulticastParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastParams
WithContext adds the context to the get network switch routing multicast params
func (*GetNetworkSwitchRoutingMulticastParams) WithDefaults ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WithDefaults() *GetNetworkSwitchRoutingMulticastParams
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 ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastParams
WithHTTPClient adds the HTTPClient to the get network switch routing multicast params
func (*GetNetworkSwitchRoutingMulticastParams) WithNetworkID ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastParams
WithNetworkID adds the networkID to the get network switch routing multicast params
func (*GetNetworkSwitchRoutingMulticastParams) WithTimeout ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastParams
WithTimeout adds the timeout to the get network switch routing multicast params
func (*GetNetworkSwitchRoutingMulticastParams) WriteToRequest ¶
func (o *GetNetworkSwitchRoutingMulticastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchRoutingMulticastReader ¶
type GetNetworkSwitchRoutingMulticastReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchRoutingMulticastReader is a Reader for the GetNetworkSwitchRoutingMulticast structure.
func (*GetNetworkSwitchRoutingMulticastReader) ReadResponse ¶
func (o *GetNetworkSwitchRoutingMulticastReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchRoutingMulticastRendezvousPointOK ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointOK struct {
Payload interface{}
}
GetNetworkSwitchRoutingMulticastRendezvousPointOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchRoutingMulticastRendezvousPointOK ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointOK() *GetNetworkSwitchRoutingMulticastRendezvousPointOK
NewGetNetworkSwitchRoutingMulticastRendezvousPointOK creates a GetNetworkSwitchRoutingMulticastRendezvousPointOK with default headers values
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) Code ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) Code() int
Code gets the status code for the get network switch routing multicast rendezvous point o k response
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) Error ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) Error() string
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError() bool
IsClientError returns true when this get network switch routing multicast rendezvous point o k response has a 4xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode(code int) bool
IsCode returns true when this get network switch routing multicast rendezvous point o k response a status code equal to that given
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect() bool
IsRedirect returns true when this get network switch routing multicast rendezvous point o k response has a 3xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError() bool
IsServerError returns true when this get network switch routing multicast rendezvous point o k response has a 5xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess() bool
IsSuccess returns true when this get network switch routing multicast rendezvous point o k response has a 2xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointOK) String ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointOK) String() string
type GetNetworkSwitchRoutingMulticastRendezvousPointParams ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointParams struct { /* NetworkID. Network ID */ NetworkID string /* RendezvousPointID. Rendezvous point ID */ RendezvousPointID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint
for the get network switch routing multicast rendezvous point operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParams ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParams() *GetNetworkSwitchRoutingMulticastRendezvousPointParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointParams creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
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 ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
WithContext adds the context to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *GetNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
WithHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
WithNetworkID adds the networkID to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
WithRendezvousPointID adds the rendezvousPointID to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointParams
WithTimeout adds the timeout to the get network switch routing multicast rendezvous point params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchRoutingMulticastRendezvousPointReader ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchRoutingMulticastRendezvousPointReader is a Reader for the GetNetworkSwitchRoutingMulticastRendezvousPoint structure.
func (*GetNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchRoutingMulticastRendezvousPointsOK ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointsOK struct {
Payload [][]interface{}
}
GetNetworkSwitchRoutingMulticastRendezvousPointsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK() *GetNetworkSwitchRoutingMulticastRendezvousPointsOK
NewGetNetworkSwitchRoutingMulticastRendezvousPointsOK creates a GetNetworkSwitchRoutingMulticastRendezvousPointsOK with default headers values
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Code ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Code() int
Code gets the status code for the get network switch routing multicast rendezvous points o k response
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Error ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) Error() string
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) GetPayload() [][]interface{}
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsClientError ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsClientError() bool
IsClientError returns true when this get network switch routing multicast rendezvous points o k response has a 4xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsCode ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsCode(code int) bool
IsCode returns true when this get network switch routing multicast rendezvous points o k response a status code equal to that given
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsRedirect ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsRedirect() bool
IsRedirect returns true when this get network switch routing multicast rendezvous points o k response has a 3xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsServerError ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsServerError() bool
IsServerError returns true when this get network switch routing multicast rendezvous points o k response has a 5xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsSuccess ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) IsSuccess() bool
IsSuccess returns true when this get network switch routing multicast rendezvous points o k response has a 2xx status code
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsOK) String ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsOK) String() string
type GetNetworkSwitchRoutingMulticastRendezvousPointsParams ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchRoutingMulticastRendezvousPointsParams contains all the parameters to send to the API endpoint
for the get network switch routing multicast rendezvous points operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams() *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointsParams creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithContext creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a context for a request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithHTTPClient creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout ¶
func NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
NewGetNetworkSwitchRoutingMulticastRendezvousPointsParamsWithTimeout creates a new GetNetworkSwitchRoutingMulticastRendezvousPointsParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetContext ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetNetworkID ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetTimeout ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithContext ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
WithContext adds the context to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithDefaults ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithDefaults() *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
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 ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
WithHTTPClient adds the HTTPClient to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithNetworkID ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
WithNetworkID adds the networkID to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithTimeout ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingMulticastRendezvousPointsParams
WithTimeout adds the timeout to the get network switch routing multicast rendezvous points params
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WriteToRequest ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchRoutingMulticastRendezvousPointsReader ¶
type GetNetworkSwitchRoutingMulticastRendezvousPointsReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchRoutingMulticastRendezvousPointsReader is a Reader for the GetNetworkSwitchRoutingMulticastRendezvousPoints structure.
func (*GetNetworkSwitchRoutingMulticastRendezvousPointsReader) ReadResponse ¶
func (o *GetNetworkSwitchRoutingMulticastRendezvousPointsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchRoutingOspfOK ¶
type GetNetworkSwitchRoutingOspfOK struct {
Payload interface{}
}
GetNetworkSwitchRoutingOspfOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchRoutingOspfOK ¶
func NewGetNetworkSwitchRoutingOspfOK() *GetNetworkSwitchRoutingOspfOK
NewGetNetworkSwitchRoutingOspfOK creates a GetNetworkSwitchRoutingOspfOK with default headers values
func (*GetNetworkSwitchRoutingOspfOK) Code ¶
func (o *GetNetworkSwitchRoutingOspfOK) Code() int
Code gets the status code for the get network switch routing ospf o k response
func (*GetNetworkSwitchRoutingOspfOK) Error ¶
func (o *GetNetworkSwitchRoutingOspfOK) Error() string
func (*GetNetworkSwitchRoutingOspfOK) GetPayload ¶
func (o *GetNetworkSwitchRoutingOspfOK) GetPayload() interface{}
func (*GetNetworkSwitchRoutingOspfOK) IsClientError ¶
func (o *GetNetworkSwitchRoutingOspfOK) IsClientError() bool
IsClientError returns true when this get network switch routing ospf o k response has a 4xx status code
func (*GetNetworkSwitchRoutingOspfOK) IsCode ¶
func (o *GetNetworkSwitchRoutingOspfOK) IsCode(code int) bool
IsCode returns true when this get network switch routing ospf o k response a status code equal to that given
func (*GetNetworkSwitchRoutingOspfOK) IsRedirect ¶
func (o *GetNetworkSwitchRoutingOspfOK) IsRedirect() bool
IsRedirect returns true when this get network switch routing ospf o k response has a 3xx status code
func (*GetNetworkSwitchRoutingOspfOK) IsServerError ¶
func (o *GetNetworkSwitchRoutingOspfOK) IsServerError() bool
IsServerError returns true when this get network switch routing ospf o k response has a 5xx status code
func (*GetNetworkSwitchRoutingOspfOK) IsSuccess ¶
func (o *GetNetworkSwitchRoutingOspfOK) IsSuccess() bool
IsSuccess returns true when this get network switch routing ospf o k response has a 2xx status code
func (*GetNetworkSwitchRoutingOspfOK) String ¶
func (o *GetNetworkSwitchRoutingOspfOK) String() string
type GetNetworkSwitchRoutingOspfParams ¶
type GetNetworkSwitchRoutingOspfParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchRoutingOspfParams contains all the parameters to send to the API endpoint
for the get network switch routing ospf operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchRoutingOspfParams ¶
func NewGetNetworkSwitchRoutingOspfParams() *GetNetworkSwitchRoutingOspfParams
NewGetNetworkSwitchRoutingOspfParams creates a new GetNetworkSwitchRoutingOspfParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchRoutingOspfParamsWithContext ¶
func NewGetNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *GetNetworkSwitchRoutingOspfParams
NewGetNetworkSwitchRoutingOspfParamsWithContext creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a context for a request.
func NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient ¶
func NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingOspfParams
NewGetNetworkSwitchRoutingOspfParamsWithHTTPClient creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchRoutingOspfParamsWithTimeout ¶
func NewGetNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingOspfParams
NewGetNetworkSwitchRoutingOspfParamsWithTimeout creates a new GetNetworkSwitchRoutingOspfParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchRoutingOspfParams) SetContext ¶
func (o *GetNetworkSwitchRoutingOspfParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchRoutingOspfParams) WithContext(ctx context.Context) *GetNetworkSwitchRoutingOspfParams
WithContext adds the context to the get network switch routing ospf params
func (*GetNetworkSwitchRoutingOspfParams) WithDefaults ¶
func (o *GetNetworkSwitchRoutingOspfParams) WithDefaults() *GetNetworkSwitchRoutingOspfParams
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 ¶
func (o *GetNetworkSwitchRoutingOspfParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchRoutingOspfParams
WithHTTPClient adds the HTTPClient to the get network switch routing ospf params
func (*GetNetworkSwitchRoutingOspfParams) WithNetworkID ¶
func (o *GetNetworkSwitchRoutingOspfParams) WithNetworkID(networkID string) *GetNetworkSwitchRoutingOspfParams
WithNetworkID adds the networkID to the get network switch routing ospf params
func (*GetNetworkSwitchRoutingOspfParams) WithTimeout ¶
func (o *GetNetworkSwitchRoutingOspfParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchRoutingOspfParams
WithTimeout adds the timeout to the get network switch routing ospf params
func (*GetNetworkSwitchRoutingOspfParams) WriteToRequest ¶
func (o *GetNetworkSwitchRoutingOspfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchRoutingOspfReader ¶
type GetNetworkSwitchRoutingOspfReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchRoutingOspfReader is a Reader for the GetNetworkSwitchRoutingOspf structure.
func (*GetNetworkSwitchRoutingOspfReader) ReadResponse ¶
func (o *GetNetworkSwitchRoutingOspfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchSettingsOK ¶
type GetNetworkSwitchSettingsOK struct {
Payload *GetNetworkSwitchSettingsOKBody
}
GetNetworkSwitchSettingsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchSettingsOK ¶
func NewGetNetworkSwitchSettingsOK() *GetNetworkSwitchSettingsOK
NewGetNetworkSwitchSettingsOK creates a GetNetworkSwitchSettingsOK with default headers values
func (*GetNetworkSwitchSettingsOK) Code ¶
func (o *GetNetworkSwitchSettingsOK) Code() int
Code gets the status code for the get network switch settings o k response
func (*GetNetworkSwitchSettingsOK) Error ¶
func (o *GetNetworkSwitchSettingsOK) Error() string
func (*GetNetworkSwitchSettingsOK) GetPayload ¶
func (o *GetNetworkSwitchSettingsOK) GetPayload() *GetNetworkSwitchSettingsOKBody
func (*GetNetworkSwitchSettingsOK) IsClientError ¶
func (o *GetNetworkSwitchSettingsOK) IsClientError() bool
IsClientError returns true when this get network switch settings o k response has a 4xx status code
func (*GetNetworkSwitchSettingsOK) IsCode ¶
func (o *GetNetworkSwitchSettingsOK) IsCode(code int) bool
IsCode returns true when this get network switch settings o k response a status code equal to that given
func (*GetNetworkSwitchSettingsOK) IsRedirect ¶
func (o *GetNetworkSwitchSettingsOK) IsRedirect() bool
IsRedirect returns true when this get network switch settings o k response has a 3xx status code
func (*GetNetworkSwitchSettingsOK) IsServerError ¶
func (o *GetNetworkSwitchSettingsOK) IsServerError() bool
IsServerError returns true when this get network switch settings o k response has a 5xx status code
func (*GetNetworkSwitchSettingsOK) IsSuccess ¶
func (o *GetNetworkSwitchSettingsOK) IsSuccess() bool
IsSuccess returns true when this get network switch settings o k response has a 2xx status code
func (*GetNetworkSwitchSettingsOK) String ¶
func (o *GetNetworkSwitchSettingsOK) String() string
type GetNetworkSwitchSettingsOKBody ¶
type GetNetworkSwitchSettingsOKBody struct { // Exceptions on a per switch basis to "useCombinedPower" PowerExceptions []*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 `json:"powerExceptions"` // uplink client sampling UplinkClientSampling *GetNetworkSwitchSettingsOKBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"` // The use Combined Power as the default behavior of secondary power supplies on supported devices. UseCombinedPower bool `json:"useCombinedPower,omitempty"` // Management VLAN Vlan int64 `json:"vlan,omitempty"` }
GetNetworkSwitchSettingsOKBody get network switch settings o k body swagger:model GetNetworkSwitchSettingsOKBody
func (*GetNetworkSwitchSettingsOKBody) ContextValidate ¶
func (o *GetNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch settings o k body based on the context it is used
func (*GetNetworkSwitchSettingsOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchSettingsOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 ¶
type GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 struct { // Per switch exception (combined, redundant, useNetworkSetting) // Enum: [combined redundant useNetworkSetting] PowerType string `json:"powerType,omitempty"` // Serial number of the switch Serial string `json:"serial,omitempty"` }
GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0 get network switch settings o k body power exceptions items0 swagger:model GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0
func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate ¶
func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch settings o k body power exceptions items0 based on context it is used
func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchSettingsOKBodyUplinkClientSampling ¶
type GetNetworkSwitchSettingsOKBodyUplinkClientSampling struct { // Enable client sampling on uplink Enabled bool `json:"enabled,omitempty"` }
GetNetworkSwitchSettingsOKBodyUplinkClientSampling Uplink client sampling swagger:model GetNetworkSwitchSettingsOKBodyUplinkClientSampling
func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate ¶
func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch settings o k body uplink client sampling based on context it is used
func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary ¶
func (o *GetNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchSettingsParams ¶
type GetNetworkSwitchSettingsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchSettingsParams contains all the parameters to send to the API endpoint
for the get network switch settings operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchSettingsParams ¶
func NewGetNetworkSwitchSettingsParams() *GetNetworkSwitchSettingsParams
NewGetNetworkSwitchSettingsParams creates a new GetNetworkSwitchSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchSettingsParamsWithContext ¶
func NewGetNetworkSwitchSettingsParamsWithContext(ctx context.Context) *GetNetworkSwitchSettingsParams
NewGetNetworkSwitchSettingsParamsWithContext creates a new GetNetworkSwitchSettingsParams object with the ability to set a context for a request.
func NewGetNetworkSwitchSettingsParamsWithHTTPClient ¶
func NewGetNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchSettingsParams
NewGetNetworkSwitchSettingsParamsWithHTTPClient creates a new GetNetworkSwitchSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchSettingsParamsWithTimeout ¶
func NewGetNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchSettingsParams
NewGetNetworkSwitchSettingsParamsWithTimeout creates a new GetNetworkSwitchSettingsParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchSettingsParams) SetContext ¶
func (o *GetNetworkSwitchSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) SetDefaults ¶
func (o *GetNetworkSwitchSettingsParams) SetDefaults()
SetDefaults hydrates default values in the get network switch settings params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchSettingsParams) SetHTTPClient ¶
func (o *GetNetworkSwitchSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) SetNetworkID ¶
func (o *GetNetworkSwitchSettingsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) SetTimeout ¶
func (o *GetNetworkSwitchSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) WithContext ¶
func (o *GetNetworkSwitchSettingsParams) WithContext(ctx context.Context) *GetNetworkSwitchSettingsParams
WithContext adds the context to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) WithDefaults ¶
func (o *GetNetworkSwitchSettingsParams) WithDefaults() *GetNetworkSwitchSettingsParams
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 ¶
func (o *GetNetworkSwitchSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchSettingsParams
WithHTTPClient adds the HTTPClient to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) WithNetworkID ¶
func (o *GetNetworkSwitchSettingsParams) WithNetworkID(networkID string) *GetNetworkSwitchSettingsParams
WithNetworkID adds the networkID to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) WithTimeout ¶
func (o *GetNetworkSwitchSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchSettingsParams
WithTimeout adds the timeout to the get network switch settings params
func (*GetNetworkSwitchSettingsParams) WriteToRequest ¶
func (o *GetNetworkSwitchSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchSettingsReader ¶
type GetNetworkSwitchSettingsReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchSettingsReader is a Reader for the GetNetworkSwitchSettings structure.
func (*GetNetworkSwitchSettingsReader) ReadResponse ¶
func (o *GetNetworkSwitchSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackOK ¶
type GetNetworkSwitchStackOK struct {
Payload *GetNetworkSwitchStackOKBody
}
GetNetworkSwitchStackOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackOK ¶
func NewGetNetworkSwitchStackOK() *GetNetworkSwitchStackOK
NewGetNetworkSwitchStackOK creates a GetNetworkSwitchStackOK with default headers values
func (*GetNetworkSwitchStackOK) Code ¶
func (o *GetNetworkSwitchStackOK) Code() int
Code gets the status code for the get network switch stack o k response
func (*GetNetworkSwitchStackOK) Error ¶
func (o *GetNetworkSwitchStackOK) Error() string
func (*GetNetworkSwitchStackOK) GetPayload ¶
func (o *GetNetworkSwitchStackOK) GetPayload() *GetNetworkSwitchStackOKBody
func (*GetNetworkSwitchStackOK) IsClientError ¶
func (o *GetNetworkSwitchStackOK) IsClientError() bool
IsClientError returns true when this get network switch stack o k response has a 4xx status code
func (*GetNetworkSwitchStackOK) IsCode ¶
func (o *GetNetworkSwitchStackOK) IsCode(code int) bool
IsCode returns true when this get network switch stack o k response a status code equal to that given
func (*GetNetworkSwitchStackOK) IsRedirect ¶
func (o *GetNetworkSwitchStackOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack o k response has a 3xx status code
func (*GetNetworkSwitchStackOK) IsServerError ¶
func (o *GetNetworkSwitchStackOK) IsServerError() bool
IsServerError returns true when this get network switch stack o k response has a 5xx status code
func (*GetNetworkSwitchStackOK) IsSuccess ¶
func (o *GetNetworkSwitchStackOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack o k response has a 2xx status code
func (*GetNetworkSwitchStackOK) String ¶
func (o *GetNetworkSwitchStackOK) String() string
type GetNetworkSwitchStackOKBody ¶
type GetNetworkSwitchStackOKBody struct { // Switch stacks id ID string `json:"id,omitempty"` // Switch stacks name Name string `json:"name,omitempty"` // Serials of the switches in the switch stack Serials []string `json:"serials"` }
GetNetworkSwitchStackOKBody get network switch stack o k body swagger:model GetNetworkSwitchStackOKBody
func (*GetNetworkSwitchStackOKBody) ContextValidate ¶
func (o *GetNetworkSwitchStackOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch stack o k body based on context it is used
func (*GetNetworkSwitchStackOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchStackOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStackOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchStackOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchStackParams ¶
type GetNetworkSwitchStackParams struct { /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackParams contains all the parameters to send to the API endpoint
for the get network switch stack operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackParams ¶
func NewGetNetworkSwitchStackParams() *GetNetworkSwitchStackParams
NewGetNetworkSwitchStackParams creates a new GetNetworkSwitchStackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackParamsWithContext ¶
func NewGetNetworkSwitchStackParamsWithContext(ctx context.Context) *GetNetworkSwitchStackParams
NewGetNetworkSwitchStackParamsWithContext creates a new GetNetworkSwitchStackParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams
NewGetNetworkSwitchStackParamsWithHTTPClient creates a new GetNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackParamsWithTimeout ¶
func NewGetNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams
NewGetNetworkSwitchStackParamsWithTimeout creates a new GetNetworkSwitchStackParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackParams) SetContext ¶
func (o *GetNetworkSwitchStackParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack params
func (*GetNetworkSwitchStackParams) SetDefaults ¶
func (o *GetNetworkSwitchStackParams) SetDefaults()
SetDefaults hydrates default values in the get network switch stack params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchStackParams) SetHTTPClient ¶
func (o *GetNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch stack params
func (*GetNetworkSwitchStackParams) SetNetworkID ¶
func (o *GetNetworkSwitchStackParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch stack params
func (*GetNetworkSwitchStackParams) SetSwitchStackID ¶
func (o *GetNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
SetSwitchStackID adds the switchStackId to the get network switch stack params
func (*GetNetworkSwitchStackParams) SetTimeout ¶
func (o *GetNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack params
func (*GetNetworkSwitchStackParams) WithContext ¶
func (o *GetNetworkSwitchStackParams) WithContext(ctx context.Context) *GetNetworkSwitchStackParams
WithContext adds the context to the get network switch stack params
func (*GetNetworkSwitchStackParams) WithDefaults ¶
func (o *GetNetworkSwitchStackParams) WithDefaults() *GetNetworkSwitchStackParams
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 ¶
func (o *GetNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackParams
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 ¶
func (o *GetNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackParams
WithTimeout adds the timeout to the get network switch stack params
func (*GetNetworkSwitchStackParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackReader ¶
type GetNetworkSwitchStackReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackReader is a Reader for the GetNetworkSwitchStack structure.
func (*GetNetworkSwitchStackReader) ReadResponse ¶
func (o *GetNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackRoutingInterfaceDhcpOK ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpOK struct {
Payload *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
}
GetNetworkSwitchStackRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackRoutingInterfaceDhcpOK ¶
func NewGetNetworkSwitchStackRoutingInterfaceDhcpOK() *GetNetworkSwitchStackRoutingInterfaceDhcpOK
NewGetNetworkSwitchStackRoutingInterfaceDhcpOK creates a GetNetworkSwitchStackRoutingInterfaceDhcpOK with default headers values
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) Code ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) Code() int
Code gets the status code for the get network switch stack routing interface dhcp o k response
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) Error ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) Error() string
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload() *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError() bool
IsClientError returns true when this get network switch stack routing interface dhcp o k response has a 4xx status code
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode(code int) bool
IsCode returns true when this get network switch stack routing interface dhcp o k response a status code equal to that given
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack routing interface dhcp o k response has a 3xx status code
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError() bool
IsServerError returns true when this get network switch stack routing interface dhcp o k response has a 5xx status code
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack routing interface dhcp o k response has a 2xx status code
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOK) String ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOK) String() string
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBody ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBody struct { // The PXE boot server file name for the DHCP server running on the switch stack interface BootFileName string `json:"bootFileName,omitempty"` // The PXE boot server IP for the DHCP server running on the switch stack interface BootNextServer string `json:"bootNextServer,omitempty"` // Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch stack interface BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"` // The DHCP lease time config for the dhcp server running on the switch stack interface ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week') DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"` // The DHCP mode options for the switch stack interface ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer') DhcpMode string `json:"dhcpMode,omitempty"` // Array of DHCP options consisting of code, type and value for the DHCP server running on the switch stack interface DhcpOptions []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 `json:"dhcpOptions"` // The DHCP name server IPs when DHCP name server option is 'custom' DNSCustomNameservers []string `json:"dnsCustomNameservers"` // The DHCP name server option for the dhcp server running on the switch stack interface ('googlePublicDns', 'openDns' or 'custom') DNSNameserversOption string `json:"dnsNameserversOption,omitempty"` // Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface FixedIPAssignments []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"` // Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface ReservedIPRanges []*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 `json:"reservedIpRanges"` }
GetNetworkSwitchStackRoutingInterfaceDhcpOKBody get network switch stack routing interface dhcp o k body swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBody
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) ContextValidate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network switch stack routing interface dhcp o k body based on the context it is used
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 struct { // The code for DHCP option which should be from 2 to 254 Code string `json:"code,omitempty"` // The type of the DHCP option which should be one of ('text', 'ip', 'integer' or 'hex') Type string `json:"type,omitempty"` // The value of the DHCP option Value string `json:"value,omitempty"` }
GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0 get network switch stack routing interface dhcp o k body dhcp options items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) ContextValidate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch stack routing interface dhcp o k body dhcp options items0 based on context it is used
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) MarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) Validate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch stack routing interface dhcp o k body dhcp options items0
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 struct { // The IP address of the client which has fixed IP address assigned to it IP string `json:"ip,omitempty"` // The MAC address of the client which has fixed IP address Mac string `json:"mac,omitempty"` // The name of the client which has fixed IP address Name string `json:"name,omitempty"` }
GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0 get network switch stack routing interface dhcp o k body fixed IP assignments items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) ContextValidate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch stack routing interface dhcp o k body fixed IP assignments items0 based on context it is used
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) MarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) Validate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch stack routing interface dhcp o k body fixed IP assignments items0
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 struct { // The comment for the reserved IP range Comment string `json:"comment,omitempty"` // The ending IP address of the reserved IP range End string `json:"end,omitempty"` // The starting IP address of the reserved IP range Start string `json:"start,omitempty"` }
GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0 get network switch stack routing interface dhcp o k body reserved IP ranges items0 swagger:model GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) ContextValidate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch stack routing interface dhcp o k body reserved IP ranges items0 based on context it is used
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) MarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) UnmarshalBinary ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) Validate ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpOKBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
Validate validates this get network switch stack routing interface dhcp o k body reserved IP ranges items0
type GetNetworkSwitchStackRoutingInterfaceDhcpParams ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint
for the get network switch stack routing interface dhcp operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParams ¶
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParams() *GetNetworkSwitchStackRoutingInterfaceDhcpParams
NewGetNetworkSwitchStackRoutingInterfaceDhcpParams creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext ¶
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout ¶
func NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
NewGetNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithContext adds the context to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfaceDhcpParams
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 ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithHTTPClient adds the HTTPClient to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithInterfaceID adds the interfaceID to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithNetworkID adds the networkID to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithSwitchStackID adds the switchStackID to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceDhcpParams
WithTimeout adds the timeout to the get network switch stack routing interface dhcp params
func (*GetNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackRoutingInterfaceDhcpReader ¶
type GetNetworkSwitchStackRoutingInterfaceDhcpReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackRoutingInterfaceDhcpReader is a Reader for the GetNetworkSwitchStackRoutingInterfaceDhcp structure.
func (*GetNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse ¶
func (o *GetNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackRoutingInterfaceOK ¶
type GetNetworkSwitchStackRoutingInterfaceOK struct {
Payload interface{}
}
GetNetworkSwitchStackRoutingInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackRoutingInterfaceOK ¶
func NewGetNetworkSwitchStackRoutingInterfaceOK() *GetNetworkSwitchStackRoutingInterfaceOK
NewGetNetworkSwitchStackRoutingInterfaceOK creates a GetNetworkSwitchStackRoutingInterfaceOK with default headers values
func (*GetNetworkSwitchStackRoutingInterfaceOK) Code ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) Code() int
Code gets the status code for the get network switch stack routing interface o k response
func (*GetNetworkSwitchStackRoutingInterfaceOK) Error ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) Error() string
func (*GetNetworkSwitchStackRoutingInterfaceOK) GetPayload ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}
func (*GetNetworkSwitchStackRoutingInterfaceOK) IsClientError ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsClientError() bool
IsClientError returns true when this get network switch stack routing interface o k response has a 4xx status code
func (*GetNetworkSwitchStackRoutingInterfaceOK) IsCode ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsCode(code int) bool
IsCode returns true when this get network switch stack routing interface o k response a status code equal to that given
func (*GetNetworkSwitchStackRoutingInterfaceOK) IsRedirect ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack routing interface o k response has a 3xx status code
func (*GetNetworkSwitchStackRoutingInterfaceOK) IsServerError ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsServerError() bool
IsServerError returns true when this get network switch stack routing interface o k response has a 5xx status code
func (*GetNetworkSwitchStackRoutingInterfaceOK) IsSuccess ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack routing interface o k response has a 2xx status code
func (*GetNetworkSwitchStackRoutingInterfaceOK) String ¶
func (o *GetNetworkSwitchStackRoutingInterfaceOK) String() string
type GetNetworkSwitchStackRoutingInterfaceParams ¶
type GetNetworkSwitchStackRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the get network switch stack routing interface operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackRoutingInterfaceParams ¶
func NewGetNetworkSwitchStackRoutingInterfaceParams() *GetNetworkSwitchStackRoutingInterfaceParams
NewGetNetworkSwitchStackRoutingInterfaceParams creates a new GetNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext ¶
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceParams
NewGetNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceParams
NewGetNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout ¶
func NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceParams
NewGetNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackRoutingInterfaceParams) SetContext ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithContext ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfaceParams
WithContext adds the context to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithDefaults ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *GetNetworkSwitchStackRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithNetworkID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfaceParams
WithNetworkID adds the networkID to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfaceParams
WithSwitchStackID adds the switchStackID to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WithTimeout ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfaceParams
WithTimeout adds the timeout to the get network switch stack routing interface params
func (*GetNetworkSwitchStackRoutingInterfaceParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackRoutingInterfaceReader ¶
type GetNetworkSwitchStackRoutingInterfaceReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackRoutingInterfaceReader is a Reader for the GetNetworkSwitchStackRoutingInterface structure.
func (*GetNetworkSwitchStackRoutingInterfaceReader) ReadResponse ¶
func (o *GetNetworkSwitchStackRoutingInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackRoutingInterfacesOK ¶
type GetNetworkSwitchStackRoutingInterfacesOK struct {
Payload []interface{}
}
GetNetworkSwitchStackRoutingInterfacesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackRoutingInterfacesOK ¶
func NewGetNetworkSwitchStackRoutingInterfacesOK() *GetNetworkSwitchStackRoutingInterfacesOK
NewGetNetworkSwitchStackRoutingInterfacesOK creates a GetNetworkSwitchStackRoutingInterfacesOK with default headers values
func (*GetNetworkSwitchStackRoutingInterfacesOK) Code ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) Code() int
Code gets the status code for the get network switch stack routing interfaces o k response
func (*GetNetworkSwitchStackRoutingInterfacesOK) Error ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) Error() string
func (*GetNetworkSwitchStackRoutingInterfacesOK) GetPayload ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) GetPayload() []interface{}
func (*GetNetworkSwitchStackRoutingInterfacesOK) IsClientError ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsClientError() bool
IsClientError returns true when this get network switch stack routing interfaces o k response has a 4xx status code
func (*GetNetworkSwitchStackRoutingInterfacesOK) IsCode ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsCode(code int) bool
IsCode returns true when this get network switch stack routing interfaces o k response a status code equal to that given
func (*GetNetworkSwitchStackRoutingInterfacesOK) IsRedirect ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack routing interfaces o k response has a 3xx status code
func (*GetNetworkSwitchStackRoutingInterfacesOK) IsServerError ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsServerError() bool
IsServerError returns true when this get network switch stack routing interfaces o k response has a 5xx status code
func (*GetNetworkSwitchStackRoutingInterfacesOK) IsSuccess ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack routing interfaces o k response has a 2xx status code
func (*GetNetworkSwitchStackRoutingInterfacesOK) String ¶
func (o *GetNetworkSwitchStackRoutingInterfacesOK) String() string
type GetNetworkSwitchStackRoutingInterfacesParams ¶
type GetNetworkSwitchStackRoutingInterfacesParams struct { /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackRoutingInterfacesParams contains all the parameters to send to the API endpoint
for the get network switch stack routing interfaces operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackRoutingInterfacesParams ¶
func NewGetNetworkSwitchStackRoutingInterfacesParams() *GetNetworkSwitchStackRoutingInterfacesParams
NewGetNetworkSwitchStackRoutingInterfacesParams creates a new GetNetworkSwitchStackRoutingInterfacesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext ¶
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfacesParams
NewGetNetworkSwitchStackRoutingInterfacesParamsWithContext creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfacesParams
NewGetNetworkSwitchStackRoutingInterfacesParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout ¶
func NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfacesParams
NewGetNetworkSwitchStackRoutingInterfacesParamsWithTimeout creates a new GetNetworkSwitchStackRoutingInterfacesParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackRoutingInterfacesParams) SetContext ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WithContext ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingInterfacesParams
WithContext adds the context to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WithDefaults ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithDefaults() *GetNetworkSwitchStackRoutingInterfacesParams
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 ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingInterfacesParams
WithHTTPClient adds the HTTPClient to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WithNetworkID ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingInterfacesParams
WithNetworkID adds the networkID to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WithSwitchStackID ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingInterfacesParams
WithSwitchStackID adds the switchStackID to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WithTimeout ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingInterfacesParams
WithTimeout adds the timeout to the get network switch stack routing interfaces params
func (*GetNetworkSwitchStackRoutingInterfacesParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackRoutingInterfacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackRoutingInterfacesReader ¶
type GetNetworkSwitchStackRoutingInterfacesReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackRoutingInterfacesReader is a Reader for the GetNetworkSwitchStackRoutingInterfaces structure.
func (*GetNetworkSwitchStackRoutingInterfacesReader) ReadResponse ¶
func (o *GetNetworkSwitchStackRoutingInterfacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackRoutingStaticRouteOK ¶
type GetNetworkSwitchStackRoutingStaticRouteOK struct {
Payload interface{}
}
GetNetworkSwitchStackRoutingStaticRouteOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackRoutingStaticRouteOK ¶
func NewGetNetworkSwitchStackRoutingStaticRouteOK() *GetNetworkSwitchStackRoutingStaticRouteOK
NewGetNetworkSwitchStackRoutingStaticRouteOK creates a GetNetworkSwitchStackRoutingStaticRouteOK with default headers values
func (*GetNetworkSwitchStackRoutingStaticRouteOK) Code ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) Code() int
Code gets the status code for the get network switch stack routing static route o k response
func (*GetNetworkSwitchStackRoutingStaticRouteOK) Error ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) Error() string
func (*GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}
func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsClientError ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsClientError() bool
IsClientError returns true when this get network switch stack routing static route o k response has a 4xx status code
func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsCode ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsCode(code int) bool
IsCode returns true when this get network switch stack routing static route o k response a status code equal to that given
func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsRedirect ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack routing static route o k response has a 3xx status code
func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsServerError ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsServerError() bool
IsServerError returns true when this get network switch stack routing static route o k response has a 5xx status code
func (*GetNetworkSwitchStackRoutingStaticRouteOK) IsSuccess ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack routing static route o k response has a 2xx status code
func (*GetNetworkSwitchStackRoutingStaticRouteOK) String ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteOK) String() string
type GetNetworkSwitchStackRoutingStaticRouteParams ¶
type GetNetworkSwitchStackRoutingStaticRouteParams struct { /* NetworkID. Network ID */ NetworkID string /* StaticRouteID. Static route ID */ StaticRouteID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the get network switch stack routing static route operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackRoutingStaticRouteParams ¶
func NewGetNetworkSwitchStackRoutingStaticRouteParams() *GetNetworkSwitchStackRoutingStaticRouteParams
NewGetNetworkSwitchStackRoutingStaticRouteParams creates a new GetNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext ¶
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRouteParams
NewGetNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRouteParams
NewGetNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout ¶
func NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRouteParams
NewGetNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new GetNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetContext ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithContext ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRouteParams
WithContext adds the context to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithDefaults ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *GetNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingStaticRouteParams
WithNetworkID adds the networkID to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *GetNetworkSwitchStackRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingStaticRouteParams
WithSwitchStackID adds the switchStackID to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WithTimeout ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRouteParams
WithTimeout adds the timeout to the get network switch stack routing static route params
func (*GetNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackRoutingStaticRouteReader ¶
type GetNetworkSwitchStackRoutingStaticRouteReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackRoutingStaticRouteReader is a Reader for the GetNetworkSwitchStackRoutingStaticRoute structure.
func (*GetNetworkSwitchStackRoutingStaticRouteReader) ReadResponse ¶
func (o *GetNetworkSwitchStackRoutingStaticRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStackRoutingStaticRoutesOK ¶
type GetNetworkSwitchStackRoutingStaticRoutesOK struct {
Payload []interface{}
}
GetNetworkSwitchStackRoutingStaticRoutesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStackRoutingStaticRoutesOK ¶
func NewGetNetworkSwitchStackRoutingStaticRoutesOK() *GetNetworkSwitchStackRoutingStaticRoutesOK
NewGetNetworkSwitchStackRoutingStaticRoutesOK creates a GetNetworkSwitchStackRoutingStaticRoutesOK with default headers values
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) Code ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) Code() int
Code gets the status code for the get network switch stack routing static routes o k response
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) Error ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) Error() string
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) GetPayload() []interface{}
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsClientError ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsClientError() bool
IsClientError returns true when this get network switch stack routing static routes o k response has a 4xx status code
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsCode ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsCode(code int) bool
IsCode returns true when this get network switch stack routing static routes o k response a status code equal to that given
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsRedirect ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsRedirect() bool
IsRedirect returns true when this get network switch stack routing static routes o k response has a 3xx status code
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsServerError ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsServerError() bool
IsServerError returns true when this get network switch stack routing static routes o k response has a 5xx status code
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) IsSuccess ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) IsSuccess() bool
IsSuccess returns true when this get network switch stack routing static routes o k response has a 2xx status code
func (*GetNetworkSwitchStackRoutingStaticRoutesOK) String ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesOK) String() string
type GetNetworkSwitchStackRoutingStaticRoutesParams ¶
type GetNetworkSwitchStackRoutingStaticRoutesParams struct { /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStackRoutingStaticRoutesParams contains all the parameters to send to the API endpoint
for the get network switch stack routing static routes operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStackRoutingStaticRoutesParams ¶
func NewGetNetworkSwitchStackRoutingStaticRoutesParams() *GetNetworkSwitchStackRoutingStaticRoutesParams
NewGetNetworkSwitchStackRoutingStaticRoutesParams creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext ¶
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRoutesParams
NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithContext creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient ¶
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRoutesParams
NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithHTTPClient creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout ¶
func NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRoutesParams
NewGetNetworkSwitchStackRoutingStaticRoutesParamsWithTimeout creates a new GetNetworkSwitchStackRoutingStaticRoutesParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetContext ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithContext ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithContext(ctx context.Context) *GetNetworkSwitchStackRoutingStaticRoutesParams
WithContext adds the context to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithDefaults ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithDefaults() *GetNetworkSwitchStackRoutingStaticRoutesParams
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 ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStackRoutingStaticRoutesParams
WithHTTPClient adds the HTTPClient to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithNetworkID ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithNetworkID(networkID string) *GetNetworkSwitchStackRoutingStaticRoutesParams
WithNetworkID adds the networkID to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithSwitchStackID ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithSwitchStackID(switchStackID string) *GetNetworkSwitchStackRoutingStaticRoutesParams
WithSwitchStackID adds the switchStackID to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WithTimeout ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStackRoutingStaticRoutesParams
WithTimeout adds the timeout to the get network switch stack routing static routes params
func (*GetNetworkSwitchStackRoutingStaticRoutesParams) WriteToRequest ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStackRoutingStaticRoutesReader ¶
type GetNetworkSwitchStackRoutingStaticRoutesReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStackRoutingStaticRoutesReader is a Reader for the GetNetworkSwitchStackRoutingStaticRoutes structure.
func (*GetNetworkSwitchStackRoutingStaticRoutesReader) ReadResponse ¶
func (o *GetNetworkSwitchStackRoutingStaticRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStacksOK ¶
type GetNetworkSwitchStacksOK struct {
Payload []interface{}
}
GetNetworkSwitchStacksOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStacksOK ¶
func NewGetNetworkSwitchStacksOK() *GetNetworkSwitchStacksOK
NewGetNetworkSwitchStacksOK creates a GetNetworkSwitchStacksOK with default headers values
func (*GetNetworkSwitchStacksOK) Code ¶
func (o *GetNetworkSwitchStacksOK) Code() int
Code gets the status code for the get network switch stacks o k response
func (*GetNetworkSwitchStacksOK) Error ¶
func (o *GetNetworkSwitchStacksOK) Error() string
func (*GetNetworkSwitchStacksOK) GetPayload ¶
func (o *GetNetworkSwitchStacksOK) GetPayload() []interface{}
func (*GetNetworkSwitchStacksOK) IsClientError ¶
func (o *GetNetworkSwitchStacksOK) IsClientError() bool
IsClientError returns true when this get network switch stacks o k response has a 4xx status code
func (*GetNetworkSwitchStacksOK) IsCode ¶
func (o *GetNetworkSwitchStacksOK) IsCode(code int) bool
IsCode returns true when this get network switch stacks o k response a status code equal to that given
func (*GetNetworkSwitchStacksOK) IsRedirect ¶
func (o *GetNetworkSwitchStacksOK) IsRedirect() bool
IsRedirect returns true when this get network switch stacks o k response has a 3xx status code
func (*GetNetworkSwitchStacksOK) IsServerError ¶
func (o *GetNetworkSwitchStacksOK) IsServerError() bool
IsServerError returns true when this get network switch stacks o k response has a 5xx status code
func (*GetNetworkSwitchStacksOK) IsSuccess ¶
func (o *GetNetworkSwitchStacksOK) IsSuccess() bool
IsSuccess returns true when this get network switch stacks o k response has a 2xx status code
func (*GetNetworkSwitchStacksOK) String ¶
func (o *GetNetworkSwitchStacksOK) String() string
type GetNetworkSwitchStacksParams ¶
type GetNetworkSwitchStacksParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStacksParams contains all the parameters to send to the API endpoint
for the get network switch stacks operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStacksParams ¶
func NewGetNetworkSwitchStacksParams() *GetNetworkSwitchStacksParams
NewGetNetworkSwitchStacksParams creates a new GetNetworkSwitchStacksParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStacksParamsWithContext ¶
func NewGetNetworkSwitchStacksParamsWithContext(ctx context.Context) *GetNetworkSwitchStacksParams
NewGetNetworkSwitchStacksParamsWithContext creates a new GetNetworkSwitchStacksParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStacksParamsWithHTTPClient ¶
func NewGetNetworkSwitchStacksParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams
NewGetNetworkSwitchStacksParamsWithHTTPClient creates a new GetNetworkSwitchStacksParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStacksParamsWithTimeout ¶
func NewGetNetworkSwitchStacksParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams
NewGetNetworkSwitchStacksParamsWithTimeout creates a new GetNetworkSwitchStacksParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStacksParams) SetContext ¶
func (o *GetNetworkSwitchStacksParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) SetDefaults ¶
func (o *GetNetworkSwitchStacksParams) SetDefaults()
SetDefaults hydrates default values in the get network switch stacks params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchStacksParams) SetHTTPClient ¶
func (o *GetNetworkSwitchStacksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) SetNetworkID ¶
func (o *GetNetworkSwitchStacksParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) SetTimeout ¶
func (o *GetNetworkSwitchStacksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) WithContext ¶
func (o *GetNetworkSwitchStacksParams) WithContext(ctx context.Context) *GetNetworkSwitchStacksParams
WithContext adds the context to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) WithDefaults ¶
func (o *GetNetworkSwitchStacksParams) WithDefaults() *GetNetworkSwitchStacksParams
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 ¶
func (o *GetNetworkSwitchStacksParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStacksParams
WithHTTPClient adds the HTTPClient to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) WithNetworkID ¶
func (o *GetNetworkSwitchStacksParams) WithNetworkID(networkID string) *GetNetworkSwitchStacksParams
WithNetworkID adds the networkID to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) WithTimeout ¶
func (o *GetNetworkSwitchStacksParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStacksParams
WithTimeout adds the timeout to the get network switch stacks params
func (*GetNetworkSwitchStacksParams) WriteToRequest ¶
func (o *GetNetworkSwitchStacksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStacksReader ¶
type GetNetworkSwitchStacksReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStacksReader is a Reader for the GetNetworkSwitchStacks structure.
func (*GetNetworkSwitchStacksReader) ReadResponse ¶
func (o *GetNetworkSwitchStacksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStormControlOK ¶
type GetNetworkSwitchStormControlOK struct {
Payload *GetNetworkSwitchStormControlOKBody
}
GetNetworkSwitchStormControlOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStormControlOK ¶
func NewGetNetworkSwitchStormControlOK() *GetNetworkSwitchStormControlOK
NewGetNetworkSwitchStormControlOK creates a GetNetworkSwitchStormControlOK with default headers values
func (*GetNetworkSwitchStormControlOK) Code ¶
func (o *GetNetworkSwitchStormControlOK) Code() int
Code gets the status code for the get network switch storm control o k response
func (*GetNetworkSwitchStormControlOK) Error ¶
func (o *GetNetworkSwitchStormControlOK) Error() string
func (*GetNetworkSwitchStormControlOK) GetPayload ¶
func (o *GetNetworkSwitchStormControlOK) GetPayload() *GetNetworkSwitchStormControlOKBody
func (*GetNetworkSwitchStormControlOK) IsClientError ¶
func (o *GetNetworkSwitchStormControlOK) IsClientError() bool
IsClientError returns true when this get network switch storm control o k response has a 4xx status code
func (*GetNetworkSwitchStormControlOK) IsCode ¶
func (o *GetNetworkSwitchStormControlOK) IsCode(code int) bool
IsCode returns true when this get network switch storm control o k response a status code equal to that given
func (*GetNetworkSwitchStormControlOK) IsRedirect ¶
func (o *GetNetworkSwitchStormControlOK) IsRedirect() bool
IsRedirect returns true when this get network switch storm control o k response has a 3xx status code
func (*GetNetworkSwitchStormControlOK) IsServerError ¶
func (o *GetNetworkSwitchStormControlOK) IsServerError() bool
IsServerError returns true when this get network switch storm control o k response has a 5xx status code
func (*GetNetworkSwitchStormControlOK) IsSuccess ¶
func (o *GetNetworkSwitchStormControlOK) IsSuccess() bool
IsSuccess returns true when this get network switch storm control o k response has a 2xx status code
func (*GetNetworkSwitchStormControlOK) String ¶
func (o *GetNetworkSwitchStormControlOK) String() string
type GetNetworkSwitchStormControlOKBody ¶
type GetNetworkSwitchStormControlOKBody struct { // Broadcast threshold. BroadcastThreshold int64 `json:"broadcastThreshold,omitempty"` // Multicast threshold. MulticastThreshold int64 `json:"multicastThreshold,omitempty"` // Unknown Unicast threshold. UnknownUnicastThreshold int64 `json:"unknownUnicastThreshold,omitempty"` }
GetNetworkSwitchStormControlOKBody get network switch storm control o k body swagger:model GetNetworkSwitchStormControlOKBody
func (*GetNetworkSwitchStormControlOKBody) ContextValidate ¶
func (o *GetNetworkSwitchStormControlOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network switch storm control o k body based on context it is used
func (*GetNetworkSwitchStormControlOKBody) MarshalBinary ¶
func (o *GetNetworkSwitchStormControlOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSwitchStormControlOKBody) UnmarshalBinary ¶
func (o *GetNetworkSwitchStormControlOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSwitchStormControlParams ¶
type GetNetworkSwitchStormControlParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStormControlParams contains all the parameters to send to the API endpoint
for the get network switch storm control operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStormControlParams ¶
func NewGetNetworkSwitchStormControlParams() *GetNetworkSwitchStormControlParams
NewGetNetworkSwitchStormControlParams creates a new GetNetworkSwitchStormControlParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStormControlParamsWithContext ¶
func NewGetNetworkSwitchStormControlParamsWithContext(ctx context.Context) *GetNetworkSwitchStormControlParams
NewGetNetworkSwitchStormControlParamsWithContext creates a new GetNetworkSwitchStormControlParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStormControlParamsWithHTTPClient ¶
func NewGetNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStormControlParams
NewGetNetworkSwitchStormControlParamsWithHTTPClient creates a new GetNetworkSwitchStormControlParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStormControlParamsWithTimeout ¶
func NewGetNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStormControlParams
NewGetNetworkSwitchStormControlParamsWithTimeout creates a new GetNetworkSwitchStormControlParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStormControlParams) SetContext ¶
func (o *GetNetworkSwitchStormControlParams) SetContext(ctx context.Context)
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 ¶
func (o *GetNetworkSwitchStormControlParams) WithContext(ctx context.Context) *GetNetworkSwitchStormControlParams
WithContext adds the context to the get network switch storm control params
func (*GetNetworkSwitchStormControlParams) WithDefaults ¶
func (o *GetNetworkSwitchStormControlParams) WithDefaults() *GetNetworkSwitchStormControlParams
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 ¶
func (o *GetNetworkSwitchStormControlParams) WithHTTPClient(client *http.Client) *GetNetworkSwitchStormControlParams
WithHTTPClient adds the HTTPClient to the get network switch storm control params
func (*GetNetworkSwitchStormControlParams) WithNetworkID ¶
func (o *GetNetworkSwitchStormControlParams) WithNetworkID(networkID string) *GetNetworkSwitchStormControlParams
WithNetworkID adds the networkID to the get network switch storm control params
func (*GetNetworkSwitchStormControlParams) WithTimeout ¶
func (o *GetNetworkSwitchStormControlParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStormControlParams
WithTimeout adds the timeout to the get network switch storm control params
func (*GetNetworkSwitchStormControlParams) WriteToRequest ¶
func (o *GetNetworkSwitchStormControlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStormControlReader ¶
type GetNetworkSwitchStormControlReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStormControlReader is a Reader for the GetNetworkSwitchStormControl structure.
func (*GetNetworkSwitchStormControlReader) ReadResponse ¶
func (o *GetNetworkSwitchStormControlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSwitchStpOK ¶
type GetNetworkSwitchStpOK struct {
Payload interface{}
}
GetNetworkSwitchStpOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSwitchStpOK ¶
func NewGetNetworkSwitchStpOK() *GetNetworkSwitchStpOK
NewGetNetworkSwitchStpOK creates a GetNetworkSwitchStpOK with default headers values
func (*GetNetworkSwitchStpOK) Code ¶
func (o *GetNetworkSwitchStpOK) Code() int
Code gets the status code for the get network switch stp o k response
func (*GetNetworkSwitchStpOK) Error ¶
func (o *GetNetworkSwitchStpOK) Error() string
func (*GetNetworkSwitchStpOK) GetPayload ¶
func (o *GetNetworkSwitchStpOK) GetPayload() interface{}
func (*GetNetworkSwitchStpOK) IsClientError ¶
func (o *GetNetworkSwitchStpOK) IsClientError() bool
IsClientError returns true when this get network switch stp o k response has a 4xx status code
func (*GetNetworkSwitchStpOK) IsCode ¶
func (o *GetNetworkSwitchStpOK) IsCode(code int) bool
IsCode returns true when this get network switch stp o k response a status code equal to that given
func (*GetNetworkSwitchStpOK) IsRedirect ¶
func (o *GetNetworkSwitchStpOK) IsRedirect() bool
IsRedirect returns true when this get network switch stp o k response has a 3xx status code
func (*GetNetworkSwitchStpOK) IsServerError ¶
func (o *GetNetworkSwitchStpOK) IsServerError() bool
IsServerError returns true when this get network switch stp o k response has a 5xx status code
func (*GetNetworkSwitchStpOK) IsSuccess ¶
func (o *GetNetworkSwitchStpOK) IsSuccess() bool
IsSuccess returns true when this get network switch stp o k response has a 2xx status code
func (*GetNetworkSwitchStpOK) String ¶
func (o *GetNetworkSwitchStpOK) String() string
type GetNetworkSwitchStpParams ¶
type GetNetworkSwitchStpParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSwitchStpParams contains all the parameters to send to the API endpoint
for the get network switch stp operation. Typically these are written to a http.Request.
func NewGetNetworkSwitchStpParams ¶
func NewGetNetworkSwitchStpParams() *GetNetworkSwitchStpParams
NewGetNetworkSwitchStpParams creates a new GetNetworkSwitchStpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetNetworkSwitchStpParamsWithContext ¶
func NewGetNetworkSwitchStpParamsWithContext(ctx context.Context) *GetNetworkSwitchStpParams
NewGetNetworkSwitchStpParamsWithContext creates a new GetNetworkSwitchStpParams object with the ability to set a context for a request.
func NewGetNetworkSwitchStpParamsWithHTTPClient ¶
func NewGetNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *GetNetworkSwitchStpParams
NewGetNetworkSwitchStpParamsWithHTTPClient creates a new GetNetworkSwitchStpParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSwitchStpParamsWithTimeout ¶
func NewGetNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *GetNetworkSwitchStpParams
NewGetNetworkSwitchStpParamsWithTimeout creates a new GetNetworkSwitchStpParams object with the ability to set a timeout on a request.
func (*GetNetworkSwitchStpParams) SetContext ¶
func (o *GetNetworkSwitchStpParams) SetContext(ctx context.Context)
SetContext adds the context to the get network switch stp params
func (*GetNetworkSwitchStpParams) SetDefaults ¶
func (o *GetNetworkSwitchStpParams) SetDefaults()
SetDefaults hydrates default values in the get network switch stp params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSwitchStpParams) SetHTTPClient ¶
func (o *GetNetworkSwitchStpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network switch stp params
func (*GetNetworkSwitchStpParams) SetNetworkID ¶
func (o *GetNetworkSwitchStpParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network switch stp params
func (*GetNetworkSwitchStpParams) SetTimeout ¶
func (o *GetNetworkSwitchStpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network switch stp params
func (*GetNetworkSwitchStpParams) WithContext ¶
func (o *GetNetworkSwitchStpParams) WithContext(ctx context.Context) *GetNetworkSwitchStpParams
WithContext adds the context to the get network switch stp params
func (*GetNetworkSwitchStpParams) WithDefaults ¶
func (o *GetNetworkSwitchStpParams) WithDefaults() *GetNetworkSwitchStpParams
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 ¶
func (o *GetNetworkSwitchStpParams) WithTimeout(timeout time.Duration) *GetNetworkSwitchStpParams
WithTimeout adds the timeout to the get network switch stp params
func (*GetNetworkSwitchStpParams) WriteToRequest ¶
func (o *GetNetworkSwitchStpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSwitchStpReader ¶
type GetNetworkSwitchStpReader struct {
// contains filtered or unexported fields
}
GetNetworkSwitchStpReader is a Reader for the GetNetworkSwitchStp structure.
func (*GetNetworkSwitchStpReader) ReadResponse ¶
func (o *GetNetworkSwitchStpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationConfigTemplateSwitchProfilePortOK ¶
type GetOrganizationConfigTemplateSwitchProfilePortOK struct {
Payload *GetOrganizationConfigTemplateSwitchProfilePortOKBody
}
GetOrganizationConfigTemplateSwitchProfilePortOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationConfigTemplateSwitchProfilePortOK ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortOK() *GetOrganizationConfigTemplateSwitchProfilePortOK
NewGetOrganizationConfigTemplateSwitchProfilePortOK creates a GetOrganizationConfigTemplateSwitchProfilePortOK with default headers values
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) Code ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) Code() int
Code gets the status code for the get organization config template switch profile port o k response
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) Error ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) Error() string
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) GetPayload ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) GetPayload() *GetOrganizationConfigTemplateSwitchProfilePortOKBody
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsClientError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsClientError() bool
IsClientError returns true when this get organization config template switch profile port o k response has a 4xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsCode ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsCode(code int) bool
IsCode returns true when this get organization config template switch profile port o k response a status code equal to that given
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect() bool
IsRedirect returns true when this get organization config template switch profile port o k response has a 3xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsServerError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsServerError() bool
IsServerError returns true when this get organization config template switch profile port o k response has a 5xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess() bool
IsSuccess returns true when this get organization config template switch profile port o k response has a 2xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortOK) String ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOK) String() string
type GetOrganizationConfigTemplateSwitchProfilePortOKBody ¶
type GetOrganizationConfigTemplateSwitchProfilePortOKBody struct { // The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The VLANs allowed on the switch template port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch template port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch template port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch template port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch template port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch template port. Name string `json:"name,omitempty"` // The PoE status of the switch template port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch template port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch template port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch template port. Tags []string `json:"tags"` // The type of the switch template port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch template port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch template port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetOrganizationConfigTemplateSwitchProfilePortOKBody get organization config template switch profile port o k body swagger:model GetOrganizationConfigTemplateSwitchProfilePortOKBody
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization config template switch profile port o k body based on the context it is used
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile ¶
type GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile Profile attributes swagger:model GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization config template switch profile port o k body profile based on context it is used
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationConfigTemplateSwitchProfilePortParams ¶
type GetOrganizationConfigTemplateSwitchProfilePortParams struct { /* ConfigTemplateID. Config template ID */ ConfigTemplateID string /* OrganizationID. Organization ID */ OrganizationID string /* PortID. Port ID */ PortID string /* ProfileID. Profile ID */ ProfileID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationConfigTemplateSwitchProfilePortParams contains all the parameters to send to the API endpoint
for the get organization config template switch profile port operation. Typically these are written to a http.Request.
func NewGetOrganizationConfigTemplateSwitchProfilePortParams ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortParams() *GetOrganizationConfigTemplateSwitchProfilePortParams
NewGetOrganizationConfigTemplateSwitchProfilePortParams creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortParams
NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a context for a request.
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortParams
NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortParams
NewGetOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a timeout on a request.
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)
SetConfigTemplateID adds the configTemplateId to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults ¶
func (o *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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetPortID(portID string)
SetPortID adds the portId to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID(profileID string)
SetProfileID adds the profileId to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithConfigTemplateID adds the configTemplateID to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithContext adds the context to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilePortParams
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithHTTPClient adds the HTTPClient to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithOrganizationID adds the organizationID to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithPortID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithPortID(portID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithPortID adds the portID to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID(profileID string) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithProfileID adds the profileID to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortParams
WithTimeout adds the timeout to the get organization config template switch profile port params
func (*GetOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationConfigTemplateSwitchProfilePortReader ¶
type GetOrganizationConfigTemplateSwitchProfilePortReader struct {
// contains filtered or unexported fields
}
GetOrganizationConfigTemplateSwitchProfilePortReader is a Reader for the GetOrganizationConfigTemplateSwitchProfilePort structure.
func (*GetOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationConfigTemplateSwitchProfilePortsOK ¶
type GetOrganizationConfigTemplateSwitchProfilePortsOK struct {
Payload []*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
}
GetOrganizationConfigTemplateSwitchProfilePortsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationConfigTemplateSwitchProfilePortsOK ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortsOK() *GetOrganizationConfigTemplateSwitchProfilePortsOK
NewGetOrganizationConfigTemplateSwitchProfilePortsOK creates a GetOrganizationConfigTemplateSwitchProfilePortsOK with default headers values
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) Code ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) Code() int
Code gets the status code for the get organization config template switch profile ports o k response
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) Error ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) Error() string
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) GetPayload ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) GetPayload() []*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsClientError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsClientError() bool
IsClientError returns true when this get organization config template switch profile ports o k response has a 4xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsCode ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsCode(code int) bool
IsCode returns true when this get organization config template switch profile ports o k response a status code equal to that given
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsRedirect ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsRedirect() bool
IsRedirect returns true when this get organization config template switch profile ports o k response has a 3xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsServerError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsServerError() bool
IsServerError returns true when this get organization config template switch profile ports o k response has a 5xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) IsSuccess ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) IsSuccess() bool
IsSuccess returns true when this get organization config template switch profile ports o k response has a 2xx status code
func (*GetOrganizationConfigTemplateSwitchProfilePortsOK) String ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOK) String() string
type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0 ¶
type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0 struct { // The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The VLANs allowed on the switch template port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch template port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch template port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch template port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch template port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch template port. Name string `json:"name,omitempty"` // The PoE status of the switch template port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch template port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch template port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch template port. Tags []string `json:"tags"` // The type of the switch template port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch template port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch template port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0 get organization config template switch profile ports o k body items0 swagger:model GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization config template switch profile ports o k body items0 based on the context it is used
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile ¶
type GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile Profile attributes swagger:model GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) ContextValidate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization config template switch profile ports o k body items0 profile based on context it is used
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) MarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) UnmarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) Validate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsOKBodyItems0Profile) Validate(formats strfmt.Registry) error
Validate validates this get organization config template switch profile ports o k body items0 profile
type GetOrganizationConfigTemplateSwitchProfilePortsParams ¶
type GetOrganizationConfigTemplateSwitchProfilePortsParams struct { /* ConfigTemplateID. Config template ID */ ConfigTemplateID string /* OrganizationID. Organization ID */ OrganizationID string /* ProfileID. Profile ID */ ProfileID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationConfigTemplateSwitchProfilePortsParams contains all the parameters to send to the API endpoint
for the get organization config template switch profile ports operation. Typically these are written to a http.Request.
func NewGetOrganizationConfigTemplateSwitchProfilePortsParams ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortsParams() *GetOrganizationConfigTemplateSwitchProfilePortsParams
NewGetOrganizationConfigTemplateSwitchProfilePortsParams creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortsParams
NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a context for a request.
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortsParams
NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout ¶
func NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortsParams
NewGetOrganizationConfigTemplateSwitchProfilePortsParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilePortsParams object with the ability to set a timeout on a request.
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetConfigTemplateID(configTemplateID string)
SetConfigTemplateID adds the configTemplateId to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetProfileID(profileID string)
SetProfileID adds the profileId to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) SetTimeout ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithConfigTemplateID adds the configTemplateID to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithContext adds the context to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithDefaults ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilePortsParams
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithHTTPClient adds the HTTPClient to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithOrganizationID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithOrganizationID adds the organizationID to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithProfileID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithProfileID(profileID string) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithProfileID adds the profileID to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WithTimeout ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilePortsParams
WithTimeout adds the timeout to the get organization config template switch profile ports params
func (*GetOrganizationConfigTemplateSwitchProfilePortsParams) WriteToRequest ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationConfigTemplateSwitchProfilePortsReader ¶
type GetOrganizationConfigTemplateSwitchProfilePortsReader struct {
// contains filtered or unexported fields
}
GetOrganizationConfigTemplateSwitchProfilePortsReader is a Reader for the GetOrganizationConfigTemplateSwitchProfilePorts structure.
func (*GetOrganizationConfigTemplateSwitchProfilePortsReader) ReadResponse ¶
func (o *GetOrganizationConfigTemplateSwitchProfilePortsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationConfigTemplateSwitchProfilesOK ¶
type GetOrganizationConfigTemplateSwitchProfilesOK struct {
Payload []*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
}
GetOrganizationConfigTemplateSwitchProfilesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationConfigTemplateSwitchProfilesOK ¶
func NewGetOrganizationConfigTemplateSwitchProfilesOK() *GetOrganizationConfigTemplateSwitchProfilesOK
NewGetOrganizationConfigTemplateSwitchProfilesOK creates a GetOrganizationConfigTemplateSwitchProfilesOK with default headers values
func (*GetOrganizationConfigTemplateSwitchProfilesOK) Code ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) Code() int
Code gets the status code for the get organization config template switch profiles o k response
func (*GetOrganizationConfigTemplateSwitchProfilesOK) Error ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) Error() string
func (*GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) GetPayload() []*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsClientError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsClientError() bool
IsClientError returns true when this get organization config template switch profiles o k response has a 4xx status code
func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsCode ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsCode(code int) bool
IsCode returns true when this get organization config template switch profiles o k response a status code equal to that given
func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsRedirect ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsRedirect() bool
IsRedirect returns true when this get organization config template switch profiles o k response has a 3xx status code
func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsServerError ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsServerError() bool
IsServerError returns true when this get organization config template switch profiles o k response has a 5xx status code
func (*GetOrganizationConfigTemplateSwitchProfilesOK) IsSuccess ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) IsSuccess() bool
IsSuccess returns true when this get organization config template switch profiles o k response has a 2xx status code
func (*GetOrganizationConfigTemplateSwitchProfilesOK) String ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOK) String() string
type GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0 ¶
type GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0 struct { // Switch model Model string `json:"model,omitempty"` // Switch template name Name string `json:"name,omitempty"` // Switch template id SwitchProfileID string `json:"switchProfileId,omitempty"` }
GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0 get organization config template switch profiles o k body items0 swagger:model GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0
func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization config template switch profiles o k body items0 based on context it is used
func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationConfigTemplateSwitchProfilesParams ¶
type GetOrganizationConfigTemplateSwitchProfilesParams struct { /* ConfigTemplateID. Config template ID */ ConfigTemplateID string /* OrganizationID. Organization ID */ OrganizationID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationConfigTemplateSwitchProfilesParams contains all the parameters to send to the API endpoint
for the get organization config template switch profiles operation. Typically these are written to a http.Request.
func NewGetOrganizationConfigTemplateSwitchProfilesParams ¶
func NewGetOrganizationConfigTemplateSwitchProfilesParams() *GetOrganizationConfigTemplateSwitchProfilesParams
NewGetOrganizationConfigTemplateSwitchProfilesParams creates a new GetOrganizationConfigTemplateSwitchProfilesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext ¶
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilesParams
NewGetOrganizationConfigTemplateSwitchProfilesParamsWithContext creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a context for a request.
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient ¶
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilesParams
NewGetOrganizationConfigTemplateSwitchProfilesParamsWithHTTPClient creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout ¶
func NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilesParams
NewGetOrganizationConfigTemplateSwitchProfilesParamsWithTimeout creates a new GetOrganizationConfigTemplateSwitchProfilesParams object with the ability to set a timeout on a request.
func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetConfigTemplateID(configTemplateID string)
SetConfigTemplateID adds the configTemplateId to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) SetDefaults ¶
func (o *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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithConfigTemplateID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithConfigTemplateID(configTemplateID string) *GetOrganizationConfigTemplateSwitchProfilesParams
WithConfigTemplateID adds the configTemplateID to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithContext ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithContext(ctx context.Context) *GetOrganizationConfigTemplateSwitchProfilesParams
WithContext adds the context to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithDefaults ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithDefaults() *GetOrganizationConfigTemplateSwitchProfilesParams
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 ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithHTTPClient(client *http.Client) *GetOrganizationConfigTemplateSwitchProfilesParams
WithHTTPClient adds the HTTPClient to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithOrganizationID ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithOrganizationID(organizationID string) *GetOrganizationConfigTemplateSwitchProfilesParams
WithOrganizationID adds the organizationID to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WithTimeout ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WithTimeout(timeout time.Duration) *GetOrganizationConfigTemplateSwitchProfilesParams
WithTimeout adds the timeout to the get organization config template switch profiles params
func (*GetOrganizationConfigTemplateSwitchProfilesParams) WriteToRequest ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationConfigTemplateSwitchProfilesReader ¶
type GetOrganizationConfigTemplateSwitchProfilesReader struct {
// contains filtered or unexported fields
}
GetOrganizationConfigTemplateSwitchProfilesReader is a Reader for the GetOrganizationConfigTemplateSwitchProfiles structure.
func (*GetOrganizationConfigTemplateSwitchProfilesReader) ReadResponse ¶
func (o *GetOrganizationConfigTemplateSwitchProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationSwitchPortsBySwitchOK ¶
type GetOrganizationSwitchPortsBySwitchOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetOrganizationSwitchPortsBySwitchOKBodyItems0 }
GetOrganizationSwitchPortsBySwitchOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationSwitchPortsBySwitchOK ¶
func NewGetOrganizationSwitchPortsBySwitchOK() *GetOrganizationSwitchPortsBySwitchOK
NewGetOrganizationSwitchPortsBySwitchOK creates a GetOrganizationSwitchPortsBySwitchOK with default headers values
func (*GetOrganizationSwitchPortsBySwitchOK) Code ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) Code() int
Code gets the status code for the get organization switch ports by switch o k response
func (*GetOrganizationSwitchPortsBySwitchOK) Error ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) Error() string
func (*GetOrganizationSwitchPortsBySwitchOK) GetPayload ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) GetPayload() []*GetOrganizationSwitchPortsBySwitchOKBodyItems0
func (*GetOrganizationSwitchPortsBySwitchOK) IsClientError ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) IsClientError() bool
IsClientError returns true when this get organization switch ports by switch o k response has a 4xx status code
func (*GetOrganizationSwitchPortsBySwitchOK) IsCode ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) IsCode(code int) bool
IsCode returns true when this get organization switch ports by switch o k response a status code equal to that given
func (*GetOrganizationSwitchPortsBySwitchOK) IsRedirect ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) IsRedirect() bool
IsRedirect returns true when this get organization switch ports by switch o k response has a 3xx status code
func (*GetOrganizationSwitchPortsBySwitchOK) IsServerError ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) IsServerError() bool
IsServerError returns true when this get organization switch ports by switch o k response has a 5xx status code
func (*GetOrganizationSwitchPortsBySwitchOK) IsSuccess ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) IsSuccess() bool
IsSuccess returns true when this get organization switch ports by switch o k response has a 2xx status code
func (*GetOrganizationSwitchPortsBySwitchOK) String ¶
func (o *GetOrganizationSwitchPortsBySwitchOK) String() string
type GetOrganizationSwitchPortsBySwitchOKBodyItems0 ¶
type GetOrganizationSwitchPortsBySwitchOKBodyItems0 struct { // The MAC address of the switch. Mac string `json:"mac,omitempty"` // The model of the switch. Model string `json:"model,omitempty"` // The name of the switch. Name string `json:"name,omitempty"` // network Network *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network `json:"network,omitempty"` // Ports belonging to the switch Ports []*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 `json:"ports"` // The serial number of the switch. Serial string `json:"serial,omitempty"` }
GetOrganizationSwitchPortsBySwitchOKBodyItems0 get organization switch ports by switch o k body items0 swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization switch ports by switch o k body items0 based on the context it is used
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSwitchPortsBySwitchOKBodyItems0Network ¶
type GetOrganizationSwitchPortsBySwitchOKBodyItems0Network struct { // The ID of the network. ID string `json:"id,omitempty"` // The name of the network. Name string `json:"name,omitempty"` }
GetOrganizationSwitchPortsBySwitchOKBodyItems0Network Identifying information of the switch's network. swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0Network
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) ContextValidate ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization switch ports by switch o k body items0 network based on context it is used
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) MarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) UnmarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0Network) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 ¶
type GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 struct { // The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The VLANs allowed on the switch port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // The status of the switch port. Enabled bool `json:"enabled,omitempty"` // The link speed for the switch port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // The name of the switch port. Name string `json:"name,omitempty"` // The PoE status of the switch port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch port. PortID string `json:"portId,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch port. Tags []string `json:"tags"` // The type of the switch port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The VLAN of the switch port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0 get organization switch ports by switch o k body items0 ports items0 swagger:model GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) ContextValidate ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization switch ports by switch o k body items0 ports items0 based on context it is used
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) MarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) UnmarshalBinary ¶
func (o *GetOrganizationSwitchPortsBySwitchOKBodyItems0PortsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSwitchPortsBySwitchParams ¶
type GetOrganizationSwitchPortsBySwitchParams struct { /* ConfigurationUpdatedAfter. Optional parameter to filter results by switches where the configuration has been updated after the given timestamp. */ ConfigurationUpdatedAfter *string /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* Mac. Optional parameter to filter switchports belonging to switches by MAC address. All returned switches will have a MAC address that contains the search term or is an exact match. */ Mac *string /* Macs. Optional parameter to filter switchports by one or more MAC addresses belonging to devices. All switchports returned belong to MAC addresses of switches that are an exact match. */ Macs []string /* Name. Optional parameter to filter switchports belonging to switches by name. All returned switches will have a name that contains the search term or is an exact match. */ Name *string /* NetworkIds. Optional parameter to filter switchports by network. */ NetworkIds []string /* OrganizationID. Organization ID */ OrganizationID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 50. Default is 50. */ PerPage *int64 /* PortProfileIds. Optional parameter to filter switchports belonging to the specified port profiles. */ PortProfileIds []string /* Serial. Optional parameter to filter switchports belonging to switches by serial number. All returned switches will have a serial number that contains the search term or is an exact match. */ Serial *string /* Serials. Optional parameter to filter switchports belonging to switches with one or more serial numbers. All switchports returned belong to serial numbers of switches that are an exact match. */ Serials []string /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationSwitchPortsBySwitchParams contains all the parameters to send to the API endpoint
for the get organization switch ports by switch operation. Typically these are written to a http.Request.
func NewGetOrganizationSwitchPortsBySwitchParams ¶
func NewGetOrganizationSwitchPortsBySwitchParams() *GetOrganizationSwitchPortsBySwitchParams
NewGetOrganizationSwitchPortsBySwitchParams creates a new GetOrganizationSwitchPortsBySwitchParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetOrganizationSwitchPortsBySwitchParamsWithContext ¶
func NewGetOrganizationSwitchPortsBySwitchParamsWithContext(ctx context.Context) *GetOrganizationSwitchPortsBySwitchParams
NewGetOrganizationSwitchPortsBySwitchParamsWithContext creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a context for a request.
func NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient ¶
func NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient(client *http.Client) *GetOrganizationSwitchPortsBySwitchParams
NewGetOrganizationSwitchPortsBySwitchParamsWithHTTPClient creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout ¶
func NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout(timeout time.Duration) *GetOrganizationSwitchPortsBySwitchParams
NewGetOrganizationSwitchPortsBySwitchParamsWithTimeout creates a new GetOrganizationSwitchPortsBySwitchParams object with the ability to set a timeout on a request.
func (*GetOrganizationSwitchPortsBySwitchParams) SetConfigurationUpdatedAfter ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetConfigurationUpdatedAfter(configurationUpdatedAfter *string)
SetConfigurationUpdatedAfter adds the configurationUpdatedAfter to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetContext ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetDefaults ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetDefaults()
SetDefaults hydrates default values in the get organization switch ports by switch params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSwitchPortsBySwitchParams) SetEndingBefore ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetHTTPClient ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetMac ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetMac(mac *string)
SetMac adds the mac to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetMacs ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetMacs(macs []string)
SetMacs adds the macs to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetName ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetName(name *string)
SetName adds the name to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetNetworkIds ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetNetworkIds(networkIds []string)
SetNetworkIds adds the networkIds to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetOrganizationID ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetPerPage ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetPortProfileIds ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetPortProfileIds(portProfileIds []string)
SetPortProfileIds adds the portProfileIds to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetSerial ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerial(serial *string)
SetSerial adds the serial to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetSerials ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetSerials(serials []string)
SetSerials adds the serials to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetStartingAfter ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) SetTimeout ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithConfigurationUpdatedAfter ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithConfigurationUpdatedAfter(configurationUpdatedAfter *string) *GetOrganizationSwitchPortsBySwitchParams
WithConfigurationUpdatedAfter adds the configurationUpdatedAfter to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithContext ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithContext(ctx context.Context) *GetOrganizationSwitchPortsBySwitchParams
WithContext adds the context to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithDefaults ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithDefaults() *GetOrganizationSwitchPortsBySwitchParams
WithDefaults hydrates default values in the get organization switch ports by switch params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSwitchPortsBySwitchParams) WithEndingBefore ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithEndingBefore(endingBefore *string) *GetOrganizationSwitchPortsBySwitchParams
WithEndingBefore adds the endingBefore to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithHTTPClient ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithHTTPClient(client *http.Client) *GetOrganizationSwitchPortsBySwitchParams
WithHTTPClient adds the HTTPClient to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithMac ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithMac(mac *string) *GetOrganizationSwitchPortsBySwitchParams
WithMac adds the mac to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithMacs ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithMacs(macs []string) *GetOrganizationSwitchPortsBySwitchParams
WithMacs adds the macs to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithName ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithName(name *string) *GetOrganizationSwitchPortsBySwitchParams
WithName adds the name to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithNetworkIds ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithNetworkIds(networkIds []string) *GetOrganizationSwitchPortsBySwitchParams
WithNetworkIds adds the networkIds to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithOrganizationID ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithOrganizationID(organizationID string) *GetOrganizationSwitchPortsBySwitchParams
WithOrganizationID adds the organizationID to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithPerPage ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithPerPage(perPage *int64) *GetOrganizationSwitchPortsBySwitchParams
WithPerPage adds the perPage to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithPortProfileIds ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithPortProfileIds(portProfileIds []string) *GetOrganizationSwitchPortsBySwitchParams
WithPortProfileIds adds the portProfileIds to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithSerial ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithSerial(serial *string) *GetOrganizationSwitchPortsBySwitchParams
WithSerial adds the serial to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithSerials ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithSerials(serials []string) *GetOrganizationSwitchPortsBySwitchParams
WithSerials adds the serials to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithStartingAfter ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithStartingAfter(startingAfter *string) *GetOrganizationSwitchPortsBySwitchParams
WithStartingAfter adds the startingAfter to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WithTimeout ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WithTimeout(timeout time.Duration) *GetOrganizationSwitchPortsBySwitchParams
WithTimeout adds the timeout to the get organization switch ports by switch params
func (*GetOrganizationSwitchPortsBySwitchParams) WriteToRequest ¶
func (o *GetOrganizationSwitchPortsBySwitchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationSwitchPortsBySwitchReader ¶
type GetOrganizationSwitchPortsBySwitchReader struct {
// contains filtered or unexported fields
}
GetOrganizationSwitchPortsBySwitchReader is a Reader for the GetOrganizationSwitchPortsBySwitch structure.
func (*GetOrganizationSwitchPortsBySwitchReader) ReadResponse ¶
func (o *GetOrganizationSwitchPortsBySwitchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveNetworkSwitchStackBody ¶
type RemoveNetworkSwitchStackBody struct { // The serial of the switch to be removed // Required: true Serial *string `json:"serial"` }
RemoveNetworkSwitchStackBody remove network switch stack body // Example: {"serial":"QBZY-XWVU-TSRQ"} swagger:model RemoveNetworkSwitchStackBody
func (*RemoveNetworkSwitchStackBody) ContextValidate ¶
func (o *RemoveNetworkSwitchStackBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this remove network switch stack body based on context it is used
func (*RemoveNetworkSwitchStackBody) MarshalBinary ¶
func (o *RemoveNetworkSwitchStackBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveNetworkSwitchStackBody) UnmarshalBinary ¶
func (o *RemoveNetworkSwitchStackBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveNetworkSwitchStackOK ¶
type RemoveNetworkSwitchStackOK struct {
Payload interface{}
}
RemoveNetworkSwitchStackOK describes a response with status code 200, with default header values.
Successful operation
func NewRemoveNetworkSwitchStackOK ¶
func NewRemoveNetworkSwitchStackOK() *RemoveNetworkSwitchStackOK
NewRemoveNetworkSwitchStackOK creates a RemoveNetworkSwitchStackOK with default headers values
func (*RemoveNetworkSwitchStackOK) Code ¶
func (o *RemoveNetworkSwitchStackOK) Code() int
Code gets the status code for the remove network switch stack o k response
func (*RemoveNetworkSwitchStackOK) Error ¶
func (o *RemoveNetworkSwitchStackOK) Error() string
func (*RemoveNetworkSwitchStackOK) GetPayload ¶
func (o *RemoveNetworkSwitchStackOK) GetPayload() interface{}
func (*RemoveNetworkSwitchStackOK) IsClientError ¶
func (o *RemoveNetworkSwitchStackOK) IsClientError() bool
IsClientError returns true when this remove network switch stack o k response has a 4xx status code
func (*RemoveNetworkSwitchStackOK) IsCode ¶
func (o *RemoveNetworkSwitchStackOK) IsCode(code int) bool
IsCode returns true when this remove network switch stack o k response a status code equal to that given
func (*RemoveNetworkSwitchStackOK) IsRedirect ¶
func (o *RemoveNetworkSwitchStackOK) IsRedirect() bool
IsRedirect returns true when this remove network switch stack o k response has a 3xx status code
func (*RemoveNetworkSwitchStackOK) IsServerError ¶
func (o *RemoveNetworkSwitchStackOK) IsServerError() bool
IsServerError returns true when this remove network switch stack o k response has a 5xx status code
func (*RemoveNetworkSwitchStackOK) IsSuccess ¶
func (o *RemoveNetworkSwitchStackOK) IsSuccess() bool
IsSuccess returns true when this remove network switch stack o k response has a 2xx status code
func (*RemoveNetworkSwitchStackOK) String ¶
func (o *RemoveNetworkSwitchStackOK) String() string
type RemoveNetworkSwitchStackParams ¶
type RemoveNetworkSwitchStackParams struct { /* NetworkID. Network ID */ NetworkID string // RemoveNetworkSwitchStack. RemoveNetworkSwitchStack RemoveNetworkSwitchStackBody /* SwitchStackID. Switch stack ID */ SwitchStackID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveNetworkSwitchStackParams contains all the parameters to send to the API endpoint
for the remove network switch stack operation. Typically these are written to a http.Request.
func NewRemoveNetworkSwitchStackParams ¶
func NewRemoveNetworkSwitchStackParams() *RemoveNetworkSwitchStackParams
NewRemoveNetworkSwitchStackParams creates a new RemoveNetworkSwitchStackParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRemoveNetworkSwitchStackParamsWithContext ¶
func NewRemoveNetworkSwitchStackParamsWithContext(ctx context.Context) *RemoveNetworkSwitchStackParams
NewRemoveNetworkSwitchStackParamsWithContext creates a new RemoveNetworkSwitchStackParams object with the ability to set a context for a request.
func NewRemoveNetworkSwitchStackParamsWithHTTPClient ¶
func NewRemoveNetworkSwitchStackParamsWithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams
NewRemoveNetworkSwitchStackParamsWithHTTPClient creates a new RemoveNetworkSwitchStackParams object with the ability to set a custom HTTPClient for a request.
func NewRemoveNetworkSwitchStackParamsWithTimeout ¶
func NewRemoveNetworkSwitchStackParamsWithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams
NewRemoveNetworkSwitchStackParamsWithTimeout creates a new RemoveNetworkSwitchStackParams object with the ability to set a timeout on a request.
func (*RemoveNetworkSwitchStackParams) SetContext ¶
func (o *RemoveNetworkSwitchStackParams) SetContext(ctx context.Context)
SetContext adds the context to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) SetDefaults ¶
func (o *RemoveNetworkSwitchStackParams) SetDefaults()
SetDefaults hydrates default values in the remove network switch stack params (not the query body).
All values with no default are reset to their zero value.
func (*RemoveNetworkSwitchStackParams) SetHTTPClient ¶
func (o *RemoveNetworkSwitchStackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) SetNetworkID ¶
func (o *RemoveNetworkSwitchStackParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack ¶
func (o *RemoveNetworkSwitchStackParams) SetRemoveNetworkSwitchStack(removeNetworkSwitchStack RemoveNetworkSwitchStackBody)
SetRemoveNetworkSwitchStack adds the removeNetworkSwitchStack to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) SetSwitchStackID ¶
func (o *RemoveNetworkSwitchStackParams) SetSwitchStackID(switchStackID string)
SetSwitchStackID adds the switchStackId to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) SetTimeout ¶
func (o *RemoveNetworkSwitchStackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) WithContext ¶
func (o *RemoveNetworkSwitchStackParams) WithContext(ctx context.Context) *RemoveNetworkSwitchStackParams
WithContext adds the context to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) WithDefaults ¶
func (o *RemoveNetworkSwitchStackParams) WithDefaults() *RemoveNetworkSwitchStackParams
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 ¶
func (o *RemoveNetworkSwitchStackParams) WithHTTPClient(client *http.Client) *RemoveNetworkSwitchStackParams
WithHTTPClient adds the HTTPClient to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) WithNetworkID ¶
func (o *RemoveNetworkSwitchStackParams) WithNetworkID(networkID string) *RemoveNetworkSwitchStackParams
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 ¶
func (o *RemoveNetworkSwitchStackParams) WithTimeout(timeout time.Duration) *RemoveNetworkSwitchStackParams
WithTimeout adds the timeout to the remove network switch stack params
func (*RemoveNetworkSwitchStackParams) WriteToRequest ¶
func (o *RemoveNetworkSwitchStackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveNetworkSwitchStackReader ¶
type RemoveNetworkSwitchStackReader struct {
// contains filtered or unexported fields
}
RemoveNetworkSwitchStackReader is a Reader for the RemoveNetworkSwitchStack structure.
func (*RemoveNetworkSwitchStackReader) ReadResponse ¶
func (o *RemoveNetworkSwitchStackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceSwitchPortBody ¶
type UpdateDeviceSwitchPortBody struct { // The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile. AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"` // The VLANs allowed on the switch port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch port. Name string `json:"name,omitempty"` // If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile. PeerSgtCapable bool `json:"peerSgtCapable,omitempty"` // The PoE status of the switch port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *UpdateDeviceSwitchPortParamsBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch port. Tags []string `json:"tags"` // The type of the switch port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
UpdateDeviceSwitchPortBody update device switch port body // Example: {"accessPolicyNumber":2,"accessPolicyType":"Sticky MAC allow list","adaptivePolicyGroupId":"123","allowedVlans":"1,3,5-10","daiTrusted":false,"enabled":true,"flexibleStackingEnabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","macAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"name":"My switch port","peerSgtCapable":false,"poeEnabled":true,"portScheduleId":"1234","profile":{"enabled":false,"id":"1284392014819","iname":"iname"},"rstpEnabled":true,"stickyMacAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"stickyMacAllowListLimit":5,"stormControlEnabled":true,"stpGuard":"disabled","tags":["tag1","tag2"],"type":"access","udld":"Alert only","vlan":10,"voiceVlan":20} swagger:model UpdateDeviceSwitchPortBody
func (*UpdateDeviceSwitchPortBody) ContextValidate ¶
func (o *UpdateDeviceSwitchPortBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device switch port body based on the context it is used
func (*UpdateDeviceSwitchPortBody) MarshalBinary ¶
func (o *UpdateDeviceSwitchPortBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchPortBody) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchPortBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchPortOK ¶
type UpdateDeviceSwitchPortOK struct {
Payload *UpdateDeviceSwitchPortOKBody
}
UpdateDeviceSwitchPortOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSwitchPortOK ¶
func NewUpdateDeviceSwitchPortOK() *UpdateDeviceSwitchPortOK
NewUpdateDeviceSwitchPortOK creates a UpdateDeviceSwitchPortOK with default headers values
func (*UpdateDeviceSwitchPortOK) Code ¶
func (o *UpdateDeviceSwitchPortOK) Code() int
Code gets the status code for the update device switch port o k response
func (*UpdateDeviceSwitchPortOK) Error ¶
func (o *UpdateDeviceSwitchPortOK) Error() string
func (*UpdateDeviceSwitchPortOK) GetPayload ¶
func (o *UpdateDeviceSwitchPortOK) GetPayload() *UpdateDeviceSwitchPortOKBody
func (*UpdateDeviceSwitchPortOK) IsClientError ¶
func (o *UpdateDeviceSwitchPortOK) IsClientError() bool
IsClientError returns true when this update device switch port o k response has a 4xx status code
func (*UpdateDeviceSwitchPortOK) IsCode ¶
func (o *UpdateDeviceSwitchPortOK) IsCode(code int) bool
IsCode returns true when this update device switch port o k response a status code equal to that given
func (*UpdateDeviceSwitchPortOK) IsRedirect ¶
func (o *UpdateDeviceSwitchPortOK) IsRedirect() bool
IsRedirect returns true when this update device switch port o k response has a 3xx status code
func (*UpdateDeviceSwitchPortOK) IsServerError ¶
func (o *UpdateDeviceSwitchPortOK) IsServerError() bool
IsServerError returns true when this update device switch port o k response has a 5xx status code
func (*UpdateDeviceSwitchPortOK) IsSuccess ¶
func (o *UpdateDeviceSwitchPortOK) IsSuccess() bool
IsSuccess returns true when this update device switch port o k response has a 2xx status code
func (*UpdateDeviceSwitchPortOK) String ¶
func (o *UpdateDeviceSwitchPortOK) String() string
type UpdateDeviceSwitchPortOKBody ¶
type UpdateDeviceSwitchPortOKBody struct { // The number of a custom access policy to configure on the switch port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The adaptive policy group ID that will be used to tag traffic through this switch port. This ID must pre-exist during the configuration, else needs to be created using adaptivePolicy/groups API. Cannot be applied to a port on a switch bound to profile. AdaptivePolicyGroupID string `json:"adaptivePolicyGroupId,omitempty"` // The VLANs allowed on the switch port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch port. Name string `json:"name,omitempty"` // If true, Peer SGT is enabled for traffic through this switch port. Applicable to trunk port only, not access port. Cannot be applied to a port on a switch bound to profile. PeerSgtCapable bool `json:"peerSgtCapable,omitempty"` // The PoE status of the switch port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *UpdateDeviceSwitchPortOKBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch port. Tags []string `json:"tags"` // The type of the switch port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
UpdateDeviceSwitchPortOKBody update device switch port o k body swagger:model UpdateDeviceSwitchPortOKBody
func (*UpdateDeviceSwitchPortOKBody) ContextValidate ¶
func (o *UpdateDeviceSwitchPortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device switch port o k body based on the context it is used
func (*UpdateDeviceSwitchPortOKBody) MarshalBinary ¶
func (o *UpdateDeviceSwitchPortOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchPortOKBody) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchPortOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchPortOKBodyProfile ¶
type UpdateDeviceSwitchPortOKBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
UpdateDeviceSwitchPortOKBodyProfile Profile attributes swagger:model UpdateDeviceSwitchPortOKBodyProfile
func (*UpdateDeviceSwitchPortOKBodyProfile) ContextValidate ¶
func (o *UpdateDeviceSwitchPortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch port o k body profile based on context it is used
func (*UpdateDeviceSwitchPortOKBodyProfile) MarshalBinary ¶
func (o *UpdateDeviceSwitchPortOKBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchPortOKBodyProfile) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchPortOKBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchPortParams ¶
type UpdateDeviceSwitchPortParams struct { /* PortID. Port ID */ PortID string /* Serial. Serial */ Serial string // UpdateDeviceSwitchPort. UpdateDeviceSwitchPort UpdateDeviceSwitchPortBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSwitchPortParams contains all the parameters to send to the API endpoint
for the update device switch port operation. Typically these are written to a http.Request.
func NewUpdateDeviceSwitchPortParams ¶
func NewUpdateDeviceSwitchPortParams() *UpdateDeviceSwitchPortParams
NewUpdateDeviceSwitchPortParams creates a new UpdateDeviceSwitchPortParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceSwitchPortParamsWithContext ¶
func NewUpdateDeviceSwitchPortParamsWithContext(ctx context.Context) *UpdateDeviceSwitchPortParams
NewUpdateDeviceSwitchPortParamsWithContext creates a new UpdateDeviceSwitchPortParams object with the ability to set a context for a request.
func NewUpdateDeviceSwitchPortParamsWithHTTPClient ¶
func NewUpdateDeviceSwitchPortParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchPortParams
NewUpdateDeviceSwitchPortParamsWithHTTPClient creates a new UpdateDeviceSwitchPortParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSwitchPortParamsWithTimeout ¶
func NewUpdateDeviceSwitchPortParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchPortParams
NewUpdateDeviceSwitchPortParamsWithTimeout creates a new UpdateDeviceSwitchPortParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSwitchPortParams) SetContext ¶
func (o *UpdateDeviceSwitchPortParams) SetContext(ctx context.Context)
SetContext adds the context to the update device switch port params
func (*UpdateDeviceSwitchPortParams) SetDefaults ¶
func (o *UpdateDeviceSwitchPortParams) SetDefaults()
SetDefaults hydrates default values in the update device switch port params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeviceSwitchPortParams) SetHTTPClient ¶
func (o *UpdateDeviceSwitchPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device switch port params
func (*UpdateDeviceSwitchPortParams) SetPortID ¶
func (o *UpdateDeviceSwitchPortParams) SetPortID(portID string)
SetPortID adds the portId to the update device switch port params
func (*UpdateDeviceSwitchPortParams) SetSerial ¶
func (o *UpdateDeviceSwitchPortParams) SetSerial(serial string)
SetSerial adds the serial to the update device switch port params
func (*UpdateDeviceSwitchPortParams) SetTimeout ¶
func (o *UpdateDeviceSwitchPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update device switch port params
func (*UpdateDeviceSwitchPortParams) SetUpdateDeviceSwitchPort ¶
func (o *UpdateDeviceSwitchPortParams) SetUpdateDeviceSwitchPort(updateDeviceSwitchPort UpdateDeviceSwitchPortBody)
SetUpdateDeviceSwitchPort adds the updateDeviceSwitchPort to the update device switch port params
func (*UpdateDeviceSwitchPortParams) WithContext ¶
func (o *UpdateDeviceSwitchPortParams) WithContext(ctx context.Context) *UpdateDeviceSwitchPortParams
WithContext adds the context to the update device switch port params
func (*UpdateDeviceSwitchPortParams) WithDefaults ¶
func (o *UpdateDeviceSwitchPortParams) WithDefaults() *UpdateDeviceSwitchPortParams
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 ¶
func (o *UpdateDeviceSwitchPortParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchPortParams
WithHTTPClient adds the HTTPClient to the update device switch port params
func (*UpdateDeviceSwitchPortParams) WithPortID ¶
func (o *UpdateDeviceSwitchPortParams) WithPortID(portID string) *UpdateDeviceSwitchPortParams
WithPortID adds the portID to the update device switch port params
func (*UpdateDeviceSwitchPortParams) WithSerial ¶
func (o *UpdateDeviceSwitchPortParams) WithSerial(serial string) *UpdateDeviceSwitchPortParams
WithSerial adds the serial to the update device switch port params
func (*UpdateDeviceSwitchPortParams) WithTimeout ¶
func (o *UpdateDeviceSwitchPortParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchPortParams
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 ¶
func (o *UpdateDeviceSwitchPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceSwitchPortParamsBodyProfile ¶
type UpdateDeviceSwitchPortParamsBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
UpdateDeviceSwitchPortParamsBodyProfile Profile attributes swagger:model UpdateDeviceSwitchPortParamsBodyProfile
func (*UpdateDeviceSwitchPortParamsBodyProfile) ContextValidate ¶
func (o *UpdateDeviceSwitchPortParamsBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch port params body profile based on context it is used
func (*UpdateDeviceSwitchPortParamsBodyProfile) MarshalBinary ¶
func (o *UpdateDeviceSwitchPortParamsBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchPortParamsBodyProfile) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchPortParamsBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchPortReader ¶
type UpdateDeviceSwitchPortReader struct {
// contains filtered or unexported fields
}
UpdateDeviceSwitchPortReader is a Reader for the UpdateDeviceSwitchPort structure.
func (*UpdateDeviceSwitchPortReader) ReadResponse ¶
func (o *UpdateDeviceSwitchPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceSwitchRoutingInterfaceBody ¶
type UpdateDeviceSwitchRoutingInterfaceBody struct { // The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface. Required if this is the first IPv4 interface. DefaultGateway string `json:"defaultGateway,omitempty"` // The IP address this switch will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP. InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"` // Enable multicast support if, multicast routing between VLANs is required. Options are: 'disabled', 'enabled' or 'IGMP snooping querier'. Default is 'disabled'. // Enum: [IGMP snooping querier disabled enabled] MulticastRouting string `json:"multicastRouting,omitempty"` // A friendly name or description for the interface or VLAN. Name string `json:"name,omitempty"` // ospf settings OspfSettings *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 `json:"ospfV3,omitempty"` // The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24). Subnet string `json:"subnet,omitempty"` // The VLAN this routed interface is on. VLAN must be between 1 and 4094. VlanID int64 `json:"vlanId,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceBody update device switch routing interface body // Example: {"defaultGateway":"192.168.1.1","interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model UpdateDeviceSwitchRoutingInterfaceBody
func (*UpdateDeviceSwitchRoutingInterfaceBody) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateDeviceSwitchRoutingInterfaceDhcpBody ¶
type UpdateDeviceSwitchRoutingInterfaceDhcpBody struct { // The PXE boot server filename for the DHCP server running on the switch interface BootFileName string `json:"bootFileName,omitempty"` // The PXE boot server IP for the DHCP server running on the switch interface BootNextServer string `json:"bootNextServer,omitempty"` // Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch // interface BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"` // The DHCP lease time config for the dhcp server running on switch interface // ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week') // Enum: [1 day 1 hour 1 week 12 hours 30 minutes 4 hours] DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"` // The DHCP mode options for the switch interface // ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer') // Enum: [dhcpDisabled dhcpRelay dhcpServer] DhcpMode string `json:"dhcpMode,omitempty"` // Array of DHCP options consisting of code, type and value for the DHCP server running on the switch interface DhcpOptions []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 `json:"dhcpOptions"` // The DHCP relay server IPs to which DHCP packets would get relayed for the switch interface DhcpRelayServerIps []string `json:"dhcpRelayServerIps"` // The DHCP name server IPs when DHCP name server option is // 'custom' DNSCustomNameservers []string `json:"dnsCustomNameservers"` // The DHCP name server option for the dhcp server running on the switch interface // ('googlePublicDns', 'openDns' or 'custom') // Enum: [custom googlePublicDns openDns] DNSNameserversOption string `json:"dnsNameserversOption,omitempty"` // Array of DHCP fixed IP assignments for the DHCP server running on the switch interface FixedIPAssignments []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"` // Array of DHCP reserved IP assignments for the DHCP server running on the switch interface ReservedIPRanges []*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 `json:"reservedIpRanges"` }
UpdateDeviceSwitchRoutingInterfaceDhcpBody update device switch routing interface dhcp body // Example: {"bootFileName":"home_boot_file","bootNextServer":"1.2.3.4","bootOptionsEnabled":true,"dhcpLeaseTime":"1 day","dhcpMode":"dhcpServer","dhcpOptions":[{"code":"5","type":"text","value":"five"}],"dnsCustomNameservers":["8.8.8.8, 8.8.4.4"],"dnsNameserversOption":"custom","fixedIpAssignments":[{"ip":"192.168.1.12","mac":"22:33:44:55:66:77","name":"Cisco Meraki valued client"}],"reservedIpRanges":[{"comment":"A reserved IP range","end":"192.168.1.10","start":"192.168.1.1"}]} swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpBody
func (*UpdateDeviceSwitchRoutingInterfaceDhcpBody) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateDeviceSwitchRoutingInterfaceDhcpOK ¶
type UpdateDeviceSwitchRoutingInterfaceDhcpOK struct {
Payload interface{}
}
UpdateDeviceSwitchRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSwitchRoutingInterfaceDhcpOK ¶
func NewUpdateDeviceSwitchRoutingInterfaceDhcpOK() *UpdateDeviceSwitchRoutingInterfaceDhcpOK
NewUpdateDeviceSwitchRoutingInterfaceDhcpOK creates a UpdateDeviceSwitchRoutingInterfaceDhcpOK with default headers values
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) Code ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) Code() int
Code gets the status code for the update device switch routing interface dhcp o k response
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) Error ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) Error() string
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) GetPayload() interface{}
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsClientError ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsClientError() bool
IsClientError returns true when this update device switch routing interface dhcp o k response has a 4xx status code
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsCode ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsCode(code int) bool
IsCode returns true when this update device switch routing interface dhcp o k response a status code equal to that given
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsRedirect() bool
IsRedirect returns true when this update device switch routing interface dhcp o k response has a 3xx status code
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsServerError ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsServerError() bool
IsServerError returns true when this update device switch routing interface dhcp o k response has a 5xx status code
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) IsSuccess() bool
IsSuccess returns true when this update device switch routing interface dhcp o k response has a 2xx status code
func (*UpdateDeviceSwitchRoutingInterfaceDhcpOK) String ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpOK) String() string
type UpdateDeviceSwitchRoutingInterfaceDhcpParams ¶
type UpdateDeviceSwitchRoutingInterfaceDhcpParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* Serial. Serial */ Serial string // UpdateDeviceSwitchRoutingInterfaceDhcp. UpdateDeviceSwitchRoutingInterfaceDhcp UpdateDeviceSwitchRoutingInterfaceDhcpBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSwitchRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint
for the update device switch routing interface dhcp operation. Typically these are written to a http.Request.
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParams ¶
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParams() *UpdateDeviceSwitchRoutingInterfaceDhcpParams
NewUpdateDeviceSwitchRoutingInterfaceDhcpParams creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext ¶
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithContext creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a context for a request.
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient ¶
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout ¶
func NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
NewUpdateDeviceSwitchRoutingInterfaceDhcpParamsWithTimeout creates a new UpdateDeviceSwitchRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetContext ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
SetContext adds the context to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetSerial(serial string)
SetSerial adds the serial to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
WithContext adds the context to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithDefaults() *UpdateDeviceSwitchRoutingInterfaceDhcpParams
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
WithHTTPClient adds the HTTPClient to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
WithInterfaceID adds the interfaceID to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithSerial ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
WithSerial adds the serial to the update device switch routing interface dhcp params
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceDhcpParams
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 ¶
type UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 struct { // The code for DHCP option which should be from 2 to 254 // Required: true Code *string `json:"code"` // The type of the DHCP option which should be one of // ('text', 'ip', 'integer' or 'hex') // Required: true // Enum: [hex integer ip text] Type *string `json:"type"` // The value of the DHCP option // Required: true Value *string `json:"value"` }
UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 update device switch routing interface dhcp params body dhcp options items0 swagger:model UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface dhcp params body dhcp options items0 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface dhcp params body fixed IP assignments items0 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface dhcp params body reserved IP ranges items0 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
Validate validates this update device switch routing interface dhcp params body reserved IP ranges items0
type UpdateDeviceSwitchRoutingInterfaceDhcpReader ¶
type UpdateDeviceSwitchRoutingInterfaceDhcpReader struct {
// contains filtered or unexported fields
}
UpdateDeviceSwitchRoutingInterfaceDhcpReader is a Reader for the UpdateDeviceSwitchRoutingInterfaceDhcp structure.
func (*UpdateDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse ¶
func (o *UpdateDeviceSwitchRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceSwitchRoutingInterfaceOK ¶
type UpdateDeviceSwitchRoutingInterfaceOK struct {
Payload *UpdateDeviceSwitchRoutingInterfaceOKBody
}
UpdateDeviceSwitchRoutingInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSwitchRoutingInterfaceOK ¶
func NewUpdateDeviceSwitchRoutingInterfaceOK() *UpdateDeviceSwitchRoutingInterfaceOK
NewUpdateDeviceSwitchRoutingInterfaceOK creates a UpdateDeviceSwitchRoutingInterfaceOK with default headers values
func (*UpdateDeviceSwitchRoutingInterfaceOK) Code ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) Code() int
Code gets the status code for the update device switch routing interface o k response
func (*UpdateDeviceSwitchRoutingInterfaceOK) Error ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) Error() string
func (*UpdateDeviceSwitchRoutingInterfaceOK) GetPayload ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) GetPayload() *UpdateDeviceSwitchRoutingInterfaceOKBody
func (*UpdateDeviceSwitchRoutingInterfaceOK) IsClientError ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsClientError() bool
IsClientError returns true when this update device switch routing interface o k response has a 4xx status code
func (*UpdateDeviceSwitchRoutingInterfaceOK) IsCode ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsCode(code int) bool
IsCode returns true when this update device switch routing interface o k response a status code equal to that given
func (*UpdateDeviceSwitchRoutingInterfaceOK) IsRedirect ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsRedirect() bool
IsRedirect returns true when this update device switch routing interface o k response has a 3xx status code
func (*UpdateDeviceSwitchRoutingInterfaceOK) IsServerError ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsServerError() bool
IsServerError returns true when this update device switch routing interface o k response has a 5xx status code
func (*UpdateDeviceSwitchRoutingInterfaceOK) IsSuccess ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) IsSuccess() bool
IsSuccess returns true when this update device switch routing interface o k response has a 2xx status code
func (*UpdateDeviceSwitchRoutingInterfaceOK) String ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOK) String() string
type UpdateDeviceSwitchRoutingInterfaceOKBody ¶
type UpdateDeviceSwitchRoutingInterfaceOKBody struct { // IPv4 default gateway DefaultGateway string `json:"defaultGateway,omitempty"` // The id InterfaceID string `json:"interfaceId,omitempty"` // IPv4 address InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 `json:"ipv6,omitempty"` // Multicast routing status MulticastRouting string `json:"multicastRouting,omitempty"` // The name Name string `json:"name,omitempty"` // ospf settings OspfSettings *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings `json:"ospfSettings,omitempty"` // ospf v3 OspfV3 *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 `json:"ospfV3,omitempty"` // IPv4 subnet Subnet string `json:"subnet,omitempty"` // VLAN id VlanID int64 `json:"vlanId,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceOKBody update device switch routing interface o k body swagger:model UpdateDeviceSwitchRoutingInterfaceOKBody
func (*UpdateDeviceSwitchRoutingInterfaceOKBody) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device switch routing interface o k body based on the context it is used
func (*UpdateDeviceSwitchRoutingInterfaceOKBody) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 ¶
type UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 struct { // IPv6 address Address string `json:"address,omitempty"` // Assignment mode AssignmentMode string `json:"assignmentMode,omitempty"` // IPv6 gateway Gateway string `json:"gateway,omitempty"` // IPv6 subnet Prefix string `json:"prefix,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6 IPv6 addressing swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface o k body IP v6 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings ¶
type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv4 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings IPv4 OSPF Settings swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface o k body ospf settings based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 ¶
type UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 struct { // Area id Area string `json:"area,omitempty"` // OSPF Cost Cost int64 `json:"cost,omitempty"` // Disable sending Hello packets on this interface's IPv6 area IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3 IPv6 OSPF Settings swagger:model UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface o k body ospf v3 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceOKBodyOspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceParams ¶
type UpdateDeviceSwitchRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* Serial. Serial */ Serial string // UpdateDeviceSwitchRoutingInterface. UpdateDeviceSwitchRoutingInterface UpdateDeviceSwitchRoutingInterfaceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSwitchRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the update device switch routing interface operation. Typically these are written to a http.Request.
func NewUpdateDeviceSwitchRoutingInterfaceParams ¶
func NewUpdateDeviceSwitchRoutingInterfaceParams() *UpdateDeviceSwitchRoutingInterfaceParams
NewUpdateDeviceSwitchRoutingInterfaceParams creates a new UpdateDeviceSwitchRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext ¶
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceParams
NewUpdateDeviceSwitchRoutingInterfaceParamsWithContext creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a context for a request.
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient ¶
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceParams
NewUpdateDeviceSwitchRoutingInterfaceParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout ¶
func NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceParams
NewUpdateDeviceSwitchRoutingInterfaceParamsWithTimeout creates a new UpdateDeviceSwitchRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSwitchRoutingInterfaceParams) SetContext ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update device switch routing interface params
func (*UpdateDeviceSwitchRoutingInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingInterfaceParams
WithContext adds the context to the update device switch routing interface params
func (*UpdateDeviceSwitchRoutingInterfaceParams) WithDefaults ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithDefaults() *UpdateDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the update device switch routing interface params
func (*UpdateDeviceSwitchRoutingInterfaceParams) WithInterfaceID ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithInterfaceID(interfaceID string) *UpdateDeviceSwitchRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the update device switch routing interface params
func (*UpdateDeviceSwitchRoutingInterfaceParams) WithSerial ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingInterfaceParams
WithSerial adds the serial to the update device switch routing interface params
func (*UpdateDeviceSwitchRoutingInterfaceParams) WithTimeout ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingInterfaceParams
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 ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 ¶
type UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 struct { // The IPv6 address of the interface. Required if assignmentMode is 'static'. Must not be included if assignmentMode is 'eui-64'. Address string `json:"address,omitempty"` // The IPv6 assignment mode for the interface. Can be either 'eui-64' or 'static'. AssignmentMode string `json:"assignmentMode,omitempty"` // The IPv6 default gateway of the interface. Required if prefix is defined and this is the first interface with IPv6 configured for the switch. Gateway string `json:"gateway,omitempty"` // The IPv6 prefix of the interface. Required if IPv6 object is included. Prefix string `json:"prefix,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6 The IPv6 settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface params body IP v6 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings ¶
type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings struct { // The OSPF area to which this interface should belong. Can be either 'disabled' or the identifier of an existing OSPF area. Defaults to 'disabled'. Area string `json:"area,omitempty"` // The path cost for this interface. Defaults to 1, but can be increased up to 65535 to give lower priority. Cost int64 `json:"cost,omitempty"` // When enabled, OSPF will not run on the interface, but the subnet will still be advertised. IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings The OSPF routing settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface params body ospf settings based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 ¶
type UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 struct { // The OSPFv3 area to which this interface should belong. Can be either 'disabled' or the identifier of an existing OSPFv3 area. Defaults to 'disabled'. Area string `json:"area,omitempty"` // The path cost for this interface. Defaults to 1, but can be increased up to 65535 to give lower priority. Cost int64 `json:"cost,omitempty"` // When enabled, OSPFv3 will not run on the interface, but the subnet will still be advertised. IsPassiveEnabled bool `json:"isPassiveEnabled,omitempty"` }
UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3 The OSPFv3 routing settings of the interface. swagger:model UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device switch routing interface params body ospf v3 based on context it is used
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary ¶
func (o *UpdateDeviceSwitchRoutingInterfaceParamsBodyOspfV3) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateDeviceSwitchRoutingStaticRouteOK ¶
type UpdateDeviceSwitchRoutingStaticRouteOK struct {
Payload interface{}
}
UpdateDeviceSwitchRoutingStaticRouteOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSwitchRoutingStaticRouteOK ¶
func NewUpdateDeviceSwitchRoutingStaticRouteOK() *UpdateDeviceSwitchRoutingStaticRouteOK
NewUpdateDeviceSwitchRoutingStaticRouteOK creates a UpdateDeviceSwitchRoutingStaticRouteOK with default headers values
func (*UpdateDeviceSwitchRoutingStaticRouteOK) Code ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) Code() int
Code gets the status code for the update device switch routing static route o k response
func (*UpdateDeviceSwitchRoutingStaticRouteOK) Error ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) Error() string
func (*UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) GetPayload() interface{}
func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsClientError ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsClientError() bool
IsClientError returns true when this update device switch routing static route o k response has a 4xx status code
func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsCode ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsCode(code int) bool
IsCode returns true when this update device switch routing static route o k response a status code equal to that given
func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsRedirect ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsRedirect() bool
IsRedirect returns true when this update device switch routing static route o k response has a 3xx status code
func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsServerError ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsServerError() bool
IsServerError returns true when this update device switch routing static route o k response has a 5xx status code
func (*UpdateDeviceSwitchRoutingStaticRouteOK) IsSuccess ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) IsSuccess() bool
IsSuccess returns true when this update device switch routing static route o k response has a 2xx status code
func (*UpdateDeviceSwitchRoutingStaticRouteOK) String ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteOK) String() string
type UpdateDeviceSwitchRoutingStaticRouteParams ¶
type UpdateDeviceSwitchRoutingStaticRouteParams struct { /* Serial. Serial */ Serial string /* StaticRouteID. Static route ID */ StaticRouteID string // UpdateDeviceSwitchRoutingStaticRoute. UpdateDeviceSwitchRoutingStaticRoute UpdateDeviceSwitchRoutingStaticRouteBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSwitchRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the update device switch routing static route operation. Typically these are written to a http.Request.
func NewUpdateDeviceSwitchRoutingStaticRouteParams ¶
func NewUpdateDeviceSwitchRoutingStaticRouteParams() *UpdateDeviceSwitchRoutingStaticRouteParams
NewUpdateDeviceSwitchRoutingStaticRouteParams creates a new UpdateDeviceSwitchRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext ¶
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateDeviceSwitchRoutingStaticRouteParams
NewUpdateDeviceSwitchRoutingStaticRouteParamsWithContext creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a context for a request.
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient ¶
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingStaticRouteParams
NewUpdateDeviceSwitchRoutingStaticRouteParamsWithHTTPClient creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout ¶
func NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingStaticRouteParams
NewUpdateDeviceSwitchRoutingStaticRouteParamsWithTimeout creates a new UpdateDeviceSwitchRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetContext ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the update device switch routing static route params
func (*UpdateDeviceSwitchRoutingStaticRouteParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetSerial(serial string)
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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithContext(ctx context.Context) *UpdateDeviceSwitchRoutingStaticRouteParams
WithContext adds the context to the update device switch routing static route params
func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithDefaults ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithDefaults() *UpdateDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the update device switch routing static route params
func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithSerial ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithSerial(serial string) *UpdateDeviceSwitchRoutingStaticRouteParams
WithSerial adds the serial to the update device switch routing static route params
func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *UpdateDeviceSwitchRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the update device switch routing static route params
func (*UpdateDeviceSwitchRoutingStaticRouteParams) WithTimeout ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchRoutingStaticRouteParams
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 ¶
func (o *UpdateDeviceSwitchRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type UpdateDeviceSwitchWarmSpareOK ¶
type UpdateDeviceSwitchWarmSpareOK struct {
Payload interface{}
}
UpdateDeviceSwitchWarmSpareOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSwitchWarmSpareOK ¶
func NewUpdateDeviceSwitchWarmSpareOK() *UpdateDeviceSwitchWarmSpareOK
NewUpdateDeviceSwitchWarmSpareOK creates a UpdateDeviceSwitchWarmSpareOK with default headers values
func (*UpdateDeviceSwitchWarmSpareOK) Code ¶
func (o *UpdateDeviceSwitchWarmSpareOK) Code() int
Code gets the status code for the update device switch warm spare o k response
func (*UpdateDeviceSwitchWarmSpareOK) Error ¶
func (o *UpdateDeviceSwitchWarmSpareOK) Error() string
func (*UpdateDeviceSwitchWarmSpareOK) GetPayload ¶
func (o *UpdateDeviceSwitchWarmSpareOK) GetPayload() interface{}
func (*UpdateDeviceSwitchWarmSpareOK) IsClientError ¶
func (o *UpdateDeviceSwitchWarmSpareOK) IsClientError() bool
IsClientError returns true when this update device switch warm spare o k response has a 4xx status code
func (*UpdateDeviceSwitchWarmSpareOK) IsCode ¶
func (o *UpdateDeviceSwitchWarmSpareOK) IsCode(code int) bool
IsCode returns true when this update device switch warm spare o k response a status code equal to that given
func (*UpdateDeviceSwitchWarmSpareOK) IsRedirect ¶
func (o *UpdateDeviceSwitchWarmSpareOK) IsRedirect() bool
IsRedirect returns true when this update device switch warm spare o k response has a 3xx status code
func (*UpdateDeviceSwitchWarmSpareOK) IsServerError ¶
func (o *UpdateDeviceSwitchWarmSpareOK) IsServerError() bool
IsServerError returns true when this update device switch warm spare o k response has a 5xx status code
func (*UpdateDeviceSwitchWarmSpareOK) IsSuccess ¶
func (o *UpdateDeviceSwitchWarmSpareOK) IsSuccess() bool
IsSuccess returns true when this update device switch warm spare o k response has a 2xx status code
func (*UpdateDeviceSwitchWarmSpareOK) String ¶
func (o *UpdateDeviceSwitchWarmSpareOK) String() string
type UpdateDeviceSwitchWarmSpareParams ¶
type UpdateDeviceSwitchWarmSpareParams struct { /* Serial. Serial */ Serial string // UpdateDeviceSwitchWarmSpare. UpdateDeviceSwitchWarmSpare UpdateDeviceSwitchWarmSpareBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSwitchWarmSpareParams contains all the parameters to send to the API endpoint
for the update device switch warm spare operation. Typically these are written to a http.Request.
func NewUpdateDeviceSwitchWarmSpareParams ¶
func NewUpdateDeviceSwitchWarmSpareParams() *UpdateDeviceSwitchWarmSpareParams
NewUpdateDeviceSwitchWarmSpareParams creates a new UpdateDeviceSwitchWarmSpareParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateDeviceSwitchWarmSpareParamsWithContext ¶
func NewUpdateDeviceSwitchWarmSpareParamsWithContext(ctx context.Context) *UpdateDeviceSwitchWarmSpareParams
NewUpdateDeviceSwitchWarmSpareParamsWithContext creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a context for a request.
func NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient ¶
func NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient(client *http.Client) *UpdateDeviceSwitchWarmSpareParams
NewUpdateDeviceSwitchWarmSpareParamsWithHTTPClient creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSwitchWarmSpareParamsWithTimeout ¶
func NewUpdateDeviceSwitchWarmSpareParamsWithTimeout(timeout time.Duration) *UpdateDeviceSwitchWarmSpareParams
NewUpdateDeviceSwitchWarmSpareParamsWithTimeout creates a new UpdateDeviceSwitchWarmSpareParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSwitchWarmSpareParams) SetContext ¶
func (o *UpdateDeviceSwitchWarmSpareParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WithContext(ctx context.Context) *UpdateDeviceSwitchWarmSpareParams
WithContext adds the context to the update device switch warm spare params
func (*UpdateDeviceSwitchWarmSpareParams) WithDefaults ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WithDefaults() *UpdateDeviceSwitchWarmSpareParams
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 ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WithHTTPClient(client *http.Client) *UpdateDeviceSwitchWarmSpareParams
WithHTTPClient adds the HTTPClient to the update device switch warm spare params
func (*UpdateDeviceSwitchWarmSpareParams) WithSerial ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WithSerial(serial string) *UpdateDeviceSwitchWarmSpareParams
WithSerial adds the serial to the update device switch warm spare params
func (*UpdateDeviceSwitchWarmSpareParams) WithTimeout ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WithTimeout(timeout time.Duration) *UpdateDeviceSwitchWarmSpareParams
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 ¶
func (o *UpdateDeviceSwitchWarmSpareParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchAccessControlListsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateNetworkSwitchAccessControlListsOK ¶
type UpdateNetworkSwitchAccessControlListsOK struct {
Payload *UpdateNetworkSwitchAccessControlListsOKBody
}
UpdateNetworkSwitchAccessControlListsOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchAccessControlListsOK ¶
func NewUpdateNetworkSwitchAccessControlListsOK() *UpdateNetworkSwitchAccessControlListsOK
NewUpdateNetworkSwitchAccessControlListsOK creates a UpdateNetworkSwitchAccessControlListsOK with default headers values
func (*UpdateNetworkSwitchAccessControlListsOK) Code ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) Code() int
Code gets the status code for the update network switch access control lists o k response
func (*UpdateNetworkSwitchAccessControlListsOK) Error ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) Error() string
func (*UpdateNetworkSwitchAccessControlListsOK) GetPayload ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) GetPayload() *UpdateNetworkSwitchAccessControlListsOKBody
func (*UpdateNetworkSwitchAccessControlListsOK) IsClientError ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) IsClientError() bool
IsClientError returns true when this update network switch access control lists o k response has a 4xx status code
func (*UpdateNetworkSwitchAccessControlListsOK) IsCode ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) IsCode(code int) bool
IsCode returns true when this update network switch access control lists o k response a status code equal to that given
func (*UpdateNetworkSwitchAccessControlListsOK) IsRedirect ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) IsRedirect() bool
IsRedirect returns true when this update network switch access control lists o k response has a 3xx status code
func (*UpdateNetworkSwitchAccessControlListsOK) IsServerError ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) IsServerError() bool
IsServerError returns true when this update network switch access control lists o k response has a 5xx status code
func (*UpdateNetworkSwitchAccessControlListsOK) IsSuccess ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) IsSuccess() bool
IsSuccess returns true when this update network switch access control lists o k response has a 2xx status code
func (*UpdateNetworkSwitchAccessControlListsOK) String ¶
func (o *UpdateNetworkSwitchAccessControlListsOK) String() string
type UpdateNetworkSwitchAccessControlListsOKBody ¶
type UpdateNetworkSwitchAccessControlListsOKBody struct { // An ordered array of the access control list rules Rules []*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 `json:"rules"` }
UpdateNetworkSwitchAccessControlListsOKBody update network switch access control lists o k body swagger:model UpdateNetworkSwitchAccessControlListsOKBody
func (*UpdateNetworkSwitchAccessControlListsOKBody) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch access control lists o k body based on the context it is used
func (*UpdateNetworkSwitchAccessControlListsOKBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessControlListsOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 ¶
type UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 struct { // Description of the rule (optional) Comment string `json:"comment,omitempty"` // Destination IP address (in IP or CIDR notation) DstCidr string `json:"dstCidr,omitempty"` // Destination port DstPort string `json:"dstPort,omitempty"` // IP address version // Enum: [any ipv4 ipv6] IPVersion string `json:"ipVersion,omitempty"` // 'allow' or 'deny' traffic specified by this rule // Enum: [allow deny] Policy string `json:"policy,omitempty"` // The type of protocol // Enum: [any tcp udp] Protocol string `json:"protocol,omitempty"` // Source IP address (in IP or CIDR notation) SrcCidr string `json:"srcCidr,omitempty"` // Source port SrcPort string `json:"srcPort,omitempty"` // ncoming traffic VLAN Vlan string `json:"vlan,omitempty"` }
UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0 update network switch access control lists o k body rules items0 swagger:model UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0
func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access control lists o k body rules items0 based on context it is used
func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsOKBodyRulesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessControlListsParams ¶
type UpdateNetworkSwitchAccessControlListsParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchAccessControlLists. UpdateNetworkSwitchAccessControlLists UpdateNetworkSwitchAccessControlListsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchAccessControlListsParams contains all the parameters to send to the API endpoint
for the update network switch access control lists operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchAccessControlListsParams ¶
func NewUpdateNetworkSwitchAccessControlListsParams() *UpdateNetworkSwitchAccessControlListsParams
NewUpdateNetworkSwitchAccessControlListsParams creates a new UpdateNetworkSwitchAccessControlListsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchAccessControlListsParamsWithContext ¶
func NewUpdateNetworkSwitchAccessControlListsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessControlListsParams
NewUpdateNetworkSwitchAccessControlListsParamsWithContext creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessControlListsParams
NewUpdateNetworkSwitchAccessControlListsParamsWithHTTPClient creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout ¶
func NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessControlListsParams
NewUpdateNetworkSwitchAccessControlListsParamsWithTimeout creates a new UpdateNetworkSwitchAccessControlListsParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchAccessControlListsParams) SetContext ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch access control lists params
func (*UpdateNetworkSwitchAccessControlListsParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAccessControlListsParams
WithContext adds the context to the update network switch access control lists params
func (*UpdateNetworkSwitchAccessControlListsParams) WithDefaults ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WithDefaults() *UpdateNetworkSwitchAccessControlListsParams
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 ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessControlListsParams
WithHTTPClient adds the HTTPClient to the update network switch access control lists params
func (*UpdateNetworkSwitchAccessControlListsParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAccessControlListsParams
WithNetworkID adds the networkID to the update network switch access control lists params
func (*UpdateNetworkSwitchAccessControlListsParams) WithTimeout ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessControlListsParams
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 ¶
func (o *UpdateNetworkSwitchAccessControlListsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 ¶
type UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 struct { // Description of the rule (optional). Comment string `json:"comment,omitempty"` // Destination IP address (in IP or CIDR notation) or 'any'. // Required: true DstCidr *string `json:"dstCidr"` // Destination port. Must be in the range of 1-65535 or 'any'. Default is 'any'. DstPort string `json:"dstPort,omitempty"` // IP address version (must be 'any', 'ipv4' or 'ipv6'). Applicable only if network supports IPv6. Default value is 'ipv4'. // Enum: [any ipv4 ipv6] IPVersion string `json:"ipVersion,omitempty"` // 'allow' or 'deny' traffic specified by this rule. // Required: true // Enum: [allow deny] Policy *string `json:"policy"` // The type of protocol (must be 'tcp', 'udp', or 'any'). // Required: true // Enum: [any tcp udp] Protocol *string `json:"protocol"` // Source IP address (in IP or CIDR notation) or 'any'. // Required: true SrcCidr *string `json:"srcCidr"` // Source port. Must be in the range of 1-65535 or 'any'. Default is 'any'. SrcPort string `json:"srcPort,omitempty"` // Incoming traffic VLAN. Must be in the range of 1-4095 or 'any'. Default is 'any'. Vlan string `json:"vlan,omitempty"` }
UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0 update network switch access control lists params body rules items0 swagger:model UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0
func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access control lists params body rules items0 based on context it is used
func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessControlListsParamsBodyRulesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessControlListsReader ¶
type UpdateNetworkSwitchAccessControlListsReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchAccessControlListsReader is a Reader for the UpdateNetworkSwitchAccessControlLists structure.
func (*UpdateNetworkSwitchAccessControlListsReader) ReadResponse ¶
func (o *UpdateNetworkSwitchAccessControlListsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchAccessPolicyBody ¶
type UpdateNetworkSwitchAccessPolicyBody struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode string `json:"hostMode,omitempty"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy Name string `json:"name,omitempty"` // radius Radius *UpdateNetworkSwitchAccessPolicyParamsBodyRadius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access RadiusServers []*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"` // Enable to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
UpdateNetworkSwitchAccessPolicyBody update network switch access policy body // Example: {"accessPolicyType":"Hybrid authentication","dot1x":{"controlDirection":"inbound"},"guestPortBouncing":false,"guestVlanId":100,"hostMode":"Single-Host","increaseAccessSpeed":false,"name":"Access policy #1","radius":{"criticalAuth":{"dataVlanId":100,"suspendPortBounce":true,"voiceVlanId":100},"failedAuthVlanId":100,"reAuthenticationInterval":120},"radiusAccountingEnabled":true,"radiusAccountingServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusCoaSupportEnabled":false,"radiusGroupAttribute":"11","radiusServers":[{"host":"1.2.3.4","port":22,"secret":"secret"}],"radiusTestingEnabled":false,"urlRedirectWalledGardenEnabled":true,"urlRedirectWalledGardenRanges":["192.168.1.0/24"],"voiceVlanClients":true} swagger:model UpdateNetworkSwitchAccessPolicyBody
func (*UpdateNetworkSwitchAccessPolicyBody) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch access policy body based on the context it is used
func (*UpdateNetworkSwitchAccessPolicyBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyOK ¶
type UpdateNetworkSwitchAccessPolicyOK struct {
Payload *UpdateNetworkSwitchAccessPolicyOKBody
}
UpdateNetworkSwitchAccessPolicyOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchAccessPolicyOK ¶
func NewUpdateNetworkSwitchAccessPolicyOK() *UpdateNetworkSwitchAccessPolicyOK
NewUpdateNetworkSwitchAccessPolicyOK creates a UpdateNetworkSwitchAccessPolicyOK with default headers values
func (*UpdateNetworkSwitchAccessPolicyOK) Code ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) Code() int
Code gets the status code for the update network switch access policy o k response
func (*UpdateNetworkSwitchAccessPolicyOK) Error ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) Error() string
func (*UpdateNetworkSwitchAccessPolicyOK) GetPayload ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) GetPayload() *UpdateNetworkSwitchAccessPolicyOKBody
func (*UpdateNetworkSwitchAccessPolicyOK) IsClientError ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) IsClientError() bool
IsClientError returns true when this update network switch access policy o k response has a 4xx status code
func (*UpdateNetworkSwitchAccessPolicyOK) IsCode ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) IsCode(code int) bool
IsCode returns true when this update network switch access policy o k response a status code equal to that given
func (*UpdateNetworkSwitchAccessPolicyOK) IsRedirect ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) IsRedirect() bool
IsRedirect returns true when this update network switch access policy o k response has a 3xx status code
func (*UpdateNetworkSwitchAccessPolicyOK) IsServerError ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) IsServerError() bool
IsServerError returns true when this update network switch access policy o k response has a 5xx status code
func (*UpdateNetworkSwitchAccessPolicyOK) IsSuccess ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) IsSuccess() bool
IsSuccess returns true when this update network switch access policy o k response has a 2xx status code
func (*UpdateNetworkSwitchAccessPolicyOK) String ¶
func (o *UpdateNetworkSwitchAccessPolicyOK) String() string
type UpdateNetworkSwitchAccessPolicyOKBody ¶
type UpdateNetworkSwitchAccessPolicyOKBody struct { // Access Type of the policy. Automatically 'Hybrid authentication' when hostMode is 'Multi-Domain'. // Enum: [802.1x Hybrid authentication MAC authentication bypass] AccessPolicyType string `json:"accessPolicyType,omitempty"` // dot1x Dot1x *UpdateNetworkSwitchAccessPolicyOKBodyDot1x `json:"dot1x,omitempty"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers GuestPortBouncing bool `json:"guestPortBouncing,omitempty"` // ID for the guest VLAN allow unauthorized devices access to limited network resources GuestVlanID int64 `json:"guestVlanId,omitempty"` // Choose the Host Mode for the access policy. // Enum: [Multi-Auth Multi-Domain Multi-Host Single-Host] HostMode string `json:"hostMode,omitempty"` // Enabling this option will make switches execute 802.1X and MAC-bypass authentication simultaneously so that clients authenticate faster. Only required when accessPolicyType is 'Hybrid Authentication. IncreaseAccessSpeed bool `json:"increaseAccessSpeed,omitempty"` // Name of the access policy Name string `json:"name,omitempty"` // radius Radius *UpdateNetworkSwitchAccessPolicyOKBodyRadius `json:"radius,omitempty"` // Enable to send start, interim-update and stop messages to a configured RADIUS accounting server for tracking connected clients RadiusAccountingEnabled bool `json:"radiusAccountingEnabled,omitempty"` // List of RADIUS accounting servers to require connecting devices to authenticate against before granting network access RadiusAccountingServers []*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 `json:"radiusAccountingServers"` // Change of authentication for RADIUS re-authentication and disconnection RadiusCoaSupportEnabled bool `json:"radiusCoaSupportEnabled,omitempty"` // Acceptable values are `""` for None, or `"11"` for Group Policies ACL RadiusGroupAttribute string `json:"radiusGroupAttribute,omitempty"` // List of RADIUS servers to require connecting devices to authenticate against before granting network access RadiusServers []*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 `json:"radiusServers"` // If enabled, Meraki devices will periodically send access-request messages to these RADIUS servers RadiusTestingEnabled bool `json:"radiusTestingEnabled,omitempty"` // Enable to restrict access for clients to a response_objectific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenEnabled bool `json:"urlRedirectWalledGardenEnabled,omitempty"` // IP address ranges, in CIDR notation, to restrict access for clients to a specific set of IP addresses or hostnames prior to authentication URLRedirectWalledGardenRanges []string `json:"urlRedirectWalledGardenRanges"` // CDP/LLDP capable voice clients will be able to use this VLAN. Automatically true when hostMode is 'Multi-Domain'. VoiceVlanClients bool `json:"voiceVlanClients,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBody update network switch access policy o k body swagger:model UpdateNetworkSwitchAccessPolicyOKBody
func (*UpdateNetworkSwitchAccessPolicyOKBody) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch access policy o k body based on the context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyOKBodyDot1x ¶
type UpdateNetworkSwitchAccessPolicyOKBodyDot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBodyDot1x 802.1x Settings swagger:model UpdateNetworkSwitchAccessPolicyOKBodyDot1x
func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy o k body dot1x based on context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyDot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyOKBodyRadius ¶
type UpdateNetworkSwitchAccessPolicyOKBodyRadius struct { // critical auth CriticalAuth *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBodyRadius Object for RADIUS Settings swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadius
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch access policy o k body radius based on the context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 ¶
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 struct { // Public IP address of the RADIUS accounting server Host string `json:"host,omitempty"` // UDP port that the RADIUS Accounting server listens on for access requests Port int64 `json:"port,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0 update network switch access policy o k body radius accounting servers items0 swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy o k body radius accounting servers items0 based on context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
Validate validates this update network switch access policy o k body radius accounting servers items0
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth ¶
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth struct { // VLAN that clients who use data will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth DataVlanID int64 `json:"dataVlanId,omitempty"` // Enable to suspend port bounce when RADIUS servers are unreachable SuspendPortBounce bool `json:"suspendPortBounce,omitempty"` // VLAN that clients who use voice will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth VoiceVlanID int64 `json:"voiceVlanId,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth Critical auth settings for when authentication is rejected by the RADIUS server swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy o k body radius critical auth based on context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 ¶
type UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 struct { // Public IP address of the RADIUS server Host string `json:"host,omitempty"` // UDP port that the RADIUS server listens on for access requests Port int64 `json:"port,omitempty"` }
UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0 update network switch access policy o k body radius servers items0 swagger:model UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy o k body radius servers items0 based on context it is used
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyOKBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyParams ¶
type UpdateNetworkSwitchAccessPolicyParams struct { /* AccessPolicyNumber. Access policy number */ AccessPolicyNumber string /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchAccessPolicy. UpdateNetworkSwitchAccessPolicy UpdateNetworkSwitchAccessPolicyBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchAccessPolicyParams contains all the parameters to send to the API endpoint
for the update network switch access policy operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchAccessPolicyParams ¶
func NewUpdateNetworkSwitchAccessPolicyParams() *UpdateNetworkSwitchAccessPolicyParams
NewUpdateNetworkSwitchAccessPolicyParams creates a new UpdateNetworkSwitchAccessPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchAccessPolicyParamsWithContext ¶
func NewUpdateNetworkSwitchAccessPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAccessPolicyParams
NewUpdateNetworkSwitchAccessPolicyParamsWithContext creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessPolicyParams
NewUpdateNetworkSwitchAccessPolicyParamsWithHTTPClient creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout ¶
func NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessPolicyParams
NewUpdateNetworkSwitchAccessPolicyParamsWithTimeout creates a new UpdateNetworkSwitchAccessPolicyParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) SetAccessPolicyNumber(accessPolicyNumber string)
SetAccessPolicyNumber adds the accessPolicyNumber to the update network switch access policy params
func (*UpdateNetworkSwitchAccessPolicyParams) SetContext ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAccessPolicyParams
WithContext adds the context to the update network switch access policy params
func (*UpdateNetworkSwitchAccessPolicyParams) WithDefaults ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WithDefaults() *UpdateNetworkSwitchAccessPolicyParams
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAccessPolicyParams
WithHTTPClient adds the HTTPClient to the update network switch access policy params
func (*UpdateNetworkSwitchAccessPolicyParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAccessPolicyParams
WithNetworkID adds the networkID to the update network switch access policy params
func (*UpdateNetworkSwitchAccessPolicyParams) WithTimeout ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAccessPolicyParams
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchAccessPolicyParamsBodyDot1x ¶
type UpdateNetworkSwitchAccessPolicyParamsBodyDot1x struct { // Supports either 'both' or 'inbound'. Set to 'inbound' to allow unauthorized egress on the switchport. Set to 'both' to control both traffic directions with authorization. Defaults to 'both' // Enum: [both inbound] ControlDirection string `json:"controlDirection,omitempty"` }
UpdateNetworkSwitchAccessPolicyParamsBodyDot1x 802.1x Settings swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyDot1x
func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy params body dot1x based on context it is used
func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyDot1x) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyParamsBodyRadius ¶
type UpdateNetworkSwitchAccessPolicyParamsBodyRadius struct { // critical auth CriticalAuth *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth `json:"criticalAuth,omitempty"` // VLAN that clients will be placed on when RADIUS authentication fails. Will be null if hostMode is Multi-Auth FailedAuthVlanID int64 `json:"failedAuthVlanId,omitempty"` // Re-authentication period in seconds. Will be null if hostMode is Multi-Auth ReAuthenticationInterval int64 `json:"reAuthenticationInterval,omitempty"` }
UpdateNetworkSwitchAccessPolicyParamsBodyRadius Object for RADIUS Settings swagger:model UpdateNetworkSwitchAccessPolicyParamsBodyRadius
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch access policy params body radius based on the context it is used
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadius) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy params body radius accounting servers items0 based on context it is used
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusAccountingServersItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy params body radius critical auth based on context it is used
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusCriticalAuth) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch access policy params body radius servers items0 based on context it is used
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAccessPolicyParamsBodyRadiusServersItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAccessPolicyReader ¶
type UpdateNetworkSwitchAccessPolicyReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchAccessPolicyReader is a Reader for the UpdateNetworkSwitchAccessPolicy structure.
func (*UpdateNetworkSwitchAccessPolicyReader) ReadResponse ¶
func (o *UpdateNetworkSwitchAccessPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchAlternateManagementInterfaceBody ¶
type UpdateNetworkSwitchAlternateManagementInterfaceBody struct { // Boolean value to enable or disable AMI configuration. If enabled, VLAN and protocols must be set Enabled bool `json:"enabled,omitempty"` // Can be one or more of the following values: 'radius', 'snmp' or 'syslog' Protocols []string `json:"protocols"` // Array of switch serial number and IP assignment. If parameter is present, it cannot have empty body. Note: switches parameter is not applicable for template networks, in other words, do not put 'switches' in the body when updating template networks. Also, an empty 'switches' array will remove all previous assignments Switches []*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 `json:"switches"` // Alternate management VLAN, must be between 1 and 4094 VlanID int64 `json:"vlanId,omitempty"` }
UpdateNetworkSwitchAlternateManagementInterfaceBody update network switch alternate management interface body // Example: {"enabled":true,"protocols":["radius","snmp","syslog"],"switches":[{"alternateManagementIp":"1.2.3.4","gateway":"1.2.3.5","serial":"Q234-ABCD-5678","subnetMask":"255.255.255.0"}],"vlanId":100} swagger:model UpdateNetworkSwitchAlternateManagementInterfaceBody
func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) ContextValidate ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch alternate management interface body based on the context it is used
func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAlternateManagementInterfaceBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchAlternateManagementInterfaceOK ¶
type UpdateNetworkSwitchAlternateManagementInterfaceOK struct {
Payload interface{}
}
UpdateNetworkSwitchAlternateManagementInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchAlternateManagementInterfaceOK ¶
func NewUpdateNetworkSwitchAlternateManagementInterfaceOK() *UpdateNetworkSwitchAlternateManagementInterfaceOK
NewUpdateNetworkSwitchAlternateManagementInterfaceOK creates a UpdateNetworkSwitchAlternateManagementInterfaceOK with default headers values
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) Code ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) Code() int
Code gets the status code for the update network switch alternate management interface o k response
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) Error ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) Error() string
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) GetPayload() interface{}
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsClientError ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsClientError() bool
IsClientError returns true when this update network switch alternate management interface o k response has a 4xx status code
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsCode ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsCode(code int) bool
IsCode returns true when this update network switch alternate management interface o k response a status code equal to that given
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsRedirect ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsRedirect() bool
IsRedirect returns true when this update network switch alternate management interface o k response has a 3xx status code
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsServerError ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsServerError() bool
IsServerError returns true when this update network switch alternate management interface o k response has a 5xx status code
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) IsSuccess ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) IsSuccess() bool
IsSuccess returns true when this update network switch alternate management interface o k response has a 2xx status code
func (*UpdateNetworkSwitchAlternateManagementInterfaceOK) String ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceOK) String() string
type UpdateNetworkSwitchAlternateManagementInterfaceParams ¶
type UpdateNetworkSwitchAlternateManagementInterfaceParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchAlternateManagementInterface. UpdateNetworkSwitchAlternateManagementInterface UpdateNetworkSwitchAlternateManagementInterfaceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchAlternateManagementInterfaceParams contains all the parameters to send to the API endpoint
for the update network switch alternate management interface operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchAlternateManagementInterfaceParams ¶
func NewUpdateNetworkSwitchAlternateManagementInterfaceParams() *UpdateNetworkSwitchAlternateManagementInterfaceParams
NewUpdateNetworkSwitchAlternateManagementInterfaceParams creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext ¶
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchAlternateManagementInterfaceParams
NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithContext creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchAlternateManagementInterfaceParams
NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithHTTPClient creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout ¶
func NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchAlternateManagementInterfaceParams
NewUpdateNetworkSwitchAlternateManagementInterfaceParamsWithTimeout creates a new UpdateNetworkSwitchAlternateManagementInterfaceParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetContext ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) SetTimeout ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithContext(ctx context.Context) *UpdateNetworkSwitchAlternateManagementInterfaceParams
WithContext adds the context to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithDefaults ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithDefaults() *UpdateNetworkSwitchAlternateManagementInterfaceParams
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 ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchAlternateManagementInterfaceParams
WithHTTPClient adds the HTTPClient to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithNetworkID(networkID string) *UpdateNetworkSwitchAlternateManagementInterfaceParams
WithNetworkID adds the networkID to the update network switch alternate management interface params
func (*UpdateNetworkSwitchAlternateManagementInterfaceParams) WithTimeout ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchAlternateManagementInterfaceParams
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 ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 ¶
type UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 struct { // Switch alternative management IP. To remove a prior IP setting, provide an empty string // Required: true AlternateManagementIP *string `json:"alternateManagementIp"` // Switch gateway must be in IP format. Only and must be specified for Polaris switches Gateway string `json:"gateway,omitempty"` // Switch serial number // Required: true Serial *string `json:"serial"` // Switch subnet mask must be in IP format. Only and must be specified for Polaris switches SubnetMask string `json:"subnetMask,omitempty"` }
UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0 update network switch alternate management interface params body switches items0 swagger:model UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0
func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch alternate management interface params body switches items0 based on context it is used
func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) Validate ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceParamsBodySwitchesItems0) Validate(formats strfmt.Registry) error
Validate validates this update network switch alternate management interface params body switches items0
type UpdateNetworkSwitchAlternateManagementInterfaceReader ¶
type UpdateNetworkSwitchAlternateManagementInterfaceReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchAlternateManagementInterfaceReader is a Reader for the UpdateNetworkSwitchAlternateManagementInterface structure.
func (*UpdateNetworkSwitchAlternateManagementInterfaceReader) ReadResponse ¶
func (o *UpdateNetworkSwitchAlternateManagementInterfaceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody struct { // ipv4 IPV4 *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 `json:"ipv4,omitempty"` // The updated mac address of the trusted server Mac string `json:"mac,omitempty"` // The updated VLAN of the trusted server. It must be between 1 and 4094 Vlan int64 `json:"vlan,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody update network switch dhcp server policy arp inspection trusted server body // Example: {"ipv4":{"address":"1.2.3.4"},"mac":"00:11:22:33:44:55","vlan":100} swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch dhcp server policy arp inspection trusted server body based on the context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) Validate(formats strfmt.Registry) error
Validate validates this update network switch dhcp server policy arp inspection trusted server body
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK struct {
Payload *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody
}
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK ¶
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK
NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK creates a UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK with default headers values
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Code ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Code() int
Code gets the status code for the update network switch dhcp server policy arp inspection trusted server o k response
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Error ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) Error() string
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) GetPayload ¶
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsClientError ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsClientError() bool
IsClientError returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 4xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsCode ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsCode(code int) bool
IsCode returns true when this update network switch dhcp server policy arp inspection trusted server o k response a status code equal to that given
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsRedirect ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsRedirect() bool
IsRedirect returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 3xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsServerError ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsServerError() bool
IsServerError returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 5xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsSuccess ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) IsSuccess() bool
IsSuccess returns true when this update network switch dhcp server policy arp inspection trusted server o k response has a 2xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) String ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOK) String() string
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody struct { // ipv4 IPV4 *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 `json:"ipv4,omitempty"` // Mac address of the trusted server. Mac string `json:"mac,omitempty"` // ID of the trusted server. TrustedServerID string `json:"trustedServerId,omitempty"` // Vlan ID of the trusted server. Vlan int64 `json:"vlan,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody update network switch dhcp server policy arp inspection trusted server o k body swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch dhcp server policy arp inspection trusted server o k body based on the context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) Validate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBody) Validate(formats strfmt.Registry) error
Validate validates this update network switch dhcp server policy arp inspection trusted server o k body
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 struct { // IPv4 address of the trusted server. Address string `json:"address,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4 IPv4 attributes of the trusted server. swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch dhcp server policy arp inspection trusted server o k body IP v4 based on context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) Validate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerOKBodyIPV4) Validate(formats strfmt.Registry) error
Validate validates this update network switch dhcp server policy arp inspection trusted server o k body IP v4
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams struct { /* NetworkID. Network ID */ NetworkID string /* TrustedServerID. Trusted server ID */ TrustedServerID string // UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer. UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams contains all the parameters to send to the API endpoint
for the update network switch dhcp server policy arp inspection trusted server operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams ¶
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext ¶
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithContext creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithHTTPClient creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout ¶
func NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
NewUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsWithTimeout creates a new UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetDefaults()
SetDefaults hydrates default values in the update network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetTrustedServerID(trustedServerID string)
SetTrustedServerID adds the trustedServerId to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody)
SetUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithContext adds the context to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithDefaults() *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithDefaults hydrates default values in the update network switch dhcp server policy arp inspection trusted server params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithHTTPClient adds the HTTPClient to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithNetworkID adds the networkID to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithTimeout adds the timeout to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithTrustedServerID(trustedServerID string) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithTrustedServerID adds the trustedServerID to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer(updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerBody) *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams
WithUpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer adds the updateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer to the update network switch dhcp server policy arp inspection trusted server params
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 struct { // The updated IPv4 address of the trusted server Address string `json:"address,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4 The updated IPv4 attributes of the trusted server swagger:model UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch dhcp server policy arp inspection trusted server params body IP v4 based on context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerParamsBodyIPV4) Validate(formats strfmt.Registry) error
Validate validates this update network switch dhcp server policy arp inspection trusted server params body IP v4
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader ¶
type UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader is a Reader for the UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServer structure.
func (*UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchDhcpServerPolicyBody ¶
type UpdateNetworkSwitchDhcpServerPolicyBody struct { // alerts Alerts *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts `json:"alerts,omitempty"` // List the MAC addresses of DHCP servers to permit on the network when defaultPolicy is set to block. An empty array will clear the entries. AllowedServers []string `json:"allowedServers"` // arp inspection ArpInspection *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection `json:"arpInspection,omitempty"` // List the MAC addresses of DHCP servers to block on the network when defaultPolicy is set to allow. An empty array will clear the entries. BlockedServers []string `json:"blockedServers"` // 'allow' or 'block' new DHCP servers. Default value is 'allow'. // Enum: [allow block] DefaultPolicy string `json:"defaultPolicy,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyBody update network switch dhcp server policy body // Example: {"alerts":{"email":{"enabled":true}},"allowedServers":["00:50:56:00:00:01","00:50:56:00:00:02"],"arpInspection":{"enabled":true},"blockedServers":["00:50:56:00:00:03","00:50:56:00:00:04"],"defaultPolicy":"block"} swagger:model UpdateNetworkSwitchDhcpServerPolicyBody
func (*UpdateNetworkSwitchDhcpServerPolicyBody) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch dhcp server policy body based on the context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchDhcpServerPolicyOK ¶
type UpdateNetworkSwitchDhcpServerPolicyOK struct {
Payload interface{}
}
UpdateNetworkSwitchDhcpServerPolicyOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchDhcpServerPolicyOK ¶
func NewUpdateNetworkSwitchDhcpServerPolicyOK() *UpdateNetworkSwitchDhcpServerPolicyOK
NewUpdateNetworkSwitchDhcpServerPolicyOK creates a UpdateNetworkSwitchDhcpServerPolicyOK with default headers values
func (*UpdateNetworkSwitchDhcpServerPolicyOK) Code ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) Code() int
Code gets the status code for the update network switch dhcp server policy o k response
func (*UpdateNetworkSwitchDhcpServerPolicyOK) Error ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) Error() string
func (*UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) GetPayload() interface{}
func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsClientError ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsClientError() bool
IsClientError returns true when this update network switch dhcp server policy o k response has a 4xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsCode ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsCode(code int) bool
IsCode returns true when this update network switch dhcp server policy o k response a status code equal to that given
func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsRedirect ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsRedirect() bool
IsRedirect returns true when this update network switch dhcp server policy o k response has a 3xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsServerError ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsServerError() bool
IsServerError returns true when this update network switch dhcp server policy o k response has a 5xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyOK) IsSuccess ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) IsSuccess() bool
IsSuccess returns true when this update network switch dhcp server policy o k response has a 2xx status code
func (*UpdateNetworkSwitchDhcpServerPolicyOK) String ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyOK) String() string
type UpdateNetworkSwitchDhcpServerPolicyParams ¶
type UpdateNetworkSwitchDhcpServerPolicyParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchDhcpServerPolicy. UpdateNetworkSwitchDhcpServerPolicy UpdateNetworkSwitchDhcpServerPolicyBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchDhcpServerPolicyParams contains all the parameters to send to the API endpoint
for the update network switch dhcp server policy operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchDhcpServerPolicyParams ¶
func NewUpdateNetworkSwitchDhcpServerPolicyParams() *UpdateNetworkSwitchDhcpServerPolicyParams
NewUpdateNetworkSwitchDhcpServerPolicyParams creates a new UpdateNetworkSwitchDhcpServerPolicyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext ¶
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyParams
NewUpdateNetworkSwitchDhcpServerPolicyParamsWithContext creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyParams
NewUpdateNetworkSwitchDhcpServerPolicyParamsWithHTTPClient creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout ¶
func NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyParams
NewUpdateNetworkSwitchDhcpServerPolicyParamsWithTimeout creates a new UpdateNetworkSwitchDhcpServerPolicyParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetContext ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch dhcp server policy params
func (*UpdateNetworkSwitchDhcpServerPolicyParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDhcpServerPolicyParams
WithContext adds the context to the update network switch dhcp server policy params
func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithDefaults ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithDefaults() *UpdateNetworkSwitchDhcpServerPolicyParams
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 ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDhcpServerPolicyParams
WithHTTPClient adds the HTTPClient to the update network switch dhcp server policy params
func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDhcpServerPolicyParams
WithNetworkID adds the networkID to the update network switch dhcp server policy params
func (*UpdateNetworkSwitchDhcpServerPolicyParams) WithTimeout ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDhcpServerPolicyParams
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 ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts ¶
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts struct { // email Email *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail `json:"email,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts Alert settings for DHCP servers swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch dhcp server policy params body alerts based on the context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlerts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail ¶
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail struct { // When enabled, send an email if a new DHCP server is seen. Default value is false. Enabled bool `json:"enabled,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail Email alert settings for DHCP servers swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch dhcp server policy params body alerts email based on context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyAlertsEmail) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection ¶
type UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection struct { // Enable or disable Dynamic ARP Inspection on the network. Default value is false. Enabled bool `json:"enabled,omitempty"` }
UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection Dynamic ARP Inspection settings swagger:model UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) ContextValidate ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch dhcp server policy params body arp inspection based on context it is used
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) MarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDhcpServerPolicyParamsBodyArpInspection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateNetworkSwitchDscpToCosMappingsOK ¶
type UpdateNetworkSwitchDscpToCosMappingsOK struct {
Payload interface{}
}
UpdateNetworkSwitchDscpToCosMappingsOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchDscpToCosMappingsOK ¶
func NewUpdateNetworkSwitchDscpToCosMappingsOK() *UpdateNetworkSwitchDscpToCosMappingsOK
NewUpdateNetworkSwitchDscpToCosMappingsOK creates a UpdateNetworkSwitchDscpToCosMappingsOK with default headers values
func (*UpdateNetworkSwitchDscpToCosMappingsOK) Code ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) Code() int
Code gets the status code for the update network switch dscp to cos mappings o k response
func (*UpdateNetworkSwitchDscpToCosMappingsOK) Error ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) Error() string
func (*UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) GetPayload() interface{}
func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsClientError ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsClientError() bool
IsClientError returns true when this update network switch dscp to cos mappings o k response has a 4xx status code
func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsCode ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsCode(code int) bool
IsCode returns true when this update network switch dscp to cos mappings o k response a status code equal to that given
func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsRedirect ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsRedirect() bool
IsRedirect returns true when this update network switch dscp to cos mappings o k response has a 3xx status code
func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsServerError ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsServerError() bool
IsServerError returns true when this update network switch dscp to cos mappings o k response has a 5xx status code
func (*UpdateNetworkSwitchDscpToCosMappingsOK) IsSuccess ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) IsSuccess() bool
IsSuccess returns true when this update network switch dscp to cos mappings o k response has a 2xx status code
func (*UpdateNetworkSwitchDscpToCosMappingsOK) String ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsOK) String() string
type UpdateNetworkSwitchDscpToCosMappingsParams ¶
type UpdateNetworkSwitchDscpToCosMappingsParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchDscpToCosMappings. UpdateNetworkSwitchDscpToCosMappings UpdateNetworkSwitchDscpToCosMappingsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchDscpToCosMappingsParams contains all the parameters to send to the API endpoint
for the update network switch dscp to cos mappings operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchDscpToCosMappingsParams ¶
func NewUpdateNetworkSwitchDscpToCosMappingsParams() *UpdateNetworkSwitchDscpToCosMappingsParams
NewUpdateNetworkSwitchDscpToCosMappingsParams creates a new UpdateNetworkSwitchDscpToCosMappingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext ¶
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchDscpToCosMappingsParams
NewUpdateNetworkSwitchDscpToCosMappingsParamsWithContext creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchDscpToCosMappingsParams
NewUpdateNetworkSwitchDscpToCosMappingsParamsWithHTTPClient creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout ¶
func NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchDscpToCosMappingsParams
NewUpdateNetworkSwitchDscpToCosMappingsParamsWithTimeout creates a new UpdateNetworkSwitchDscpToCosMappingsParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetContext ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch dscp to cos mappings params
func (*UpdateNetworkSwitchDscpToCosMappingsParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchDscpToCosMappingsParams
WithContext adds the context to the update network switch dscp to cos mappings params
func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithDefaults ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithDefaults() *UpdateNetworkSwitchDscpToCosMappingsParams
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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchDscpToCosMappingsParams
WithHTTPClient adds the HTTPClient to the update network switch dscp to cos mappings params
func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchDscpToCosMappingsParams
WithNetworkID adds the networkID to the update network switch dscp to cos mappings params
func (*UpdateNetworkSwitchDscpToCosMappingsParams) WithTimeout ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchDscpToCosMappingsParams
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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch dscp to cos mappings params body mappings items0 based on context it is used
func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchDscpToCosMappingsParamsBodyMappingsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateNetworkSwitchLinkAggregationOK ¶
type UpdateNetworkSwitchLinkAggregationOK struct {
Payload interface{}
}
UpdateNetworkSwitchLinkAggregationOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchLinkAggregationOK ¶
func NewUpdateNetworkSwitchLinkAggregationOK() *UpdateNetworkSwitchLinkAggregationOK
NewUpdateNetworkSwitchLinkAggregationOK creates a UpdateNetworkSwitchLinkAggregationOK with default headers values
func (*UpdateNetworkSwitchLinkAggregationOK) Code ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) Code() int
Code gets the status code for the update network switch link aggregation o k response
func (*UpdateNetworkSwitchLinkAggregationOK) Error ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) Error() string
func (*UpdateNetworkSwitchLinkAggregationOK) GetPayload ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) GetPayload() interface{}
func (*UpdateNetworkSwitchLinkAggregationOK) IsClientError ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) IsClientError() bool
IsClientError returns true when this update network switch link aggregation o k response has a 4xx status code
func (*UpdateNetworkSwitchLinkAggregationOK) IsCode ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) IsCode(code int) bool
IsCode returns true when this update network switch link aggregation o k response a status code equal to that given
func (*UpdateNetworkSwitchLinkAggregationOK) IsRedirect ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) IsRedirect() bool
IsRedirect returns true when this update network switch link aggregation o k response has a 3xx status code
func (*UpdateNetworkSwitchLinkAggregationOK) IsServerError ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) IsServerError() bool
IsServerError returns true when this update network switch link aggregation o k response has a 5xx status code
func (*UpdateNetworkSwitchLinkAggregationOK) IsSuccess ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) IsSuccess() bool
IsSuccess returns true when this update network switch link aggregation o k response has a 2xx status code
func (*UpdateNetworkSwitchLinkAggregationOK) String ¶
func (o *UpdateNetworkSwitchLinkAggregationOK) String() string
type UpdateNetworkSwitchLinkAggregationParams ¶
type UpdateNetworkSwitchLinkAggregationParams struct { /* LinkAggregationID. Link aggregation ID */ LinkAggregationID string /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchLinkAggregation. UpdateNetworkSwitchLinkAggregation UpdateNetworkSwitchLinkAggregationBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchLinkAggregationParams contains all the parameters to send to the API endpoint
for the update network switch link aggregation operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchLinkAggregationParams ¶
func NewUpdateNetworkSwitchLinkAggregationParams() *UpdateNetworkSwitchLinkAggregationParams
NewUpdateNetworkSwitchLinkAggregationParams creates a new UpdateNetworkSwitchLinkAggregationParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchLinkAggregationParamsWithContext ¶
func NewUpdateNetworkSwitchLinkAggregationParamsWithContext(ctx context.Context) *UpdateNetworkSwitchLinkAggregationParams
NewUpdateNetworkSwitchLinkAggregationParamsWithContext creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchLinkAggregationParams
NewUpdateNetworkSwitchLinkAggregationParamsWithHTTPClient creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout ¶
func NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchLinkAggregationParams
NewUpdateNetworkSwitchLinkAggregationParamsWithTimeout creates a new UpdateNetworkSwitchLinkAggregationParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchLinkAggregationParams) SetContext ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch link aggregation params
func (*UpdateNetworkSwitchLinkAggregationParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithContext(ctx context.Context) *UpdateNetworkSwitchLinkAggregationParams
WithContext adds the context to the update network switch link aggregation params
func (*UpdateNetworkSwitchLinkAggregationParams) WithDefaults ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithDefaults() *UpdateNetworkSwitchLinkAggregationParams
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchLinkAggregationParams
WithHTTPClient adds the HTTPClient to the update network switch link aggregation params
func (*UpdateNetworkSwitchLinkAggregationParams) WithLinkAggregationID ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithLinkAggregationID(linkAggregationID string) *UpdateNetworkSwitchLinkAggregationParams
WithLinkAggregationID adds the linkAggregationID to the update network switch link aggregation params
func (*UpdateNetworkSwitchLinkAggregationParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithNetworkID(networkID string) *UpdateNetworkSwitchLinkAggregationParams
WithNetworkID adds the networkID to the update network switch link aggregation params
func (*UpdateNetworkSwitchLinkAggregationParams) WithTimeout ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchLinkAggregationParams
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch link aggregation params body switch ports items0 based on context it is used
func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchPortsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch link aggregation params body switch profile ports items0 based on context it is used
func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate ¶
func (o *UpdateNetworkSwitchLinkAggregationParamsBodySwitchProfilePortsItems0) Validate(formats strfmt.Registry) error
Validate validates this update network switch link aggregation params body switch profile ports items0
type UpdateNetworkSwitchLinkAggregationReader ¶
type UpdateNetworkSwitchLinkAggregationReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchLinkAggregationReader is a Reader for the UpdateNetworkSwitchLinkAggregation structure.
func (*UpdateNetworkSwitchLinkAggregationReader) ReadResponse ¶
func (o *UpdateNetworkSwitchLinkAggregationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchMtuBody ¶
type UpdateNetworkSwitchMtuBody struct { // MTU size for the entire network. Default value is 9578. DefaultMtuSize int64 `json:"defaultMtuSize,omitempty"` // Override MTU size for individual switches or switch templates. An empty array will clear overrides. Overrides []*UpdateNetworkSwitchMtuParamsBodyOverridesItems0 `json:"overrides"` }
UpdateNetworkSwitchMtuBody update network switch mtu body // Example: {"defaultMtuSize":9578,"overrides":[{"mtuSize":1500,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"mtuSize":1600,"switchProfiles":["1284392014819","2983092129865"]}]} swagger:model UpdateNetworkSwitchMtuBody
func (*UpdateNetworkSwitchMtuBody) ContextValidate ¶
func (o *UpdateNetworkSwitchMtuBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch mtu body based on the context it is used
func (*UpdateNetworkSwitchMtuBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchMtuBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchMtuBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchMtuBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchMtuOK ¶
type UpdateNetworkSwitchMtuOK struct {
Payload interface{}
}
UpdateNetworkSwitchMtuOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchMtuOK ¶
func NewUpdateNetworkSwitchMtuOK() *UpdateNetworkSwitchMtuOK
NewUpdateNetworkSwitchMtuOK creates a UpdateNetworkSwitchMtuOK with default headers values
func (*UpdateNetworkSwitchMtuOK) Code ¶
func (o *UpdateNetworkSwitchMtuOK) Code() int
Code gets the status code for the update network switch mtu o k response
func (*UpdateNetworkSwitchMtuOK) Error ¶
func (o *UpdateNetworkSwitchMtuOK) Error() string
func (*UpdateNetworkSwitchMtuOK) GetPayload ¶
func (o *UpdateNetworkSwitchMtuOK) GetPayload() interface{}
func (*UpdateNetworkSwitchMtuOK) IsClientError ¶
func (o *UpdateNetworkSwitchMtuOK) IsClientError() bool
IsClientError returns true when this update network switch mtu o k response has a 4xx status code
func (*UpdateNetworkSwitchMtuOK) IsCode ¶
func (o *UpdateNetworkSwitchMtuOK) IsCode(code int) bool
IsCode returns true when this update network switch mtu o k response a status code equal to that given
func (*UpdateNetworkSwitchMtuOK) IsRedirect ¶
func (o *UpdateNetworkSwitchMtuOK) IsRedirect() bool
IsRedirect returns true when this update network switch mtu o k response has a 3xx status code
func (*UpdateNetworkSwitchMtuOK) IsServerError ¶
func (o *UpdateNetworkSwitchMtuOK) IsServerError() bool
IsServerError returns true when this update network switch mtu o k response has a 5xx status code
func (*UpdateNetworkSwitchMtuOK) IsSuccess ¶
func (o *UpdateNetworkSwitchMtuOK) IsSuccess() bool
IsSuccess returns true when this update network switch mtu o k response has a 2xx status code
func (*UpdateNetworkSwitchMtuOK) String ¶
func (o *UpdateNetworkSwitchMtuOK) String() string
type UpdateNetworkSwitchMtuParams ¶
type UpdateNetworkSwitchMtuParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchMtu. UpdateNetworkSwitchMtu UpdateNetworkSwitchMtuBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchMtuParams contains all the parameters to send to the API endpoint
for the update network switch mtu operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchMtuParams ¶
func NewUpdateNetworkSwitchMtuParams() *UpdateNetworkSwitchMtuParams
NewUpdateNetworkSwitchMtuParams creates a new UpdateNetworkSwitchMtuParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchMtuParamsWithContext ¶
func NewUpdateNetworkSwitchMtuParamsWithContext(ctx context.Context) *UpdateNetworkSwitchMtuParams
NewUpdateNetworkSwitchMtuParamsWithContext creates a new UpdateNetworkSwitchMtuParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchMtuParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchMtuParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchMtuParams
NewUpdateNetworkSwitchMtuParamsWithHTTPClient creates a new UpdateNetworkSwitchMtuParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchMtuParamsWithTimeout ¶
func NewUpdateNetworkSwitchMtuParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchMtuParams
NewUpdateNetworkSwitchMtuParamsWithTimeout creates a new UpdateNetworkSwitchMtuParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchMtuParams) SetContext ¶
func (o *UpdateNetworkSwitchMtuParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) SetDefaults ¶
func (o *UpdateNetworkSwitchMtuParams) SetDefaults()
SetDefaults hydrates default values in the update network switch mtu params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSwitchMtuParams) SetHTTPClient ¶
func (o *UpdateNetworkSwitchMtuParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) SetNetworkID ¶
func (o *UpdateNetworkSwitchMtuParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) SetTimeout ¶
func (o *UpdateNetworkSwitchMtuParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) SetUpdateNetworkSwitchMtu ¶
func (o *UpdateNetworkSwitchMtuParams) SetUpdateNetworkSwitchMtu(updateNetworkSwitchMtu UpdateNetworkSwitchMtuBody)
SetUpdateNetworkSwitchMtu adds the updateNetworkSwitchMtu to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) WithContext ¶
func (o *UpdateNetworkSwitchMtuParams) WithContext(ctx context.Context) *UpdateNetworkSwitchMtuParams
WithContext adds the context to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) WithDefaults ¶
func (o *UpdateNetworkSwitchMtuParams) WithDefaults() *UpdateNetworkSwitchMtuParams
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 ¶
func (o *UpdateNetworkSwitchMtuParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchMtuParams
WithHTTPClient adds the HTTPClient to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchMtuParams) WithNetworkID(networkID string) *UpdateNetworkSwitchMtuParams
WithNetworkID adds the networkID to the update network switch mtu params
func (*UpdateNetworkSwitchMtuParams) WithTimeout ¶
func (o *UpdateNetworkSwitchMtuParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchMtuParams
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 ¶
func (o *UpdateNetworkSwitchMtuParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchMtuParamsBodyOverridesItems0 ¶
type UpdateNetworkSwitchMtuParamsBodyOverridesItems0 struct { // MTU size for the switches or switch templates. // Required: true MtuSize *int64 `json:"mtuSize"` // List of switch template IDs. Applicable only for template network. SwitchProfiles []string `json:"switchProfiles"` // List of switch serials. Applicable only for switch network. Switches []string `json:"switches"` }
UpdateNetworkSwitchMtuParamsBodyOverridesItems0 update network switch mtu params body overrides items0 swagger:model UpdateNetworkSwitchMtuParamsBodyOverridesItems0
func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch mtu params body overrides items0 based on context it is used
func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchMtuParamsBodyOverridesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchMtuParamsBodyOverridesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type UpdateNetworkSwitchPortScheduleOK ¶
type UpdateNetworkSwitchPortScheduleOK struct {
Payload *UpdateNetworkSwitchPortScheduleOKBody
}
UpdateNetworkSwitchPortScheduleOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchPortScheduleOK ¶
func NewUpdateNetworkSwitchPortScheduleOK() *UpdateNetworkSwitchPortScheduleOK
NewUpdateNetworkSwitchPortScheduleOK creates a UpdateNetworkSwitchPortScheduleOK with default headers values
func (*UpdateNetworkSwitchPortScheduleOK) Code ¶
func (o *UpdateNetworkSwitchPortScheduleOK) Code() int
Code gets the status code for the update network switch port schedule o k response
func (*UpdateNetworkSwitchPortScheduleOK) Error ¶
func (o *UpdateNetworkSwitchPortScheduleOK) Error() string
func (*UpdateNetworkSwitchPortScheduleOK) GetPayload ¶
func (o *UpdateNetworkSwitchPortScheduleOK) GetPayload() *UpdateNetworkSwitchPortScheduleOKBody
func (*UpdateNetworkSwitchPortScheduleOK) IsClientError ¶
func (o *UpdateNetworkSwitchPortScheduleOK) IsClientError() bool
IsClientError returns true when this update network switch port schedule o k response has a 4xx status code
func (*UpdateNetworkSwitchPortScheduleOK) IsCode ¶
func (o *UpdateNetworkSwitchPortScheduleOK) IsCode(code int) bool
IsCode returns true when this update network switch port schedule o k response a status code equal to that given
func (*UpdateNetworkSwitchPortScheduleOK) IsRedirect ¶
func (o *UpdateNetworkSwitchPortScheduleOK) IsRedirect() bool
IsRedirect returns true when this update network switch port schedule o k response has a 3xx status code
func (*UpdateNetworkSwitchPortScheduleOK) IsServerError ¶
func (o *UpdateNetworkSwitchPortScheduleOK) IsServerError() bool
IsServerError returns true when this update network switch port schedule o k response has a 5xx status code
func (*UpdateNetworkSwitchPortScheduleOK) IsSuccess ¶
func (o *UpdateNetworkSwitchPortScheduleOK) IsSuccess() bool
IsSuccess returns true when this update network switch port schedule o k response has a 2xx status code
func (*UpdateNetworkSwitchPortScheduleOK) String ¶
func (o *UpdateNetworkSwitchPortScheduleOK) String() string
type UpdateNetworkSwitchPortScheduleOKBody ¶
type UpdateNetworkSwitchPortScheduleOKBody struct { // Switch port schedule ID ID string `json:"id,omitempty"` // Switch port schedule name Name string `json:"name,omitempty"` // Network ID NetworkID string `json:"networkId,omitempty"` // port schedule PortSchedule *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule `json:"portSchedule,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBody update network switch port schedule o k body swagger:model UpdateNetworkSwitchPortScheduleOKBody
func (*UpdateNetworkSwitchPortScheduleOKBody) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch port schedule o k body based on the context it is used
func (*UpdateNetworkSwitchPortScheduleOKBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortSchedule ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortSchedule struct { // friday Friday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday `json:"friday,omitempty"` // monday Monday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday `json:"monday,omitempty"` // saturday Saturday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday `json:"saturday,omitempty"` // sunday Sunday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday `json:"sunday,omitempty"` // thursday Thursday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday `json:"thursday,omitempty"` // tuesday Tuesday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday `json:"tuesday,omitempty"` // wednesday Wednesday *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday `json:"wednesday,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortSchedule Port schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortSchedule
func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch port schedule o k body port schedule based on the context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday Friday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule friday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday Monday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule monday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday Saturday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule saturday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday Sunday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule sunday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday Thursday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule thursday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday Tuesday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule tuesday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday ¶
type UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday struct { // Whether the schedule is active or inactive Active bool `json:"active,omitempty"` // The time, from '00:00' to '24:00' From string `json:"from,omitempty"` // The time, from '00:00' to '24:00' To string `json:"to,omitempty"` }
UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday Wednesday schedule swagger:model UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) ContextValidate ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule o k body port schedule wednesday based on context it is used
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleOKBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchPortScheduleParams ¶
type UpdateNetworkSwitchPortScheduleParams struct { /* NetworkID. Network ID */ NetworkID string /* PortScheduleID. Port schedule ID */ PortScheduleID string // UpdateNetworkSwitchPortSchedule. UpdateNetworkSwitchPortSchedule UpdateNetworkSwitchPortScheduleBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchPortScheduleParams contains all the parameters to send to the API endpoint
for the update network switch port schedule operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchPortScheduleParams ¶
func NewUpdateNetworkSwitchPortScheduleParams() *UpdateNetworkSwitchPortScheduleParams
NewUpdateNetworkSwitchPortScheduleParams creates a new UpdateNetworkSwitchPortScheduleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchPortScheduleParamsWithContext ¶
func NewUpdateNetworkSwitchPortScheduleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
NewUpdateNetworkSwitchPortScheduleParamsWithContext creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
NewUpdateNetworkSwitchPortScheduleParamsWithHTTPClient creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout ¶
func NewUpdateNetworkSwitchPortScheduleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
NewUpdateNetworkSwitchPortScheduleParamsWithTimeout creates a new UpdateNetworkSwitchPortScheduleParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchPortScheduleParams) SetContext ¶
func (o *UpdateNetworkSwitchPortScheduleParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchPortScheduleParams
WithContext adds the context to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithDefaults ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithDefaults() *UpdateNetworkSwitchPortScheduleParams
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchPortScheduleParams
WithHTTPClient adds the HTTPClient to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchPortScheduleParams
WithNetworkID adds the networkID to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithPortScheduleID(portScheduleID string) *UpdateNetworkSwitchPortScheduleParams
WithPortScheduleID adds the portScheduleID to the update network switch port schedule params
func (*UpdateNetworkSwitchPortScheduleParams) WithTimeout ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchPortScheduleParams
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch port schedule params body port schedule based on the context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortSchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule friday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleFriday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule monday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleMonday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule saturday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSaturday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule sunday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleSunday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule thursday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleThursday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule tuesday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleTuesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch port schedule params body port schedule wednesday based on context it is used
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchPortScheduleParamsBodyPortScheduleWednesday) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type UpdateNetworkSwitchQosRuleOK ¶
type UpdateNetworkSwitchQosRuleOK struct {
Payload interface{}
}
UpdateNetworkSwitchQosRuleOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchQosRuleOK ¶
func NewUpdateNetworkSwitchQosRuleOK() *UpdateNetworkSwitchQosRuleOK
NewUpdateNetworkSwitchQosRuleOK creates a UpdateNetworkSwitchQosRuleOK with default headers values
func (*UpdateNetworkSwitchQosRuleOK) Code ¶
func (o *UpdateNetworkSwitchQosRuleOK) Code() int
Code gets the status code for the update network switch qos rule o k response
func (*UpdateNetworkSwitchQosRuleOK) Error ¶
func (o *UpdateNetworkSwitchQosRuleOK) Error() string
func (*UpdateNetworkSwitchQosRuleOK) GetPayload ¶
func (o *UpdateNetworkSwitchQosRuleOK) GetPayload() interface{}
func (*UpdateNetworkSwitchQosRuleOK) IsClientError ¶
func (o *UpdateNetworkSwitchQosRuleOK) IsClientError() bool
IsClientError returns true when this update network switch qos rule o k response has a 4xx status code
func (*UpdateNetworkSwitchQosRuleOK) IsCode ¶
func (o *UpdateNetworkSwitchQosRuleOK) IsCode(code int) bool
IsCode returns true when this update network switch qos rule o k response a status code equal to that given
func (*UpdateNetworkSwitchQosRuleOK) IsRedirect ¶
func (o *UpdateNetworkSwitchQosRuleOK) IsRedirect() bool
IsRedirect returns true when this update network switch qos rule o k response has a 3xx status code
func (*UpdateNetworkSwitchQosRuleOK) IsServerError ¶
func (o *UpdateNetworkSwitchQosRuleOK) IsServerError() bool
IsServerError returns true when this update network switch qos rule o k response has a 5xx status code
func (*UpdateNetworkSwitchQosRuleOK) IsSuccess ¶
func (o *UpdateNetworkSwitchQosRuleOK) IsSuccess() bool
IsSuccess returns true when this update network switch qos rule o k response has a 2xx status code
func (*UpdateNetworkSwitchQosRuleOK) String ¶
func (o *UpdateNetworkSwitchQosRuleOK) String() string
type UpdateNetworkSwitchQosRuleParams ¶
type UpdateNetworkSwitchQosRuleParams struct { /* NetworkID. Network ID */ NetworkID string /* QosRuleID. Qos rule ID */ QosRuleID string // UpdateNetworkSwitchQosRule. UpdateNetworkSwitchQosRule UpdateNetworkSwitchQosRuleBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchQosRuleParams contains all the parameters to send to the API endpoint
for the update network switch qos rule operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchQosRuleParams ¶
func NewUpdateNetworkSwitchQosRuleParams() *UpdateNetworkSwitchQosRuleParams
NewUpdateNetworkSwitchQosRuleParams creates a new UpdateNetworkSwitchQosRuleParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchQosRuleParamsWithContext ¶
func NewUpdateNetworkSwitchQosRuleParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRuleParams
NewUpdateNetworkSwitchQosRuleParamsWithContext creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRuleParams
NewUpdateNetworkSwitchQosRuleParamsWithHTTPClient creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchQosRuleParamsWithTimeout ¶
func NewUpdateNetworkSwitchQosRuleParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRuleParams
NewUpdateNetworkSwitchQosRuleParamsWithTimeout creates a new UpdateNetworkSwitchQosRuleParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchQosRuleParams) SetContext ¶
func (o *UpdateNetworkSwitchQosRuleParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithContext(ctx context.Context) *UpdateNetworkSwitchQosRuleParams
WithContext adds the context to the update network switch qos rule params
func (*UpdateNetworkSwitchQosRuleParams) WithDefaults ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithDefaults() *UpdateNetworkSwitchQosRuleParams
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 ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRuleParams
WithHTTPClient adds the HTTPClient to the update network switch qos rule params
func (*UpdateNetworkSwitchQosRuleParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithNetworkID(networkID string) *UpdateNetworkSwitchQosRuleParams
WithNetworkID adds the networkID to the update network switch qos rule params
func (*UpdateNetworkSwitchQosRuleParams) WithQosRuleID ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithQosRuleID(qosRuleID string) *UpdateNetworkSwitchQosRuleParams
WithQosRuleID adds the qosRuleID to the update network switch qos rule params
func (*UpdateNetworkSwitchQosRuleParams) WithTimeout ¶
func (o *UpdateNetworkSwitchQosRuleParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRuleParams
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 ¶
func (o *UpdateNetworkSwitchQosRuleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type UpdateNetworkSwitchQosRulesOrderOK ¶
type UpdateNetworkSwitchQosRulesOrderOK struct {
Payload interface{}
}
UpdateNetworkSwitchQosRulesOrderOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchQosRulesOrderOK ¶
func NewUpdateNetworkSwitchQosRulesOrderOK() *UpdateNetworkSwitchQosRulesOrderOK
NewUpdateNetworkSwitchQosRulesOrderOK creates a UpdateNetworkSwitchQosRulesOrderOK with default headers values
func (*UpdateNetworkSwitchQosRulesOrderOK) Code ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) Code() int
Code gets the status code for the update network switch qos rules order o k response
func (*UpdateNetworkSwitchQosRulesOrderOK) Error ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) Error() string
func (*UpdateNetworkSwitchQosRulesOrderOK) GetPayload ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) GetPayload() interface{}
func (*UpdateNetworkSwitchQosRulesOrderOK) IsClientError ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) IsClientError() bool
IsClientError returns true when this update network switch qos rules order o k response has a 4xx status code
func (*UpdateNetworkSwitchQosRulesOrderOK) IsCode ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) IsCode(code int) bool
IsCode returns true when this update network switch qos rules order o k response a status code equal to that given
func (*UpdateNetworkSwitchQosRulesOrderOK) IsRedirect ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) IsRedirect() bool
IsRedirect returns true when this update network switch qos rules order o k response has a 3xx status code
func (*UpdateNetworkSwitchQosRulesOrderOK) IsServerError ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) IsServerError() bool
IsServerError returns true when this update network switch qos rules order o k response has a 5xx status code
func (*UpdateNetworkSwitchQosRulesOrderOK) IsSuccess ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) IsSuccess() bool
IsSuccess returns true when this update network switch qos rules order o k response has a 2xx status code
func (*UpdateNetworkSwitchQosRulesOrderOK) String ¶
func (o *UpdateNetworkSwitchQosRulesOrderOK) String() string
type UpdateNetworkSwitchQosRulesOrderParams ¶
type UpdateNetworkSwitchQosRulesOrderParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchQosRulesOrder. UpdateNetworkSwitchQosRulesOrder UpdateNetworkSwitchQosRulesOrderBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchQosRulesOrderParams contains all the parameters to send to the API endpoint
for the update network switch qos rules order operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchQosRulesOrderParams ¶
func NewUpdateNetworkSwitchQosRulesOrderParams() *UpdateNetworkSwitchQosRulesOrderParams
NewUpdateNetworkSwitchQosRulesOrderParams creates a new UpdateNetworkSwitchQosRulesOrderParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchQosRulesOrderParamsWithContext ¶
func NewUpdateNetworkSwitchQosRulesOrderParamsWithContext(ctx context.Context) *UpdateNetworkSwitchQosRulesOrderParams
NewUpdateNetworkSwitchQosRulesOrderParamsWithContext creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRulesOrderParams
NewUpdateNetworkSwitchQosRulesOrderParamsWithHTTPClient creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout ¶
func NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRulesOrderParams
NewUpdateNetworkSwitchQosRulesOrderParamsWithTimeout creates a new UpdateNetworkSwitchQosRulesOrderParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchQosRulesOrderParams) SetContext ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WithContext(ctx context.Context) *UpdateNetworkSwitchQosRulesOrderParams
WithContext adds the context to the update network switch qos rules order params
func (*UpdateNetworkSwitchQosRulesOrderParams) WithDefaults ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WithDefaults() *UpdateNetworkSwitchQosRulesOrderParams
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 ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchQosRulesOrderParams
WithHTTPClient adds the HTTPClient to the update network switch qos rules order params
func (*UpdateNetworkSwitchQosRulesOrderParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WithNetworkID(networkID string) *UpdateNetworkSwitchQosRulesOrderParams
WithNetworkID adds the networkID to the update network switch qos rules order params
func (*UpdateNetworkSwitchQosRulesOrderParams) WithTimeout ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchQosRulesOrderParams
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 ¶
func (o *UpdateNetworkSwitchQosRulesOrderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchQosRulesOrderReader ¶
type UpdateNetworkSwitchQosRulesOrderReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchQosRulesOrderReader is a Reader for the UpdateNetworkSwitchQosRulesOrder structure.
func (*UpdateNetworkSwitchQosRulesOrderReader) ReadResponse ¶
func (o *UpdateNetworkSwitchQosRulesOrderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchRoutingMulticastBody ¶
type UpdateNetworkSwitchRoutingMulticastBody struct { // default settings DefaultSettings *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings `json:"defaultSettings,omitempty"` // Array of paired switches/stacks/profiles and corresponding multicast settings. An empty array will clear the multicast settings. Overrides []*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 `json:"overrides"` }
UpdateNetworkSwitchRoutingMulticastBody update network switch routing multicast body // Example: {"defaultSettings":{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true},"overrides":[{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"stacks":["789102","123456","129102"]},{"floodUnknownMulticastTrafficEnabled":true,"igmpSnoopingEnabled":true,"switchProfiles":["1234","4567"]}]} swagger:model UpdateNetworkSwitchRoutingMulticastBody
func (*UpdateNetworkSwitchRoutingMulticastBody) ContextValidate ¶
func (o *UpdateNetworkSwitchRoutingMulticastBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateNetworkSwitchRoutingMulticastOK ¶
type UpdateNetworkSwitchRoutingMulticastOK struct {
Payload interface{}
}
UpdateNetworkSwitchRoutingMulticastOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchRoutingMulticastOK ¶
func NewUpdateNetworkSwitchRoutingMulticastOK() *UpdateNetworkSwitchRoutingMulticastOK
NewUpdateNetworkSwitchRoutingMulticastOK creates a UpdateNetworkSwitchRoutingMulticastOK with default headers values
func (*UpdateNetworkSwitchRoutingMulticastOK) Code ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) Code() int
Code gets the status code for the update network switch routing multicast o k response
func (*UpdateNetworkSwitchRoutingMulticastOK) Error ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) Error() string
func (*UpdateNetworkSwitchRoutingMulticastOK) GetPayload ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) GetPayload() interface{}
func (*UpdateNetworkSwitchRoutingMulticastOK) IsClientError ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) IsClientError() bool
IsClientError returns true when this update network switch routing multicast o k response has a 4xx status code
func (*UpdateNetworkSwitchRoutingMulticastOK) IsCode ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) IsCode(code int) bool
IsCode returns true when this update network switch routing multicast o k response a status code equal to that given
func (*UpdateNetworkSwitchRoutingMulticastOK) IsRedirect ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) IsRedirect() bool
IsRedirect returns true when this update network switch routing multicast o k response has a 3xx status code
func (*UpdateNetworkSwitchRoutingMulticastOK) IsServerError ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) IsServerError() bool
IsServerError returns true when this update network switch routing multicast o k response has a 5xx status code
func (*UpdateNetworkSwitchRoutingMulticastOK) IsSuccess ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) IsSuccess() bool
IsSuccess returns true when this update network switch routing multicast o k response has a 2xx status code
func (*UpdateNetworkSwitchRoutingMulticastOK) String ¶
func (o *UpdateNetworkSwitchRoutingMulticastOK) String() string
type UpdateNetworkSwitchRoutingMulticastParams ¶
type UpdateNetworkSwitchRoutingMulticastParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchRoutingMulticast. UpdateNetworkSwitchRoutingMulticast UpdateNetworkSwitchRoutingMulticastBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchRoutingMulticastParams contains all the parameters to send to the API endpoint
for the update network switch routing multicast operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchRoutingMulticastParams ¶
func NewUpdateNetworkSwitchRoutingMulticastParams() *UpdateNetworkSwitchRoutingMulticastParams
NewUpdateNetworkSwitchRoutingMulticastParams creates a new UpdateNetworkSwitchRoutingMulticastParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchRoutingMulticastParamsWithContext ¶
func NewUpdateNetworkSwitchRoutingMulticastParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastParams
NewUpdateNetworkSwitchRoutingMulticastParamsWithContext creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastParams
NewUpdateNetworkSwitchRoutingMulticastParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout ¶
func NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastParams
NewUpdateNetworkSwitchRoutingMulticastParamsWithTimeout creates a new UpdateNetworkSwitchRoutingMulticastParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchRoutingMulticastParams) SetContext ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch routing multicast params
func (*UpdateNetworkSwitchRoutingMulticastParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastParams
WithContext adds the context to the update network switch routing multicast params
func (*UpdateNetworkSwitchRoutingMulticastParams) WithDefaults ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WithDefaults() *UpdateNetworkSwitchRoutingMulticastParams
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastParams
WithHTTPClient adds the HTTPClient to the update network switch routing multicast params
func (*UpdateNetworkSwitchRoutingMulticastParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingMulticastParams
WithNetworkID adds the networkID to the update network switch routing multicast params
func (*UpdateNetworkSwitchRoutingMulticastParams) WithTimeout ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastParams
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing multicast params body default settings based on context it is used
func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyDefaultSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 ¶
type UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 struct { // Flood unknown multicast traffic setting for switches, switch stacks or switch templates // Required: true FloodUnknownMulticastTrafficEnabled *bool `json:"floodUnknownMulticastTrafficEnabled"` // IGMP snooping setting for switches, switch stacks or switch templates // Required: true IgmpSnoopingEnabled *bool `json:"igmpSnoopingEnabled"` // List of switch stack ids for non-template network Stacks []string `json:"stacks"` // List of switch templates ids for template network SwitchProfiles []string `json:"switchProfiles"` // List of switch serials for non-template network Switches []string `json:"switches"` }
UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0 update network switch routing multicast params body overrides items0 swagger:model UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0
func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing multicast params body overrides items0 based on context it is used
func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastParamsBodyOverridesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing multicast rendezvous point body based on context it is used
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchRoutingMulticastRendezvousPointOK ¶
type UpdateNetworkSwitchRoutingMulticastRendezvousPointOK struct {
Payload interface{}
}
UpdateNetworkSwitchRoutingMulticastRendezvousPointOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK ¶
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK() *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK
NewUpdateNetworkSwitchRoutingMulticastRendezvousPointOK creates a UpdateNetworkSwitchRoutingMulticastRendezvousPointOK with default headers values
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Code ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Code() int
Code gets the status code for the update network switch routing multicast rendezvous point o k response
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Error ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) Error() string
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) GetPayload() interface{}
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsClientError() bool
IsClientError returns true when this update network switch routing multicast rendezvous point o k response has a 4xx status code
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsCode(code int) bool
IsCode returns true when this update network switch routing multicast rendezvous point o k response a status code equal to that given
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsRedirect() bool
IsRedirect returns true when this update network switch routing multicast rendezvous point o k response has a 3xx status code
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsServerError() bool
IsServerError returns true when this update network switch routing multicast rendezvous point o k response has a 5xx status code
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) IsSuccess() bool
IsSuccess returns true when this update network switch routing multicast rendezvous point o k response has a 2xx status code
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) String ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointOK) String() string
type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams ¶
type UpdateNetworkSwitchRoutingMulticastRendezvousPointParams struct { /* NetworkID. Network ID */ NetworkID string /* RendezvousPointID. Rendezvous point ID */ RendezvousPointID string // UpdateNetworkSwitchRoutingMulticastRendezvousPoint. UpdateNetworkSwitchRoutingMulticastRendezvousPoint UpdateNetworkSwitchRoutingMulticastRendezvousPointBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchRoutingMulticastRendezvousPointParams contains all the parameters to send to the API endpoint
for the update network switch routing multicast rendezvous point operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams ¶
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams() *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParams creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext ¶
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithContext creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout ¶
func NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
NewUpdateNetworkSwitchRoutingMulticastRendezvousPointParamsWithTimeout creates a new UpdateNetworkSwitchRoutingMulticastRendezvousPointParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetNetworkID(networkID string)
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
WithContext adds the context to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithDefaults() *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
WithHTTPClient adds the HTTPClient to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
WithNetworkID adds the networkID to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithRendezvousPointID(rendezvousPointID string) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
WithRendezvousPointID adds the rendezvousPointID to the update network switch routing multicast rendezvous point params
func (*UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams
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 ¶
func (o *UpdateNetworkSwitchRoutingMulticastRendezvousPointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type UpdateNetworkSwitchRoutingOspfOK ¶
type UpdateNetworkSwitchRoutingOspfOK struct {
Payload interface{}
}
UpdateNetworkSwitchRoutingOspfOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchRoutingOspfOK ¶
func NewUpdateNetworkSwitchRoutingOspfOK() *UpdateNetworkSwitchRoutingOspfOK
NewUpdateNetworkSwitchRoutingOspfOK creates a UpdateNetworkSwitchRoutingOspfOK with default headers values
func (*UpdateNetworkSwitchRoutingOspfOK) Code ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) Code() int
Code gets the status code for the update network switch routing ospf o k response
func (*UpdateNetworkSwitchRoutingOspfOK) Error ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) Error() string
func (*UpdateNetworkSwitchRoutingOspfOK) GetPayload ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) GetPayload() interface{}
func (*UpdateNetworkSwitchRoutingOspfOK) IsClientError ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) IsClientError() bool
IsClientError returns true when this update network switch routing ospf o k response has a 4xx status code
func (*UpdateNetworkSwitchRoutingOspfOK) IsCode ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) IsCode(code int) bool
IsCode returns true when this update network switch routing ospf o k response a status code equal to that given
func (*UpdateNetworkSwitchRoutingOspfOK) IsRedirect ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) IsRedirect() bool
IsRedirect returns true when this update network switch routing ospf o k response has a 3xx status code
func (*UpdateNetworkSwitchRoutingOspfOK) IsServerError ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) IsServerError() bool
IsServerError returns true when this update network switch routing ospf o k response has a 5xx status code
func (*UpdateNetworkSwitchRoutingOspfOK) IsSuccess ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) IsSuccess() bool
IsSuccess returns true when this update network switch routing ospf o k response has a 2xx status code
func (*UpdateNetworkSwitchRoutingOspfOK) String ¶
func (o *UpdateNetworkSwitchRoutingOspfOK) String() string
type UpdateNetworkSwitchRoutingOspfParams ¶
type UpdateNetworkSwitchRoutingOspfParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchRoutingOspf. UpdateNetworkSwitchRoutingOspf UpdateNetworkSwitchRoutingOspfBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchRoutingOspfParams contains all the parameters to send to the API endpoint
for the update network switch routing ospf operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchRoutingOspfParams ¶
func NewUpdateNetworkSwitchRoutingOspfParams() *UpdateNetworkSwitchRoutingOspfParams
NewUpdateNetworkSwitchRoutingOspfParams creates a new UpdateNetworkSwitchRoutingOspfParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchRoutingOspfParamsWithContext ¶
func NewUpdateNetworkSwitchRoutingOspfParamsWithContext(ctx context.Context) *UpdateNetworkSwitchRoutingOspfParams
NewUpdateNetworkSwitchRoutingOspfParamsWithContext creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingOspfParams
NewUpdateNetworkSwitchRoutingOspfParamsWithHTTPClient creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout ¶
func NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingOspfParams
NewUpdateNetworkSwitchRoutingOspfParamsWithTimeout creates a new UpdateNetworkSwitchRoutingOspfParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchRoutingOspfParams) SetContext ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WithContext(ctx context.Context) *UpdateNetworkSwitchRoutingOspfParams
WithContext adds the context to the update network switch routing ospf params
func (*UpdateNetworkSwitchRoutingOspfParams) WithDefaults ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WithDefaults() *UpdateNetworkSwitchRoutingOspfParams
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 ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchRoutingOspfParams
WithHTTPClient adds the HTTPClient to the update network switch routing ospf params
func (*UpdateNetworkSwitchRoutingOspfParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WithNetworkID(networkID string) *UpdateNetworkSwitchRoutingOspfParams
WithNetworkID adds the networkID to the update network switch routing ospf params
func (*UpdateNetworkSwitchRoutingOspfParams) WithTimeout ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchRoutingOspfParams
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 ¶
func (o *UpdateNetworkSwitchRoutingOspfParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 ¶
type UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 struct { // OSPF area ID // Required: true AreaID *string `json:"areaId"` // Name of the OSPF area // Required: true AreaName *string `json:"areaName"` // Area types in OSPF. Must be one of: ["normal", "stub", "nssa"] // Required: true // Enum: [normal nssa stub] AreaType *string `json:"areaType"` }
UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0 update network switch routing ospf params body areas items0 swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0
func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing ospf params body areas items0 based on context it is used
func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyAreasItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing ospf params body md5 authentication key based on context it is used
func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyMd5AuthenticationKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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
type UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 ¶
type UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 struct { // OSPF area ID // Required: true AreaID *string `json:"areaId"` // Name of the OSPF area // Required: true AreaName *string `json:"areaName"` // Area types in OSPF. Must be one of: ["normal", "stub", "nssa"] // Required: true // Enum: [normal nssa stub] AreaType *string `json:"areaType"` }
UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0 update network switch routing ospf params body v3 areas items0 swagger:model UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0
func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch routing ospf params body v3 areas items0 based on context it is used
func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchRoutingOspfParamsBodyV3AreasItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchRoutingOspfReader ¶
type UpdateNetworkSwitchRoutingOspfReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchRoutingOspfReader is a Reader for the UpdateNetworkSwitchRoutingOspf structure.
func (*UpdateNetworkSwitchRoutingOspfReader) ReadResponse ¶
func (o *UpdateNetworkSwitchRoutingOspfReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchSettingsBody ¶
type UpdateNetworkSwitchSettingsBody struct { // Exceptions on a per switch basis to "useCombinedPower" PowerExceptions []*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0 `json:"powerExceptions"` // uplink client sampling UplinkClientSampling *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"` // The use Combined Power as the default behavior of secondary power supplies on supported devices. UseCombinedPower bool `json:"useCombinedPower,omitempty"` // Management VLAN Vlan int64 `json:"vlan,omitempty"` }
UpdateNetworkSwitchSettingsBody update network switch settings body // Example: {} swagger:model UpdateNetworkSwitchSettingsBody
func (*UpdateNetworkSwitchSettingsBody) ContextValidate ¶
func (o *UpdateNetworkSwitchSettingsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch settings body based on the context it is used
func (*UpdateNetworkSwitchSettingsBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsOK ¶
type UpdateNetworkSwitchSettingsOK struct {
Payload *UpdateNetworkSwitchSettingsOKBody
}
UpdateNetworkSwitchSettingsOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchSettingsOK ¶
func NewUpdateNetworkSwitchSettingsOK() *UpdateNetworkSwitchSettingsOK
NewUpdateNetworkSwitchSettingsOK creates a UpdateNetworkSwitchSettingsOK with default headers values
func (*UpdateNetworkSwitchSettingsOK) Code ¶
func (o *UpdateNetworkSwitchSettingsOK) Code() int
Code gets the status code for the update network switch settings o k response
func (*UpdateNetworkSwitchSettingsOK) Error ¶
func (o *UpdateNetworkSwitchSettingsOK) Error() string
func (*UpdateNetworkSwitchSettingsOK) GetPayload ¶
func (o *UpdateNetworkSwitchSettingsOK) GetPayload() *UpdateNetworkSwitchSettingsOKBody
func (*UpdateNetworkSwitchSettingsOK) IsClientError ¶
func (o *UpdateNetworkSwitchSettingsOK) IsClientError() bool
IsClientError returns true when this update network switch settings o k response has a 4xx status code
func (*UpdateNetworkSwitchSettingsOK) IsCode ¶
func (o *UpdateNetworkSwitchSettingsOK) IsCode(code int) bool
IsCode returns true when this update network switch settings o k response a status code equal to that given
func (*UpdateNetworkSwitchSettingsOK) IsRedirect ¶
func (o *UpdateNetworkSwitchSettingsOK) IsRedirect() bool
IsRedirect returns true when this update network switch settings o k response has a 3xx status code
func (*UpdateNetworkSwitchSettingsOK) IsServerError ¶
func (o *UpdateNetworkSwitchSettingsOK) IsServerError() bool
IsServerError returns true when this update network switch settings o k response has a 5xx status code
func (*UpdateNetworkSwitchSettingsOK) IsSuccess ¶
func (o *UpdateNetworkSwitchSettingsOK) IsSuccess() bool
IsSuccess returns true when this update network switch settings o k response has a 2xx status code
func (*UpdateNetworkSwitchSettingsOK) String ¶
func (o *UpdateNetworkSwitchSettingsOK) String() string
type UpdateNetworkSwitchSettingsOKBody ¶
type UpdateNetworkSwitchSettingsOKBody struct { // Exceptions on a per switch basis to "useCombinedPower" PowerExceptions []*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 `json:"powerExceptions"` // uplink client sampling UplinkClientSampling *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling `json:"uplinkClientSampling,omitempty"` // The use Combined Power as the default behavior of secondary power supplies on supported devices. UseCombinedPower bool `json:"useCombinedPower,omitempty"` // Management VLAN Vlan int64 `json:"vlan,omitempty"` }
UpdateNetworkSwitchSettingsOKBody update network switch settings o k body swagger:model UpdateNetworkSwitchSettingsOKBody
func (*UpdateNetworkSwitchSettingsOKBody) ContextValidate ¶
func (o *UpdateNetworkSwitchSettingsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch settings o k body based on the context it is used
func (*UpdateNetworkSwitchSettingsOKBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 ¶
type UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 struct { // Per switch exception (combined, redundant, useNetworkSetting) // Enum: [combined redundant useNetworkSetting] PowerType string `json:"powerType,omitempty"` // Serial number of the switch Serial string `json:"serial,omitempty"` }
UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0 update network switch settings o k body power exceptions items0 swagger:model UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0
func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch settings o k body power exceptions items0 based on context it is used
func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling ¶
type UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling struct { // Enable client sampling on uplink Enabled bool `json:"enabled,omitempty"` }
UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling Uplink client sampling swagger:model UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling
func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate ¶
func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch settings o k body uplink client sampling based on context it is used
func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsOKBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsParams ¶
type UpdateNetworkSwitchSettingsParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchSettings. UpdateNetworkSwitchSettings UpdateNetworkSwitchSettingsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchSettingsParams contains all the parameters to send to the API endpoint
for the update network switch settings operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchSettingsParams ¶
func NewUpdateNetworkSwitchSettingsParams() *UpdateNetworkSwitchSettingsParams
NewUpdateNetworkSwitchSettingsParams creates a new UpdateNetworkSwitchSettingsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchSettingsParamsWithContext ¶
func NewUpdateNetworkSwitchSettingsParamsWithContext(ctx context.Context) *UpdateNetworkSwitchSettingsParams
NewUpdateNetworkSwitchSettingsParamsWithContext creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchSettingsParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchSettingsParams
NewUpdateNetworkSwitchSettingsParamsWithHTTPClient creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchSettingsParamsWithTimeout ¶
func NewUpdateNetworkSwitchSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchSettingsParams
NewUpdateNetworkSwitchSettingsParamsWithTimeout creates a new UpdateNetworkSwitchSettingsParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchSettingsParams) SetContext ¶
func (o *UpdateNetworkSwitchSettingsParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchSettingsParams) WithContext(ctx context.Context) *UpdateNetworkSwitchSettingsParams
WithContext adds the context to the update network switch settings params
func (*UpdateNetworkSwitchSettingsParams) WithDefaults ¶
func (o *UpdateNetworkSwitchSettingsParams) WithDefaults() *UpdateNetworkSwitchSettingsParams
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 ¶
func (o *UpdateNetworkSwitchSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchSettingsParams
WithHTTPClient adds the HTTPClient to the update network switch settings params
func (*UpdateNetworkSwitchSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchSettingsParams) WithNetworkID(networkID string) *UpdateNetworkSwitchSettingsParams
WithNetworkID adds the networkID to the update network switch settings params
func (*UpdateNetworkSwitchSettingsParams) WithTimeout ¶
func (o *UpdateNetworkSwitchSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchSettingsParams
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 ¶
func (o *UpdateNetworkSwitchSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch settings params body power exceptions items0 based on context it is used
func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyPowerExceptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling ¶
type UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling struct { // Enable uplink client sampling Enabled bool `json:"enabled,omitempty"` }
UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling Uplink client sampling swagger:model UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling
func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) ContextValidate ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch settings params body uplink client sampling based on context it is used
func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) MarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchSettingsParamsBodyUplinkClientSampling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchSettingsReader ¶
type UpdateNetworkSwitchSettingsReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchSettingsReader is a Reader for the UpdateNetworkSwitchSettings structure.
func (*UpdateNetworkSwitchSettingsReader) ReadResponse ¶
func (o *UpdateNetworkSwitchSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchStackRoutingInterfaceBody ¶
type UpdateNetworkSwitchStackRoutingInterfaceBody struct { // The next hop for any traffic that isn't going to a directly connected subnet or over a static route. This IP address must exist in a subnet with a routed interface. DefaultGateway string `json:"defaultGateway,omitempty"` // The IP address this switch stack will use for layer 3 routing on this VLAN or subnet. This cannot be the same as the switch's management IP. InterfaceIP string `json:"interfaceIp,omitempty"` // ipv6 IPV6 *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6 `json:"ipv6,omitempty"` // Enable multicast support if, multicast routing between VLANs is required. Options are, 'disabled', 'enabled' or 'IGMP snooping querier'. // Enum: [IGMP snooping querier disabled enabled] MulticastRouting string `json:"multicastRouting,omitempty"` // A friendly name or description for the interface or VLAN. Name string `json:"name,omitempty"` // ospf settings OspfSettings *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings `json:"ospfSettings,omitempty"` // The network that this routed interface is on, in CIDR notation (ex. 10.1.1.0/24). Subnet string `json:"subnet,omitempty"` // The VLAN this routed interface is on. VLAN must be between 1 and 4094. VlanID int64 `json:"vlanId,omitempty"` }
UpdateNetworkSwitchStackRoutingInterfaceBody update network switch stack routing interface body // Example: {"interfaceIp":"192.168.1.2","ipv6":{"address":"1:2:3:4::1","assignmentMode":"static","gateway":"1:2:3:4::2","prefix":"1:2:3:4::/48"},"multicastRouting":"disabled","name":"L3 interface","ospfSettings":{"area":"0","cost":1,"isPassiveEnabled":true},"ospfV3":{"area":"1","cost":2,"isPassiveEnabled":true},"subnet":"192.168.1.0/24","vlanId":100} swagger:model UpdateNetworkSwitchStackRoutingInterfaceBody
func (*UpdateNetworkSwitchStackRoutingInterfaceBody) ContextValidate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch stack routing interface body based on the context it is used
func (*UpdateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchStackRoutingInterfaceDhcpBody ¶
type UpdateNetworkSwitchStackRoutingInterfaceDhcpBody struct { // The PXE boot server file name for the DHCP server running on the switch stack interface BootFileName string `json:"bootFileName,omitempty"` // The PXE boot server IP for the DHCP server running on the switch stack interface BootNextServer string `json:"bootNextServer,omitempty"` // Enable DHCP boot options to provide PXE boot options configs for the dhcp server running on the switch // stack interface BootOptionsEnabled bool `json:"bootOptionsEnabled,omitempty"` // The DHCP lease time config for the dhcp server running on switch stack interface // ('30 minutes', '1 hour', '4 hours', '12 hours', '1 day' or '1 week') // Enum: [1 day 1 hour 1 week 12 hours 30 minutes 4 hours] DhcpLeaseTime string `json:"dhcpLeaseTime,omitempty"` // The DHCP mode options for the switch stack interface // ('dhcpDisabled', 'dhcpRelay' or 'dhcpServer') // Enum: [dhcpDisabled dhcpRelay dhcpServer] DhcpMode string `json:"dhcpMode,omitempty"` // Array of DHCP options consisting of code, type and value for the DHCP server running on the // switch stack interface DhcpOptions []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 `json:"dhcpOptions"` // The DHCP relay server IPs to which DHCP packets would get relayed for the switch stack interface DhcpRelayServerIps []string `json:"dhcpRelayServerIps"` // The DHCP name server IPs when DHCP name server option is ' // custom' DNSCustomNameservers []string `json:"dnsCustomNameservers"` // The DHCP name server option for the dhcp server running on the switch stack interface // ('googlePublicDns', 'openDns' or 'custom') // Enum: [custom googlePublicDns openDns] DNSNameserversOption string `json:"dnsNameserversOption,omitempty"` // Array of DHCP fixed IP assignments for the DHCP server running on the switch stack interface FixedIPAssignments []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0 `json:"fixedIpAssignments"` // Array of DHCP reserved IP assignments for the DHCP server running on the switch stack interface ReservedIPRanges []*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0 `json:"reservedIpRanges"` }
UpdateNetworkSwitchStackRoutingInterfaceDhcpBody update network switch stack routing interface dhcp body // Example: {"bootFileName":"home_boot_file","bootNextServer":"1.2.3.4","bootOptionsEnabled":true,"dhcpLeaseTime":"1 day","dhcpMode":"dhcpServer","dhcpOptions":[{"code":"5","type":"text","value":"five"}],"dnsCustomNameservers":["8.8.8.8, 8.8.4.4"],"dnsNameserversOption":"custom","fixedIpAssignments":[{"ip":"192.168.1.12","mac":"22:33:44:55:66:77","name":"Cisco Meraki valued client"}],"reservedIpRanges":[{"comment":"A reserved IP range","end":"192.168.1.10","start":"192.168.1.1"}]} swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpBody
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) ContextValidate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch stack routing interface dhcp body based on the context it is used
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchStackRoutingInterfaceDhcpOK ¶
type UpdateNetworkSwitchStackRoutingInterfaceDhcpOK struct {
Payload interface{}
}
UpdateNetworkSwitchStackRoutingInterfaceDhcpOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK() *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK
NewUpdateNetworkSwitchStackRoutingInterfaceDhcpOK creates a UpdateNetworkSwitchStackRoutingInterfaceDhcpOK with default headers values
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Code ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Code() int
Code gets the status code for the update network switch stack routing interface dhcp o k response
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Error ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) Error() string
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) GetPayload() interface{}
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsClientError() bool
IsClientError returns true when this update network switch stack routing interface dhcp o k response has a 4xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsCode(code int) bool
IsCode returns true when this update network switch stack routing interface dhcp o k response a status code equal to that given
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsRedirect() bool
IsRedirect returns true when this update network switch stack routing interface dhcp o k response has a 3xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsServerError() bool
IsServerError returns true when this update network switch stack routing interface dhcp o k response has a 5xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) IsSuccess() bool
IsSuccess returns true when this update network switch stack routing interface dhcp o k response has a 2xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) String ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpOK) String() string
type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams ¶
type UpdateNetworkSwitchStackRoutingInterfaceDhcpParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string // UpdateNetworkSwitchStackRoutingInterfaceDhcp. UpdateNetworkSwitchStackRoutingInterfaceDhcp UpdateNetworkSwitchStackRoutingInterfaceDhcpBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchStackRoutingInterfaceDhcpParams contains all the parameters to send to the API endpoint
for the update network switch stack routing interface dhcp operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams() *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParams creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithContext creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
NewUpdateNetworkSwitchStackRoutingInterfaceDhcpParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingInterfaceDhcpParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetNetworkID(networkID string)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
WithContext adds the context to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithDefaults() *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
WithHTTPClient adds the HTTPClient to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithInterfaceID(interfaceID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
WithInterfaceID adds the interfaceID to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
WithNetworkID adds the networkID to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
WithSwitchStackID adds the switchStackID to the update network switch stack routing interface dhcp params
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 ¶
type UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 struct { // The code for DHCP option which should be from 2 to 254 // Required: true Code *string `json:"code"` // The type of the DHCP option which should be one of // ('text', 'ip', 'integer' or 'hex') // Required: true // Enum: [hex integer ip text] Type *string `json:"type"` // The value of the DHCP option // Required: true Value *string `json:"value"` }
UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0 update network switch stack routing interface dhcp params body dhcp options items0 swagger:model UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch stack routing interface dhcp params body dhcp options items0 based on context it is used
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyDhcpOptionsItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyFixedIPAssignmentsItems0) Validate(formats strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpParamsBodyReservedIPRangesItems0) Validate(formats strfmt.Registry) error
Validate validates this update network switch stack routing interface dhcp params body reserved IP ranges items0
type UpdateNetworkSwitchStackRoutingInterfaceDhcpReader ¶
type UpdateNetworkSwitchStackRoutingInterfaceDhcpReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchStackRoutingInterfaceDhcpReader is a Reader for the UpdateNetworkSwitchStackRoutingInterfaceDhcp structure.
func (*UpdateNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceDhcpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchStackRoutingInterfaceOK ¶
type UpdateNetworkSwitchStackRoutingInterfaceOK struct {
Payload interface{}
}
UpdateNetworkSwitchStackRoutingInterfaceOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchStackRoutingInterfaceOK ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceOK() *UpdateNetworkSwitchStackRoutingInterfaceOK
NewUpdateNetworkSwitchStackRoutingInterfaceOK creates a UpdateNetworkSwitchStackRoutingInterfaceOK with default headers values
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) Code ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) Code() int
Code gets the status code for the update network switch stack routing interface o k response
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) Error ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) Error() string
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) GetPayload() interface{}
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsClientError ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsClientError() bool
IsClientError returns true when this update network switch stack routing interface o k response has a 4xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsCode ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsCode(code int) bool
IsCode returns true when this update network switch stack routing interface o k response a status code equal to that given
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsRedirect ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsRedirect() bool
IsRedirect returns true when this update network switch stack routing interface o k response has a 3xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsServerError ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsServerError() bool
IsServerError returns true when this update network switch stack routing interface o k response has a 5xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) IsSuccess ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) IsSuccess() bool
IsSuccess returns true when this update network switch stack routing interface o k response has a 2xx status code
func (*UpdateNetworkSwitchStackRoutingInterfaceOK) String ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceOK) String() string
type UpdateNetworkSwitchStackRoutingInterfaceParams ¶
type UpdateNetworkSwitchStackRoutingInterfaceParams struct { /* InterfaceID. Interface ID */ InterfaceID string /* NetworkID. Network ID */ NetworkID string /* SwitchStackID. Switch stack ID */ SwitchStackID string // UpdateNetworkSwitchStackRoutingInterface. UpdateNetworkSwitchStackRoutingInterface UpdateNetworkSwitchStackRoutingInterfaceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchStackRoutingInterfaceParams contains all the parameters to send to the API endpoint
for the update network switch stack routing interface operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchStackRoutingInterfaceParams ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceParams() *UpdateNetworkSwitchStackRoutingInterfaceParams
NewUpdateNetworkSwitchStackRoutingInterfaceParams creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceParams
NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithContext creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceParams
NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout ¶
func NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceParams
NewUpdateNetworkSwitchStackRoutingInterfaceParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingInterfaceParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetContext ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingInterfaceParams
WithContext adds the context to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithDefaults ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithDefaults() *UpdateNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingInterfaceParams
WithHTTPClient adds the HTTPClient to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithInterfaceID(interfaceID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
WithInterfaceID adds the interfaceID to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
WithNetworkID adds the networkID to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingInterfaceParams
WithSwitchStackID adds the switchStackID to the update network switch stack routing interface params
func (*UpdateNetworkSwitchStackRoutingInterfaceParams) WithTimeout ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingInterfaceParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch stack routing interface params body IP v6 based on context it is used
func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyIPV6) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch stack routing interface params body ospf settings based on context it is used
func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingInterfaceParamsBodyOspfSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch stack routing static route body based on context it is used
func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchStackRoutingStaticRouteOK ¶
type UpdateNetworkSwitchStackRoutingStaticRouteOK struct {
Payload interface{}
}
UpdateNetworkSwitchStackRoutingStaticRouteOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchStackRoutingStaticRouteOK ¶
func NewUpdateNetworkSwitchStackRoutingStaticRouteOK() *UpdateNetworkSwitchStackRoutingStaticRouteOK
NewUpdateNetworkSwitchStackRoutingStaticRouteOK creates a UpdateNetworkSwitchStackRoutingStaticRouteOK with default headers values
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) Code ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) Code() int
Code gets the status code for the update network switch stack routing static route o k response
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) Error ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) Error() string
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) GetPayload() interface{}
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsClientError ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsClientError() bool
IsClientError returns true when this update network switch stack routing static route o k response has a 4xx status code
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsCode ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsCode(code int) bool
IsCode returns true when this update network switch stack routing static route o k response a status code equal to that given
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsRedirect ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsRedirect() bool
IsRedirect returns true when this update network switch stack routing static route o k response has a 3xx status code
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsServerError ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsServerError() bool
IsServerError returns true when this update network switch stack routing static route o k response has a 5xx status code
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) IsSuccess ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) IsSuccess() bool
IsSuccess returns true when this update network switch stack routing static route o k response has a 2xx status code
func (*UpdateNetworkSwitchStackRoutingStaticRouteOK) String ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteOK) String() string
type UpdateNetworkSwitchStackRoutingStaticRouteParams ¶
type UpdateNetworkSwitchStackRoutingStaticRouteParams struct { /* NetworkID. Network ID */ NetworkID string /* StaticRouteID. Static route ID */ StaticRouteID string /* SwitchStackID. Switch stack ID */ SwitchStackID string // UpdateNetworkSwitchStackRoutingStaticRoute. UpdateNetworkSwitchStackRoutingStaticRoute UpdateNetworkSwitchStackRoutingStaticRouteBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchStackRoutingStaticRouteParams contains all the parameters to send to the API endpoint
for the update network switch stack routing static route operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchStackRoutingStaticRouteParams ¶
func NewUpdateNetworkSwitchStackRoutingStaticRouteParams() *UpdateNetworkSwitchStackRoutingStaticRouteParams
NewUpdateNetworkSwitchStackRoutingStaticRouteParams creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext ¶
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingStaticRouteParams
NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithContext creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingStaticRouteParams
NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithHTTPClient creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout ¶
func NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingStaticRouteParams
NewUpdateNetworkSwitchStackRoutingStaticRouteParamsWithTimeout creates a new UpdateNetworkSwitchStackRoutingStaticRouteParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetContext ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStackRoutingStaticRouteParams
WithContext adds the context to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithDefaults() *UpdateNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStackRoutingStaticRouteParams
WithHTTPClient adds the HTTPClient to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
WithNetworkID adds the networkID to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithStaticRouteID(staticRouteID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
WithStaticRouteID adds the staticRouteID to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithSwitchStackID(switchStackID string) *UpdateNetworkSwitchStackRoutingStaticRouteParams
WithSwitchStackID adds the switchStackID to the update network switch stack routing static route params
func (*UpdateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStackRoutingStaticRouteParams
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 ¶
func (o *UpdateNetworkSwitchStackRoutingStaticRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
type UpdateNetworkSwitchStormControlOK ¶
type UpdateNetworkSwitchStormControlOK struct {
Payload interface{}
}
UpdateNetworkSwitchStormControlOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchStormControlOK ¶
func NewUpdateNetworkSwitchStormControlOK() *UpdateNetworkSwitchStormControlOK
NewUpdateNetworkSwitchStormControlOK creates a UpdateNetworkSwitchStormControlOK with default headers values
func (*UpdateNetworkSwitchStormControlOK) Code ¶
func (o *UpdateNetworkSwitchStormControlOK) Code() int
Code gets the status code for the update network switch storm control o k response
func (*UpdateNetworkSwitchStormControlOK) Error ¶
func (o *UpdateNetworkSwitchStormControlOK) Error() string
func (*UpdateNetworkSwitchStormControlOK) GetPayload ¶
func (o *UpdateNetworkSwitchStormControlOK) GetPayload() interface{}
func (*UpdateNetworkSwitchStormControlOK) IsClientError ¶
func (o *UpdateNetworkSwitchStormControlOK) IsClientError() bool
IsClientError returns true when this update network switch storm control o k response has a 4xx status code
func (*UpdateNetworkSwitchStormControlOK) IsCode ¶
func (o *UpdateNetworkSwitchStormControlOK) IsCode(code int) bool
IsCode returns true when this update network switch storm control o k response a status code equal to that given
func (*UpdateNetworkSwitchStormControlOK) IsRedirect ¶
func (o *UpdateNetworkSwitchStormControlOK) IsRedirect() bool
IsRedirect returns true when this update network switch storm control o k response has a 3xx status code
func (*UpdateNetworkSwitchStormControlOK) IsServerError ¶
func (o *UpdateNetworkSwitchStormControlOK) IsServerError() bool
IsServerError returns true when this update network switch storm control o k response has a 5xx status code
func (*UpdateNetworkSwitchStormControlOK) IsSuccess ¶
func (o *UpdateNetworkSwitchStormControlOK) IsSuccess() bool
IsSuccess returns true when this update network switch storm control o k response has a 2xx status code
func (*UpdateNetworkSwitchStormControlOK) String ¶
func (o *UpdateNetworkSwitchStormControlOK) String() string
type UpdateNetworkSwitchStormControlParams ¶
type UpdateNetworkSwitchStormControlParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchStormControl. UpdateNetworkSwitchStormControl UpdateNetworkSwitchStormControlBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchStormControlParams contains all the parameters to send to the API endpoint
for the update network switch storm control operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchStormControlParams ¶
func NewUpdateNetworkSwitchStormControlParams() *UpdateNetworkSwitchStormControlParams
NewUpdateNetworkSwitchStormControlParams creates a new UpdateNetworkSwitchStormControlParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchStormControlParamsWithContext ¶
func NewUpdateNetworkSwitchStormControlParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStormControlParams
NewUpdateNetworkSwitchStormControlParamsWithContext creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchStormControlParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchStormControlParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStormControlParams
NewUpdateNetworkSwitchStormControlParamsWithHTTPClient creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchStormControlParamsWithTimeout ¶
func NewUpdateNetworkSwitchStormControlParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStormControlParams
NewUpdateNetworkSwitchStormControlParamsWithTimeout creates a new UpdateNetworkSwitchStormControlParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchStormControlParams) SetContext ¶
func (o *UpdateNetworkSwitchStormControlParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkSwitchStormControlParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStormControlParams
WithContext adds the context to the update network switch storm control params
func (*UpdateNetworkSwitchStormControlParams) WithDefaults ¶
func (o *UpdateNetworkSwitchStormControlParams) WithDefaults() *UpdateNetworkSwitchStormControlParams
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 ¶
func (o *UpdateNetworkSwitchStormControlParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStormControlParams
WithHTTPClient adds the HTTPClient to the update network switch storm control params
func (*UpdateNetworkSwitchStormControlParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchStormControlParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStormControlParams
WithNetworkID adds the networkID to the update network switch storm control params
func (*UpdateNetworkSwitchStormControlParams) WithTimeout ¶
func (o *UpdateNetworkSwitchStormControlParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStormControlParams
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 ¶
func (o *UpdateNetworkSwitchStormControlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchStormControlReader ¶
type UpdateNetworkSwitchStormControlReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchStormControlReader is a Reader for the UpdateNetworkSwitchStormControl structure.
func (*UpdateNetworkSwitchStormControlReader) ReadResponse ¶
func (o *UpdateNetworkSwitchStormControlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSwitchStpBody ¶
type UpdateNetworkSwitchStpBody struct { // The spanning tree protocol status in network RstpEnabled bool `json:"rstpEnabled,omitempty"` // STP bridge priority for switches/stacks or switch templates. An empty array will clear the STP bridge priority settings. StpBridgePriority []*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 `json:"stpBridgePriority"` }
UpdateNetworkSwitchStpBody update network switch stp body // Example: {"rstpEnabled":true,"stpBridgePriority":[{"stpPriority":4096,"switches":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]},{"stacks":["789102","123456","129102"],"stpPriority":28672}]} swagger:model UpdateNetworkSwitchStpBody
func (*UpdateNetworkSwitchStpBody) ContextValidate ¶
func (o *UpdateNetworkSwitchStpBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network switch stp body based on the context it is used
func (*UpdateNetworkSwitchStpBody) MarshalBinary ¶
func (o *UpdateNetworkSwitchStpBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStpBody) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStpBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchStpOK ¶
type UpdateNetworkSwitchStpOK struct {
Payload interface{}
}
UpdateNetworkSwitchStpOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSwitchStpOK ¶
func NewUpdateNetworkSwitchStpOK() *UpdateNetworkSwitchStpOK
NewUpdateNetworkSwitchStpOK creates a UpdateNetworkSwitchStpOK with default headers values
func (*UpdateNetworkSwitchStpOK) Code ¶
func (o *UpdateNetworkSwitchStpOK) Code() int
Code gets the status code for the update network switch stp o k response
func (*UpdateNetworkSwitchStpOK) Error ¶
func (o *UpdateNetworkSwitchStpOK) Error() string
func (*UpdateNetworkSwitchStpOK) GetPayload ¶
func (o *UpdateNetworkSwitchStpOK) GetPayload() interface{}
func (*UpdateNetworkSwitchStpOK) IsClientError ¶
func (o *UpdateNetworkSwitchStpOK) IsClientError() bool
IsClientError returns true when this update network switch stp o k response has a 4xx status code
func (*UpdateNetworkSwitchStpOK) IsCode ¶
func (o *UpdateNetworkSwitchStpOK) IsCode(code int) bool
IsCode returns true when this update network switch stp o k response a status code equal to that given
func (*UpdateNetworkSwitchStpOK) IsRedirect ¶
func (o *UpdateNetworkSwitchStpOK) IsRedirect() bool
IsRedirect returns true when this update network switch stp o k response has a 3xx status code
func (*UpdateNetworkSwitchStpOK) IsServerError ¶
func (o *UpdateNetworkSwitchStpOK) IsServerError() bool
IsServerError returns true when this update network switch stp o k response has a 5xx status code
func (*UpdateNetworkSwitchStpOK) IsSuccess ¶
func (o *UpdateNetworkSwitchStpOK) IsSuccess() bool
IsSuccess returns true when this update network switch stp o k response has a 2xx status code
func (*UpdateNetworkSwitchStpOK) String ¶
func (o *UpdateNetworkSwitchStpOK) String() string
type UpdateNetworkSwitchStpParams ¶
type UpdateNetworkSwitchStpParams struct { /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSwitchStp. UpdateNetworkSwitchStp UpdateNetworkSwitchStpBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSwitchStpParams contains all the parameters to send to the API endpoint
for the update network switch stp operation. Typically these are written to a http.Request.
func NewUpdateNetworkSwitchStpParams ¶
func NewUpdateNetworkSwitchStpParams() *UpdateNetworkSwitchStpParams
NewUpdateNetworkSwitchStpParams creates a new UpdateNetworkSwitchStpParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateNetworkSwitchStpParamsWithContext ¶
func NewUpdateNetworkSwitchStpParamsWithContext(ctx context.Context) *UpdateNetworkSwitchStpParams
NewUpdateNetworkSwitchStpParamsWithContext creates a new UpdateNetworkSwitchStpParams object with the ability to set a context for a request.
func NewUpdateNetworkSwitchStpParamsWithHTTPClient ¶
func NewUpdateNetworkSwitchStpParamsWithHTTPClient(client *http.Client) *UpdateNetworkSwitchStpParams
NewUpdateNetworkSwitchStpParamsWithHTTPClient creates a new UpdateNetworkSwitchStpParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSwitchStpParamsWithTimeout ¶
func NewUpdateNetworkSwitchStpParamsWithTimeout(timeout time.Duration) *UpdateNetworkSwitchStpParams
NewUpdateNetworkSwitchStpParamsWithTimeout creates a new UpdateNetworkSwitchStpParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSwitchStpParams) SetContext ¶
func (o *UpdateNetworkSwitchStpParams) SetContext(ctx context.Context)
SetContext adds the context to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) SetDefaults ¶
func (o *UpdateNetworkSwitchStpParams) SetDefaults()
SetDefaults hydrates default values in the update network switch stp params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSwitchStpParams) SetHTTPClient ¶
func (o *UpdateNetworkSwitchStpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) SetNetworkID ¶
func (o *UpdateNetworkSwitchStpParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) SetTimeout ¶
func (o *UpdateNetworkSwitchStpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) SetUpdateNetworkSwitchStp ¶
func (o *UpdateNetworkSwitchStpParams) SetUpdateNetworkSwitchStp(updateNetworkSwitchStp UpdateNetworkSwitchStpBody)
SetUpdateNetworkSwitchStp adds the updateNetworkSwitchStp to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) WithContext ¶
func (o *UpdateNetworkSwitchStpParams) WithContext(ctx context.Context) *UpdateNetworkSwitchStpParams
WithContext adds the context to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) WithDefaults ¶
func (o *UpdateNetworkSwitchStpParams) WithDefaults() *UpdateNetworkSwitchStpParams
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 ¶
func (o *UpdateNetworkSwitchStpParams) WithHTTPClient(client *http.Client) *UpdateNetworkSwitchStpParams
WithHTTPClient adds the HTTPClient to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) WithNetworkID ¶
func (o *UpdateNetworkSwitchStpParams) WithNetworkID(networkID string) *UpdateNetworkSwitchStpParams
WithNetworkID adds the networkID to the update network switch stp params
func (*UpdateNetworkSwitchStpParams) WithTimeout ¶
func (o *UpdateNetworkSwitchStpParams) WithTimeout(timeout time.Duration) *UpdateNetworkSwitchStpParams
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 ¶
func (o *UpdateNetworkSwitchStpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 ¶
type UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 struct { // List of stack IDs Stacks []string `json:"stacks"` // STP priority for switch, stacks, or switch templates // Required: true StpPriority *int64 `json:"stpPriority"` // List of switch template IDs SwitchProfiles []string `json:"switchProfiles"` // List of switch serial numbers Switches []string `json:"switches"` }
UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0 update network switch stp params body stp bridge priority items0 swagger:model UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0
func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) ContextValidate ¶
func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network switch stp params body stp bridge priority items0 based on context it is used
func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) MarshalBinary ¶
func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSwitchStpParamsBodyStpBridgePriorityItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSwitchStpReader ¶
type UpdateNetworkSwitchStpReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSwitchStpReader is a Reader for the UpdateNetworkSwitchStp structure.
func (*UpdateNetworkSwitchStpReader) ReadResponse ¶
func (o *UpdateNetworkSwitchStpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateOrganizationConfigTemplateSwitchProfilePortBody ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortBody struct { // The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The VLANs allowed on the switch template port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch template port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch template port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch template port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch template port. Name string `json:"name,omitempty"` // The PoE status of the switch template port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch template port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch template port. Tags []string `json:"tags"` // The type of the switch template port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch template port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch template port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
UpdateOrganizationConfigTemplateSwitchProfilePortBody update organization config template switch profile port body // Example: {"accessPolicyNumber":2,"accessPolicyType":"Sticky MAC allow list","allowedVlans":"1,3,5-10","daiTrusted":false,"enabled":true,"flexibleStackingEnabled":true,"isolationEnabled":false,"linkNegotiation":"Auto negotiate","macAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"name":"My switch port","poeEnabled":true,"portScheduleId":"1234","profile":{"enabled":false,"id":"1284392014819","iname":"iname"},"rstpEnabled":true,"stickyMacAllowList":["34:56:fe:ce:8e:b0","34:56:fe:ce:8e:b1"],"stickyMacAllowListLimit":5,"stormControlEnabled":true,"stpGuard":"disabled","tags":["tag1","tag2"],"type":"access","udld":"Alert only","vlan":10,"voiceVlan":20} swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortBody
func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) ContextValidate ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update organization config template switch profile port body based on the context it is used
func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) MarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrganizationConfigTemplateSwitchProfilePortBody) UnmarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrganizationConfigTemplateSwitchProfilePortOK ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortOK struct {
Payload *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody
}
UpdateOrganizationConfigTemplateSwitchProfilePortOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateOrganizationConfigTemplateSwitchProfilePortOK ¶
func NewUpdateOrganizationConfigTemplateSwitchProfilePortOK() *UpdateOrganizationConfigTemplateSwitchProfilePortOK
NewUpdateOrganizationConfigTemplateSwitchProfilePortOK creates a UpdateOrganizationConfigTemplateSwitchProfilePortOK with default headers values
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) Code ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) Code() int
Code gets the status code for the update organization config template switch profile port o k response
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) Error ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) Error() string
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) GetPayload ¶
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsClientError ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsClientError() bool
IsClientError returns true when this update organization config template switch profile port o k response has a 4xx status code
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsCode ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsCode(code int) bool
IsCode returns true when this update organization config template switch profile port o k response a status code equal to that given
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsRedirect() bool
IsRedirect returns true when this update organization config template switch profile port o k response has a 3xx status code
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsServerError ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsServerError() bool
IsServerError returns true when this update organization config template switch profile port o k response has a 5xx status code
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) IsSuccess() bool
IsSuccess returns true when this update organization config template switch profile port o k response has a 2xx status code
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOK) String ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOK) String() string
type UpdateOrganizationConfigTemplateSwitchProfilePortOKBody ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortOKBody struct { // The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'. AccessPolicyNumber int64 `json:"accessPolicyNumber,omitempty"` // The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'. // Enum: [Custom access policy MAC allow list Open Sticky MAC allow list] AccessPolicyType string `json:"accessPolicyType,omitempty"` // The VLANs allowed on the switch template port. Only applicable to trunk ports. AllowedVlans string `json:"allowedVlans,omitempty"` // If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic. DaiTrusted bool `json:"daiTrusted,omitempty"` // The status of the switch template port. Enabled bool `json:"enabled,omitempty"` // For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled. FlexibleStackingEnabled bool `json:"flexibleStackingEnabled,omitempty"` // The isolation status of the switch template port. IsolationEnabled bool `json:"isolationEnabled,omitempty"` // The link speed for the switch template port. LinkNegotiation string `json:"linkNegotiation,omitempty"` // Available link speeds for the switch template port. LinkNegotiationCapabilities []string `json:"linkNegotiationCapabilities"` // Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'. MacAllowList []string `json:"macAllowList"` // The name of the switch template port. Name string `json:"name,omitempty"` // The PoE status of the switch template port. PoeEnabled bool `json:"poeEnabled,omitempty"` // The identifier of the switch template port. PortID string `json:"portId,omitempty"` // The ID of the port schedule. A value of null will clear the port schedule. PortScheduleID string `json:"portScheduleId,omitempty"` // profile Profile *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile `json:"profile,omitempty"` // The rapid spanning tree protocol status. RstpEnabled bool `json:"rstpEnabled,omitempty"` // The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowList []string `json:"stickyMacAllowList"` // The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'. StickyMacAllowListLimit int64 `json:"stickyMacAllowListLimit,omitempty"` // The storm control status of the switch template port. StormControlEnabled bool `json:"stormControlEnabled,omitempty"` // The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard'). // Enum: [bpdu guard disabled loop guard root guard] StpGuard string `json:"stpGuard,omitempty"` // The list of tags of the switch template port. Tags []string `json:"tags"` // The type of the switch template port ('trunk' or 'access'). // Enum: [access trunk] Type string `json:"type,omitempty"` // The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only. // Enum: [Alert only Enforce] Udld string `json:"udld,omitempty"` // The VLAN of the switch template port. A null value will clear the value set for trunk ports. Vlan int64 `json:"vlan,omitempty"` // The voice VLAN of the switch template port. Only applicable to access ports. VoiceVlan int64 `json:"voiceVlan,omitempty"` }
UpdateOrganizationConfigTemplateSwitchProfilePortOKBody update organization config template switch profile port o k body swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortOKBody
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update organization config template switch profile port o k body based on the context it is used
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile Profile attributes swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update organization config template switch profile port o k body profile based on context it is used
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortOKBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateOrganizationConfigTemplateSwitchProfilePortParams ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortParams struct { /* ConfigTemplateID. Config template ID */ ConfigTemplateID string /* OrganizationID. Organization ID */ OrganizationID string /* PortID. Port ID */ PortID string /* ProfileID. Profile ID */ ProfileID string // UpdateOrganizationConfigTemplateSwitchProfilePort. UpdateOrganizationConfigTemplateSwitchProfilePort UpdateOrganizationConfigTemplateSwitchProfilePortBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateOrganizationConfigTemplateSwitchProfilePortParams contains all the parameters to send to the API endpoint
for the update organization config template switch profile port operation. Typically these are written to a http.Request.
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParams ¶
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParams() *UpdateOrganizationConfigTemplateSwitchProfilePortParams
NewUpdateOrganizationConfigTemplateSwitchProfilePortParams creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext ¶
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext(ctx context.Context) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithContext creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a context for a request.
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient ¶
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient(client *http.Client) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithHTTPClient creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout ¶
func NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout(timeout time.Duration) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
NewUpdateOrganizationConfigTemplateSwitchProfilePortParamsWithTimeout creates a new UpdateOrganizationConfigTemplateSwitchProfilePortParams object with the ability to set a timeout on a request.
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetConfigTemplateID(configTemplateID string)
SetConfigTemplateID adds the configTemplateId to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetContext ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetContext(ctx context.Context)
SetContext adds the context to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetDefaults ¶
func (o *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 ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetHTTPClient(client *http.Client)
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 ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetPortID(portID string)
SetPortID adds the portId to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetProfileID(profileID string)
SetProfileID adds the profileId to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) SetTimeout(timeout time.Duration)
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 ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithConfigTemplateID(configTemplateID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithConfigTemplateID adds the configTemplateID to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithContext ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithContext(ctx context.Context) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithContext adds the context to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithDefaults() *UpdateOrganizationConfigTemplateSwitchProfilePortParams
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 ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithHTTPClient(client *http.Client) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithHTTPClient adds the HTTPClient to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithOrganizationID(organizationID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithOrganizationID adds the organizationID to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithPortID ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithPortID(portID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithPortID adds the portID to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithProfileID(profileID string) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
WithProfileID adds the profileID to the update organization config template switch profile port params
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WithTimeout(timeout time.Duration) *UpdateOrganizationConfigTemplateSwitchProfilePortParams
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 ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile struct { // When enabled, override this port's configuration with a port profile. Enabled bool `json:"enabled,omitempty"` // When enabled, the ID of the port profile used to override the port's configuration. ID string `json:"id,omitempty"` // When enabled, the IName of the profile. Iname string `json:"iname,omitempty"` }
UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile Profile attributes swagger:model UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) ContextValidate ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update organization config template switch profile port params body profile based on context it is used
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) MarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) UnmarshalBinary ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) Validate ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortParamsBodyProfile) Validate(formats strfmt.Registry) error
Validate validates this update organization config template switch profile port params body profile
type UpdateOrganizationConfigTemplateSwitchProfilePortReader ¶
type UpdateOrganizationConfigTemplateSwitchProfilePortReader struct {
// contains filtered or unexported fields
}
UpdateOrganizationConfigTemplateSwitchProfilePortReader is a Reader for the UpdateOrganizationConfigTemplateSwitchProfilePort structure.
func (*UpdateOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse ¶
func (o *UpdateOrganizationConfigTemplateSwitchProfilePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_network_switch_stack_parameters.go
- add_network_switch_stack_responses.go
- clone_organization_switch_devices_parameters.go
- clone_organization_switch_devices_responses.go
- create_device_switch_routing_interface_parameters.go
- create_device_switch_routing_interface_responses.go
- create_device_switch_routing_static_route_parameters.go
- create_device_switch_routing_static_route_responses.go
- create_network_switch_access_policy_parameters.go
- create_network_switch_access_policy_responses.go
- create_network_switch_dhcp_server_policy_arp_inspection_trusted_server_parameters.go
- create_network_switch_dhcp_server_policy_arp_inspection_trusted_server_responses.go
- create_network_switch_link_aggregation_parameters.go
- create_network_switch_link_aggregation_responses.go
- create_network_switch_port_schedule_parameters.go
- create_network_switch_port_schedule_responses.go
- create_network_switch_qos_rule_parameters.go
- create_network_switch_qos_rule_responses.go
- create_network_switch_routing_multicast_rendezvous_point_parameters.go
- create_network_switch_routing_multicast_rendezvous_point_responses.go
- create_network_switch_stack_parameters.go
- create_network_switch_stack_responses.go
- create_network_switch_stack_routing_interface_parameters.go
- create_network_switch_stack_routing_interface_responses.go
- create_network_switch_stack_routing_static_route_parameters.go
- create_network_switch_stack_routing_static_route_responses.go
- cycle_device_switch_ports_parameters.go
- cycle_device_switch_ports_responses.go
- delete_device_switch_routing_interface_parameters.go
- delete_device_switch_routing_interface_responses.go
- delete_device_switch_routing_static_route_parameters.go
- delete_device_switch_routing_static_route_responses.go
- delete_network_switch_access_policy_parameters.go
- delete_network_switch_access_policy_responses.go
- delete_network_switch_dhcp_server_policy_arp_inspection_trusted_server_parameters.go
- delete_network_switch_dhcp_server_policy_arp_inspection_trusted_server_responses.go
- delete_network_switch_link_aggregation_parameters.go
- delete_network_switch_link_aggregation_responses.go
- delete_network_switch_port_schedule_parameters.go
- delete_network_switch_port_schedule_responses.go
- delete_network_switch_qos_rule_parameters.go
- delete_network_switch_qos_rule_responses.go
- delete_network_switch_routing_multicast_rendezvous_point_parameters.go
- delete_network_switch_routing_multicast_rendezvous_point_responses.go
- delete_network_switch_stack_parameters.go
- delete_network_switch_stack_responses.go
- delete_network_switch_stack_routing_interface_parameters.go
- delete_network_switch_stack_routing_interface_responses.go
- delete_network_switch_stack_routing_static_route_parameters.go
- delete_network_switch_stack_routing_static_route_responses.go
- get_device_switch_port_parameters.go
- get_device_switch_port_responses.go
- get_device_switch_ports_parameters.go
- get_device_switch_ports_responses.go
- get_device_switch_ports_statuses_packets_parameters.go
- get_device_switch_ports_statuses_packets_responses.go
- get_device_switch_ports_statuses_parameters.go
- get_device_switch_ports_statuses_responses.go
- get_device_switch_routing_interface_dhcp_parameters.go
- get_device_switch_routing_interface_dhcp_responses.go
- get_device_switch_routing_interface_parameters.go
- get_device_switch_routing_interface_responses.go
- get_device_switch_routing_interfaces_parameters.go
- get_device_switch_routing_interfaces_responses.go
- get_device_switch_routing_static_route_parameters.go
- get_device_switch_routing_static_route_responses.go
- get_device_switch_routing_static_routes_parameters.go
- get_device_switch_routing_static_routes_responses.go
- get_device_switch_warm_spare_parameters.go
- get_device_switch_warm_spare_responses.go
- get_network_switch_access_control_lists_parameters.go
- get_network_switch_access_control_lists_responses.go
- get_network_switch_access_policies_parameters.go
- get_network_switch_access_policies_responses.go
- get_network_switch_access_policy_parameters.go
- get_network_switch_access_policy_responses.go
- get_network_switch_alternate_management_interface_parameters.go
- get_network_switch_alternate_management_interface_responses.go
- get_network_switch_dhcp_server_policy_arp_inspection_trusted_servers_parameters.go
- get_network_switch_dhcp_server_policy_arp_inspection_trusted_servers_responses.go
- get_network_switch_dhcp_server_policy_arp_inspection_warnings_by_device_parameters.go
- get_network_switch_dhcp_server_policy_arp_inspection_warnings_by_device_responses.go
- get_network_switch_dhcp_server_policy_parameters.go
- get_network_switch_dhcp_server_policy_responses.go
- get_network_switch_dhcp_v4_servers_seen_parameters.go
- get_network_switch_dhcp_v4_servers_seen_responses.go
- get_network_switch_dscp_to_cos_mappings_parameters.go
- get_network_switch_dscp_to_cos_mappings_responses.go
- get_network_switch_link_aggregations_parameters.go
- get_network_switch_link_aggregations_responses.go
- get_network_switch_mtu_parameters.go
- get_network_switch_mtu_responses.go
- get_network_switch_port_schedules_parameters.go
- get_network_switch_port_schedules_responses.go
- get_network_switch_qos_rule_parameters.go
- get_network_switch_qos_rule_responses.go
- get_network_switch_qos_rules_order_parameters.go
- get_network_switch_qos_rules_order_responses.go
- get_network_switch_qos_rules_parameters.go
- get_network_switch_qos_rules_responses.go
- get_network_switch_routing_multicast_parameters.go
- get_network_switch_routing_multicast_rendezvous_point_parameters.go
- get_network_switch_routing_multicast_rendezvous_point_responses.go
- get_network_switch_routing_multicast_rendezvous_points_parameters.go
- get_network_switch_routing_multicast_rendezvous_points_responses.go
- get_network_switch_routing_multicast_responses.go
- get_network_switch_routing_ospf_parameters.go
- get_network_switch_routing_ospf_responses.go
- get_network_switch_settings_parameters.go
- get_network_switch_settings_responses.go
- get_network_switch_stack_parameters.go
- get_network_switch_stack_responses.go
- get_network_switch_stack_routing_interface_dhcp_parameters.go
- get_network_switch_stack_routing_interface_dhcp_responses.go
- get_network_switch_stack_routing_interface_parameters.go
- get_network_switch_stack_routing_interface_responses.go
- get_network_switch_stack_routing_interfaces_parameters.go
- get_network_switch_stack_routing_interfaces_responses.go
- get_network_switch_stack_routing_static_route_parameters.go
- get_network_switch_stack_routing_static_route_responses.go
- get_network_switch_stack_routing_static_routes_parameters.go
- get_network_switch_stack_routing_static_routes_responses.go
- get_network_switch_stacks_parameters.go
- get_network_switch_stacks_responses.go
- get_network_switch_storm_control_parameters.go
- get_network_switch_storm_control_responses.go
- get_network_switch_stp_parameters.go
- get_network_switch_stp_responses.go
- get_organization_config_template_switch_profile_port_parameters.go
- get_organization_config_template_switch_profile_port_responses.go
- get_organization_config_template_switch_profile_ports_parameters.go
- get_organization_config_template_switch_profile_ports_responses.go
- get_organization_config_template_switch_profiles_parameters.go
- get_organization_config_template_switch_profiles_responses.go
- get_organization_switch_ports_by_switch_parameters.go
- get_organization_switch_ports_by_switch_responses.go
- remove_network_switch_stack_parameters.go
- remove_network_switch_stack_responses.go
- switch_operations_client.go
- update_device_switch_port_parameters.go
- update_device_switch_port_responses.go
- update_device_switch_routing_interface_dhcp_parameters.go
- update_device_switch_routing_interface_dhcp_responses.go
- update_device_switch_routing_interface_parameters.go
- update_device_switch_routing_interface_responses.go
- update_device_switch_routing_static_route_parameters.go
- update_device_switch_routing_static_route_responses.go
- update_device_switch_warm_spare_parameters.go
- update_device_switch_warm_spare_responses.go
- update_network_switch_access_control_lists_parameters.go
- update_network_switch_access_control_lists_responses.go
- update_network_switch_access_policy_parameters.go
- update_network_switch_access_policy_responses.go
- update_network_switch_alternate_management_interface_parameters.go
- update_network_switch_alternate_management_interface_responses.go
- update_network_switch_dhcp_server_policy_arp_inspection_trusted_server_parameters.go
- update_network_switch_dhcp_server_policy_arp_inspection_trusted_server_responses.go
- update_network_switch_dhcp_server_policy_parameters.go
- update_network_switch_dhcp_server_policy_responses.go
- update_network_switch_dscp_to_cos_mappings_parameters.go
- update_network_switch_dscp_to_cos_mappings_responses.go
- update_network_switch_link_aggregation_parameters.go
- update_network_switch_link_aggregation_responses.go
- update_network_switch_mtu_parameters.go
- update_network_switch_mtu_responses.go
- update_network_switch_port_schedule_parameters.go
- update_network_switch_port_schedule_responses.go
- update_network_switch_qos_rule_parameters.go
- update_network_switch_qos_rule_responses.go
- update_network_switch_qos_rules_order_parameters.go
- update_network_switch_qos_rules_order_responses.go
- update_network_switch_routing_multicast_parameters.go
- update_network_switch_routing_multicast_rendezvous_point_parameters.go
- update_network_switch_routing_multicast_rendezvous_point_responses.go
- update_network_switch_routing_multicast_responses.go
- update_network_switch_routing_ospf_parameters.go
- update_network_switch_routing_ospf_responses.go
- update_network_switch_settings_parameters.go
- update_network_switch_settings_responses.go
- update_network_switch_stack_routing_interface_dhcp_parameters.go
- update_network_switch_stack_routing_interface_dhcp_responses.go
- update_network_switch_stack_routing_interface_parameters.go
- update_network_switch_stack_routing_interface_responses.go
- update_network_switch_stack_routing_static_route_parameters.go
- update_network_switch_stack_routing_static_route_responses.go
- update_network_switch_storm_control_parameters.go
- update_network_switch_storm_control_responses.go
- update_network_switch_stp_parameters.go
- update_network_switch_stp_responses.go
- update_organization_config_template_switch_profile_port_parameters.go
- update_organization_config_template_switch_profile_port_responses.go