OpenAPI_M5_NetworkAssistance

package
v0.0.0-...-e403a3c Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 20 Imported by: 0

README

Go API client for OpenAPI_M5_NetworkAssistance

5GMS AF M5 Network Assistance API © 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 2.1.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import OpenAPI_M5_NetworkAssistance "gitee.com/konglinglong/openapi/OpenAPI_M5_NetworkAssistance"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value OpenAPI_M5_NetworkAssistance.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), OpenAPI_M5_NetworkAssistance.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value OpenAPI_M5_NetworkAssistance.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), OpenAPI_M5_NetworkAssistance.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using OpenAPI_M5_NetworkAssistance.ContextOperationServerIndices and OpenAPI_M5_NetworkAssistance.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), OpenAPI_M5_NetworkAssistance.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), OpenAPI_M5_NetworkAssistance.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://example.com/3gpp-m5/v2

Class Method HTTP request Description
DefaultAPI CreateNetworkAssistanceSession Post /network-assistance/ Create a new Network Assistance Session.
DefaultAPI DestroyNetworkAssistanceSession Delete /network-assistance/{naSessionId} Destroy an existing Network Assistance Session resource
DefaultAPI PatchNetworkAssistanceSession Patch /network-assistance/{naSessionId} Patch an existing Network Assistance Session resource
DefaultAPI RequestBitRateRecommendation Get /network-assistance/{naSessionId}/recommendation Obtain a bit rate recommendation for the next recommendation window
DefaultAPI RequestDeliveryBoost Post /network-assistance/{naSessionId}/boost-request Request a delivery boost
DefaultAPI RetrieveNetworkAssistanceSession Get /network-assistance/{naSessionId} Retrieve an existing Network Assistance Session resource
DefaultAPI UpdateNetworkAssistanceSession Put /network-assistance/{naSessionId} Update an existing Network Assistance Session resource

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the M5_NetworkAssistance API v2.1.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

type APIKey struct {
	Key    string
	Prefix string
}

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 (ApiCreateNetworkAssistanceSessionRequest) NetworkAssistanceSession

The initial parameters for the Network Assistance Session resource

type ApiDestroyNetworkAssistanceSessionRequest

type ApiDestroyNetworkAssistanceSessionRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiDestroyNetworkAssistanceSessionRequest) Execute

type ApiPatchNetworkAssistanceSessionRequest

type ApiPatchNetworkAssistanceSessionRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiPatchNetworkAssistanceSessionRequest) Execute

func (ApiPatchNetworkAssistanceSessionRequest) NetworkAssistanceSession

A JSON patch to a Network Assistance Session resource

type ApiRequestBitRateRecommendationRequest

type ApiRequestBitRateRecommendationRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRequestBitRateRecommendationRequest) Execute

type ApiRequestDeliveryBoostRequest

type ApiRequestDeliveryBoostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRequestDeliveryBoostRequest) Execute

type ApiRetrieveNetworkAssistanceSessionRequest

type ApiRetrieveNetworkAssistanceSessionRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveNetworkAssistanceSessionRequest) Execute

type ApiUpdateNetworkAssistanceSessionRequest

type ApiUpdateNetworkAssistanceSessionRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateNetworkAssistanceSessionRequest) Execute

func (ApiUpdateNetworkAssistanceSessionRequest) NetworkAssistanceSession

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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

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

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

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

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.

func (*IpPacketFilterSet) HasSrcPort

func (o *IpPacketFilterSet) HasSrcPort() bool

HasSrcPort returns a boolean if a field has been set.

func (*IpPacketFilterSet) HasToSTc

func (o *IpPacketFilterSet) HasToSTc() bool

HasToSTc returns a boolean if a field has been set.

func (IpPacketFilterSet) MarshalJSON

func (o IpPacketFilterSet) MarshalJSON() ([]byte, error)

func (*IpPacketFilterSet) SetDirection

func (o *IpPacketFilterSet) SetDirection(v string)

SetDirection sets field value

func (*IpPacketFilterSet) SetDstIp

func (o *IpPacketFilterSet) SetDstIp(v string)

SetDstIp gets a reference to the given string and assigns it to the DstIp field.

func (*IpPacketFilterSet) SetDstPort

func (o *IpPacketFilterSet) SetDstPort(v int32)

SetDstPort gets a reference to the given int32 and assigns it to the DstPort field.

func (*IpPacketFilterSet) SetFlowLabel

