OpenAPI_M5_DynamicPolicies

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_DynamicPolicies

5GMS AF M5 Dynamic Policy 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.0.2
  • 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_DynamicPolicies "gitee.com/konglinglong/openapi/OpenAPI_M5_DynamicPolicies"

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_DynamicPolicies.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), OpenAPI_M5_DynamicPolicies.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_DynamicPolicies.ContextOperationServerIndices and OpenAPI_M5_DynamicPolicies.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), OpenAPI_M5_DynamicPolicies.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), OpenAPI_M5_DynamicPolicies.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 CreateDynamicPolicy Post /dynamic-policies Create (and optionally upload) a new Dynamic Policy resource
DefaultAPI DestroyDynamicPolicy Delete /dynamic-policies/{dynamicPolicyId} Destroy an existing Dynamic Policy resource
DefaultAPI PatchDynamicPolicy Patch /dynamic-policies/{dynamicPolicyId} Patch an existing Dynamic Policy resource
DefaultAPI RetrieveDynamicPolicy Get /dynamic-policies/{dynamicPolicyId} Retrieve an existing Dynamic Policy resource
DefaultAPI UpdateDynamicPolicy Put /dynamic-policies/{dynamicPolicyId} Update an existing Dynamic Policy 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_DynamicPolicies API v2.0.2 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 ApiCreateDynamicPolicyRequest

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

func (ApiCreateDynamicPolicyRequest) DynamicPolicy

An optional JSON representation of a Dynamic Policy resource

func (ApiCreateDynamicPolicyRequest) Execute

type ApiDestroyDynamicPolicyRequest

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

func (ApiDestroyDynamicPolicyRequest) Execute

type ApiPatchDynamicPolicyRequest

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

func (ApiPatchDynamicPolicyRequest) DynamicPolicy

A JSON patch to a Dynamic Policy resource

func (ApiPatchDynamicPolicyRequest) Execute

type ApiRetrieveDynamicPolicyRequest

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

func (ApiRetrieveDynamicPolicyRequest) Execute

type ApiUpdateDynamicPolicyRequest

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

func (ApiUpdateDynamicPolicyRequest) DynamicPolicy

A replacement JSON representation of a Dynamic Policy resource

func (ApiUpdateDynamicPolicyRequest) Execute

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

func (a *DefaultAPIService) CreateDynamicPolicy(ctx context.Context) ApiCreateDynamicPolicyRequest

CreateDynamicPolicy Create (and optionally upload) a new Dynamic Policy resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiCreateDynamicPolicyRequest

func (*DefaultAPIService) CreateDynamicPolicyExecute

func (a *DefaultAPIService) CreateDynamicPolicyExecute(r ApiCreateDynamicPolicyRequest) (*DynamicPolicy, *http.Response, error)

Execute executes the request

@return DynamicPolicy

func (*DefaultAPIService) DestroyDynamicPolicy

func (a *DefaultAPIService) DestroyDynamicPolicy(ctx context.Context, dynamicPolicyId string) ApiDestroyDynamicPolicyRequest

DestroyDynamicPolicy Destroy an existing Dynamic Policy resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dynamicPolicyId The resource identifier of a Dynamic Policy resource
@return ApiDestroyDynamicPolicyRequest

func (*DefaultAPIService) DestroyDynamicPolicyExecute

func (a *DefaultAPIService) DestroyDynamicPolicyExecute(r ApiDestroyDynamicPolicyRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) PatchDynamicPolicy

func (a *DefaultAPIService) PatchDynamicPolicy(ctx context.Context, dynamicPolicyId string) ApiPatchDynamicPolicyRequest

PatchDynamicPolicy Patch an existing Dynamic Policy resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dynamicPolicyId The resource identifier of a Dynamic Policy resource
@return ApiPatchDynamicPolicyRequest

func (*DefaultAPIService) PatchDynamicPolicyExecute

func (a *DefaultAPIService) PatchDynamicPolicyExecute(r ApiPatchDynamicPolicyRequest) (*DynamicPolicy, *http.Response, error)

Execute executes the request

@return DynamicPolicy

