Documentation
¶
Index ¶
- type Client
- func (a *Client) GetNetworkUplinkSettings(params *GetNetworkUplinkSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkUplinkSettingsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNetworkUplinkSettings(params *UpdateNetworkUplinkSettingsParams, ...) (*UpdateNetworkUplinkSettingsOK, error)
- type ClientService
- type GetNetworkUplinkSettingsOK
- type GetNetworkUplinkSettingsParams
- func NewGetNetworkUplinkSettingsParams() *GetNetworkUplinkSettingsParams
- func NewGetNetworkUplinkSettingsParamsWithContext(ctx context.Context) *GetNetworkUplinkSettingsParams
- func NewGetNetworkUplinkSettingsParamsWithHTTPClient(client *http.Client) *GetNetworkUplinkSettingsParams
- func NewGetNetworkUplinkSettingsParamsWithTimeout(timeout time.Duration) *GetNetworkUplinkSettingsParams
- func (o *GetNetworkUplinkSettingsParams) SetContext(ctx context.Context)
- func (o *GetNetworkUplinkSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkUplinkSettingsParams) SetNetworkID(networkID string)
- func (o *GetNetworkUplinkSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkUplinkSettingsParams) WithContext(ctx context.Context) *GetNetworkUplinkSettingsParams
- func (o *GetNetworkUplinkSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkUplinkSettingsParams
- func (o *GetNetworkUplinkSettingsParams) WithNetworkID(networkID string) *GetNetworkUplinkSettingsParams
- func (o *GetNetworkUplinkSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkUplinkSettingsParams
- func (o *GetNetworkUplinkSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkUplinkSettingsReader
- type UpdateNetworkUplinkSettingsOK
- type UpdateNetworkUplinkSettingsParams
- func NewUpdateNetworkUplinkSettingsParams() *UpdateNetworkUplinkSettingsParams
- func NewUpdateNetworkUplinkSettingsParamsWithContext(ctx context.Context) *UpdateNetworkUplinkSettingsParams
- func NewUpdateNetworkUplinkSettingsParamsWithHTTPClient(client *http.Client) *UpdateNetworkUplinkSettingsParams
- func NewUpdateNetworkUplinkSettingsParamsWithTimeout(timeout time.Duration) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkUplinkSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkUplinkSettingsParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkUplinkSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkUplinkSettingsParams) SetUpdateNetworkUplinkSettings(updateNetworkUplinkSettings *models.UpdateNetworkUplinkSettings)
- func (o *UpdateNetworkUplinkSettingsParams) WithContext(ctx context.Context) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) WithNetworkID(networkID string) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) WithUpdateNetworkUplinkSettings(updateNetworkUplinkSettings *models.UpdateNetworkUplinkSettings) *UpdateNetworkUplinkSettingsParams
- func (o *UpdateNetworkUplinkSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkUplinkSettingsReader
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 (o *GetNetworkUplinkSettingsOK) Error() string
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 ¶
func (o *GetNetworkUplinkSettingsParams) WithContext(ctx context.Context) *GetNetworkUplinkSettingsParams
WithContext adds the context to the get network uplink settings params
func (*GetNetworkUplinkSettingsParams) WithHTTPClient ¶
func (o *GetNetworkUplinkSettingsParams) WithHTTPClient(client *http.Client) *GetNetworkUplinkSettingsParams
WithHTTPClient adds the HTTPClient to the get network uplink settings params
func (*GetNetworkUplinkSettingsParams) WithNetworkID ¶
func (o *GetNetworkUplinkSettingsParams) WithNetworkID(networkID string) *GetNetworkUplinkSettingsParams
WithNetworkID adds the networkID to the get network uplink settings params
func (*GetNetworkUplinkSettingsParams) WithTimeout ¶
func (o *GetNetworkUplinkSettingsParams) WithTimeout(timeout time.Duration) *GetNetworkUplinkSettingsParams
WithTimeout adds the timeout to the get network uplink settings params
func (*GetNetworkUplinkSettingsParams) WriteToRequest ¶
func (o *GetNetworkUplinkSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *UpdateNetworkUplinkSettingsOK) Error() string
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 ¶
func (o *UpdateNetworkUplinkSettingsParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateNetworkUplinkSettingsParams) WithContext(ctx context.Context) *UpdateNetworkUplinkSettingsParams
WithContext adds the context to the update network uplink settings params
func (*UpdateNetworkUplinkSettingsParams) WithHTTPClient ¶
func (o *UpdateNetworkUplinkSettingsParams) WithHTTPClient(client *http.Client) *UpdateNetworkUplinkSettingsParams
WithHTTPClient adds the HTTPClient to the update network uplink settings params
func (*UpdateNetworkUplinkSettingsParams) WithNetworkID ¶
func (o *UpdateNetworkUplinkSettingsParams) WithNetworkID(networkID string) *UpdateNetworkUplinkSettingsParams
WithNetworkID adds the networkID to the update network uplink settings params
func (*UpdateNetworkUplinkSettingsParams) WithTimeout ¶
func (o *UpdateNetworkUplinkSettingsParams) WithTimeout(timeout time.Duration) *UpdateNetworkUplinkSettingsParams
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 ¶
func (o *UpdateNetworkUplinkSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.