代码拉取完成,页面将自动刷新
/*
SS_Events
API for SEAL Events management. © 2022, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
API version: 1.1.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package OpenAPI_SS_Events
import (
"encoding/json"
"fmt"
)
// checks if the VALGroupDocument type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &VALGroupDocument{}
// VALGroupDocument Represents details of the VAL group document information.
type VALGroupDocument struct {
// The VAL group idenitity.
ValGroupId string `json:"valGroupId"`
// The text description of the VAL group.
GrpDesc *string `json:"grpDesc,omitempty"`
// The list of VAL User IDs or VAL UE IDs, which are members of the VAL group.
Members []ValTargetUe `json:"members,omitempty"`
// Configuration data for the VAL group.
ValGrpConf *string `json:"valGrpConf,omitempty"`
// The list of VAL services enabled on the group.
ValServiceIds []string `json:"valServiceIds,omitempty"`
// VAL service specific information.
ValSvcInf *string `json:"valSvcInf,omitempty"`
// A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features 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 the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
SuppFeat *string `json:"suppFeat,omitempty"`
// string providing an URI formatted according to IETF RFC 3986.
ResUri *string `json:"resUri,omitempty"`
LocInfo *LocationInfo `json:"locInfo,omitempty"`
AddLocInfo *LocationArea5G `json:"addLocInfo,omitempty"`
// string containing a local identifier followed by \"@\" and a domain identifier. Both the local identifier and the domain identifier shall be encoded as strings that do not contain any \"@\" characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information.
ExtGrpId *string `json:"extGrpId,omitempty"`
Com5GLanType *PduSessionType `json:"com5GLanType,omitempty"`
}
type _VALGroupDocument VALGroupDocument
// NewVALGroupDocument instantiates a new VALGroupDocument 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 NewVALGroupDocument(valGroupId string) *VALGroupDocument {
this := VALGroupDocument{}
this.ValGroupId = valGroupId
return &this
}
// NewVALGroupDocumentWithDefaults instantiates a new VALGroupDocument 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 NewVALGroupDocumentWithDefaults() *VALGroupDocument {
this := VALGroupDocument{}
return &this
}
// GetValGroupId returns the ValGroupId field value
func (o *VALGroupDocument) GetValGroupId() string {
if o == nil {
var ret string
return ret
}
return o.ValGroupId
}
// GetValGroupIdOk returns a tuple with the ValGroupId field value
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValGroupIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ValGroupId, true
}
// SetValGroupId sets field value
func (o *VALGroupDocument) SetValGroupId(v string) {
o.ValGroupId = v
}
// GetGrpDesc returns the GrpDesc field value if set, zero value otherwise.
func (o *VALGroupDocument) GetGrpDesc() string {
if o == nil || IsNil(o.GrpDesc) {
var ret string
return ret
}
return *o.GrpDesc
}
// GetGrpDescOk returns a tuple with the GrpDesc field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetGrpDescOk() (*string, bool) {
if o == nil || IsNil(o.GrpDesc) {
return nil, false
}
return o.GrpDesc, true
}
// HasGrpDesc returns a boolean if a field has been set.
func (o *VALGroupDocument) HasGrpDesc() bool {
if o != nil && !IsNil(o.GrpDesc) {
return true
}
return false
}
// SetGrpDesc gets a reference to the given string and assigns it to the GrpDesc field.
func (o *VALGroupDocument) SetGrpDesc(v string) {
o.GrpDesc = &v
}
// GetMembers returns the Members field value if set, zero value otherwise.
func (o *VALGroupDocument) GetMembers() []ValTargetUe {
if o == nil || IsNil(o.Members) {
var ret []ValTargetUe
return ret
}
return o.Members
}
// GetMembersOk returns a tuple with the Members field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetMembersOk() ([]ValTargetUe, bool) {
if o == nil || IsNil(o.Members) {
return nil, false
}
return o.Members, true
}
// HasMembers returns a boolean if a field has been set.
func (o *VALGroupDocument) HasMembers() bool {
if o != nil && !IsNil(o.Members) {
return true
}
return false
}
// SetMembers gets a reference to the given []ValTargetUe and assigns it to the Members field.
func (o *VALGroupDocument) SetMembers(v []ValTargetUe) {
o.Members = v
}
// GetValGrpConf returns the ValGrpConf field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValGrpConf() string {
if o == nil || IsNil(o.ValGrpConf) {
var ret string
return ret
}
return *o.ValGrpConf
}
// GetValGrpConfOk returns a tuple with the ValGrpConf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValGrpConfOk() (*string, bool) {
if o == nil || IsNil(o.ValGrpConf) {
return nil, false
}
return o.ValGrpConf, true
}
// HasValGrpConf returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValGrpConf() bool {
if o != nil && !IsNil(o.ValGrpConf) {
return true
}
return false
}
// SetValGrpConf gets a reference to the given string and assigns it to the ValGrpConf field.
func (o *VALGroupDocument) SetValGrpConf(v string) {
o.ValGrpConf = &v
}
// GetValServiceIds returns the ValServiceIds field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValServiceIds() []string {
if o == nil || IsNil(o.ValServiceIds) {
var ret []string
return ret
}
return o.ValServiceIds
}
// GetValServiceIdsOk returns a tuple with the ValServiceIds field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValServiceIdsOk() ([]string, bool) {
if o == nil || IsNil(o.ValServiceIds) {
return nil, false
}
return o.ValServiceIds, true
}
// HasValServiceIds returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValServiceIds() bool {
if o != nil && !IsNil(o.ValServiceIds) {
return true
}
return false
}
// SetValServiceIds gets a reference to the given []string and assigns it to the ValServiceIds field.
func (o *VALGroupDocument) SetValServiceIds(v []string) {
o.ValServiceIds = v
}
// GetValSvcInf returns the ValSvcInf field value if set, zero value otherwise.
func (o *VALGroupDocument) GetValSvcInf() string {
if o == nil || IsNil(o.ValSvcInf) {
var ret string
return ret
}
return *o.ValSvcInf
}
// GetValSvcInfOk returns a tuple with the ValSvcInf field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetValSvcInfOk() (*string, bool) {
if o == nil || IsNil(o.ValSvcInf) {
return nil, false
}
return o.ValSvcInf, true
}
// HasValSvcInf returns a boolean if a field has been set.
func (o *VALGroupDocument) HasValSvcInf() bool {
if o != nil && !IsNil(o.ValSvcInf) {
return true
}
return false
}
// SetValSvcInf gets a reference to the given string and assigns it to the ValSvcInf field.
func (o *VALGroupDocument) SetValSvcInf(v string) {
o.ValSvcInf = &v
}
// GetSuppFeat returns the SuppFeat field value if set, zero value otherwise.
func (o *VALGroupDocument) GetSuppFeat() string {
if o == nil || IsNil(o.SuppFeat) {
var ret string
return ret
}
return *o.SuppFeat
}
// GetSuppFeatOk returns a tuple with the SuppFeat field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetSuppFeatOk() (*string, bool) {
if o == nil || IsNil(o.SuppFeat) {
return nil, false
}
return o.SuppFeat, true
}
// HasSuppFeat returns a boolean if a field has been set.
func (o *VALGroupDocument) HasSuppFeat() bool {
if o != nil && !IsNil(o.SuppFeat) {
return true
}
return false
}
// SetSuppFeat gets a reference to the given string and assigns it to the SuppFeat field.
func (o *VALGroupDocument) SetSuppFeat(v string) {
o.SuppFeat = &v
}
// GetResUri returns the ResUri field value if set, zero value otherwise.
func (o *VALGroupDocument) GetResUri() string {
if o == nil || IsNil(o.ResUri) {
var ret string
return ret
}
return *o.ResUri
}
// GetResUriOk returns a tuple with the ResUri field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetResUriOk() (*string, bool) {
if o == nil || IsNil(o.ResUri) {
return nil, false
}
return o.ResUri, true
}
// HasResUri returns a boolean if a field has been set.
func (o *VALGroupDocument) HasResUri() bool {
if o != nil && !IsNil(o.ResUri) {
return true
}
return false
}
// SetResUri gets a reference to the given string and assigns it to the ResUri field.
func (o *VALGroupDocument) SetResUri(v string) {
o.ResUri = &v
}
// GetLocInfo returns the LocInfo field value if set, zero value otherwise.
func (o *VALGroupDocument) GetLocInfo() LocationInfo {
if o == nil || IsNil(o.LocInfo) {
var ret LocationInfo
return ret
}
return *o.LocInfo
}
// GetLocInfoOk returns a tuple with the LocInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetLocInfoOk() (*LocationInfo, bool) {
if o == nil || IsNil(o.LocInfo) {
return nil, false
}
return o.LocInfo, true
}
// HasLocInfo returns a boolean if a field has been set.
func (o *VALGroupDocument) HasLocInfo() bool {
if o != nil && !IsNil(o.LocInfo) {
return true
}
return false
}
// SetLocInfo gets a reference to the given LocationInfo and assigns it to the LocInfo field.
func (o *VALGroupDocument) SetLocInfo(v LocationInfo) {
o.LocInfo = &v
}
// GetAddLocInfo returns the AddLocInfo field value if set, zero value otherwise.
func (o *VALGroupDocument) GetAddLocInfo() LocationArea5G {
if o == nil || IsNil(o.AddLocInfo) {
var ret LocationArea5G
return ret
}
return *o.AddLocInfo
}
// GetAddLocInfoOk returns a tuple with the AddLocInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetAddLocInfoOk() (*LocationArea5G, bool) {
if o == nil || IsNil(o.AddLocInfo) {
return nil, false
}
return o.AddLocInfo, true
}
// HasAddLocInfo returns a boolean if a field has been set.
func (o *VALGroupDocument) HasAddLocInfo() bool {
if o != nil && !IsNil(o.AddLocInfo) {
return true
}
return false
}
// SetAddLocInfo gets a reference to the given LocationArea5G and assigns it to the AddLocInfo field.
func (o *VALGroupDocument) SetAddLocInfo(v LocationArea5G) {
o.AddLocInfo = &v
}
// GetExtGrpId returns the ExtGrpId field value if set, zero value otherwise.
func (o *VALGroupDocument) GetExtGrpId() string {
if o == nil || IsNil(o.ExtGrpId) {
var ret string
return ret
}
return *o.ExtGrpId
}
// GetExtGrpIdOk returns a tuple with the ExtGrpId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetExtGrpIdOk() (*string, bool) {
if o == nil || IsNil(o.ExtGrpId) {
return nil, false
}
return o.ExtGrpId, true
}
// HasExtGrpId returns a boolean if a field has been set.
func (o *VALGroupDocument) HasExtGrpId() bool {
if o != nil && !IsNil(o.ExtGrpId) {
return true
}
return false
}
// SetExtGrpId gets a reference to the given string and assigns it to the ExtGrpId field.
func (o *VALGroupDocument) SetExtGrpId(v string) {
o.ExtGrpId = &v
}
// GetCom5GLanType returns the Com5GLanType field value if set, zero value otherwise.
func (o *VALGroupDocument) GetCom5GLanType() PduSessionType {
if o == nil || IsNil(o.Com5GLanType) {
var ret PduSessionType
return ret
}
return *o.Com5GLanType
}
// GetCom5GLanTypeOk returns a tuple with the Com5GLanType field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *VALGroupDocument) GetCom5GLanTypeOk() (*PduSessionType, bool) {
if o == nil || IsNil(o.Com5GLanType) {
return nil, false
}
return o.Com5GLanType, true
}
// HasCom5GLanType returns a boolean if a field has been set.
func (o *VALGroupDocument) HasCom5GLanType() bool {
if o != nil && !IsNil(o.Com5GLanType) {
return true
}
return false
}
// SetCom5GLanType gets a reference to the given PduSessionType and assigns it to the Com5GLanType field.
func (o *VALGroupDocument) SetCom5GLanType(v PduSessionType) {
o.Com5GLanType = &v
}
func (o VALGroupDocument) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o VALGroupDocument) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["valGroupId"] = o.ValGroupId
if !IsNil(o.GrpDesc) {
toSerialize["grpDesc"] = o.GrpDesc
}
if !IsNil(o.Members) {
toSerialize["members"] = o.Members
}
if !IsNil(o.ValGrpConf) {
toSerialize["valGrpConf"] = o.ValGrpConf
}
if !IsNil(o.ValServiceIds) {
toSerialize["valServiceIds"] = o.ValServiceIds
}
if !IsNil(o.ValSvcInf) {
toSerialize["valSvcInf"] = o.ValSvcInf
}
if !IsNil(o.SuppFeat) {
toSerialize["suppFeat"] = o.SuppFeat
}
if !IsNil(o.ResUri) {
toSerialize["resUri"] = o.ResUri
}
if !IsNil(o.LocInfo) {
toSerialize["locInfo"] = o.LocInfo
}
if !IsNil(o.AddLocInfo) {
toSerialize["addLocInfo"] = o.AddLocInfo
}
if !IsNil(o.ExtGrpId) {
toSerialize["extGrpId"] = o.ExtGrpId
}
if !IsNil(o.Com5GLanType) {
toSerialize["com5GLanType"] = o.Com5GLanType
}
return toSerialize, nil
}
func (o *VALGroupDocument) UnmarshalJSON(bytes []byte) (err error) {
// This validates that all required properties are included in the JSON object
// by unmarshalling the object into a generic map with string keys and checking
// that every required field exists as a key in the generic map.
requiredProperties := []string{
"valGroupId",
}
allProperties := make(map[string]interface{})
err = json.Unmarshal(bytes, &allProperties)
if err != nil {
return err
}
for _, requiredProperty := range requiredProperties {
if _, exists := allProperties[requiredProperty]; !exists {
return fmt.Errorf("no value given for required property %v", requiredProperty)
}
}
varVALGroupDocument := _VALGroupDocument{}
err = json.Unmarshal(bytes, &varVALGroupDocument)
if err != nil {
return err
}
*o = VALGroupDocument(varVALGroupDocument)
return err
}
type NullableVALGroupDocument struct {
value *VALGroupDocument
isSet bool
}
func (v NullableVALGroupDocument) Get() *VALGroupDocument {
return v.value
}
func (v *NullableVALGroupDocument) Set(val *VALGroupDocument) {
v.value = val
v.isSet = true
}
func (v NullableVALGroupDocument) IsSet() bool {
return v.isSet
}
func (v *NullableVALGroupDocument) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableVALGroupDocument(val *VALGroupDocument) *NullableVALGroupDocument {
return &NullableVALGroupDocument{value: val, isSet: true}
}
func (v NullableVALGroupDocument) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableVALGroupDocument) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。