func (*DefaultAPIService) RetrieveDynamicPolicy

func (a *DefaultAPIService) RetrieveDynamicPolicy(ctx context.Context, dynamicPolicyId string) ApiRetrieveDynamicPolicyRequest

RetrieveDynamicPolicy Retrieve an existing Dynamic Policy resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dynamicPolicyId The resource identifier of a Dynamic Policy resource
@return ApiRetrieveDynamicPolicyRequest

func (*DefaultAPIService) RetrieveDynamicPolicyExecute

func (a *DefaultAPIService) RetrieveDynamicPolicyExecute(r ApiRetrieveDynamicPolicyRequest) (*DynamicPolicy, *http.Response, error)

Execute executes the request

@return DynamicPolicy

func (*DefaultAPIService) UpdateDynamicPolicy

func (a *DefaultAPIService) UpdateDynamicPolicy(ctx context.Context, dynamicPolicyId string) ApiUpdateDynamicPolicyRequest

UpdateDynamicPolicy Update an existing Dynamic Policy resource

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param dynamicPolicyId The resource identifier of a Dynamic Policy resource
@return ApiUpdateDynamicPolicyRequest

func (*DefaultAPIService) UpdateDynamicPolicyExecute

func (a *DefaultAPIService) UpdateDynamicPolicyExecute(r ApiUpdateDynamicPolicyRequest) (*http.Response, error)

Execute executes the request

type DynamicPolicy

type DynamicPolicy struct {
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	DynamicPolicyId string `json:"dynamicPolicyId"`
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	PolicyTemplateId            string                       `json:"policyTemplateId"`
	ServiceDataFlowDescriptions []ServiceDataFlowDescription `json:"serviceDataFlowDescriptions"`
	MediaType                   *MediaType                   `json:"mediaType,omitempty"`
	// String chosen by the 5GMS AF to serve as an identifier in a resource URI.
	ProvisioningSessionId string              `json:"provisioningSessionId"`
	QosSpecification      *M5QoSSpecification `json:"qosSpecification,omitempty"`
	EnforcementMethod     *string             `json:"enforcementMethod,omitempty"`
	EnforcementBitRate    *int32              `json:"enforcementBitRate,omitempty"`
}

DynamicPolicy A representation of a Dynamic Policy resource.

func NewDynamicPolicy

func NewDynamicPolicy(dynamicPolicyId string, policyTemplateId string, serviceDataFlowDescriptions []ServiceDataFlowDescription, provisioningSessionId string) *DynamicPolicy

NewDynamicPolicy instantiates a new DynamicPolicy 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 NewDynamicPolicyWithDefaults

func NewDynamicPolicyWithDefaults() *DynamicPolicy

NewDynamicPolicyWithDefaults instantiates a new DynamicPolicy 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 (*DynamicPolicy) GetDynamicPolicyId

func (o *DynamicPolicy) GetDynamicPolicyId() string

GetDynamicPolicyId returns the DynamicPolicyId field value

func (*DynamicPolicy) GetDynamicPolicyIdOk

func (o *DynamicPolicy) GetDynamicPolicyIdOk() (*string, bool)

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

func (*DynamicPolicy) GetEnforcementBitRate

func (o *DynamicPolicy) GetEnforcementBitRate() int32

GetEnforcementBitRate returns the EnforcementBitRate field value if set, zero value otherwise.

func (*DynamicPolicy) GetEnforcementBitRateOk

func (o *DynamicPolicy) GetEnforcementBitRateOk() (*int32, bool)

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

func (*DynamicPolicy) GetEnforcementMethod

func (o *DynamicPolicy) GetEnforcementMethod() string

GetEnforcementMethod returns the EnforcementMethod field value if set, zero value otherwise.

func (*DynamicPolicy) GetEnforcementMethodOk

func (o *DynamicPolicy) GetEnforcementMethodOk() (*string, bool)

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

func (*DynamicPolicy) GetMediaType

func (o *DynamicPolicy) GetMediaType() MediaType

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

func (*DynamicPolicy) GetMediaTypeOk

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

func (o *DynamicPolicy) GetPolicyTemplateId() string