func (o *IpPacketFilterSet) SetFlowLabel(v int32)

SetFlowLabel gets a reference to the given int32 and assigns it to the FlowLabel field.

func (*IpPacketFilterSet) SetProtocol

func (o *IpPacketFilterSet) SetProtocol(v int32)

SetProtocol gets a reference to the given int32 and assigns it to the Protocol field.

func (*IpPacketFilterSet) SetSpi

func (o *IpPacketFilterSet) SetSpi(v int32)

SetSpi gets a reference to the given int32 and assigns it to the Spi field.

func (*IpPacketFilterSet) SetSrcIp

func (o *IpPacketFilterSet) SetSrcIp(v string)

SetSrcIp gets a reference to the given string and assigns it to the SrcIp field.

func (*IpPacketFilterSet) SetSrcPort

func (o *IpPacketFilterSet) SetSrcPort(v int32)

SetSrcPort gets a reference to the given int32 and assigns it to the SrcPort field.

func (*IpPacketFilterSet) SetToSTc

func (o *IpPacketFilterSet) SetToSTc(v string)

SetToSTc gets a reference to the given string and assigns it to the ToSTc field.

func (IpPacketFilterSet) ToMap

func (o IpPacketFilterSet) ToMap() (map[string]interface{}, error)

func (*IpPacketFilterSet) UnmarshalJSON

func (o *IpPacketFilterSet) UnmarshalJSON(bytes []byte) (err error)

type M5QoSSpecification

type M5QoSSpecification struct {
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MarBwDlBitRate string `json:"marBwDlBitRate"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MarBwUlBitRate string `json:"marBwUlBitRate"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MinDesBwDlBitRate *string `json:"minDesBwDlBitRate,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MinDesBwUlBitRate *string `json:"minDesBwUlBitRate,omitempty"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MirBwDlBitRate string `json:"mirBwDlBitRate"`
	// String representing a bit rate; the prefixes follow the standard symbols from The International System of Units, and represent x1000 multipliers, with the exception that prefix \"K\" is used to represent the standard symbol \"k\".
	MirBwUlBitRate string `json:"mirBwUlBitRate"`
	DesLatency     *int32 `json:"desLatency,omitempty"`
	DesLoss        *int32 `json:"desLoss,omitempty"`
}

M5QoSSpecification struct for M5QoSSpecification

func NewM5QoSSpecification

func NewM5QoSSpecification(marBwDlBitRate string, marBwUlBitRate string, mirBwDlBitRate string, mirBwUlBitRate string) *M5QoSSpecification

NewM5QoSSpecification instantiates a new M5QoSSpecification 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 NewM5QoSSpecificationWithDefaults

func NewM5QoSSpecificationWithDefaults() *M5QoSSpecification

NewM5QoSSpecificationWithDefaults instantiates a new M5QoSSpecification 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 (*M5QoSSpecification) GetDesLatency

func (o *M5QoSSpecification) GetDesLatency() int32

GetDesLatency returns the DesLatency field value if set, zero value otherwise.

func (*M5QoSSpecification) GetDesLatencyOk

func (o *M5QoSSpecification) GetDesLatencyOk() (*int32, bool)

GetDesLatencyOk returns a tuple with the DesLatency field value if set, nil otherwise and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetDesLoss

func (o *M5QoSSpecification) GetDesLoss() int32

GetDesLoss returns the DesLoss field value if set, zero value otherwise.

func (*M5QoSSpecification) GetDesLossOk

func (o *M5QoSSpecification) GetDesLossOk() (*int32, bool)

GetDesLossOk returns a tuple with the DesLoss field value if set, nil otherwise and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMarBwDlBitRate

func (o *M5QoSSpecification) GetMarBwDlBitRate() string

GetMarBwDlBitRate returns the MarBwDlBitRate field value

func (*M5QoSSpecification) GetMarBwDlBitRateOk

func (o *M5QoSSpecification) GetMarBwDlBitRateOk() (*string, bool)

GetMarBwDlBitRateOk returns a tuple with the MarBwDlBitRate field value and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMarBwUlBitRate

func (o *M5QoSSpecification) GetMarBwUlBitRate() string

GetMarBwUlBitRate returns the MarBwUlBitRate field value

func (*M5QoSSpecification) GetMarBwUlBitRateOk

func (o *M5QoSSpecification) GetMarBwUlBitRateOk() (*string, bool)

