insight

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

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 12 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 insight API

func (*Client) CreateOrganizationInsightMonitoredMediaServer

CreateOrganizationInsightMonitoredMediaServer adds a media server to be monitored for this organization

Add a media server to be monitored for this organization. Only valid for organizations with Meraki Insight.

func (*Client) DeleteOrganizationInsightMonitoredMediaServer

DeleteOrganizationInsightMonitoredMediaServer deletes a monitored media server from this organization

Delete a monitored media server from this organization. Only valid for organizations with Meraki Insight.

func (*Client) GetNetworkInsightApplicationHealthByTime

GetNetworkInsightApplicationHealthByTime gets application health by time

Get application health by time

func (*Client) GetOrganizationInsightApplications

func (a *Client) GetOrganizationInsightApplications(params *GetOrganizationInsightApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInsightApplicationsOK, error)

GetOrganizationInsightApplications lists all insight tracked applications

List all Insight tracked applications

func (*Client) GetOrganizationInsightMonitoredMediaServer

GetOrganizationInsightMonitoredMediaServer returns a monitored media server for this organization

Return a monitored media server for this organization. Only valid for organizations with Meraki Insight.

func (*Client) GetOrganizationInsightMonitoredMediaServers

GetOrganizationInsightMonitoredMediaServers lists the monitored media servers for this organization

List the monitored media servers for this organization. Only valid for organizations with Meraki Insight.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateOrganizationInsightMonitoredMediaServer

UpdateOrganizationInsightMonitoredMediaServer updates a monitored media server for this organization