GetPolicyTemplateId returns the PolicyTemplateId field value

func (*DynamicPolicy) GetPolicyTemplateIdOk

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

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

func (*DynamicPolicy) GetProvisioningSessionId

func (o *DynamicPolicy) GetProvisioningSessionId() string

GetProvisioningSessionId returns the ProvisioningSessionId field value

func (*DynamicPolicy) GetProvisioningSessionIdOk

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

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

func (*DynamicPolicy) GetQosSpecification

func (o *DynamicPolicy) GetQosSpecification() M5QoSSpecification

GetQosSpecification returns the QosSpecification field value if set, zero value otherwise.

func (*DynamicPolicy) GetQosSpecificationOk

func (o *DynamicPolicy) GetQosSpecificationOk() (*M5QoSSpecification, bool)

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

func (*DynamicPolicy) GetServiceDataFlowDescriptions

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

GetServiceDataFlowDescriptions returns the ServiceDataFlowDescriptions field value

func (*DynamicPolicy) GetServiceDataFlowDescriptionsOk

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

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

func (*DynamicPolicy) HasEnforcementBitRate

func (o *DynamicPolicy) HasEnforcementBitRate() bool

HasEnforcementBitRate returns a boolean if a field has been set.

func (*DynamicPolicy) HasEnforcementMethod

func (o *DynamicPolicy) HasEnforcementMethod() bool

HasEnforcementMethod returns a boolean if a field has been set.

func (*DynamicPolicy) HasMediaType

func (o *DynamicPolicy) HasMediaType() bool

HasMediaType returns a boolean if a field has been set.

func (*DynamicPolicy) HasQosSpecification

func (o *DynamicPolicy) HasQosSpecification() bool

HasQosSpecification returns a boolean if a field has been set.

func (DynamicPolicy) MarshalJSON

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

func (*DynamicPolicy) SetDynamicPolicyId

func (o *DynamicPolicy) SetDynamicPolicyId(v string)

SetDynamicPolicyId sets field value

func (*DynamicPolicy) SetEnforcementBitRate

func (o *DynamicPolicy) SetEnforcementBitRate(v int32)

SetEnforcementBitRate gets a reference to the given int32 and assigns it to the EnforcementBitRate field.

func (*DynamicPolicy) SetEnforcementMethod

func (o *DynamicPolicy) SetEnforcementMethod(v string)

SetEnforcementMethod gets a reference to the given string and assigns it to the EnforcementMethod field.

func (*DynamicPolicy) SetMediaType

func (o *DynamicPolicy) SetMediaType(v MediaType)

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

func (*DynamicPolicy) SetPolicyTemplateId

func (o *DynamicPolicy) SetPolicyTemplateId(v string)

SetPolicyTemplateId sets field value

func (*DynamicPolicy) SetProvisioningSessionId

func (o *DynamicPolicy) SetProvisioningSessionId(v string)

SetProvisioningSessionId sets field value

func (*DynamicPolicy) SetQosSpecification

func (o *DynamicPolicy) SetQosSpecification(v M5QoSSpecification)

SetQosSpecification gets a reference to the given M5QoSSpecification and assigns it to the QosSpecification field.

func (*DynamicPolicy) SetServiceDataFlowDescriptions

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

SetServiceDataFlowDescriptions sets field value

func (DynamicPolicy) ToMap

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

func (*DynamicPolicy) UnmarshalJSON

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

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 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 NullableDynamicPolicy

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

func NewNullableDynamicPolicy

func NewNullableDynamicPolicy(val *DynamicPolicy) *NullableDynamicPolicy

func (NullableDynamicPolicy) Get

func (NullableDynamicPolicy) IsSet

func (v NullableDynamicPolicy) IsSet() bool

func (NullableDynamicPolicy) MarshalJSON

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

func (*NullableDynamicPolicy) Set

func (v *NullableDynamicPolicy) Set(val *DynamicPolicy)

func (*NullableDynamicPolicy) UnmarshalJSON

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

func (*NullableDynamicPolicy) Unset

func (v *NullableDynamicPolicy) 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 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 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