GetMarBwUlBitRateOk returns a tuple with the MarBwUlBitRate field value and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMinDesBwDlBitRate

func (o *M5QoSSpecification) GetMinDesBwDlBitRate() string

GetMinDesBwDlBitRate returns the MinDesBwDlBitRate field value if set, zero value otherwise.

func (*M5QoSSpecification) GetMinDesBwDlBitRateOk

func (o *M5QoSSpecification) GetMinDesBwDlBitRateOk() (*string, bool)

GetMinDesBwDlBitRateOk returns a tuple with the MinDesBwDlBitRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMinDesBwUlBitRate

func (o *M5QoSSpecification) GetMinDesBwUlBitRate() string

GetMinDesBwUlBitRate returns the MinDesBwUlBitRate field value if set, zero value otherwise.

func (*M5QoSSpecification) GetMinDesBwUlBitRateOk

func (o *M5QoSSpecification) GetMinDesBwUlBitRateOk() (*string, bool)

GetMinDesBwUlBitRateOk returns a tuple with the MinDesBwUlBitRate field value if set, nil otherwise and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMirBwDlBitRate

func (o *M5QoSSpecification) GetMirBwDlBitRate() string

GetMirBwDlBitRate returns the MirBwDlBitRate field value

func (*M5QoSSpecification) GetMirBwDlBitRateOk

func (o *M5QoSSpecification) GetMirBwDlBitRateOk() (*string, bool)

GetMirBwDlBitRateOk returns a tuple with the MirBwDlBitRate field value and a boolean to check if the value has been set.

func (*M5QoSSpecification) GetMirBwUlBitRate

func (o *M5QoSSpecification) GetMirBwUlBitRate() string

GetMirBwUlBitRate returns the MirBwUlBitRate field value

func (*M5QoSSpecification) GetMirBwUlBitRateOk

func (o *M5QoSSpecification) GetMirBwUlBitRateOk() (*string, bool)

GetMirBwUlBitRateOk returns a tuple with the MirBwUlBitRate field value and a boolean to check if the value has been set.

func (*M5QoSSpecification) HasDesLatency

func (o *M5QoSSpecification) HasDesLatency() bool

HasDesLatency returns a boolean if a field has been set.

func (*M5QoSSpecification) HasDesLoss

func (o *M5QoSSpecification) HasDesLoss() bool

HasDesLoss returns a boolean if a field has been set.

func (*M5QoSSpecification) HasMinDesBwDlBitRate

func (o *M5QoSSpecification) HasMinDesBwDlBitRate() bool

HasMinDesBwDlBitRate returns a boolean if a field has been set.

func (*M5QoSSpecification) HasMinDesBwUlBitRate

func (o *M5QoSSpecification) HasMinDesBwUlBitRate() bool

HasMinDesBwUlBitRate returns a boolean if a field has been set.

func (M5QoSSpecification) MarshalJSON

func (o M5QoSSpecification) MarshalJSON() ([]byte, error)

func (*M5QoSSpecification) SetDesLatency

func (o *M5QoSSpecification) SetDesLatency(v int32)

SetDesLatency gets a reference to the given int32 and assigns it to the DesLatency field.

func (*M5QoSSpecification) SetDesLoss

func (o *M5QoSSpecification) SetDesLoss(v int32)

SetDesLoss gets a reference to the given int32 and assigns it to the DesLoss field.

func (*M5QoSSpecification) SetMarBwDlBitRate

func (o *M5QoSSpecification) SetMarBwDlBitRate(v string)

SetMarBwDlBitRate sets field value

func (*M5QoSSpecification) SetMarBwUlBitRate

func (o *M5QoSSpecification) SetMarBwUlBitRate(v string)

SetMarBwUlBitRate sets field value

func (*M5QoSSpecification) SetMinDesBwDlBitRate

func (o *M5QoSSpecification) SetMinDesBwDlBitRate(v string)

SetMinDesBwDlBitRate gets a reference to the given string and assigns it to the MinDesBwDlBitRate field.

func (*M5QoSSpecification) SetMinDesBwUlBitRate

func (o *M5QoSSpecification) SetMinDesBwUlBitRate(v string)

SetMinDesBwUlBitRate gets a reference to the given string and assigns it to the MinDesBwUlBitRate field.

func (*M5QoSSpecification) SetMirBwDlBitRate

func (o *M5QoSSpecification) SetMirBwDlBitRate(v string)

SetMirBwDlBitRate sets field value

func (*M5QoSSpecification) SetMirBwUlBitRate

func (o *M5QoSSpecification) SetMirBwUlBitRate(v string)

SetMirBwUlBitRate sets field value

func (M5QoSSpecification) ToMap

func (o M5QoSSpecification) ToMap() (map[string]interface{}, error)

func (*M5QoSSpecification) UnmarshalJSON

func (o *M5QoSSpecification) UnmarshalJSON(bytes []byte) (err error)

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type MediaType

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

MediaType Indicates the media type of a media component.

func (*MediaType) MarshalJSON

func (src *MediaType) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*MediaType) UnmarshalJSON

func (dst *MediaType) UnmarshalJSON(data []byte) error

Unmarshal JSON data into any of the pointers in the struct

type NetworkAssistanceSession

type NetworkAssistanceSession struct {
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	NaSessionId string `json:"naSessionId"`
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	ProvisioningSessionId       string                       `json:"provisioningSessionId"`
	ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions"`
	MediaType                   *MediaType                   `json:"mediaType,omitempty"`
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	PolicyTemplateId *string             `json:"policyTemplateId,omitempty"`
	RequestedQoS     *M5QoSSpecification `json:"requestedQoS,omitempty"`
	RecommendedQoS   *M5QoSSpecification `json:"recommendedQoS,omitempty"`
	// Absolute Uniform Resource Locator, conforming with the \"absolute-URI\" production specified in IETF RFC 3986, section 4.3 in which the scheme part is \"http\" or \"https\". Note that the \"query\" suffix is permitted by this production but the \"fragment\" suffix is not.
	NotficationURL *string `json:"notficationURL,omitempty"`
}

NetworkAssistanceSession A representation of a Network Assistance Session resource.

func NewNetworkAssistanceSession

func NewNetworkAssistanceSession(naSessionId string, provisioningSessionId string, serviceDataFlowDescriptions []ServiceDataFlowDescription) *NetworkAssistanceSession

NewNetworkAssistanceSession instantiates a new NetworkAssistanceSession 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 NewNetworkAssistanceSessionWithDefaults

func NewNetworkAssistanceSessionWithDefaults() *NetworkAssistanceSession

NewNetworkAssistanceSessionWithDefaults instantiates a new NetworkAssistanceSession 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 (*NetworkAssistanceSession) GetMediaType

func (o *NetworkAssistanceSession) GetMediaType() MediaType

GetMediaType returns the MediaType field value if set, zero value otherwise.

func (*NetworkAssistanceSession) GetMediaTypeOk

func (o *NetworkAssistanceSession) GetMediaTypeOk() (*MediaType, bool)

GetMediaTypeOk returns a tuple with the MediaType field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetNaSessionId

func (o *NetworkAssistanceSession) GetNaSessionId() string

GetNaSessionId returns the NaSessionId field value

func (*NetworkAssistanceSession) GetNaSessionIdOk

func (o *NetworkAssistanceSession) GetNaSessionIdOk() (*string, bool)

GetNaSessionIdOk returns a tuple with the NaSessionId field value and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetNotficationURL

func (o *NetworkAssistanceSession) GetNotficationURL() string

GetNotficationURL returns the NotficationURL field value if set, zero value otherwise.

func (*NetworkAssistanceSession) GetNotficationURLOk

func (o *NetworkAssistanceSession) GetNotficationURLOk() (*string, bool)

GetNotficationURLOk returns a tuple with the NotficationURL field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetPolicyTemplateId

func (o *NetworkAssistanceSession) GetPolicyTemplateId() string

GetPolicyTemplateId returns the PolicyTemplateId field value if set, zero value otherwise.

func (*NetworkAssistanceSession) GetPolicyTemplateIdOk

func (o *NetworkAssistanceSession) GetPolicyTemplateIdOk() (*string, bool)

GetPolicyTemplateIdOk returns a tuple with the PolicyTemplateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetProvisioningSessionId

func (o *NetworkAssistanceSession) GetProvisioningSessionId() string

GetProvisioningSessionId returns the ProvisioningSessionId field value

func (*NetworkAssistanceSession) GetProvisioningSessionIdOk

func (o *NetworkAssistanceSession) GetProvisioningSessionIdOk() (*string, bool)

GetProvisioningSessionIdOk returns a tuple with the ProvisioningSessionId field value and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetRecommendedQoS

func (o *NetworkAssistanceSession) GetRecommendedQoS() M5QoSSpecification

