uplink_settings

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for uplink settings API

func (*Client) GetNetworkUplinkSettings

func (a *Client) GetNetworkUplinkSettings(params *GetNetworkUplinkSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkUplinkSettingsOK, error)

GetNetworkUplinkSettings gets network uplink settings

Returns the uplink settings for your MX network.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateNetworkUplinkSettings

func (a *Client) UpdateNetworkUplinkSettings(params *UpdateNetworkUplinkSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkUplinkSettingsOK, error)

UpdateNetworkUplinkSettings updates network uplink settings

Updates the uplink settings for your MX network.

type ClientService

type ClientService interface {
	GetNetworkUplinkSettings(params *GetNetworkUplinkSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkUplinkSettingsOK, error)

	UpdateNetworkUplinkSettings(params *UpdateNetworkUplinkSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNetworkUplinkSettingsOK, 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 uplink settings API client.

type GetNetworkUplinkSettingsOK

type GetNetworkUplinkSettingsOK struct {
	Payload interface{}
}

GetNetworkUplinkSettingsOK handles this case with default header values.

Successful operation

func NewGetNetworkUplinkSettingsOK

func NewGetNetworkUplinkSettingsOK() *GetNetworkUplinkSettingsOK

NewGetNetworkUplinkSettingsOK creates a GetNetworkUplinkSettingsOK with default headers values

func (*GetNetworkUplinkSettingsOK) Error

func (*GetNetworkUplinkSettingsOK) GetPayload

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

type GetNetworkUplinkSettingsParams

type GetNetworkUplinkSettingsParams struct {

	/*NetworkID*/
	NetworkID string

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

GetNetworkUplinkSettingsParams contains all the parameters to send to the API endpoint for the get network uplink settings operation typically these are written to a http.Request

func NewGetNetworkUplinkSettingsParams

func NewGetNetworkUplinkSettingsParams() *GetNetworkUplinkSettingsParams

NewGetNetworkUplinkSettingsParams creates a new GetNetworkUplinkSettingsParams object with the default values initialized.

func NewGetNetworkUplinkSettingsParamsWithContext

func NewGetNetworkUplinkSettingsParamsWithContext(ctx context.Context) *GetNetworkUplinkSettingsParams

NewGetNetworkUplinkSettingsParamsWithContext creates a new GetNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a context for a request

func NewGetNetworkUplinkSettingsParamsWithHTTPClient

func NewGetNetworkUplinkSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkUplinkSettingsParams

NewGetNetworkUplinkSettingsParamsWithHTTPClient creates a new GetNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetNetworkUplinkSettingsParamsWithTimeout

func NewGetNetworkUplinkSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkUplinkSettingsParams

NewGetNetworkUplinkSettingsParamsWithTimeout creates a new GetNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetNetworkUplinkSettingsParams) SetContext

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

SetContext adds the context to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) SetNetworkID

func (o *GetNetworkUplinkSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) WithContext

WithContext adds the context to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) WithTimeout

WithTimeout adds the timeout to the get network uplink settings params

func (*GetNetworkUplinkSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkUplinkSettingsReader

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

GetNetworkUplinkSettingsReader is a Reader for the GetNetworkUplinkSettings structure.

func (*GetNetworkUplinkSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateNetworkUplinkSettingsOK

type UpdateNetworkUplinkSettingsOK struct {
	Payload interface{}
}

UpdateNetworkUplinkSettingsOK handles this case with default header values.

Successful operation

func NewUpdateNetworkUplinkSettingsOK

func NewUpdateNetworkUplinkSettingsOK() *UpdateNetworkUplinkSettingsOK

NewUpdateNetworkUplinkSettingsOK creates a UpdateNetworkUplinkSettingsOK with default headers values

func (*UpdateNetworkUplinkSettingsOK) Error

func (*UpdateNetworkUplinkSettingsOK) GetPayload

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

type UpdateNetworkUplinkSettingsParams

type UpdateNetworkUplinkSettingsParams struct {

	/*NetworkID*/
	NetworkID string
	/*UpdateNetworkUplinkSettings*/
	UpdateNetworkUplinkSettings *models.UpdateNetworkUplinkSettings

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

UpdateNetworkUplinkSettingsParams contains all the parameters to send to the API endpoint for the update network uplink settings operation typically these are written to a http.Request

func NewUpdateNetworkUplinkSettingsParams

func NewUpdateNetworkUplinkSettingsParams() *UpdateNetworkUplinkSettingsParams

NewUpdateNetworkUplinkSettingsParams creates a new UpdateNetworkUplinkSettingsParams object with the default values initialized.

func NewUpdateNetworkUplinkSettingsParamsWithContext

func NewUpdateNetworkUplinkSettingsParamsWithContext(ctx context.Context) *UpdateNetworkUplinkSettingsParams

NewUpdateNetworkUplinkSettingsParamsWithContext creates a new UpdateNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateNetworkUplinkSettingsParamsWithHTTPClient

func NewUpdateNetworkUplinkSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkUplinkSettingsParams

NewUpdateNetworkUplinkSettingsParamsWithHTTPClient creates a new UpdateNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateNetworkUplinkSettingsParamsWithTimeout

func NewUpdateNetworkUplinkSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkUplinkSettingsParams

NewUpdateNetworkUplinkSettingsParamsWithTimeout creates a new UpdateNetworkUplinkSettingsParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateNetworkUplinkSettingsParams) SetContext

SetContext adds the context to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) SetNetworkID

func (o *UpdateNetworkUplinkSettingsParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) SetUpdateNetworkUplinkSettings

func (o *UpdateNetworkUplinkSettingsParams) SetUpdateNetworkUplinkSettings(updateNetworkUplinkSettings *models.UpdateNetworkUplinkSettings)

SetUpdateNetworkUplinkSettings adds the updateNetworkUplinkSettings to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WithContext

WithContext adds the context to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WithNetworkID

WithNetworkID adds the networkID to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WithTimeout

WithTimeout adds the timeout to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WithUpdateNetworkUplinkSettings

func (o *UpdateNetworkUplinkSettingsParams) WithUpdateNetworkUplinkSettings(updateNetworkUplinkSettings *models.UpdateNetworkUplinkSettings) *UpdateNetworkUplinkSettingsParams

WithUpdateNetworkUplinkSettings adds the updateNetworkUplinkSettings to the update network uplink settings params

func (*UpdateNetworkUplinkSettingsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateNetworkUplinkSettingsReader

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

UpdateNetworkUplinkSettingsReader is a Reader for the UpdateNetworkUplinkSettings structure.

func (*UpdateNetworkUplinkSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL