Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreatePolicyTemplateRequest
- type ApiDestroyPolicyTemplateRequest
- type ApiPatchPolicyTemplateRequest
- type ApiRetrievePolicyTemplateRequest
- type ApiUpdatePolicyTemplateRequest
- type BasicAuth
- type ChargingSpecification
- func (o *ChargingSpecification) GetGpsi() []string
- func (o *ChargingSpecification) GetGpsiOk() ([]string, bool)
- func (o *ChargingSpecification) GetSponId() string
- func (o *ChargingSpecification) GetSponIdOk() (*string, bool)
- func (o *ChargingSpecification) GetSponStatus() SponsoringStatus
- func (o *ChargingSpecification) GetSponStatusOk() (*SponsoringStatus, bool)
- func (o *ChargingSpecification) HasGpsi() bool
- func (o *ChargingSpecification) HasSponId() bool
- func (o *ChargingSpecification) HasSponStatus() bool
- func (o ChargingSpecification) MarshalJSON() ([]byte, error)
- func (o *ChargingSpecification) SetGpsi(v []string)
- func (o *ChargingSpecification) SetSponId(v string)
- func (o *ChargingSpecification) SetSponStatus(v SponsoringStatus)
- func (o ChargingSpecification) ToMap() (map[string]interface{}, error)
- type Configuration
- type DefaultApiService
- func (a *DefaultApiService) CreatePolicyTemplate(ctx context.Context, provisioningSessionId string) ApiCreatePolicyTemplateRequest
- func (a *DefaultApiService) CreatePolicyTemplateExecute(r ApiCreatePolicyTemplateRequest) (*http.Response, error)
- func (a *DefaultApiService) DestroyPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiDestroyPolicyTemplateRequest
- func (a *DefaultApiService) DestroyPolicyTemplateExecute(r ApiDestroyPolicyTemplateRequest) (*http.Response, error)
- func (a *DefaultApiService) PatchPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiPatchPolicyTemplateRequest
- func (a *DefaultApiService) PatchPolicyTemplateExecute(r ApiPatchPolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)
- func (a *DefaultApiService) RetrievePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiRetrievePolicyTemplateRequest
- func (a *DefaultApiService) RetrievePolicyTemplateExecute(r ApiRetrievePolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)
- func (a *DefaultApiService) UpdatePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiUpdatePolicyTemplateRequest
- func (a *DefaultApiService) UpdatePolicyTemplateExecute(r ApiUpdatePolicyTemplateRequest) (*http.Response, error)
- type GenericOpenAPIError
- type M1QoSSpecification
- func (o *M1QoSSpecification) GetDefPacketLossRateDl() int32
- func (o *M1QoSSpecification) GetDefPacketLossRateDlOk() (*int32, bool)
- func (o *M1QoSSpecification) GetDefPacketLossRateUl() int32
- func (o *M1QoSSpecification) GetDefPacketLossRateUlOk() (*int32, bool)
- func (o *M1QoSSpecification) GetMaxAuthBtrDl() string
- func (o *M1QoSSpecification) GetMaxAuthBtrDlOk() (*string, bool)
- func (o *M1QoSSpecification) GetMaxAuthBtrUl() string
- func (o *M1QoSSpecification) GetMaxAuthBtrUlOk() (*string, bool)
- func (o *M1QoSSpecification) GetMaxBtrDl() string
- func (o *M1QoSSpecification) GetMaxBtrDlOk() (*string, bool)
- func (o *M1QoSSpecification) GetMaxBtrUl() string
- func (o *M1QoSSpecification) GetMaxBtrUlOk() (*string, bool)
- func (o *M1QoSSpecification) GetQosReference() string
- func (o *M1QoSSpecification) GetQosReferenceOk() (*string, bool)
- func (o *M1QoSSpecification) HasDefPacketLossRateDl() bool
- func (o *M1QoSSpecification) HasDefPacketLossRateUl() bool
- func (o *M1QoSSpecification) HasMaxAuthBtrDl() bool
- func (o *M1QoSSpecification) HasMaxAuthBtrUl() bool
- func (o *M1QoSSpecification) HasMaxBtrDl() bool
- func (o *M1QoSSpecification) HasMaxBtrUl() bool
- func (o *M1QoSSpecification) HasQosReference() bool
- func (o M1QoSSpecification) MarshalJSON() ([]byte, error)
- func (o *M1QoSSpecification) SetDefPacketLossRateDl(v int32)
- func (o *M1QoSSpecification) SetDefPacketLossRateUl(v int32)
- func (o *M1QoSSpecification) SetMaxAuthBtrDl(v string)
- func (o *M1QoSSpecification) SetMaxAuthBtrUl(v string)
- func (o *M1QoSSpecification) SetMaxBtrDl(v string)
- func (o *M1QoSSpecification) SetMaxBtrUl(v string)
- func (o *M1QoSSpecification) SetQosReference(v string)
- func (o M1QoSSpecification) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBool
- type NullableChargingSpecification
- func (v NullableChargingSpecification) Get() *ChargingSpecification
- func (v NullableChargingSpecification) IsSet() bool
- func (v NullableChargingSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableChargingSpecification) Set(val *ChargingSpecification)
- func (v *NullableChargingSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableChargingSpecification) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableM1QoSSpecification
- func (v NullableM1QoSSpecification) Get() *M1QoSSpecification
- func (v NullableM1QoSSpecification) IsSet() bool
- func (v NullableM1QoSSpecification) MarshalJSON() ([]byte, error)
- func (v *NullableM1QoSSpecification) Set(val *M1QoSSpecification)
- func (v *NullableM1QoSSpecification) UnmarshalJSON(src []byte) error
- func (v *NullableM1QoSSpecification) Unset()
- type NullablePolicyTemplate
- func (v NullablePolicyTemplate) Get() *PolicyTemplate
- func (v NullablePolicyTemplate) IsSet() bool
- func (v NullablePolicyTemplate) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyTemplate) Set(val *PolicyTemplate)
- func (v *NullablePolicyTemplate) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyTemplate) Unset()
- type NullablePolicyTemplateApiType
- func (v NullablePolicyTemplateApiType) Get() *PolicyTemplateApiType
- func (v NullablePolicyTemplateApiType) IsSet() bool
- func (v NullablePolicyTemplateApiType) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyTemplateApiType) Set(val *PolicyTemplateApiType)
- func (v *NullablePolicyTemplateApiType) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyTemplateApiType) Unset()
- type NullablePolicyTemplateApplicationSessionContext
- func (v NullablePolicyTemplateApplicationSessionContext) Get() *PolicyTemplateApplicationSessionContext
- func (v NullablePolicyTemplateApplicationSessionContext) IsSet() bool
- func (v NullablePolicyTemplateApplicationSessionContext) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyTemplateApplicationSessionContext) Set(val *PolicyTemplateApplicationSessionContext)
- func (v *NullablePolicyTemplateApplicationSessionContext) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyTemplateApplicationSessionContext) Unset()
- type NullablePolicyTemplateState
- func (v NullablePolicyTemplateState) Get() *PolicyTemplateState
- func (v NullablePolicyTemplateState) IsSet() bool
- func (v NullablePolicyTemplateState) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyTemplateState) Set(val *PolicyTemplateState)
- func (v *NullablePolicyTemplateState) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyTemplateState) Unset()
- type NullableSnssai
- type NullableSponsoringStatus
- func (v NullableSponsoringStatus) Get() *SponsoringStatus
- func (v NullableSponsoringStatus) IsSet() bool
- func (v NullableSponsoringStatus) MarshalJSON() ([]byte, error)
- func (v *NullableSponsoringStatus) Set(val *SponsoringStatus)
- func (v *NullableSponsoringStatus) UnmarshalJSON(src []byte) error
- func (v *NullableSponsoringStatus) Unset()
- type NullableString
- type NullableTime
- type PolicyTemplate
- func (o *PolicyTemplate) GetApiEndPoint() string
- func (o *PolicyTemplate) GetApiEndPointOk() (*string, bool)
- func (o *PolicyTemplate) GetApiType() PolicyTemplateApiType
- func (o *PolicyTemplate) GetApiTypeOk() (*PolicyTemplateApiType, bool)
- func (o *PolicyTemplate) GetApplicationSessionContext() PolicyTemplateApplicationSessionContext
- func (o *PolicyTemplate) GetApplicationSessionContextOk() (*PolicyTemplateApplicationSessionContext, bool)
- func (o *PolicyTemplate) GetChargingSpecification() ChargingSpecification
- func (o *PolicyTemplate) GetChargingSpecificationOk() (*ChargingSpecification, bool)
- func (o *PolicyTemplate) GetExternalReference() string
- func (o *PolicyTemplate) GetExternalReferenceOk() (*string, bool)
- func (o *PolicyTemplate) GetPolicyTemplateId() string
- func (o *PolicyTemplate) GetPolicyTemplateIdOk() (*string, bool)
- func (o *PolicyTemplate) GetQoSSpecification() M1QoSSpecification
- func (o *PolicyTemplate) GetQoSSpecificationOk() (*M1QoSSpecification, bool)
- func (o *PolicyTemplate) GetState() PolicyTemplateState
- func (o *PolicyTemplate) GetStateOk() (*PolicyTemplateState, bool)
- func (o *PolicyTemplate) HasChargingSpecification() bool
- func (o *PolicyTemplate) HasQoSSpecification() bool
- func (o PolicyTemplate) MarshalJSON() ([]byte, error)
- func (o *PolicyTemplate) SetApiEndPoint(v string)
- func (o *PolicyTemplate) SetApiType(v PolicyTemplateApiType)
- func (o *PolicyTemplate) SetApplicationSessionContext(v PolicyTemplateApplicationSessionContext)
- func (o *PolicyTemplate) SetChargingSpecification(v ChargingSpecification)
- func (o *PolicyTemplate) SetExternalReference(v string)
- func (o *PolicyTemplate) SetPolicyTemplateId(v string)
- func (o *PolicyTemplate) SetQoSSpecification(v M1QoSSpecification)
- func (o *PolicyTemplate) SetState(v PolicyTemplateState)
- func (o PolicyTemplate) ToMap() (map[string]interface{}, error)
- type PolicyTemplateApiType
- type PolicyTemplateApplicationSessionContext
- func (o *PolicyTemplateApplicationSessionContext) GetAfAppId() string
- func (o *PolicyTemplateApplicationSessionContext) GetAfAppIdOk() (*string, bool)
- func (o *PolicyTemplateApplicationSessionContext) GetAspId() string
- func (o *PolicyTemplateApplicationSessionContext) GetAspIdOk() (*string, bool)
- func (o *PolicyTemplateApplicationSessionContext) GetDnn() string
- func (o *PolicyTemplateApplicationSessionContext) GetDnnOk() (*string, bool)
- func (o *PolicyTemplateApplicationSessionContext) GetSliceInfo() Snssai
- func (o *PolicyTemplateApplicationSessionContext) GetSliceInfoOk() (*Snssai, bool)
- func (o *PolicyTemplateApplicationSessionContext) HasAfAppId() bool
- func (o *PolicyTemplateApplicationSessionContext) HasAspId() bool
- func (o *PolicyTemplateApplicationSessionContext) HasDnn() bool
- func (o *PolicyTemplateApplicationSessionContext) HasSliceInfo() bool
- func (o PolicyTemplateApplicationSessionContext) MarshalJSON() ([]byte, error)
- func (o *PolicyTemplateApplicationSessionContext) SetAfAppId(v string)
- func (o *PolicyTemplateApplicationSessionContext) SetAspId(v string)
- func (o *PolicyTemplateApplicationSessionContext) SetDnn(v string)
- func (o *PolicyTemplateApplicationSessionContext) SetSliceInfo(v Snssai)
- func (o PolicyTemplateApplicationSessionContext) ToMap() (map[string]interface{}, error)
- type PolicyTemplateState
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Snssai
- func (o *Snssai) GetSd() string
- func (o *Snssai) GetSdOk() (*string, bool)
- func (o *Snssai) GetSst() int32
- func (o *Snssai) GetSstOk() (*int32, bool)
- func (o *Snssai) HasSd() bool
- func (o Snssai) MarshalJSON() ([]byte, error)
- func (o *Snssai) SetSd(v string)
- func (o *Snssai) SetSst(v int32)
- func (o Snssai) ToMap() (map[string]interface{}, error)
- type SponsoringStatus
Constants ¶
This section is empty.
Variables ¶
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the M1_PolicyTemplatesProvisioning API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreatePolicyTemplateRequest ¶
type ApiCreatePolicyTemplateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreatePolicyTemplateRequest) Execute ¶
func (r ApiCreatePolicyTemplateRequest) Execute() (*http.Response, error)
func (ApiCreatePolicyTemplateRequest) PolicyTemplate ¶
func (r ApiCreatePolicyTemplateRequest) PolicyTemplate(policyTemplate PolicyTemplate) ApiCreatePolicyTemplateRequest
A JSON representation of a Policy Template
type ApiDestroyPolicyTemplateRequest ¶
type ApiDestroyPolicyTemplateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiPatchPolicyTemplateRequest ¶
type ApiPatchPolicyTemplateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiPatchPolicyTemplateRequest) Execute ¶
func (r ApiPatchPolicyTemplateRequest) Execute() (*PolicyTemplate, *http.Response, error)
func (ApiPatchPolicyTemplateRequest) PolicyTemplate ¶
func (r ApiPatchPolicyTemplateRequest) PolicyTemplate(policyTemplate PolicyTemplate) ApiPatchPolicyTemplateRequest
A JSON representation of a Policy Template
type ApiRetrievePolicyTemplateRequest ¶
type ApiRetrievePolicyTemplateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiRetrievePolicyTemplateRequest) Execute ¶
func (r ApiRetrievePolicyTemplateRequest) Execute() (*PolicyTemplate, *http.Response, error)
type ApiUpdatePolicyTemplateRequest ¶
type ApiUpdatePolicyTemplateRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiUpdatePolicyTemplateRequest) Execute ¶
func (r ApiUpdatePolicyTemplateRequest) Execute() (*http.Response, error)
func (ApiUpdatePolicyTemplateRequest) PolicyTemplate ¶
func (r ApiUpdatePolicyTemplateRequest) PolicyTemplate(policyTemplate PolicyTemplate) ApiUpdatePolicyTemplateRequest
A JSON representation of a Policy Template
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 ChargingSpecification ¶
type ChargingSpecification struct { SponId *string `json:"sponId,omitempty"` SponStatus *SponsoringStatus `json:"sponStatus,omitempty"` Gpsi []string `json:"gpsi,omitempty"` }
ChargingSpecification struct for ChargingSpecification
func NewChargingSpecification ¶
func NewChargingSpecification() *ChargingSpecification
NewChargingSpecification instantiates a new ChargingSpecification 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 NewChargingSpecificationWithDefaults ¶
func NewChargingSpecificationWithDefaults() *ChargingSpecification
NewChargingSpecificationWithDefaults instantiates a new ChargingSpecification 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 (*ChargingSpecification) GetGpsi ¶
func (o *ChargingSpecification) GetGpsi() []string
GetGpsi returns the Gpsi field value if set, zero value otherwise.
func (*ChargingSpecification) GetGpsiOk ¶
func (o *ChargingSpecification) GetGpsiOk() ([]string, bool)
GetGpsiOk returns a tuple with the Gpsi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargingSpecification) GetSponId ¶
func (o *ChargingSpecification) GetSponId() string
GetSponId returns the SponId field value if set, zero value otherwise.
func (*ChargingSpecification) GetSponIdOk ¶
func (o *ChargingSpecification) GetSponIdOk() (*string, bool)
GetSponIdOk returns a tuple with the SponId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargingSpecification) GetSponStatus ¶
func (o *ChargingSpecification) GetSponStatus() SponsoringStatus
GetSponStatus returns the SponStatus field value if set, zero value otherwise.
func (*ChargingSpecification) GetSponStatusOk ¶
func (o *ChargingSpecification) GetSponStatusOk() (*SponsoringStatus, bool)
GetSponStatusOk returns a tuple with the SponStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChargingSpecification) HasGpsi ¶
func (o *ChargingSpecification) HasGpsi() bool
HasGpsi returns a boolean if a field has been set.
func (*ChargingSpecification) HasSponId ¶
func (o *ChargingSpecification) HasSponId() bool
HasSponId returns a boolean if a field has been set.
func (*ChargingSpecification) HasSponStatus ¶
func (o *ChargingSpecification) HasSponStatus() bool
HasSponStatus returns a boolean if a field has been set.
func (ChargingSpecification) MarshalJSON ¶
func (o ChargingSpecification) MarshalJSON() ([]byte, error)
func (*ChargingSpecification) SetGpsi ¶
func (o *ChargingSpecification) SetGpsi(v []string)
SetGpsi gets a reference to the given []string and assigns it to the Gpsi field.
func (*ChargingSpecification) SetSponId ¶
func (o *ChargingSpecification) SetSponId(v string)
SetSponId gets a reference to the given string and assigns it to the SponId field.
func (*ChargingSpecification) SetSponStatus ¶
func (o *ChargingSpecification) SetSponStatus(v SponsoringStatus)
SetSponStatus gets a reference to the given SponsoringStatus and assigns it to the SponStatus field.
func (ChargingSpecification) ToMap ¶
func (o ChargingSpecification) ToMap() (map[string]interface{}, error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) CreatePolicyTemplate ¶
func (a *DefaultApiService) CreatePolicyTemplate(ctx context.Context, provisioningSessionId string) ApiCreatePolicyTemplateRequest
CreatePolicyTemplate Create (and optionally upload) a new Policy Template
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId The resource identifier of an existing Provisioning Session. @return ApiCreatePolicyTemplateRequest
func (*DefaultApiService) CreatePolicyTemplateExecute ¶
func (a *DefaultApiService) CreatePolicyTemplateExecute(r ApiCreatePolicyTemplateRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) DestroyPolicyTemplate ¶
func (a *DefaultApiService) DestroyPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiDestroyPolicyTemplateRequest
DestroyPolicyTemplate Method for DestroyPolicyTemplate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId A unique identifier of the Provisioning Session. @param policyTemplateId A resource identifier of a Policy Template. @return ApiDestroyPolicyTemplateRequest
func (*DefaultApiService) DestroyPolicyTemplateExecute ¶
func (a *DefaultApiService) DestroyPolicyTemplateExecute(r ApiDestroyPolicyTemplateRequest) (*http.Response, error)
Execute executes the request
func (*DefaultApiService) PatchPolicyTemplate ¶
func (a *DefaultApiService) PatchPolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiPatchPolicyTemplateRequest
PatchPolicyTemplate Patch the Policy Template for the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId A unique identifier of the Provisioning Session. @param policyTemplateId A resource identifier of a Policy Template. @return ApiPatchPolicyTemplateRequest
func (*DefaultApiService) PatchPolicyTemplateExecute ¶
func (a *DefaultApiService) PatchPolicyTemplateExecute(r ApiPatchPolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)
Execute executes the request
@return PolicyTemplate
func (*DefaultApiService) RetrievePolicyTemplate ¶
func (a *DefaultApiService) RetrievePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiRetrievePolicyTemplateRequest
RetrievePolicyTemplate Retrieve a representation of an existing Policy Template in the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId A unique identifier of the Provisioning Session. @param policyTemplateId A resource identifier of a Policy Template. @return ApiRetrievePolicyTemplateRequest
func (*DefaultApiService) RetrievePolicyTemplateExecute ¶
func (a *DefaultApiService) RetrievePolicyTemplateExecute(r ApiRetrievePolicyTemplateRequest) (*PolicyTemplate, *http.Response, error)
Execute executes the request
@return PolicyTemplate
func (*DefaultApiService) UpdatePolicyTemplate ¶
func (a *DefaultApiService) UpdatePolicyTemplate(ctx context.Context, provisioningSessionId string, policyTemplateId string) ApiUpdatePolicyTemplateRequest
UpdatePolicyTemplate Update a Policy Template for the specified Provisioning Session
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param provisioningSessionId A unique identifier of the Provisioning Session. @param policyTemplateId A resource identifier of a Policy Template. @return ApiUpdatePolicyTemplateRequest
func (*DefaultApiService) UpdatePolicyTemplateExecute ¶
func (a *DefaultApiService) UpdatePolicyTemplateExecute(r ApiUpdatePolicyTemplateRequest) (*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 M1QoSSpecification ¶
type M1QoSSpecification struct { QosReference *string `json:"qosReference,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\". MaxBtrUl *string `json:"maxBtrUl,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\". MaxBtrDl *string `json:"maxBtrDl,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\". MaxAuthBtrUl *string `json:"maxAuthBtrUl,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\". MaxAuthBtrDl *string `json:"maxAuthBtrDl,omitempty"` DefPacketLossRateDl *int32 `json:"defPacketLossRateDl,omitempty"` DefPacketLossRateUl *int32 `json:"defPacketLossRateUl,omitempty"` }
M1QoSSpecification struct for M1QoSSpecification
func NewM1QoSSpecification ¶
func NewM1QoSSpecification() *M1QoSSpecification
NewM1QoSSpecification instantiates a new M1QoSSpecification 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 NewM1QoSSpecificationWithDefaults ¶
func NewM1QoSSpecificationWithDefaults() *M1QoSSpecification
NewM1QoSSpecificationWithDefaults instantiates a new M1QoSSpecification 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 (*M1QoSSpecification) GetDefPacketLossRateDl ¶
func (o *M1QoSSpecification) GetDefPacketLossRateDl() int32
GetDefPacketLossRateDl returns the DefPacketLossRateDl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetDefPacketLossRateDlOk ¶
func (o *M1QoSSpecification) GetDefPacketLossRateDlOk() (*int32, bool)
GetDefPacketLossRateDlOk returns a tuple with the DefPacketLossRateDl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetDefPacketLossRateUl ¶
func (o *M1QoSSpecification) GetDefPacketLossRateUl() int32
GetDefPacketLossRateUl returns the DefPacketLossRateUl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetDefPacketLossRateUlOk ¶
func (o *M1QoSSpecification) GetDefPacketLossRateUlOk() (*int32, bool)
GetDefPacketLossRateUlOk returns a tuple with the DefPacketLossRateUl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetMaxAuthBtrDl ¶
func (o *M1QoSSpecification) GetMaxAuthBtrDl() string
GetMaxAuthBtrDl returns the MaxAuthBtrDl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetMaxAuthBtrDlOk ¶
func (o *M1QoSSpecification) GetMaxAuthBtrDlOk() (*string, bool)
GetMaxAuthBtrDlOk returns a tuple with the MaxAuthBtrDl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetMaxAuthBtrUl ¶
func (o *M1QoSSpecification) GetMaxAuthBtrUl() string
GetMaxAuthBtrUl returns the MaxAuthBtrUl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetMaxAuthBtrUlOk ¶
func (o *M1QoSSpecification) GetMaxAuthBtrUlOk() (*string, bool)
GetMaxAuthBtrUlOk returns a tuple with the MaxAuthBtrUl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetMaxBtrDl ¶
func (o *M1QoSSpecification) GetMaxBtrDl() string
GetMaxBtrDl returns the MaxBtrDl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetMaxBtrDlOk ¶
func (o *M1QoSSpecification) GetMaxBtrDlOk() (*string, bool)
GetMaxBtrDlOk returns a tuple with the MaxBtrDl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetMaxBtrUl ¶
func (o *M1QoSSpecification) GetMaxBtrUl() string
GetMaxBtrUl returns the MaxBtrUl field value if set, zero value otherwise.
func (*M1QoSSpecification) GetMaxBtrUlOk ¶
func (o *M1QoSSpecification) GetMaxBtrUlOk() (*string, bool)
GetMaxBtrUlOk returns a tuple with the MaxBtrUl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) GetQosReference ¶
func (o *M1QoSSpecification) GetQosReference() string
GetQosReference returns the QosReference field value if set, zero value otherwise.
func (*M1QoSSpecification) GetQosReferenceOk ¶
func (o *M1QoSSpecification) GetQosReferenceOk() (*string, bool)
GetQosReferenceOk returns a tuple with the QosReference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*M1QoSSpecification) HasDefPacketLossRateDl ¶
func (o *M1QoSSpecification) HasDefPacketLossRateDl() bool
HasDefPacketLossRateDl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasDefPacketLossRateUl ¶
func (o *M1QoSSpecification) HasDefPacketLossRateUl() bool
HasDefPacketLossRateUl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasMaxAuthBtrDl ¶
func (o *M1QoSSpecification) HasMaxAuthBtrDl() bool
HasMaxAuthBtrDl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasMaxAuthBtrUl ¶
func (o *M1QoSSpecification) HasMaxAuthBtrUl() bool
HasMaxAuthBtrUl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasMaxBtrDl ¶
func (o *M1QoSSpecification) HasMaxBtrDl() bool
HasMaxBtrDl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasMaxBtrUl ¶
func (o *M1QoSSpecification) HasMaxBtrUl() bool
HasMaxBtrUl returns a boolean if a field has been set.
func (*M1QoSSpecification) HasQosReference ¶
func (o *M1QoSSpecification) HasQosReference() bool
HasQosReference returns a boolean if a field has been set.
func (M1QoSSpecification) MarshalJSON ¶
func (o M1QoSSpecification) MarshalJSON() ([]byte, error)
func (*M1QoSSpecification) SetDefPacketLossRateDl ¶
func (o *M1QoSSpecification) SetDefPacketLossRateDl(v int32)
SetDefPacketLossRateDl gets a reference to the given int32 and assigns it to the DefPacketLossRateDl field.
func (*M1QoSSpecification) SetDefPacketLossRateUl ¶
func (o *M1QoSSpecification) SetDefPacketLossRateUl(v int32)
SetDefPacketLossRateUl gets a reference to the given int32 and assigns it to the DefPacketLossRateUl field.
func (*M1QoSSpecification) SetMaxAuthBtrDl ¶
func (o *M1QoSSpecification) SetMaxAuthBtrDl(v string)
SetMaxAuthBtrDl gets a reference to the given string and assigns it to the MaxAuthBtrDl field.
func (*M1QoSSpecification) SetMaxAuthBtrUl ¶
func (o *M1QoSSpecification) SetMaxAuthBtrUl(v string)
SetMaxAuthBtrUl gets a reference to the given string and assigns it to the MaxAuthBtrUl field.
func (*M1QoSSpecification) SetMaxBtrDl ¶
func (o *M1QoSSpecification) SetMaxBtrDl(v string)
SetMaxBtrDl gets a reference to the given string and assigns it to the MaxBtrDl field.
func (*M1QoSSpecification) SetMaxBtrUl ¶
func (o *M1QoSSpecification) SetMaxBtrUl(v string)
SetMaxBtrUl gets a reference to the given string and assigns it to the MaxBtrUl field.
func (*M1QoSSpecification) SetQosReference ¶
func (o *M1QoSSpecification) SetQosReference(v string)
SetQosReference gets a reference to the given string and assigns it to the QosReference field.
func (M1QoSSpecification) ToMap ¶
func (o M1QoSSpecification) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
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 NullableChargingSpecification ¶
type NullableChargingSpecification struct {
// contains filtered or unexported fields
}
func NewNullableChargingSpecification ¶
func NewNullableChargingSpecification(val *ChargingSpecification) *NullableChargingSpecification
func (NullableChargingSpecification) Get ¶
func (v NullableChargingSpecification) Get() *ChargingSpecification
func (NullableChargingSpecification) IsSet ¶
func (v NullableChargingSpecification) IsSet() bool
func (NullableChargingSpecification) MarshalJSON ¶
func (v NullableChargingSpecification) MarshalJSON() ([]byte, error)
func (*NullableChargingSpecification) Set ¶
func (v *NullableChargingSpecification) Set(val *ChargingSpecification)
func (*NullableChargingSpecification) UnmarshalJSON ¶
func (v *NullableChargingSpecification) UnmarshalJSON(src []byte) error
func (*NullableChargingSpecification) Unset ¶
func (v *NullableChargingSpecification) 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 NullableM1QoSSpecification ¶
type NullableM1QoSSpecification struct {
// contains filtered or unexported fields
}
func NewNullableM1QoSSpecification ¶
func NewNullableM1QoSSpecification(val *M1QoSSpecification) *NullableM1QoSSpecification
func (NullableM1QoSSpecification) Get ¶
func (v NullableM1QoSSpecification) Get() *M1QoSSpecification
func (NullableM1QoSSpecification) IsSet ¶
func (v NullableM1QoSSpecification) IsSet() bool
func (NullableM1QoSSpecification) MarshalJSON ¶
func (v NullableM1QoSSpecification) MarshalJSON() ([]byte, error)
func (*NullableM1QoSSpecification) Set ¶
func (v *NullableM1QoSSpecification) Set(val *M1QoSSpecification)
func (*NullableM1QoSSpecification) UnmarshalJSON ¶
func (v *NullableM1QoSSpecification) UnmarshalJSON(src []byte) error
func (*NullableM1QoSSpecification) Unset ¶
func (v *NullableM1QoSSpecification) Unset()
type NullablePolicyTemplate ¶
type NullablePolicyTemplate struct {
// contains filtered or unexported fields
}
func NewNullablePolicyTemplate ¶
func NewNullablePolicyTemplate(val *PolicyTemplate) *NullablePolicyTemplate
func (NullablePolicyTemplate) Get ¶
func (v NullablePolicyTemplate) Get() *PolicyTemplate
func (NullablePolicyTemplate) IsSet ¶
func (v NullablePolicyTemplate) IsSet() bool
func (NullablePolicyTemplate) MarshalJSON ¶
func (v NullablePolicyTemplate) MarshalJSON() ([]byte, error)
func (*NullablePolicyTemplate) Set ¶
func (v *NullablePolicyTemplate) Set(val *PolicyTemplate)
func (*NullablePolicyTemplate) UnmarshalJSON ¶
func (v *NullablePolicyTemplate) UnmarshalJSON(src []byte) error
func (*NullablePolicyTemplate) Unset ¶
func (v *NullablePolicyTemplate) Unset()
type NullablePolicyTemplateApiType ¶
type NullablePolicyTemplateApiType struct {
// contains filtered or unexported fields
}
func NewNullablePolicyTemplateApiType ¶
func NewNullablePolicyTemplateApiType(val *PolicyTemplateApiType) *NullablePolicyTemplateApiType
func (NullablePolicyTemplateApiType) Get ¶
func (v NullablePolicyTemplateApiType) Get() *PolicyTemplateApiType
func (NullablePolicyTemplateApiType) IsSet ¶
func (v NullablePolicyTemplateApiType) IsSet() bool
func (NullablePolicyTemplateApiType) MarshalJSON ¶
func (v NullablePolicyTemplateApiType) MarshalJSON() ([]byte, error)
func (*NullablePolicyTemplateApiType) Set ¶
func (v *NullablePolicyTemplateApiType) Set(val *PolicyTemplateApiType)
func (*NullablePolicyTemplateApiType) UnmarshalJSON ¶
func (v *NullablePolicyTemplateApiType) UnmarshalJSON(src []byte) error
func (*NullablePolicyTemplateApiType) Unset ¶
func (v *NullablePolicyTemplateApiType) Unset()
type NullablePolicyTemplateApplicationSessionContext ¶
type NullablePolicyTemplateApplicationSessionContext struct {
// contains filtered or unexported fields
}
func NewNullablePolicyTemplateApplicationSessionContext ¶
func NewNullablePolicyTemplateApplicationSessionContext(val *PolicyTemplateApplicationSessionContext) *NullablePolicyTemplateApplicationSessionContext
func (NullablePolicyTemplateApplicationSessionContext) IsSet ¶
func (v NullablePolicyTemplateApplicationSessionContext) IsSet() bool
func (NullablePolicyTemplateApplicationSessionContext) MarshalJSON ¶
func (v NullablePolicyTemplateApplicationSessionContext) MarshalJSON() ([]byte, error)
func (*NullablePolicyTemplateApplicationSessionContext) UnmarshalJSON ¶
func (v *NullablePolicyTemplateApplicationSessionContext) UnmarshalJSON(src []byte) error
func (*NullablePolicyTemplateApplicationSessionContext) Unset ¶
func (v *NullablePolicyTemplateApplicationSessionContext) Unset()
type NullablePolicyTemplateState ¶
type NullablePolicyTemplateState struct {
// contains filtered or unexported fields
}
func NewNullablePolicyTemplateState ¶
func NewNullablePolicyTemplateState(val *PolicyTemplateState) *NullablePolicyTemplateState
func (NullablePolicyTemplateState) Get ¶
func (v NullablePolicyTemplateState) Get() *PolicyTemplateState
func (NullablePolicyTemplateState) IsSet ¶
func (v NullablePolicyTemplateState) IsSet() bool
func (NullablePolicyTemplateState) MarshalJSON ¶
func (v NullablePolicyTemplateState) MarshalJSON() ([]byte, error)
func (*NullablePolicyTemplateState) Set ¶
func (v *NullablePolicyTemplateState) Set(val *PolicyTemplateState)
func (*NullablePolicyTemplateState) UnmarshalJSON ¶
func (v *NullablePolicyTemplateState) UnmarshalJSON(src []byte) error
func (*NullablePolicyTemplateState) Unset ¶
func (v *NullablePolicyTemplateState) Unset()
type NullableSnssai ¶
type NullableSnssai struct {
// contains filtered or unexported fields
}
func NewNullableSnssai ¶
func NewNullableSnssai(val *Snssai) *NullableSnssai
func (NullableSnssai) Get ¶
func (v NullableSnssai) Get() *Snssai
func (NullableSnssai) IsSet ¶
func (v NullableSnssai) IsSet() bool
func (NullableSnssai) MarshalJSON ¶
func (v NullableSnssai) MarshalJSON() ([]byte, error)
func (*NullableSnssai) Set ¶
func (v *NullableSnssai) Set(val *Snssai)
func (*NullableSnssai) UnmarshalJSON ¶
func (v *NullableSnssai) UnmarshalJSON(src []byte) error
func (*NullableSnssai) Unset ¶
func (v *NullableSnssai) Unset()
type NullableSponsoringStatus ¶
type NullableSponsoringStatus struct {
// contains filtered or unexported fields
}
func NewNullableSponsoringStatus ¶
func NewNullableSponsoringStatus(val *SponsoringStatus) *NullableSponsoringStatus
func (NullableSponsoringStatus) Get ¶
func (v NullableSponsoringStatus) Get() *SponsoringStatus
func (NullableSponsoringStatus) IsSet ¶
func (v NullableSponsoringStatus) IsSet() bool
func (NullableSponsoringStatus) MarshalJSON ¶
func (v NullableSponsoringStatus) MarshalJSON() ([]byte, error)
func (*NullableSponsoringStatus) Set ¶
func (v *NullableSponsoringStatus) Set(val *SponsoringStatus)
func (*NullableSponsoringStatus) UnmarshalJSON ¶
func (v *NullableSponsoringStatus) UnmarshalJSON(src []byte) error
func (*NullableSponsoringStatus) Unset ¶
func (v *NullableSponsoringStatus) 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 PolicyTemplate ¶
type PolicyTemplate struct { // String chosen by the 5GMS AF to serve as an identifier in a resource URI. PolicyTemplateId string `json:"policyTemplateId"` State PolicyTemplateState `json:"state"` ApiEndPoint string `json:"apiEndPoint"` ApiType PolicyTemplateApiType `json:"apiType"` ExternalReference string `json:"externalReference"` QoSSpecification *M1QoSSpecification `json:"qoSSpecification,omitempty"` ApplicationSessionContext PolicyTemplateApplicationSessionContext `json:"applicationSessionContext"` ChargingSpecification *ChargingSpecification `json:"chargingSpecification,omitempty"` }
PolicyTemplate A representation of a Policy Template resource.
func NewPolicyTemplate ¶
func NewPolicyTemplate(policyTemplateId string, state PolicyTemplateState, apiEndPoint string, apiType PolicyTemplateApiType, externalReference string, applicationSessionContext PolicyTemplateApplicationSessionContext) *PolicyTemplate
NewPolicyTemplate instantiates a new PolicyTemplate 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 NewPolicyTemplateWithDefaults ¶
func NewPolicyTemplateWithDefaults() *PolicyTemplate
NewPolicyTemplateWithDefaults instantiates a new PolicyTemplate 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 (*PolicyTemplate) GetApiEndPoint ¶
func (o *PolicyTemplate) GetApiEndPoint() string
GetApiEndPoint returns the ApiEndPoint field value
func (*PolicyTemplate) GetApiEndPointOk ¶
func (o *PolicyTemplate) GetApiEndPointOk() (*string, bool)
GetApiEndPointOk returns a tuple with the ApiEndPoint field value and a boolean to check if the value has been set.
func (*PolicyTemplate) GetApiType ¶
func (o *PolicyTemplate) GetApiType() PolicyTemplateApiType
GetApiType returns the ApiType field value
func (*PolicyTemplate) GetApiTypeOk ¶
func (o *PolicyTemplate) GetApiTypeOk() (*PolicyTemplateApiType, bool)
GetApiTypeOk returns a tuple with the ApiType field value and a boolean to check if the value has been set.
func (*PolicyTemplate) GetApplicationSessionContext ¶
func (o *PolicyTemplate) GetApplicationSessionContext() PolicyTemplateApplicationSessionContext
GetApplicationSessionContext returns the ApplicationSessionContext field value
func (*PolicyTemplate) GetApplicationSessionContextOk ¶
func (o *PolicyTemplate) GetApplicationSessionContextOk() (*PolicyTemplateApplicationSessionContext, bool)
GetApplicationSessionContextOk returns a tuple with the ApplicationSessionContext field value and a boolean to check if the value has been set.
func (*PolicyTemplate) GetChargingSpecification ¶
func (o *PolicyTemplate) GetChargingSpecification() ChargingSpecification
GetChargingSpecification returns the ChargingSpecification field value if set, zero value otherwise.
func (*PolicyTemplate) GetChargingSpecificationOk ¶
func (o *PolicyTemplate) GetChargingSpecificationOk() (*ChargingSpecification, bool)
GetChargingSpecificationOk returns a tuple with the ChargingSpecification field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyTemplate) GetExternalReference ¶
func (o *PolicyTemplate) GetExternalReference() string
GetExternalReference returns the ExternalReference field value
func (*PolicyTemplate) GetExternalReferenceOk ¶
func (o *PolicyTemplate) GetExternalReferenceOk() (*string, bool)
GetExternalReferenceOk returns a tuple with the ExternalReference field value and a boolean to check if the value has been set.
func (*PolicyTemplate) GetPolicyTemplateId ¶
func (o *PolicyTemplate) GetPolicyTemplateId() string
GetPolicyTemplateId returns the PolicyTemplateId field value
func (*PolicyTemplate) GetPolicyTemplateIdOk ¶
func (o *PolicyTemplate) GetPolicyTemplateIdOk() (*string, bool)
GetPolicyTemplateIdOk returns a tuple with the PolicyTemplateId field value and a boolean to check if the value has been set.
func (*PolicyTemplate) GetQoSSpecification ¶
func (o *PolicyTemplate) GetQoSSpecification() M1QoSSpecification
GetQoSSpecification returns the QoSSpecification field value if set, zero value otherwise.
func (*PolicyTemplate) GetQoSSpecificationOk ¶
func (o *PolicyTemplate) GetQoSSpecificationOk() (*M1QoSSpecification, 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 (*PolicyTemplate) GetState ¶
func (o *PolicyTemplate) GetState() PolicyTemplateState
GetState returns the State field value
func (*PolicyTemplate) GetStateOk ¶
func (o *PolicyTemplate) GetStateOk() (*PolicyTemplateState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*PolicyTemplate) HasChargingSpecification ¶
func (o *PolicyTemplate) HasChargingSpecification() bool
HasChargingSpecification returns a boolean if a field has been set.
func (*PolicyTemplate) HasQoSSpecification ¶
func (o *PolicyTemplate) HasQoSSpecification() bool
HasQoSSpecification returns a boolean if a field has been set.
func (PolicyTemplate) MarshalJSON ¶
func (o PolicyTemplate) MarshalJSON() ([]byte, error)
func (*PolicyTemplate) SetApiEndPoint ¶
func (o *PolicyTemplate) SetApiEndPoint(v string)
SetApiEndPoint sets field value
func (*PolicyTemplate) SetApiType ¶
func (o *PolicyTemplate) SetApiType(v PolicyTemplateApiType)
SetApiType sets field value
func (*PolicyTemplate) SetApplicationSessionContext ¶
func (o *PolicyTemplate) SetApplicationSessionContext(v PolicyTemplateApplicationSessionContext)
SetApplicationSessionContext sets field value
func (*PolicyTemplate) SetChargingSpecification ¶
func (o *PolicyTemplate) SetChargingSpecification(v ChargingSpecification)
SetChargingSpecification gets a reference to the given ChargingSpecification and assigns it to the ChargingSpecification field.
func (*PolicyTemplate) SetExternalReference ¶
func (o *PolicyTemplate) SetExternalReference(v string)
SetExternalReference sets field value
func (*PolicyTemplate) SetPolicyTemplateId ¶
func (o *PolicyTemplate) SetPolicyTemplateId(v string)
SetPolicyTemplateId sets field value
func (*PolicyTemplate) SetQoSSpecification ¶
func (o *PolicyTemplate) SetQoSSpecification(v M1QoSSpecification)
SetQoSSpecification gets a reference to the given M1QoSSpecification and assigns it to the QoSSpecification field.
func (*PolicyTemplate) SetState ¶
func (o *PolicyTemplate) SetState(v PolicyTemplateState)
SetState sets field value
func (PolicyTemplate) ToMap ¶
func (o PolicyTemplate) ToMap() (map[string]interface{}, error)
type PolicyTemplateApiType ¶
type PolicyTemplateApiType struct {
String *string
}
PolicyTemplateApiType struct for PolicyTemplateApiType
func (*PolicyTemplateApiType) MarshalJSON ¶
func (src *PolicyTemplateApiType) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicyTemplateApiType) UnmarshalJSON ¶
func (dst *PolicyTemplateApiType) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type PolicyTemplateApplicationSessionContext ¶
type PolicyTemplateApplicationSessionContext struct { // Contains an AF application identifier. AfAppId *string `json:"afAppId,omitempty"` SliceInfo *Snssai `json:"sliceInfo,omitempty"` // String representing a Data Network as defined in clause 9A of 3GPP TS 23.003; it shall contain either a DNN Network Identifier, or a full DNN with both the Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2. It shall be coded as string in which the labels are separated by dots (e.g. \"Label1.Label2.Label3\"). Dnn *string `json:"dnn,omitempty"` // Contains an identity of an application service provider. AspId *string `json:"aspId,omitempty"` }
PolicyTemplateApplicationSessionContext struct for PolicyTemplateApplicationSessionContext
func NewPolicyTemplateApplicationSessionContext ¶
func NewPolicyTemplateApplicationSessionContext() *PolicyTemplateApplicationSessionContext
NewPolicyTemplateApplicationSessionContext instantiates a new PolicyTemplateApplicationSessionContext 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 NewPolicyTemplateApplicationSessionContextWithDefaults ¶
func NewPolicyTemplateApplicationSessionContextWithDefaults() *PolicyTemplateApplicationSessionContext
NewPolicyTemplateApplicationSessionContextWithDefaults instantiates a new PolicyTemplateApplicationSessionContext 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 (*PolicyTemplateApplicationSessionContext) GetAfAppId ¶
func (o *PolicyTemplateApplicationSessionContext) GetAfAppId() string
GetAfAppId returns the AfAppId field value if set, zero value otherwise.
func (*PolicyTemplateApplicationSessionContext) GetAfAppIdOk ¶
func (o *PolicyTemplateApplicationSessionContext) GetAfAppIdOk() (*string, bool)
GetAfAppIdOk returns a tuple with the AfAppId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyTemplateApplicationSessionContext) GetAspId ¶
func (o *PolicyTemplateApplicationSessionContext) GetAspId() string
GetAspId returns the AspId field value if set, zero value otherwise.
func (*PolicyTemplateApplicationSessionContext) GetAspIdOk ¶
func (o *PolicyTemplateApplicationSessionContext) GetAspIdOk() (*string, bool)
GetAspIdOk returns a tuple with the AspId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyTemplateApplicationSessionContext) GetDnn ¶
func (o *PolicyTemplateApplicationSessionContext) GetDnn() string
GetDnn returns the Dnn field value if set, zero value otherwise.
func (*PolicyTemplateApplicationSessionContext) GetDnnOk ¶
func (o *PolicyTemplateApplicationSessionContext) GetDnnOk() (*string, bool)
GetDnnOk returns a tuple with the Dnn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyTemplateApplicationSessionContext) GetSliceInfo ¶
func (o *PolicyTemplateApplicationSessionContext) GetSliceInfo() Snssai
GetSliceInfo returns the SliceInfo field value if set, zero value otherwise.
func (*PolicyTemplateApplicationSessionContext) GetSliceInfoOk ¶
func (o *PolicyTemplateApplicationSessionContext) GetSliceInfoOk() (*Snssai, bool)
GetSliceInfoOk returns a tuple with the SliceInfo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolicyTemplateApplicationSessionContext) HasAfAppId ¶
func (o *PolicyTemplateApplicationSessionContext) HasAfAppId() bool
HasAfAppId returns a boolean if a field has been set.
func (*PolicyTemplateApplicationSessionContext) HasAspId ¶
func (o *PolicyTemplateApplicationSessionContext) HasAspId() bool
HasAspId returns a boolean if a field has been set.
func (*PolicyTemplateApplicationSessionContext) HasDnn ¶
func (o *PolicyTemplateApplicationSessionContext) HasDnn() bool
HasDnn returns a boolean if a field has been set.
func (*PolicyTemplateApplicationSessionContext) HasSliceInfo ¶
func (o *PolicyTemplateApplicationSessionContext) HasSliceInfo() bool
HasSliceInfo returns a boolean if a field has been set.
func (PolicyTemplateApplicationSessionContext) MarshalJSON ¶
func (o PolicyTemplateApplicationSessionContext) MarshalJSON() ([]byte, error)
func (*PolicyTemplateApplicationSessionContext) SetAfAppId ¶
func (o *PolicyTemplateApplicationSessionContext) SetAfAppId(v string)
SetAfAppId gets a reference to the given string and assigns it to the AfAppId field.
func (*PolicyTemplateApplicationSessionContext) SetAspId ¶
func (o *PolicyTemplateApplicationSessionContext) SetAspId(v string)
SetAspId gets a reference to the given string and assigns it to the AspId field.
func (*PolicyTemplateApplicationSessionContext) SetDnn ¶
func (o *PolicyTemplateApplicationSessionContext) SetDnn(v string)
SetDnn gets a reference to the given string and assigns it to the Dnn field.
func (*PolicyTemplateApplicationSessionContext) SetSliceInfo ¶
func (o *PolicyTemplateApplicationSessionContext) SetSliceInfo(v Snssai)
SetSliceInfo gets a reference to the given Snssai and assigns it to the SliceInfo field.
func (PolicyTemplateApplicationSessionContext) ToMap ¶
func (o PolicyTemplateApplicationSessionContext) ToMap() (map[string]interface{}, error)
type PolicyTemplateState ¶
type PolicyTemplateState struct {
String *string
}
PolicyTemplateState struct for PolicyTemplateState
func (*PolicyTemplateState) MarshalJSON ¶
func (src *PolicyTemplateState) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*PolicyTemplateState) UnmarshalJSON ¶
func (dst *PolicyTemplateState) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Snssai ¶
type Snssai struct { // Unsigned integer, within the range 0 to 255, representing the Slice/Service Type. It indicates the expected Network Slice behaviour in terms of features and services. Values 0 to 127 correspond to the standardized SST range. Values 128 to 255 correspond to the Operator-specific range. See clause 28.4.2 of 3GPP TS 23.003. Standardized values are defined in clause 5.15.2.2 of 3GPP TS 23.501. Sst int32 `json:"sst"` // 3-octet string, representing the Slice Differentiator, in hexadecimal representation. Each character in the string shall take a value of \"0\" to \"9\", \"a\" to \"f\" or \"A\" to \"F\" and shall represent 4 bits. The most significant character representing the 4 most significant bits of the SD shall appear first in the string, and the character representing the 4 least significant bit of the SD shall appear last in the string. This is an optional parameter that complements the Slice/Service type(s) to allow to differentiate amongst multiple Network Slices of the same Slice/Service type. This IE shall be absent if no SD value is associated with the SST. Sd *string `json:"sd,omitempty"` }
Snssai When Snssai needs to be converted to string (e.g. when used in maps as key), the string shall be composed of one to three digits \"sst\" optionally followed by \"-\" and 6 hexadecimal digits \"sd\".
func NewSnssai ¶
NewSnssai instantiates a new Snssai 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 NewSnssaiWithDefaults ¶
func NewSnssaiWithDefaults() *Snssai
NewSnssaiWithDefaults instantiates a new Snssai 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 (*Snssai) GetSdOk ¶
GetSdOk returns a tuple with the Sd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Snssai) GetSstOk ¶
GetSstOk returns a tuple with the Sst field value and a boolean to check if the value has been set.
func (Snssai) MarshalJSON ¶
type SponsoringStatus ¶
type SponsoringStatus struct {
String *string
}
SponsoringStatus Indicates whether sponsored data connectivity is enabled or disabled/not enabled.
func (*SponsoringStatus) MarshalJSON ¶
func (src *SponsoringStatus) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SponsoringStatus) UnmarshalJSON ¶
func (dst *SponsoringStatus) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_charging_specification.go
- model_m1_qo_s_specification.go
- model_policy_template.go
- model_policy_template_api_type.go
- model_policy_template_application_session_context.go
- model_policy_template_state.go
- model_snssai.go
- model_sponsoring_status.go
- response.go
- utils.go