GetRecommendedQoS returns the RecommendedQoS field value if set, zero value otherwise.

func (*NetworkAssistanceSession) GetRecommendedQoSOk

func (o *NetworkAssistanceSession) GetRecommendedQoSOk() (*M5QoSSpecification, bool)

GetRecommendedQoSOk returns a tuple with the RecommendedQoS field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetRequestedQoS

func (o *NetworkAssistanceSession) GetRequestedQoS() M5QoSSpecification

GetRequestedQoS returns the RequestedQoS field value if set, zero value otherwise.

func (*NetworkAssistanceSession) GetRequestedQoSOk

func (o *NetworkAssistanceSession) GetRequestedQoSOk() (*M5QoSSpecification, bool)

GetRequestedQoSOk returns a tuple with the RequestedQoS field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) GetServiceDataFlowDescriptions

func (o *NetworkAssistanceSession) GetServiceDataFlowDescriptions() []ServiceDataFlowDescription

GetServiceDataFlowDescriptions returns the ServiceDataFlowDescriptions field value

func (*NetworkAssistanceSession) GetServiceDataFlowDescriptionsOk

func (o *NetworkAssistanceSession) GetServiceDataFlowDescriptionsOk() ([]ServiceDataFlowDescription, bool)

GetServiceDataFlowDescriptionsOk returns a tuple with the ServiceDataFlowDescriptions field value and a boolean to check if the value has been set.

func (*NetworkAssistanceSession) HasMediaType

func (o *NetworkAssistanceSession) HasMediaType() bool

HasMediaType returns a boolean if a field has been set.

func (*NetworkAssistanceSession) HasNotficationURL

func (o *NetworkAssistanceSession) HasNotficationURL() bool

HasNotficationURL returns a boolean if a field has been set.

func (*NetworkAssistanceSession) HasPolicyTemplateId

func (o *NetworkAssistanceSession) HasPolicyTemplateId() bool

HasPolicyTemplateId returns a boolean if a field has been set.

func (*NetworkAssistanceSession) HasRecommendedQoS

func (o *NetworkAssistanceSession) HasRecommendedQoS() bool

HasRecommendedQoS returns a boolean if a field has been set.

func (*NetworkAssistanceSession) HasRequestedQoS

func (o *NetworkAssistanceSession) HasRequestedQoS() bool

HasRequestedQoS returns a boolean if a field has been set.

func (NetworkAssistanceSession) MarshalJSON

func (o NetworkAssistanceSession) MarshalJSON() ([]byte, error)

func (*NetworkAssistanceSession) SetMediaType

func (o *NetworkAssistanceSession) SetMediaType(v MediaType)

SetMediaType gets a reference to the given MediaType and assigns it to the MediaType field.

func (*NetworkAssistanceSession) SetNaSessionId

func (o *NetworkAssistanceSession) SetNaSessionId(v string)

SetNaSessionId sets field value

func (*NetworkAssistanceSession) SetNotficationURL

func (o *NetworkAssistanceSession) SetNotficationURL(v string)

SetNotficationURL gets a reference to the given string and assigns it to the NotficationURL field.

func (*NetworkAssistanceSession) SetPolicyTemplateId

func (o *NetworkAssistanceSession) SetPolicyTemplateId(v string)

SetPolicyTemplateId gets a reference to the given string and assigns it to the PolicyTemplateId field.

func (*NetworkAssistanceSession) SetProvisioningSessionId

func (o *NetworkAssistanceSession) SetProvisioningSessionId(v string)

SetProvisioningSessionId sets field value

func (*NetworkAssistanceSession) SetRecommendedQoS

func (o *NetworkAssistanceSession) SetRecommendedQoS(v M5QoSSpecification)

SetRecommendedQoS gets a reference to the given M5QoSSpecification and assigns it to the RecommendedQoS field.

func (*NetworkAssistanceSession) SetRequestedQoS

func (o *NetworkAssistanceSession) SetRequestedQoS(v M5QoSSpecification)

SetRequestedQoS gets a reference to the given M5QoSSpecification and assigns it to the RequestedQoS field.

func (*NetworkAssistanceSession) SetServiceDataFlowDescriptions

func (o *NetworkAssistanceSession) SetServiceDataFlowDescriptions(v []ServiceDataFlowDescription)

SetServiceDataFlowDescriptions sets field value

func (NetworkAssistanceSession) ToMap

