Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateNetworkAssistanceSessionRequest
- type ApiDestroyNetworkAssistanceSessionRequest
- type ApiPatchNetworkAssistanceSessionRequest
- type ApiRequestBitRateRecommendationRequest
- type ApiRequestDeliveryBoostRequest
- type ApiRetrieveNetworkAssistanceSessionRequest
- type ApiUpdateNetworkAssistanceSessionRequest
- type BasicAuth
- type Configuration
- type DefaultApiService
- func (a *DefaultApiService) CreateNetworkAssistanceSession(ctx context.Context) ApiCreateNetworkAssistanceSessionRequest
- func (a *DefaultApiService) CreateNetworkAssistanceSessionExecute(r ApiCreateNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
- func (a *DefaultApiService) DestroyNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiDestroyNetworkAssistanceSessionRequest
- func (a *DefaultApiService) DestroyNetworkAssistanceSessionExecute(r ApiDestroyNetworkAssistanceSessionRequest) (*http.Response, error)
- func (a *DefaultApiService) PatchNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiPatchNetworkAssistanceSessionRequest
- func (a *DefaultApiService) PatchNetworkAssistanceSessionExecute(r ApiPatchNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
- func (a *DefaultApiService) RequestBitRateRecommendation(ctx context.Context, naSessionId string) ApiRequestBitRateRecommendationRequest
- func (a *DefaultApiService) RequestBitRateRecommendationExecute(r ApiRequestBitRateRecommendationRequest) (*M5QoSSpecification, *http.Response, error)
- func (a *DefaultApiService) RequestDeliveryBoost(ctx context.Context, naSessionId string) ApiRequestDeliveryBoostRequest
- func (a *DefaultApiService) RequestDeliveryBoostExecute(r ApiRequestDeliveryBoostRequest) (*OperationSuccessResponse, *http.Response, error)
- func (a *DefaultApiService) RetrieveNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiRetrieveNetworkAssistanceSessionRequest
- func (a *DefaultApiService) RetrieveNetworkAssistanceSessionExecute(r ApiRetrieveNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
- func (a *DefaultApiService) UpdateNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiUpdateNetworkAssistanceSessionRequest
- func (a *DefaultApiService) UpdateNetworkAssistanceSessionExecute(r ApiUpdateNetworkAssistanceSessionRequest) (*http.Response, error)
- type GenericOpenAPIError
- type IpPacketFilterSet
- func (o *IpPacketFilterSet) GetDirection() string
- func (o *IpPacketFilterSet) GetDirectionOk() (*string, bool)
- func (o *IpPacketFilterSet) GetDstIp() string
- func (o *IpPacketFilterSet) GetDstIpOk() (*string, bool)
- func (o *IpPacketFilterSet) GetDstPort() int32
- func (o *IpPacketFilterSet) GetDstPortOk() (*int32, bool)
- func (o *IpPacketFilterSet) GetFlowLabel() int32
- func (o *IpPacketFilterSet) GetFlowLabelOk() (*int32, bool)
- func (o *IpPacketFilterSet) GetProtocol() int32
- func (o *IpPacketFilterSet) GetProtocolOk() (*int32, bool)
- func (o *IpPacketFilterSet) GetSpi() int32
- func (o *IpPacketFilterSet) GetSpiOk() (*int32, bool)
- func (o *IpPacketFilterSet) GetSrcIp() string
- func (o *IpPacketFilterSet) GetSrcIpOk() (*string, bool)
- func (o *IpPacketFilterSet) GetSrcPort() int32
- func (o *IpPacketFilterSet) GetSrcPortOk() (*int32, bool)
- func (o *IpPacketFilterSet) GetToSTc() string
- func (o *IpPacketFilterSet) GetToSTcOk() (*string, bool)
- func (o *IpPacketFilterSet) HasDstIp() bool
- func (o *IpPacketFilterSet) HasDstPort() bool
- func (o *IpPacketFilterSet) HasFlowLabel() bool
- func (o *IpPacketFilterSet) HasProtocol() bool
- func (o *IpPacketFilterSet) HasSpi() bool
- func (o *IpPacketFilterSet) HasSrcIp() bool
- func (o *IpPacketFilterSet) HasSrcPort() bool
- func (o *IpPacketFilterSet) HasToSTc() bool
- func (o IpPacketFilterSet) MarshalJSON() ([]byte, error)
- func (o *IpPacketFilterSet) SetDirection(v string)
- func (o *IpPacketFilterSet) SetDstIp(v string)
- func (o *IpPacketFilterSet) SetDstPort(v int32)
- func (o *IpPacketFilterSet) SetFlowLabel(v int32)
- func (o *IpPacketFilterSet) SetProtocol(v int32)
- func (o *IpPacketFilterSet) SetSpi(v int32)
- func (o *IpPacketFilterSet) SetSrcIp(v string)
- func (o *IpPacketFilterSet) SetSrcPort(v int32)
- func (o *IpPacketFilterSet) SetToSTc(v string)
- func (o IpPacketFilterSet) ToMap() (map[string]interface{}, error)
- type M5QoSSpecification
- func (o *M5QoSSpecification) GetDesLatency() int32
- func (o *M5QoSSpecification) GetDesLatencyOk() (*int32, bool)
- func (o *M5QoSSpecification) GetDesLoss() int32
- func (o *M5QoSSpecification) GetDesLossOk() (*int32, bool)
- func (o *M5QoSSpecification) GetMarBwDlBitRate() string
- func (o *M5QoSSpecification) GetMarBwDlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) GetMarBwUlBitRate() string
- func (o *M5QoSSpecification) GetMarBwUlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) GetMinDesBwDlBitRate() string
- func (o *M5QoSSpecification) GetMinDesBwDlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) GetMinDesBwUlBitRate() string
- func (o *M5QoSSpecification) GetMinDesBwUlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) GetMirBwDlBitRate() string
- func (o *M5QoSSpecification) GetMirBwDlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) GetMirBwUlBitRate() string
- func (o *M5QoSSpecification) GetMirBwUlBitRateOk() (*string, bool)
- func (o *M5QoSSpecification) HasDesLatency() bool
- func (o *M5QoSSpecification) HasDesLoss() bool
- func (o *M5QoSSpecification) HasMinDesBwDlBitRate() bool
- func (o *M5QoSSpecification) HasMinDesBwUlBitRate() bool
- func (o M5QoSSpecification) MarshalJSON() ([]byte, error)
- func (o *M5QoSSpecification) SetDesLatency(v int32)
- func (o *M5QoSSpecification) SetDesLoss(v int32)
- func (o *M5QoSSpecification) SetMarBwDlBitRate(v string)
- func (o *M5QoSSpecification) SetMarBwUlBitRate(v string)
- func (o *M5QoSSpecification) SetMinDesBwDlBitRate(v string)
- func (o *M5QoSSpecification) SetMinDesBwUlBitRate(v string)
- func (o *M5QoSSpecification) SetMirBwDlBitRate(v string)
- func (o *M5QoSSpecification) SetMirBwUlBitRate(v string)
- func (o M5QoSSpecification) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NetworkAssistanceSession
- func (o *NetworkAssistanceSession) GetNaSessionId() string
- func (o *NetworkAssistanceSession) GetNaSessionIdOk() (*string, bool)
- func (o *NetworkAssistanceSession) GetNotficationURL() string
- func (o *NetworkAssistanceSession) GetNotficationURLOk() (*string, bool)
- func (o *NetworkAssistanceSession) GetPolicyTemplateId() string
- func (o *NetworkAssistanceSession) GetPolicyTemplateIdOk() (*string, bool)
- func (o *NetworkAssistanceSession) GetRecommendedQoS() M5QoSSpecification
- func (o *NetworkAssistanceSession) GetRecommendedQoSOk() (*M5QoSSpecification, bool)
- func (o *NetworkAssistanceSession) GetRequestedQoS() M5QoSSpecification
- func (o *NetworkAssistanceSession) GetRequestedQoSOk() (*M5QoSSpecification, bool)
- func (o *NetworkAssistanceSession) GetServiceDataFlowDescription() []ServiceDataFlowDescription
- func (o *NetworkAssistanceSession) GetServiceDataFlowDescriptionOk() ([]ServiceDataFlowDescription, bool)
- func (o *NetworkAssistanceSession) HasNotficationURL() bool
- func (o *NetworkAssistanceSession) HasPolicyTemplateId() bool
- func (o *NetworkAssistanceSession) HasRecommendedQoS() bool
- func (o *NetworkAssistanceSession) HasRequestedQoS() bool
- func (o *NetworkAssistanceSession) HasServiceDataFlowDescription() bool
- func (o NetworkAssistanceSession) MarshalJSON() ([]byte, error)
- func (o *NetworkAssistanceSession) SetNaSessionId(v string)
- func (o *NetworkAssistanceSession) SetNotficationURL(v string)
- func (o *NetworkAssistanceSession) SetPolicyTemplateId(v string)
- func (o *NetworkAssistanceSession) SetRecommendedQoS(v M5QoSSpecification)
- func (o *NetworkAssistanceSession) SetRequestedQoS(v M5QoSSpecification)
- func (o *NetworkAssistanceSession) SetServiceDataFlowDescription(v []ServiceDataFlowDescription)
- func (o NetworkAssistanceSession) ToMap() (map[string]interface{}, error)
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIpPacketFilterSet
- func (v NullableIpPacketFilterSet) Get() *IpPacketFilterSet
- func (v NullableIpPacketFilterSet) IsSet() bool
- func (v NullableIpPacketFilterSet) MarshalJSON() ([]byte, error)
- func (v *NullableIpPacketFilterSet) Set(val *IpPacketFilterSet)
- func (v *NullableIpPacketFilterSet) UnmarshalJSON(src []byte) error
- func (v *NullableIpPacketFilterSet) Unset()
- type NullableM5QoSSpecification
- func (v NullableM5QoSSpecification) Get() *M5QoSSpecification
- func (v NullableM5QoSSpecification) IsSet() bool
- func (v NullableM5QoSSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableM5QoSSpecification) Set(val *M5QoSSpecification)
- func (v *NullableM5QoSSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableM5QoSSpecification) Unset()
- type NullableNetworkAssistanceSession
- func (v NullableNetworkAssistanceSession) Get() *NetworkAssistanceSession
- func (v NullableNetworkAssistanceSession) IsSet() bool
- func (v NullableNetworkAssistanceSession) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkAssistanceSession) Set(val *NetworkAssistanceSession)
- func (v *NullableNetworkAssistanceSession) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkAssistanceSession) Unset()
- type NullableOperationSuccessResponse
- func (v NullableOperationSuccessResponse) Get() *OperationSuccessResponse
- func (v NullableOperationSuccessResponse) IsSet() bool
- func (v NullableOperationSuccessResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOperationSuccessResponse) Set(val *OperationSuccessResponse)
- func (v *NullableOperationSuccessResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOperationSuccessResponse) Unset()
- type NullableServiceDataFlowDescription
- func (v NullableServiceDataFlowDescription) Get() *ServiceDataFlowDescription
- func (v NullableServiceDataFlowDescription) IsSet() bool
- func (v NullableServiceDataFlowDescription) MarshalJSON() ([]byte, error)
- func (v *NullableServiceDataFlowDescription) Set(val *ServiceDataFlowDescription)
- func (v *NullableServiceDataFlowDescription) UnmarshalJSON(src []byte) error
- func (v *NullableServiceDataFlowDescription) Unset()
- type NullableString
- type NullableTime
- type OperationSuccessResponse
- func (o *OperationSuccessResponse) GetReason() string
- func (o *OperationSuccessResponse) GetReasonOk() (*string, bool)
- func (o *OperationSuccessResponse) GetSuccess() bool
- func (o *OperationSuccessResponse) GetSuccessOk() (*bool, bool)
- func (o *OperationSuccessResponse) HasReason() bool
- func (o OperationSuccessResponse) MarshalJSON() ([]byte, error)
- func (o *OperationSuccessResponse) SetReason(v string)
- func (o *OperationSuccessResponse) SetSuccess(v bool)
- func (o OperationSuccessResponse) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ServiceDataFlowDescription
- func (o *ServiceDataFlowDescription) GetDomainName() string
- func (o *ServiceDataFlowDescription) GetDomainNameOk() (*string, bool)
- func (o *ServiceDataFlowDescription) GetFlowDescription() IpPacketFilterSet
- func (o *ServiceDataFlowDescription) GetFlowDescriptionOk() (*IpPacketFilterSet, bool)
- func (o *ServiceDataFlowDescription) HasDomainName() bool
- func (o *ServiceDataFlowDescription) HasFlowDescription() bool
- func (o ServiceDataFlowDescription) MarshalJSON() ([]byte, error)
- func (o *ServiceDataFlowDescription) SetDomainName(v string)
- func (o *ServiceDataFlowDescription) SetFlowDescription(v IpPacketFilterSet)
- func (o ServiceDataFlowDescription) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
DefaultApi *DefaultApiService
// contains filtered or unexported fields
}
APIClient manages communication with the M5_NetworkAssistance API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateNetworkAssistanceSessionRequest ¶
type ApiCreateNetworkAssistanceSessionRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiCreateNetworkAssistanceSessionRequest) Execute ¶
func (r ApiCreateNetworkAssistanceSessionRequest) Execute() (*NetworkAssistanceSession, *http.Response, error)
type ApiDestroyNetworkAssistanceSessionRequest ¶
type ApiDestroyNetworkAssistanceSessionRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
type ApiPatchNetworkAssistanceSessionRequest ¶
type ApiPatchNetworkAssistanceSessionRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiPatchNetworkAssistanceSessionRequest) Execute ¶
func (r ApiPatchNetworkAssistanceSessionRequest) Execute() (*NetworkAssistanceSession, *http.Response, error)
func (ApiPatchNetworkAssistanceSessionRequest) NetworkAssistanceSession ¶
func (r ApiPatchNetworkAssistanceSessionRequest) NetworkAssistanceSession(networkAssistanceSession NetworkAssistanceSession) ApiPatchNetworkAssistanceSessionRequest
A JSON patch to a Network Assistance Session resource
type ApiRequestBitRateRecommendationRequest ¶
type ApiRequestBitRateRecommendationRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiRequestBitRateRecommendationRequest) Execute ¶
func (r ApiRequestBitRateRecommendationRequest) Execute() (*M5QoSSpecification, *http.Response, error)
type ApiRequestDeliveryBoostRequest ¶
type ApiRequestDeliveryBoostRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiRequestDeliveryBoostRequest) Execute ¶
func (r ApiRequestDeliveryBoostRequest) Execute() (*OperationSuccessResponse, *http.Response, error)
type ApiRetrieveNetworkAssistanceSessionRequest ¶
type ApiRetrieveNetworkAssistanceSessionRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiRetrieveNetworkAssistanceSessionRequest) Execute ¶
func (r ApiRetrieveNetworkAssistanceSessionRequest) Execute() (*NetworkAssistanceSession, *http.Response, error)
type ApiUpdateNetworkAssistanceSessionRequest ¶
type ApiUpdateNetworkAssistanceSessionRequest struct {
ApiService *DefaultApiService
// contains filtered or unexported fields
}
func (ApiUpdateNetworkAssistanceSessionRequest) Execute ¶
func (r ApiUpdateNetworkAssistanceSessionRequest) Execute() (*http.Response, error)
func (ApiUpdateNetworkAssistanceSessionRequest) NetworkAssistanceSession ¶
func (r ApiUpdateNetworkAssistanceSessionRequest) NetworkAssistanceSession(networkAssistanceSession NetworkAssistanceSession) ApiUpdateNetworkAssistanceSessionRequest
A replacement JSON representation of a Network Assistance Session resource
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) CreateNetworkAssistanceSession ¶
func (a *DefaultApiService) CreateNetworkAssistanceSession(ctx context.Context) ApiCreateNetworkAssistanceSessionRequest
CreateNetworkAssistanceSession Create a new Network Assistance Session.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateNetworkAssistanceSessionRequest
func (*DefaultApiService) CreateNetworkAssistanceSessionExecute ¶
func (a *DefaultApiService) CreateNetworkAssistanceSessionExecute(r ApiCreateNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
Execute executes the request
@return NetworkAssistanceSession
func (*DefaultApiService) DestroyNetworkAssistanceSession ¶
func (a *DefaultApiService) DestroyNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiDestroyNetworkAssistanceSessionRequest
DestroyNetworkAssistanceSession Destroy an existing Network Assistance Session resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiDestroyNetworkAssistanceSessionRequest
func (*DefaultApiService) DestroyNetworkAssistanceSessionExecute ¶
func (a *DefaultApiService) DestroyNetworkAssistanceSessionExecute(r ApiDestroyNetworkAssistanceSessionRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) PatchNetworkAssistanceSession ¶
func (a *DefaultApiService) PatchNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiPatchNetworkAssistanceSessionRequest
PatchNetworkAssistanceSession Patch an existing Network Assistance Session resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiPatchNetworkAssistanceSessionRequest
func (*DefaultApiService) PatchNetworkAssistanceSessionExecute ¶
func (a *DefaultApiService) PatchNetworkAssistanceSessionExecute(r ApiPatchNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
Execute executes the request
@return NetworkAssistanceSession
func (*DefaultApiService) RequestBitRateRecommendation ¶
func (a *DefaultApiService) RequestBitRateRecommendation(ctx context.Context, naSessionId string) ApiRequestBitRateRecommendationRequest
RequestBitRateRecommendation Obtain a bit rate recommendation for the next recommendation window
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiRequestBitRateRecommendationRequest
func (*DefaultApiService) RequestBitRateRecommendationExecute ¶
func (a *DefaultApiService) RequestBitRateRecommendationExecute(r ApiRequestBitRateRecommendationRequest) (*M5QoSSpecification, *http.Response, error)
Execute executes the request
@return M5QoSSpecification
func (*DefaultApiService) RequestDeliveryBoost ¶
func (a *DefaultApiService) RequestDeliveryBoost(ctx context.Context, naSessionId string) ApiRequestDeliveryBoostRequest
RequestDeliveryBoost Request a delivery boost
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiRequestDeliveryBoostRequest
func (*DefaultApiService) RequestDeliveryBoostExecute ¶
func (a *DefaultApiService) RequestDeliveryBoostExecute(r ApiRequestDeliveryBoostRequest) (*OperationSuccessResponse, *http.Response, error)
Execute executes the request
@return OperationSuccessResponse
func (*DefaultApiService) RetrieveNetworkAssistanceSession ¶
func (a *DefaultApiService) RetrieveNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiRetrieveNetworkAssistanceSessionRequest
RetrieveNetworkAssistanceSession Retrieve an existing Network Assistance Session resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiRetrieveNetworkAssistanceSessionRequest
func (*DefaultApiService) RetrieveNetworkAssistanceSessionExecute ¶
func (a *DefaultApiService) RetrieveNetworkAssistanceSessionExecute(r ApiRetrieveNetworkAssistanceSessionRequest) (*NetworkAssistanceSession, *http.Response, error)
Execute executes the request
@return NetworkAssistanceSession
func (*DefaultApiService) UpdateNetworkAssistanceSession ¶
func (a *DefaultApiService) UpdateNetworkAssistanceSession(ctx context.Context, naSessionId string) ApiUpdateNetworkAssistanceSessionRequest
UpdateNetworkAssistanceSession Update an existing Network Assistance Session resource
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param naSessionId The resource identifier of an existing Network Assistance Session resource @return ApiUpdateNetworkAssistanceSessionRequest
func (*DefaultApiService) UpdateNetworkAssistanceSessionExecute ¶
func (a *DefaultApiService) UpdateNetworkAssistanceSessionExecute(r ApiUpdateNetworkAssistanceSessionRequest) (*http.Response, error)
Execute executes the request
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type IpPacketFilterSet ¶
type IpPacketFilterSet struct {
SrcIp *string `json:"srcIp,omitempty"`
DstIp *string `json:"dstIp,omitempty"`
Protocol *int32 `json:"protocol,omitempty"`
SrcPort *int32 `json:"srcPort,omitempty"`
DstPort *int32 `json:"dstPort,omitempty"`
ToSTc *string `json:"toSTc,omitempty"`
FlowLabel *int32 `json:"flowLabel,omitempty"`
Spi *int32 `json:"spi,omitempty"`
Direction string `json:"direction"`
}
IpPacketFilterSet struct for IpPacketFilterSet
func NewIpPacketFilterSet ¶
func NewIpPacketFilterSet(direction string) *IpPacketFilterSet
NewIpPacketFilterSet instantiates a new IpPacketFilterSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIpPacketFilterSetWithDefaults ¶
func NewIpPacketFilterSetWithDefaults() *IpPacketFilterSet
NewIpPacketFilterSetWithDefaults instantiates a new IpPacketFilterSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IpPacketFilterSet) GetDirection ¶
func (o *IpPacketFilterSet) GetDirection() string
GetDirection returns the Direction field value
func (*IpPacketFilterSet) GetDirectionOk ¶
func (o *IpPacketFilterSet) GetDirectionOk() (*string, bool)
GetDirectionOk returns a tuple with the Direction field value and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetDstIp ¶
func (o *IpPacketFilterSet) GetDstIp() string
GetDstIp returns the DstIp field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetDstIpOk ¶
func (o *IpPacketFilterSet) GetDstIpOk() (*string, bool)
GetDstIpOk returns a tuple with the DstIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetDstPort ¶
func (o *IpPacketFilterSet) GetDstPort() int32
GetDstPort returns the DstPort field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetDstPortOk ¶
func (o *IpPacketFilterSet) GetDstPortOk() (*int32, bool)
GetDstPortOk returns a tuple with the DstPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetFlowLabel ¶
func (o *IpPacketFilterSet) GetFlowLabel() int32
GetFlowLabel returns the FlowLabel field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetFlowLabelOk ¶
func (o *IpPacketFilterSet) GetFlowLabelOk() (*int32, bool)
GetFlowLabelOk returns a tuple with the FlowLabel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetProtocol ¶
func (o *IpPacketFilterSet) GetProtocol() int32
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetProtocolOk ¶
func (o *IpPacketFilterSet) GetProtocolOk() (*int32, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetSpi ¶
func (o *IpPacketFilterSet) GetSpi() int32
GetSpi returns the Spi field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetSpiOk ¶
func (o *IpPacketFilterSet) GetSpiOk() (*int32, bool)
GetSpiOk returns a tuple with the Spi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetSrcIp ¶
func (o *IpPacketFilterSet) GetSrcIp() string
GetSrcIp returns the SrcIp field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetSrcIpOk ¶
func (o *IpPacketFilterSet) GetSrcIpOk() (*string, bool)
GetSrcIpOk returns a tuple with the SrcIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetSrcPort ¶
func (o *IpPacketFilterSet) GetSrcPort() int32
GetSrcPort returns the SrcPort field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetSrcPortOk ¶
func (o *IpPacketFilterSet) GetSrcPortOk() (*int32, bool)
GetSrcPortOk returns a tuple with the SrcPort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) GetToSTc ¶
func (o *IpPacketFilterSet) GetToSTc() string
GetToSTc returns the ToSTc field value if set, zero value otherwise.
func (*IpPacketFilterSet) GetToSTcOk ¶
func (o *IpPacketFilterSet) GetToSTcOk() (*string, bool)
GetToSTcOk returns a tuple with the ToSTc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpPacketFilterSet) HasDstIp ¶
func (o *IpPacketFilterSet) HasDstIp() bool
HasDstIp returns a boolean if a field has been set.
func (*IpPacketFilterSet) HasDstPort ¶
func (o *IpPacketFilterSet) HasDstPort() bool
HasDstPort returns a boolean if a field has been set.
func (*IpPacketFilterSet) HasFlowLabel ¶
func (o *IpPacketFilterSet) HasFlowLabel() bool
HasFlowLabel returns a boolean if a field has been set.
func (*IpPacketFilterSet) HasProtocol ¶
func (o *IpPacketFilterSet) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.
func (*IpPacketFilterSet) HasSpi ¶
func (o *IpPacketFilterSet) HasSpi() bool
HasSpi returns a boolean if a field has been set.
func (*IpPacketFilterSet) HasSrcIp ¶
func (o *IpPacketFilterSet) HasSrcIp() bool
HasSrcIp returns a boolean if a field has been set.