Update a monitored media server for this organization. Only valid for organizations with Meraki Insight.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateOrganizationInsightMonitoredMediaServer(params *CreateOrganizationInsightMonitoredMediaServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOrganizationInsightMonitoredMediaServerCreated, error)

	DeleteOrganizationInsightMonitoredMediaServer(params *DeleteOrganizationInsightMonitoredMediaServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationInsightMonitoredMediaServerNoContent, error)

	GetNetworkInsightApplicationHealthByTime(params *GetNetworkInsightApplicationHealthByTimeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkInsightApplicationHealthByTimeOK, error)

	GetOrganizationInsightApplications(params *GetOrganizationInsightApplicationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInsightApplicationsOK, error)

	GetOrganizationInsightMonitoredMediaServer(params *GetOrganizationInsightMonitoredMediaServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInsightMonitoredMediaServerOK, error)

	GetOrganizationInsightMonitoredMediaServers(params *GetOrganizationInsightMonitoredMediaServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationInsightMonitoredMediaServersOK, error)

	UpdateOrganizationInsightMonitoredMediaServer(params *UpdateOrganizationInsightMonitoredMediaServerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOrganizationInsightMonitoredMediaServerOK, 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 insight API client.

type CreateOrganizationInsightMonitoredMediaServerBody

type CreateOrganizationInsightMonitoredMediaServerBody struct {

	// The IP address (IPv4 only) or hostname of the media server to monitor
	// Required: true
	Address *string `json:"address"`

	// Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead.
	BestEffortMonitoringEnabled bool `json:"bestEffortMonitoringEnabled,omitempty"`

	// The name of the VoIP provider
	// Required: true
	Name *string `json:"name"`
}

CreateOrganizationInsightMonitoredMediaServerBody create organization insight monitored media server body // Example: {"address":"123.123.123.1","bestEffortMonitoringEnabled":true,"name":"Sample VoIP Provider"} swagger:model CreateOrganizationInsightMonitoredMediaServerBody

func (*CreateOrganizationInsightMonitoredMediaServerBody) ContextValidate

ContextValidate validates this create organization insight monitored media server body based on context it is used

func (*CreateOrganizationInsightMonitoredMediaServerBody) MarshalBinary

MarshalBinary interface implementation

func (*CreateOrganizationInsightMonitoredMediaServerBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateOrganizationInsightMonitoredMediaServerBody) Validate

Validate validates this create organization insight monitored media server body

type CreateOrganizationInsightMonitoredMediaServerCreated

type CreateOrganizationInsightMonitoredMediaServerCreated struct {
	Payload interface{}
}

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

Successful operation

func NewCreateOrganizationInsightMonitoredMediaServerCreated

func NewCreateOrganizationInsightMonitoredMediaServerCreated() *CreateOrganizationInsightMonitoredMediaServerCreated

NewCreateOrganizationInsightMonitoredMediaServerCreated creates a CreateOrganizationInsightMonitoredMediaServerCreated with default headers values

func (*CreateOrganizationInsightMonitoredMediaServerCreated) Code

Code gets the status code for the create organization insight monitored media server created response

func (*CreateOrganizationInsightMonitoredMediaServerCreated) Error

func (*CreateOrganizationInsightMonitoredMediaServerCreated) GetPayload

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

func (*CreateOrganizationInsightMonitoredMediaServerCreated) IsClientError

IsClientError returns true when this create organization insight monitored media server created response has a 4xx status code

func (*CreateOrganizationInsightMonitoredMediaServerCreated) IsCode

IsCode returns true when this create organization insight monitored media server created response a status code equal to that given

func (*CreateOrganizationInsightMonitoredMediaServerCreated) IsRedirect

IsRedirect returns true when this create organization insight monitored media server created response has a 3xx status code

func (*CreateOrganizationInsightMonitoredMediaServerCreated) IsServerError

IsServerError returns true when this create organization insight monitored media server created response has a 5xx status code

func (*CreateOrganizationInsightMonitoredMediaServerCreated) IsSuccess

IsSuccess returns true when this create organization insight monitored media server created response has a 2xx status code

func (*CreateOrganizationInsightMonitoredMediaServerCreated) String

type CreateOrganizationInsightMonitoredMediaServerParams

type CreateOrganizationInsightMonitoredMediaServerParams struct {

	// CreateOrganizationInsightMonitoredMediaServer.
	CreateOrganizationInsightMonitoredMediaServer CreateOrganizationInsightMonitoredMediaServerBody

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

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

CreateOrganizationInsightMonitoredMediaServerParams contains all the parameters to send to the API endpoint

for the create organization insight monitored media server operation.

Typically these are written to a http.Request.

func NewCreateOrganizationInsightMonitoredMediaServerParams

func NewCreateOrganizationInsightMonitoredMediaServerParams() *CreateOrganizationInsightMonitoredMediaServerParams

NewCreateOrganizationInsightMonitoredMediaServerParams creates a new CreateOrganizationInsightMonitoredMediaServerParams object, with the default timeout for this client.

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

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

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithContext

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithContext(ctx context.Context) *CreateOrganizationInsightMonitoredMediaServerParams

NewCreateOrganizationInsightMonitoredMediaServerParamsWithContext creates a new CreateOrganizationInsightMonitoredMediaServerParams object with the ability to set a context for a request.

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient(client *http.Client) *CreateOrganizationInsightMonitoredMediaServerParams

NewCreateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient creates a new CreateOrganizationInsightMonitoredMediaServerParams object with the ability to set a custom HTTPClient for a request.

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithTimeout

func NewCreateOrganizationInsightMonitoredMediaServerParamsWithTimeout(timeout time.Duration) *CreateOrganizationInsightMonitoredMediaServerParams

NewCreateOrganizationInsightMonitoredMediaServerParamsWithTimeout creates a new CreateOrganizationInsightMonitoredMediaServerParams object with the ability to set a timeout on a request.

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetContext

SetContext adds the context to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetCreateOrganizationInsightMonitoredMediaServer

func (o *CreateOrganizationInsightMonitoredMediaServerParams) SetCreateOrganizationInsightMonitoredMediaServer(createOrganizationInsightMonitoredMediaServer CreateOrganizationInsightMonitoredMediaServerBody)

SetCreateOrganizationInsightMonitoredMediaServer adds the createOrganizationInsightMonitoredMediaServer to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetDefaults

SetDefaults hydrates default values in the create organization insight monitored media server params (not the query body).

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

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetOrganizationID

func (o *CreateOrganizationInsightMonitoredMediaServerParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) SetTimeout

SetTimeout adds the timeout to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithContext

WithContext adds the context to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithCreateOrganizationInsightMonitoredMediaServer

func (o *CreateOrganizationInsightMonitoredMediaServerParams) WithCreateOrganizationInsightMonitoredMediaServer(createOrganizationInsightMonitoredMediaServer CreateOrganizationInsightMonitoredMediaServerBody) *CreateOrganizationInsightMonitoredMediaServerParams

WithCreateOrganizationInsightMonitoredMediaServer adds the createOrganizationInsightMonitoredMediaServer to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithDefaults

WithDefaults hydrates default values in the create organization insight monitored media server params (not the query body).

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

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithOrganizationID

WithOrganizationID adds the organizationID to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WithTimeout

WithTimeout adds the timeout to the create organization insight monitored media server params

func (*CreateOrganizationInsightMonitoredMediaServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateOrganizationInsightMonitoredMediaServerReader

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

CreateOrganizationInsightMonitoredMediaServerReader is a Reader for the CreateOrganizationInsightMonitoredMediaServer structure.

func (*CreateOrganizationInsightMonitoredMediaServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteOrganizationInsightMonitoredMediaServerNoContent

type DeleteOrganizationInsightMonitoredMediaServerNoContent struct {
}

DeleteOrganizationInsightMonitoredMediaServerNoContent describes a response with status code 204, with default header values.

Successful operation

func NewDeleteOrganizationInsightMonitoredMediaServerNoContent

func NewDeleteOrganizationInsightMonitoredMediaServerNoContent() *DeleteOrganizationInsightMonitoredMediaServerNoContent

NewDeleteOrganizationInsightMonitoredMediaServerNoContent creates a DeleteOrganizationInsightMonitoredMediaServerNoContent with default headers values

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) Code

Code gets the status code for the delete organization insight monitored media server no content response

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) Error

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) IsClientError

IsClientError returns true when this delete organization insight monitored media server no content response has a 4xx status code

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) IsCode

IsCode returns true when this delete organization insight monitored media server no content response a status code equal to that given

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) IsRedirect

IsRedirect returns true when this delete organization insight monitored media server no content response has a 3xx status code

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) IsServerError

IsServerError returns true when this delete organization insight monitored media server no content response has a 5xx status code

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) IsSuccess

IsSuccess returns true when this delete organization insight monitored media server no content response has a 2xx status code

func (*DeleteOrganizationInsightMonitoredMediaServerNoContent) String

type DeleteOrganizationInsightMonitoredMediaServerParams

type DeleteOrganizationInsightMonitoredMediaServerParams struct {

	/* MonitoredMediaServerID.

	   Monitored media server ID
	*/
	MonitoredMediaServerID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

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

DeleteOrganizationInsightMonitoredMediaServerParams contains all the parameters to send to the API endpoint

for the delete organization insight monitored media server operation.

Typically these are written to a http.Request.

func NewDeleteOrganizationInsightMonitoredMediaServerParams

func NewDeleteOrganizationInsightMonitoredMediaServerParams() *DeleteOrganizationInsightMonitoredMediaServerParams

NewDeleteOrganizationInsightMonitoredMediaServerParams creates a new DeleteOrganizationInsightMonitoredMediaServerParams object, with the default timeout for this client.

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

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

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithContext

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithContext(ctx context.Context) *DeleteOrganizationInsightMonitoredMediaServerParams

NewDeleteOrganizationInsightMonitoredMediaServerParamsWithContext creates a new DeleteOrganizationInsightMonitoredMediaServerParams object with the ability to set a context for a request.

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithHTTPClient

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithHTTPClient(client *http.Client) *DeleteOrganizationInsightMonitoredMediaServerParams

NewDeleteOrganizationInsightMonitoredMediaServerParamsWithHTTPClient creates a new DeleteOrganizationInsightMonitoredMediaServerParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithTimeout

func NewDeleteOrganizationInsightMonitoredMediaServerParamsWithTimeout(timeout time.Duration) *DeleteOrganizationInsightMonitoredMediaServerParams

NewDeleteOrganizationInsightMonitoredMediaServerParamsWithTimeout creates a new DeleteOrganizationInsightMonitoredMediaServerParams object with the ability to set a timeout on a request.

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetContext

SetContext adds the context to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetDefaults

SetDefaults hydrates default values in the delete organization insight monitored media server params (not the query body).

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

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID

func (o *DeleteOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID(monitoredMediaServerID string)

SetMonitoredMediaServerID adds the monitoredMediaServerId to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetOrganizationID

func (o *DeleteOrganizationInsightMonitoredMediaServerParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) SetTimeout

SetTimeout adds the timeout to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithContext

WithContext adds the context to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithDefaults

WithDefaults hydrates default values in the delete organization insight monitored media server params (not the query body).

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

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithMonitoredMediaServerID

WithMonitoredMediaServerID adds the monitoredMediaServerID to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithOrganizationID

WithOrganizationID adds the organizationID to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WithTimeout

WithTimeout adds the timeout to the delete organization insight monitored media server params

func (*DeleteOrganizationInsightMonitoredMediaServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteOrganizationInsightMonitoredMediaServerReader

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

DeleteOrganizationInsightMonitoredMediaServerReader is a Reader for the DeleteOrganizationInsightMonitoredMediaServer structure.

func (*DeleteOrganizationInsightMonitoredMediaServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetNetworkInsightApplicationHealthByTimeOK

type GetNetworkInsightApplicationHealthByTimeOK struct {
	Payload []*GetNetworkInsightApplicationHealthByTimeOKBodyItems0
}

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

Successful operation

func NewGetNetworkInsightApplicationHealthByTimeOK

func NewGetNetworkInsightApplicationHealthByTimeOK() *GetNetworkInsightApplicationHealthByTimeOK

NewGetNetworkInsightApplicationHealthByTimeOK creates a GetNetworkInsightApplicationHealthByTimeOK with default headers values

func (*GetNetworkInsightApplicationHealthByTimeOK) Code

Code gets the status code for the get network insight application health by time o k response

func (*GetNetworkInsightApplicationHealthByTimeOK) Error

func (*GetNetworkInsightApplicationHealthByTimeOK) GetPayload

func (*GetNetworkInsightApplicationHealthByTimeOK) IsClientError

IsClientError returns true when this get network insight application health by time o k response has a 4xx status code

func (*GetNetworkInsightApplicationHealthByTimeOK) IsCode

IsCode returns true when this get network insight application health by time o k response a status code equal to that given

func (*GetNetworkInsightApplicationHealthByTimeOK) IsRedirect

IsRedirect returns true when this get network insight application health by time o k response has a 3xx status code

func (*GetNetworkInsightApplicationHealthByTimeOK) IsServerError

IsServerError returns true when this get network insight application health by time o k response has a 5xx status code

func (*GetNetworkInsightApplicationHealthByTimeOK) IsSuccess

IsSuccess returns true when this get network insight application health by time o k response has a 2xx status code

func (*GetNetworkInsightApplicationHealthByTimeOK) String

type GetNetworkInsightApplicationHealthByTimeOKBodyItems0

type GetNetworkInsightApplicationHealthByTimeOKBodyItems0 struct {

	// The end time of the query range
	// Format: date-time
	EndTs strfmt.DateTime `json:"endTs,omitempty"`

	// LAN goodput (Number of useful information bits delivered over a LAN per unit of time)
	LanGoodput int64 `json:"lanGoodput,omitempty"`

	// LAN latency in milliseconds
	LanLatencyMs float32 `json:"lanLatencyMs,omitempty"`

	// LAN loss percentage
	LanLossPercent float32 `json:"lanLossPercent,omitempty"`

	// Number of clients
	NumClients int64 `json:"numClients,omitempty"`

	// Received kilobytes-per-second
	Recv int64 `json:"recv,omitempty"`

	// Duration of the response, in milliseconds
	ResponseDuration int64 `json:"responseDuration,omitempty"`

	// Sent kilobytes-per-second
	Sent int64 `json:"sent,omitempty"`

	// The start time of the query range
	// Format: date-time
	StartTs strfmt.DateTime `json:"startTs,omitempty"`

	// WAN goodput (Number of useful information bits delivered over a WAN per unit of time)
	WanGoodput int64 `json:"wanGoodput,omitempty"`

	// WAN latency in milliseconds
	WanLatencyMs float32 `json:"wanLatencyMs,omitempty"`

	// WAN loss percentage
	WanLossPercent float32 `json:"wanLossPercent,omitempty"`
}

GetNetworkInsightApplicationHealthByTimeOKBodyItems0 get network insight application health by time o k body items0 swagger:model GetNetworkInsightApplicationHealthByTimeOKBodyItems0

func (*GetNetworkInsightApplicationHealthByTimeOKBodyItems0) ContextValidate

ContextValidate validates this get network insight application health by time o k body items0 based on context it is used

func (*GetNetworkInsightApplicationHealthByTimeOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkInsightApplicationHealthByTimeOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkInsightApplicationHealthByTimeOKBodyItems0) Validate

Validate validates this get network insight application health by time o k body items0

type GetNetworkInsightApplicationHealthByTimeParams

type GetNetworkInsightApplicationHealthByTimeParams struct {

	/* ApplicationID.

	   Application ID
	*/
	ApplicationID string

	/* NetworkID.

	   Network ID
	*/
	NetworkID string

	/* Resolution.

	   The time resolution in seconds for returned data. The valid resolutions are: 60, 300, 3600, 86400. The default is 300.
	*/
	Resolution *int64

	/* T0.

	   The beginning of the timespan for the data. The maximum lookback period is 7 days from today.
	*/
	T0 *string

	/* T1.

	   The end of the timespan for the data. t1 can be a maximum of 7 days after t0.
	*/
	T1 *string

	/* Timespan.

	   The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 2 hours.

	   Format: float
	*/
	Timespan *float32

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

GetNetworkInsightApplicationHealthByTimeParams contains all the parameters to send to the API endpoint

for the get network insight application health by time operation.

Typically these are written to a http.Request.

func NewGetNetworkInsightApplicationHealthByTimeParams

func NewGetNetworkInsightApplicationHealthByTimeParams() *GetNetworkInsightApplicationHealthByTimeParams

NewGetNetworkInsightApplicationHealthByTimeParams creates a new GetNetworkInsightApplicationHealthByTimeParams object, with the default timeout for this client.

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

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

func NewGetNetworkInsightApplicationHealthByTimeParamsWithContext

func NewGetNetworkInsightApplicationHealthByTimeParamsWithContext(ctx context.Context) *GetNetworkInsightApplicationHealthByTimeParams

NewGetNetworkInsightApplicationHealthByTimeParamsWithContext creates a new GetNetworkInsightApplicationHealthByTimeParams object with the ability to set a context for a request.

func NewGetNetworkInsightApplicationHealthByTimeParamsWithHTTPClient

func NewGetNetworkInsightApplicationHealthByTimeParamsWithHTTPClient(client *http.Client) *GetNetworkInsightApplicationHealthByTimeParams

NewGetNetworkInsightApplicationHealthByTimeParamsWithHTTPClient creates a new GetNetworkInsightApplicationHealthByTimeParams object with the ability to set a custom HTTPClient for a request.

func NewGetNetworkInsightApplicationHealthByTimeParamsWithTimeout

func NewGetNetworkInsightApplicationHealthByTimeParamsWithTimeout(timeout time.Duration) *GetNetworkInsightApplicationHealthByTimeParams

NewGetNetworkInsightApplicationHealthByTimeParamsWithTimeout creates a new GetNetworkInsightApplicationHealthByTimeParams object with the ability to set a timeout on a request.

func (*GetNetworkInsightApplicationHealthByTimeParams) SetApplicationID

func (o *GetNetworkInsightApplicationHealthByTimeParams) SetApplicationID(applicationID string)

SetApplicationID adds the applicationId to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetContext

SetContext adds the context to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetDefaults

SetDefaults hydrates default values in the get network insight application health by time params (not the query body).

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

func (*GetNetworkInsightApplicationHealthByTimeParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetNetworkID

func (o *GetNetworkInsightApplicationHealthByTimeParams) SetNetworkID(networkID string)

SetNetworkID adds the networkId to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetResolution

func (o *GetNetworkInsightApplicationHealthByTimeParams) SetResolution(resolution *int64)

SetResolution adds the resolution to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetT0

SetT0 adds the t0 to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetT1

SetT1 adds the t1 to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetTimeout

SetTimeout adds the timeout to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) SetTimespan

func (o *GetNetworkInsightApplicationHealthByTimeParams) SetTimespan(timespan *float32)

SetTimespan adds the timespan to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithApplicationID

WithApplicationID adds the applicationID to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithContext

WithContext adds the context to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithDefaults

WithDefaults hydrates default values in the get network insight application health by time params (not the query body).

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

func (*GetNetworkInsightApplicationHealthByTimeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithNetworkID

WithNetworkID adds the networkID to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithResolution

WithResolution adds the resolution to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithT0

WithT0 adds the t0 to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithT1

WithT1 adds the t1 to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithTimeout

WithTimeout adds the timeout to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WithTimespan

WithTimespan adds the timespan to the get network insight application health by time params

func (*GetNetworkInsightApplicationHealthByTimeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNetworkInsightApplicationHealthByTimeReader

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

GetNetworkInsightApplicationHealthByTimeReader is a Reader for the GetNetworkInsightApplicationHealthByTime structure.

func (*GetNetworkInsightApplicationHealthByTimeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationInsightApplicationsOK

type GetOrganizationInsightApplicationsOK struct {
	Payload []*GetOrganizationInsightApplicationsOKBodyItems0
}

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

Successful operation

func NewGetOrganizationInsightApplicationsOK

func NewGetOrganizationInsightApplicationsOK() *GetOrganizationInsightApplicationsOK

NewGetOrganizationInsightApplicationsOK creates a GetOrganizationInsightApplicationsOK with default headers values

func (*GetOrganizationInsightApplicationsOK) Code

Code gets the status code for the get organization insight applications o k response

func (*GetOrganizationInsightApplicationsOK) Error

func (*GetOrganizationInsightApplicationsOK) GetPayload

func (*GetOrganizationInsightApplicationsOK) IsClientError

func (o *GetOrganizationInsightApplicationsOK) IsClientError() bool

IsClientError returns true when this get organization insight applications o k response has a 4xx status code

func (*GetOrganizationInsightApplicationsOK) IsCode

IsCode returns true when this get organization insight applications o k response a status code equal to that given

func (*GetOrganizationInsightApplicationsOK) IsRedirect

IsRedirect returns true when this get organization insight applications o k response has a 3xx status code

func (*GetOrganizationInsightApplicationsOK) IsServerError

func (o *GetOrganizationInsightApplicationsOK) IsServerError() bool

IsServerError returns true when this get organization insight applications o k response has a 5xx status code

func (*GetOrganizationInsightApplicationsOK) IsSuccess

IsSuccess returns true when this get organization insight applications o k response has a 2xx status code

func (*GetOrganizationInsightApplicationsOK) String

type GetOrganizationInsightApplicationsOKBodyItems0

type GetOrganizationInsightApplicationsOKBodyItems0 struct {

	// Application identifier
	ApplicationID string `json:"applicationId,omitempty"`

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

	// thresholds
	Thresholds *GetOrganizationInsightApplicationsOKBodyItems0Thresholds `json:"thresholds,omitempty"`
}

GetOrganizationInsightApplicationsOKBodyItems0 get organization insight applications o k body items0 swagger:model GetOrganizationInsightApplicationsOKBodyItems0

func (*GetOrganizationInsightApplicationsOKBodyItems0) ContextValidate

ContextValidate validate this get organization insight applications o k body items0 based on the context it is used

func (*GetOrganizationInsightApplicationsOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0) Validate

Validate validates this get organization insight applications o k body items0

type GetOrganizationInsightApplicationsOKBodyItems0Thresholds

type GetOrganizationInsightApplicationsOKBodyItems0Thresholds struct {

	// Threshold for each network
	ByNetwork []*GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0 `json:"byNetwork"`

	// Threshold type (static or smart)
	Type string `json:"type,omitempty"`
}

GetOrganizationInsightApplicationsOKBodyItems0Thresholds Thresholds defined by a user or Meraki models for each application swagger:model GetOrganizationInsightApplicationsOKBodyItems0Thresholds

func (*GetOrganizationInsightApplicationsOKBodyItems0Thresholds) ContextValidate

ContextValidate validate this get organization insight applications o k body items0 thresholds based on the context it is used

func (*GetOrganizationInsightApplicationsOKBodyItems0Thresholds) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0Thresholds) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0Thresholds) Validate

Validate validates this get organization insight applications o k body items0 thresholds

type GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0

type GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0 struct {

	// Number of useful information bits delivered over a network per unit of time
	Goodput int64 `json:"goodput,omitempty"`

	// Network identifier
	NetworkID string `json:"networkId,omitempty"`

	// Duration of the response, in milliseconds
	ResponseDuration int64 `json:"responseDuration,omitempty"`
}

GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0 get organization insight applications o k body items0 thresholds by network items0 swagger:model GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0

func (*GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0) ContextValidate

ContextValidate validates this get organization insight applications o k body items0 thresholds by network items0 based on context it is used

func (*GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationInsightApplicationsOKBodyItems0ThresholdsByNetworkItems0) Validate

Validate validates this get organization insight applications o k body items0 thresholds by network items0

type GetOrganizationInsightApplicationsParams

type GetOrganizationInsightApplicationsParams struct {

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

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

GetOrganizationInsightApplicationsParams contains all the parameters to send to the API endpoint

for the get organization insight applications operation.

Typically these are written to a http.Request.

func NewGetOrganizationInsightApplicationsParams

func NewGetOrganizationInsightApplicationsParams() *GetOrganizationInsightApplicationsParams

NewGetOrganizationInsightApplicationsParams creates a new GetOrganizationInsightApplicationsParams object, with the default timeout for this client.

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

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

func NewGetOrganizationInsightApplicationsParamsWithContext

func NewGetOrganizationInsightApplicationsParamsWithContext(ctx context.Context) *GetOrganizationInsightApplicationsParams

NewGetOrganizationInsightApplicationsParamsWithContext creates a new GetOrganizationInsightApplicationsParams object with the ability to set a context for a request.

func NewGetOrganizationInsightApplicationsParamsWithHTTPClient

func NewGetOrganizationInsightApplicationsParamsWithHTTPClient(client *http.Client) *GetOrganizationInsightApplicationsParams

NewGetOrganizationInsightApplicationsParamsWithHTTPClient creates a new GetOrganizationInsightApplicationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationInsightApplicationsParamsWithTimeout

func NewGetOrganizationInsightApplicationsParamsWithTimeout(timeout time.Duration) *GetOrganizationInsightApplicationsParams

NewGetOrganizationInsightApplicationsParamsWithTimeout creates a new GetOrganizationInsightApplicationsParams object with the ability to set a timeout on a request.

func (*GetOrganizationInsightApplicationsParams) SetContext

SetContext adds the context to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) SetDefaults

SetDefaults hydrates default values in the get organization insight applications params (not the query body).

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

func (*GetOrganizationInsightApplicationsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) SetOrganizationID

func (o *GetOrganizationInsightApplicationsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) SetTimeout

SetTimeout adds the timeout to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) WithContext

WithContext adds the context to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) WithDefaults

WithDefaults hydrates default values in the get organization insight applications params (not the query body).

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

func (*GetOrganizationInsightApplicationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) WithTimeout

WithTimeout adds the timeout to the get organization insight applications params

func (*GetOrganizationInsightApplicationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationInsightApplicationsReader

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

GetOrganizationInsightApplicationsReader is a Reader for the GetOrganizationInsightApplications structure.

func (*GetOrganizationInsightApplicationsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationInsightMonitoredMediaServerOK

type GetOrganizationInsightMonitoredMediaServerOK struct {
	Payload interface{}
}

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

Successful operation

func NewGetOrganizationInsightMonitoredMediaServerOK

func NewGetOrganizationInsightMonitoredMediaServerOK() *GetOrganizationInsightMonitoredMediaServerOK

NewGetOrganizationInsightMonitoredMediaServerOK creates a GetOrganizationInsightMonitoredMediaServerOK with default headers values

func (*GetOrganizationInsightMonitoredMediaServerOK) Code

Code gets the status code for the get organization insight monitored media server o k response

func (*GetOrganizationInsightMonitoredMediaServerOK) Error

func (*GetOrganizationInsightMonitoredMediaServerOK) GetPayload

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

func (*GetOrganizationInsightMonitoredMediaServerOK) IsClientError

IsClientError returns true when this get organization insight monitored media server o k response has a 4xx status code

func (*GetOrganizationInsightMonitoredMediaServerOK) IsCode

IsCode returns true when this get organization insight monitored media server o k response a status code equal to that given

func (*GetOrganizationInsightMonitoredMediaServerOK) IsRedirect

IsRedirect returns true when this get organization insight monitored media server o k response has a 3xx status code

func (*GetOrganizationInsightMonitoredMediaServerOK) IsServerError

IsServerError returns true when this get organization insight monitored media server o k response has a 5xx status code

func (*GetOrganizationInsightMonitoredMediaServerOK) IsSuccess

IsSuccess returns true when this get organization insight monitored media server o k response has a 2xx status code

func (*GetOrganizationInsightMonitoredMediaServerOK) String

type GetOrganizationInsightMonitoredMediaServerParams

type GetOrganizationInsightMonitoredMediaServerParams struct {

	/* MonitoredMediaServerID.

	   Monitored media server ID
	*/
	MonitoredMediaServerID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

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

GetOrganizationInsightMonitoredMediaServerParams contains all the parameters to send to the API endpoint

for the get organization insight monitored media server operation.

Typically these are written to a http.Request.

func NewGetOrganizationInsightMonitoredMediaServerParams

func NewGetOrganizationInsightMonitoredMediaServerParams() *GetOrganizationInsightMonitoredMediaServerParams

NewGetOrganizationInsightMonitoredMediaServerParams creates a new GetOrganizationInsightMonitoredMediaServerParams object, with the default timeout for this client.

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

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

func NewGetOrganizationInsightMonitoredMediaServerParamsWithContext

func NewGetOrganizationInsightMonitoredMediaServerParamsWithContext(ctx context.Context) *GetOrganizationInsightMonitoredMediaServerParams

NewGetOrganizationInsightMonitoredMediaServerParamsWithContext creates a new GetOrganizationInsightMonitoredMediaServerParams object with the ability to set a context for a request.

func NewGetOrganizationInsightMonitoredMediaServerParamsWithHTTPClient

func NewGetOrganizationInsightMonitoredMediaServerParamsWithHTTPClient(client *http.Client) *GetOrganizationInsightMonitoredMediaServerParams

NewGetOrganizationInsightMonitoredMediaServerParamsWithHTTPClient creates a new GetOrganizationInsightMonitoredMediaServerParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationInsightMonitoredMediaServerParamsWithTimeout

func NewGetOrganizationInsightMonitoredMediaServerParamsWithTimeout(timeout time.Duration) *GetOrganizationInsightMonitoredMediaServerParams

NewGetOrganizationInsightMonitoredMediaServerParamsWithTimeout creates a new GetOrganizationInsightMonitoredMediaServerParams object with the ability to set a timeout on a request.

func (*GetOrganizationInsightMonitoredMediaServerParams) SetContext

SetContext adds the context to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) SetDefaults

SetDefaults hydrates default values in the get organization insight monitored media server params (not the query body).

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

func (*GetOrganizationInsightMonitoredMediaServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID

func (o *GetOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID(monitoredMediaServerID string)

SetMonitoredMediaServerID adds the monitoredMediaServerId to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) SetOrganizationID

func (o *GetOrganizationInsightMonitoredMediaServerParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) SetTimeout

SetTimeout adds the timeout to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WithContext

WithContext adds the context to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WithDefaults

WithDefaults hydrates default values in the get organization insight monitored media server params (not the query body).

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

func (*GetOrganizationInsightMonitoredMediaServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WithMonitoredMediaServerID

WithMonitoredMediaServerID adds the monitoredMediaServerID to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WithTimeout

WithTimeout adds the timeout to the get organization insight monitored media server params

func (*GetOrganizationInsightMonitoredMediaServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationInsightMonitoredMediaServerReader

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

GetOrganizationInsightMonitoredMediaServerReader is a Reader for the GetOrganizationInsightMonitoredMediaServer structure.

func (*GetOrganizationInsightMonitoredMediaServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOrganizationInsightMonitoredMediaServersOK

type GetOrganizationInsightMonitoredMediaServersOK struct {
	Payload []*GetOrganizationInsightMonitoredMediaServersOKBodyItems0
}

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

Successful operation

func NewGetOrganizationInsightMonitoredMediaServersOK

func NewGetOrganizationInsightMonitoredMediaServersOK() *GetOrganizationInsightMonitoredMediaServersOK

NewGetOrganizationInsightMonitoredMediaServersOK creates a GetOrganizationInsightMonitoredMediaServersOK with default headers values

func (*GetOrganizationInsightMonitoredMediaServersOK) Code

Code gets the status code for the get organization insight monitored media servers o k response

func (*GetOrganizationInsightMonitoredMediaServersOK) Error

func (*GetOrganizationInsightMonitoredMediaServersOK) GetPayload

func (*GetOrganizationInsightMonitoredMediaServersOK) IsClientError

IsClientError returns true when this get organization insight monitored media servers o k response has a 4xx status code

func (*GetOrganizationInsightMonitoredMediaServersOK) IsCode

IsCode returns true when this get organization insight monitored media servers o k response a status code equal to that given

func (*GetOrganizationInsightMonitoredMediaServersOK) IsRedirect

IsRedirect returns true when this get organization insight monitored media servers o k response has a 3xx status code

func (*GetOrganizationInsightMonitoredMediaServersOK) IsServerError

IsServerError returns true when this get organization insight monitored media servers o k response has a 5xx status code

func (*GetOrganizationInsightMonitoredMediaServersOK) IsSuccess

IsSuccess returns true when this get organization insight monitored media servers o k response has a 2xx status code

func (*GetOrganizationInsightMonitoredMediaServersOK) String

type GetOrganizationInsightMonitoredMediaServersOKBodyItems0

type GetOrganizationInsightMonitoredMediaServersOKBodyItems0 struct {

	// The IP address (IPv4 only) or hostname of the media server to monitor
	Address string `json:"address,omitempty"`

	// Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead
	BestEffortMonitoringEnabled bool `json:"bestEffortMonitoringEnabled,omitempty"`

	// Monitored media server id
	ID string `json:"id,omitempty"`

	// The name of the VoIP provider
	Name string `json:"name,omitempty"`
}

GetOrganizationInsightMonitoredMediaServersOKBodyItems0 get organization insight monitored media servers o k body items0 swagger:model GetOrganizationInsightMonitoredMediaServersOKBodyItems0

func (*GetOrganizationInsightMonitoredMediaServersOKBodyItems0) ContextValidate

ContextValidate validates this get organization insight monitored media servers o k body items0 based on context it is used

func (*GetOrganizationInsightMonitoredMediaServersOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationInsightMonitoredMediaServersOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationInsightMonitoredMediaServersOKBodyItems0) Validate

Validate validates this get organization insight monitored media servers o k body items0

type GetOrganizationInsightMonitoredMediaServersParams

type GetOrganizationInsightMonitoredMediaServersParams struct {

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

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

GetOrganizationInsightMonitoredMediaServersParams contains all the parameters to send to the API endpoint

for the get organization insight monitored media servers operation.

Typically these are written to a http.Request.

func NewGetOrganizationInsightMonitoredMediaServersParams

func NewGetOrganizationInsightMonitoredMediaServersParams() *GetOrganizationInsightMonitoredMediaServersParams

NewGetOrganizationInsightMonitoredMediaServersParams creates a new GetOrganizationInsightMonitoredMediaServersParams object, with the default timeout for this client.

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

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

func NewGetOrganizationInsightMonitoredMediaServersParamsWithContext

func NewGetOrganizationInsightMonitoredMediaServersParamsWithContext(ctx context.Context) *GetOrganizationInsightMonitoredMediaServersParams

NewGetOrganizationInsightMonitoredMediaServersParamsWithContext creates a new GetOrganizationInsightMonitoredMediaServersParams object with the ability to set a context for a request.

func NewGetOrganizationInsightMonitoredMediaServersParamsWithHTTPClient

func NewGetOrganizationInsightMonitoredMediaServersParamsWithHTTPClient(client *http.Client) *GetOrganizationInsightMonitoredMediaServersParams

NewGetOrganizationInsightMonitoredMediaServersParamsWithHTTPClient creates a new GetOrganizationInsightMonitoredMediaServersParams object with the ability to set a custom HTTPClient for a request.

func NewGetOrganizationInsightMonitoredMediaServersParamsWithTimeout

func NewGetOrganizationInsightMonitoredMediaServersParamsWithTimeout(timeout time.Duration) *GetOrganizationInsightMonitoredMediaServersParams

NewGetOrganizationInsightMonitoredMediaServersParamsWithTimeout creates a new GetOrganizationInsightMonitoredMediaServersParams object with the ability to set a timeout on a request.

func (*GetOrganizationInsightMonitoredMediaServersParams) SetContext

SetContext adds the context to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) SetDefaults

SetDefaults hydrates default values in the get organization insight monitored media servers params (not the query body).

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

func (*GetOrganizationInsightMonitoredMediaServersParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) SetOrganizationID

func (o *GetOrganizationInsightMonitoredMediaServersParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) SetTimeout

SetTimeout adds the timeout to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) WithContext

WithContext adds the context to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) WithDefaults

WithDefaults hydrates default values in the get organization insight monitored media servers params (not the query body).

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

func (*GetOrganizationInsightMonitoredMediaServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) WithTimeout

WithTimeout adds the timeout to the get organization insight monitored media servers params

func (*GetOrganizationInsightMonitoredMediaServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOrganizationInsightMonitoredMediaServersReader

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

GetOrganizationInsightMonitoredMediaServersReader is a Reader for the GetOrganizationInsightMonitoredMediaServers structure.

func (*GetOrganizationInsightMonitoredMediaServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateOrganizationInsightMonitoredMediaServerBody

type UpdateOrganizationInsightMonitoredMediaServerBody struct {

	// The IP address (IPv4 only) or hostname of the media server to monitor
	Address string `json:"address,omitempty"`

	// Indicates that if the media server doesn't respond to ICMP pings, the nearest hop will be used in its stead.
	BestEffortMonitoringEnabled bool `json:"bestEffortMonitoringEnabled,omitempty"`

	// The name of the VoIP provider
	Name string `json:"name,omitempty"`
}

UpdateOrganizationInsightMonitoredMediaServerBody update organization insight monitored media server body // Example: {"address":"123.123.123.1","bestEffortMonitoringEnabled":true,"name":"Sample VoIP Provider"} swagger:model UpdateOrganizationInsightMonitoredMediaServerBody

func (*UpdateOrganizationInsightMonitoredMediaServerBody) ContextValidate

ContextValidate validates this update organization insight monitored media server body based on context it is used

func (*UpdateOrganizationInsightMonitoredMediaServerBody) MarshalBinary

MarshalBinary interface implementation

func (*UpdateOrganizationInsightMonitoredMediaServerBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateOrganizationInsightMonitoredMediaServerBody) Validate

Validate validates this update organization insight monitored media server body

type UpdateOrganizationInsightMonitoredMediaServerOK

type UpdateOrganizationInsightMonitoredMediaServerOK struct {
	Payload interface{}
}

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

Successful operation

func NewUpdateOrganizationInsightMonitoredMediaServerOK

func NewUpdateOrganizationInsightMonitoredMediaServerOK() *UpdateOrganizationInsightMonitoredMediaServerOK

NewUpdateOrganizationInsightMonitoredMediaServerOK creates a UpdateOrganizationInsightMonitoredMediaServerOK with default headers values

func (*UpdateOrganizationInsightMonitoredMediaServerOK) Code

Code gets the status code for the update organization insight monitored media server o k response

func (*UpdateOrganizationInsightMonitoredMediaServerOK) Error

func (*UpdateOrganizationInsightMonitoredMediaServerOK) GetPayload

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

func (*UpdateOrganizationInsightMonitoredMediaServerOK) IsClientError

IsClientError returns true when this update organization insight monitored media server o k response has a 4xx status code

func (*UpdateOrganizationInsightMonitoredMediaServerOK) IsCode

IsCode returns true when this update organization insight monitored media server o k response a status code equal to that given

func (*UpdateOrganizationInsightMonitoredMediaServerOK) IsRedirect

IsRedirect returns true when this update organization insight monitored media server o k response has a 3xx status code

func (*UpdateOrganizationInsightMonitoredMediaServerOK) IsServerError

IsServerError returns true when this update organization insight monitored media server o k response has a 5xx status code

func (*UpdateOrganizationInsightMonitoredMediaServerOK) IsSuccess

IsSuccess returns true when this update organization insight monitored media server o k response has a 2xx status code

func (*UpdateOrganizationInsightMonitoredMediaServerOK) String

type UpdateOrganizationInsightMonitoredMediaServerParams

type UpdateOrganizationInsightMonitoredMediaServerParams struct {

	/* MonitoredMediaServerID.

	   Monitored media server ID
	*/
	MonitoredMediaServerID string

	/* OrganizationID.

	   Organization ID
	*/
	OrganizationID string

	// UpdateOrganizationInsightMonitoredMediaServer.
	UpdateOrganizationInsightMonitoredMediaServer UpdateOrganizationInsightMonitoredMediaServerBody

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

UpdateOrganizationInsightMonitoredMediaServerParams contains all the parameters to send to the API endpoint

for the update organization insight monitored media server operation.

Typically these are written to a http.Request.

func NewUpdateOrganizationInsightMonitoredMediaServerParams

func NewUpdateOrganizationInsightMonitoredMediaServerParams() *UpdateOrganizationInsightMonitoredMediaServerParams

NewUpdateOrganizationInsightMonitoredMediaServerParams creates a new UpdateOrganizationInsightMonitoredMediaServerParams object, with the default timeout for this client.

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

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

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithContext

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithContext(ctx context.Context) *UpdateOrganizationInsightMonitoredMediaServerParams

NewUpdateOrganizationInsightMonitoredMediaServerParamsWithContext creates a new UpdateOrganizationInsightMonitoredMediaServerParams object with the ability to set a context for a request.

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient(client *http.Client) *UpdateOrganizationInsightMonitoredMediaServerParams

NewUpdateOrganizationInsightMonitoredMediaServerParamsWithHTTPClient creates a new UpdateOrganizationInsightMonitoredMediaServerParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithTimeout

func NewUpdateOrganizationInsightMonitoredMediaServerParamsWithTimeout(timeout time.Duration) *UpdateOrganizationInsightMonitoredMediaServerParams

NewUpdateOrganizationInsightMonitoredMediaServerParamsWithTimeout creates a new UpdateOrganizationInsightMonitoredMediaServerParams object with the ability to set a timeout on a request.

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetContext

SetContext adds the context to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetDefaults

SetDefaults hydrates default values in the update organization insight monitored media server params (not the query body).

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

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID

func (o *UpdateOrganizationInsightMonitoredMediaServerParams) SetMonitoredMediaServerID(monitoredMediaServerID string)

SetMonitoredMediaServerID adds the monitoredMediaServerId to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetOrganizationID

func (o *UpdateOrganizationInsightMonitoredMediaServerParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetTimeout

SetTimeout adds the timeout to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) SetUpdateOrganizationInsightMonitoredMediaServer

func (o *UpdateOrganizationInsightMonitoredMediaServerParams) SetUpdateOrganizationInsightMonitoredMediaServer(updateOrganizationInsightMonitoredMediaServer UpdateOrganizationInsightMonitoredMediaServerBody)

SetUpdateOrganizationInsightMonitoredMediaServer adds the updateOrganizationInsightMonitoredMediaServer to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithContext

WithContext adds the context to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithDefaults

WithDefaults hydrates default values in the update organization insight monitored media server params (not the query body).

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

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithMonitoredMediaServerID

WithMonitoredMediaServerID adds the monitoredMediaServerID to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithOrganizationID

WithOrganizationID adds the organizationID to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithTimeout

WithTimeout adds the timeout to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WithUpdateOrganizationInsightMonitoredMediaServer

func (o *UpdateOrganizationInsightMonitoredMediaServerParams) WithUpdateOrganizationInsightMonitoredMediaServer(updateOrganizationInsightMonitoredMediaServer UpdateOrganizationInsightMonitoredMediaServerBody) *UpdateOrganizationInsightMonitoredMediaServerParams

WithUpdateOrganizationInsightMonitoredMediaServer adds the updateOrganizationInsightMonitoredMediaServer to the update organization insight monitored media server params

func (*UpdateOrganizationInsightMonitoredMediaServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateOrganizationInsightMonitoredMediaServerReader

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

UpdateOrganizationInsightMonitoredMediaServerReader is a Reader for the UpdateOrganizationInsightMonitoredMediaServer structure.

func (*UpdateOrganizationInsightMonitoredMediaServerReader) ReadResponse

func (o *UpdateOrganizationInsightMonitoredMediaServerReader) 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