func (o NetworkAssistanceSession) ToMap() (map[string]interface{}, error)

func (*NetworkAssistanceSession) UnmarshalJSON

func (o *NetworkAssistanceSession) UnmarshalJSON(bytes []byte) (err error)

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableIpPacketFilterSet

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

func NewNullableIpPacketFilterSet

func NewNullableIpPacketFilterSet(val *IpPacketFilterSet) *NullableIpPacketFilterSet

func (NullableIpPacketFilterSet) Get

func (NullableIpPacketFilterSet) IsSet

func (v NullableIpPacketFilterSet) IsSet() bool

func (NullableIpPacketFilterSet) MarshalJSON

func (v NullableIpPacketFilterSet) MarshalJSON() ([]byte, error)

func (*NullableIpPacketFilterSet) Set

func (*NullableIpPacketFilterSet) UnmarshalJSON

func (v *NullableIpPacketFilterSet) UnmarshalJSON(src []byte) error

func (*NullableIpPacketFilterSet) Unset

func (v *NullableIpPacketFilterSet) Unset()

type NullableM5QoSSpecification

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

func NewNullableM5QoSSpecification

func NewNullableM5QoSSpecification(val *M5QoSSpecification) *NullableM5QoSSpecification

func (NullableM5QoSSpecification) Get

func (NullableM5QoSSpecification) IsSet

func (v NullableM5QoSSpecification) IsSet() bool

func (NullableM5QoSSpecification) MarshalJSON

func (v NullableM5QoSSpecification) MarshalJSON() ([]byte, error)

func (*NullableM5QoSSpecification) Set

func (*NullableM5QoSSpecification) UnmarshalJSON

func (v *NullableM5QoSSpecification) UnmarshalJSON(src []byte) error

func (*NullableM5QoSSpecification) Unset

func (v *NullableM5QoSSpecification) Unset()

type NullableMediaType

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

func NewNullableMediaType

func NewNullableMediaType(val *MediaType) *NullableMediaType

func (NullableMediaType) Get

func (v NullableMediaType) Get() *MediaType

func (NullableMediaType) IsSet

func (v NullableMediaType) IsSet() bool

func (NullableMediaType) MarshalJSON

func (v NullableMediaType) MarshalJSON() ([]byte, error)

func (*NullableMediaType) Set

func (v *NullableMediaType) Set(val *MediaType)

func (*NullableMediaType) UnmarshalJSON

func (v *NullableMediaType) UnmarshalJSON(src []byte) error

func (*NullableMediaType) Unset

func (v *NullableMediaType) Unset()

type NullableNetworkAssistanceSession

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

func (NullableNetworkAssistanceSession) Get

func (NullableNetworkAssistanceSession) IsSet

func (NullableNetworkAssistanceSession) MarshalJSON

func (v NullableNetworkAssistanceSession) MarshalJSON() ([]byte, error)

func (*NullableNetworkAssistanceSession) Set

func (*NullableNetworkAssistanceSession) UnmarshalJSON

func (v *NullableNetworkAssistanceSession) UnmarshalJSON(src []byte) error

func (*NullableNetworkAssistanceSession) Unset

type NullableOperationSuccessResponse

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

func (NullableOperationSuccessResponse) Get

func (NullableOperationSuccessResponse) IsSet

func (NullableOperationSuccessResponse) MarshalJSON

func (v NullableOperationSuccessResponse) MarshalJSON() ([]byte, error)

func (*NullableOperationSuccessResponse) Set

func (*NullableOperationSuccessResponse) UnmarshalJSON

func (v *NullableOperationSuccessResponse) UnmarshalJSON(src []byte) error

func (*NullableOperationSuccessResponse) Unset

type NullableServiceDataFlowDescription

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

func (NullableServiceDataFlowDescription) Get

func (NullableServiceDataFlowDescription) IsSet

func (NullableServiceDataFlowDescription) MarshalJSON

func (v NullableServiceDataFlowDescription) MarshalJSON() ([]byte, error)

func (*NullableServiceDataFlowDescription) Set

func (*NullableServiceDataFlowDescription) UnmarshalJSON

func (v *NullableServiceDataFlowDescription) UnmarshalJSON(src []byte) error

func (*NullableServiceDataFlowDescription) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type OperationSuccessResponse

type OperationSuccessResponse struct {
	Success bool    `json:"success"`
	Reason  *string `json:"reason,omitempty"`
}

OperationSuccessResponse struct for OperationSuccessResponse

func NewOperationSuccessResponse

func NewOperationSuccessResponse(success bool) *OperationSuccessResponse

NewOperationSuccessResponse instantiates a new OperationSuccessResponse 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 NewOperationSuccessResponseWithDefaults

func NewOperationSuccessResponseWithDefaults() *OperationSuccessResponse

NewOperationSuccessResponseWithDefaults instantiates a new OperationSuccessResponse 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 (*OperationSuccessResponse) GetReason

func (o *OperationSuccessResponse) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*OperationSuccessResponse) GetReasonOk

func (o *OperationSuccessResponse) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field value if set, nil otherwise and a boolean to check if the value has been set.

func (*OperationSuccessResponse) GetSuccess

func (o *OperationSuccessResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*OperationSuccessResponse) GetSuccessOk

func (o *OperationSuccessResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*OperationSuccessResponse) HasReason

func (o *OperationSuccessResponse) HasReason() bool

HasReason returns a boolean if a field has been set.

func (OperationSuccessResponse) MarshalJSON

func (o OperationSuccessResponse) MarshalJSON() ([]byte, error)

func (*OperationSuccessResponse) SetReason

func (o *OperationSuccessResponse) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*OperationSuccessResponse) SetSuccess

func (o *OperationSuccessResponse) SetSuccess(v bool)

SetSuccess sets field value

func (OperationSuccessResponse) ToMap

func (o OperationSuccessResponse) ToMap() (map[string]interface{}, error)

func (*OperationSuccessResponse) UnmarshalJSON

func (o *OperationSuccessResponse) UnmarshalJSON(bytes []byte) (err error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type ServiceDataFlowDescription

type ServiceDataFlowDescription struct {
	FlowDescription *IpPacketFilterSet `json:"flowDescription,omitempty"`
	DomainName      *string            `json:"domainName,omitempty"`
}

ServiceDataFlowDescription struct for ServiceDataFlowDescription

func NewServiceDataFlowDescription

func NewServiceDataFlowDescription() *ServiceDataFlowDescription

NewServiceDataFlowDescription instantiates a new ServiceDataFlowDescription 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 NewServiceDataFlowDescriptionWithDefaults

func NewServiceDataFlowDescriptionWithDefaults() *ServiceDataFlowDescription

NewServiceDataFlowDescriptionWithDefaults instantiates a new ServiceDataFlowDescription 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 (*ServiceDataFlowDescription) GetDomainName

func (o *ServiceDataFlowDescription) GetDomainName() string

GetDomainName returns the DomainName field value if set, zero value otherwise.

func (*ServiceDataFlowDescription) GetDomainNameOk

func (o *ServiceDataFlowDescription) GetDomainNameOk() (*string, bool)

GetDomainNameOk returns a tuple with the DomainName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDataFlowDescription) GetFlowDescription

func (o *ServiceDataFlowDescription) GetFlowDescription() IpPacketFilterSet

GetFlowDescription returns the FlowDescription field value if set, zero value otherwise.

func (*ServiceDataFlowDescription) GetFlowDescriptionOk

func (o *ServiceDataFlowDescription) GetFlowDescriptionOk() (*IpPacketFilterSet, bool)

GetFlowDescriptionOk returns a tuple with the FlowDescription field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ServiceDataFlowDescription) HasDomainName

func (o *ServiceDataFlowDescription) HasDomainName() bool

HasDomainName returns a boolean if a field has been set.

func (*ServiceDataFlowDescription) HasFlowDescription

func (o *ServiceDataFlowDescription) HasFlowDescription() bool

HasFlowDescription returns a boolean if a field has been set.

func (ServiceDataFlowDescription) MarshalJSON

func (o ServiceDataFlowDescription) MarshalJSON() ([]byte, error)

func (*ServiceDataFlowDescription) SetDomainName

func (o *ServiceDataFlowDescription) SetDomainName(v string)

SetDomainName gets a reference to the given string and assigns it to the DomainName field.

func (*ServiceDataFlowDescription) SetFlowDescription

func (o *ServiceDataFlowDescription) SetFlowDescription(v IpPacketFilterSet)

SetFlowDescription gets a reference to the given IpPacketFilterSet and assigns it to the FlowDescription field.

func (ServiceDataFlowDescription) ToMap

func (o ServiceDataFlowDescription) ToMap() (map[string]interface{}, error)

Jump to

Keyboard shortcuts

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