-
Notifications
You must be signed in to change notification settings - Fork 37
/
NAS_RequestedQosFlowDescriptions.go
54 lines (46 loc) · 1.61 KB
/
NAS_RequestedQosFlowDescriptions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package nasType
// RequestedQosFlowDescriptions 9.11.4.12
// QoSFlowDescriptions Row, sBit, len = [0, 0], 8 , INF
type RequestedQosFlowDescriptions struct {
Iei uint8
Len uint16
Buffer []uint8
}
func NewRequestedQosFlowDescriptions(iei uint8) (requestedQosFlowDescriptions *RequestedQosFlowDescriptions) {
requestedQosFlowDescriptions = &RequestedQosFlowDescriptions{}
requestedQosFlowDescriptions.SetIei(iei)
return requestedQosFlowDescriptions
}
// RequestedQosFlowDescriptions 9.11.4.12
// Iei Row, sBit, len = [], 8, 8
func (a *RequestedQosFlowDescriptions) GetIei() (iei uint8) {
return a.Iei
}
// RequestedQosFlowDescriptions 9.11.4.12
// Iei Row, sBit, len = [], 8, 8
func (a *RequestedQosFlowDescriptions) SetIei(iei uint8) {
a.Iei = iei
}
// RequestedQosFlowDescriptions 9.11.4.12
// Len Row, sBit, len = [], 8, 16
func (a *RequestedQosFlowDescriptions) GetLen() (len uint16) {
return a.Len
}
// RequestedQosFlowDescriptions 9.11.4.12
// Len Row, sBit, len = [], 8, 16
func (a *RequestedQosFlowDescriptions) SetLen(len uint16) {
a.Len = len
a.Buffer = make([]uint8, a.Len)
}
// RequestedQosFlowDescriptions 9.11.4.12
// QoSFlowDescriptions Row, sBit, len = [0, 0], 8 , INF
func (a *RequestedQosFlowDescriptions) GetQoSFlowDescriptions() (qoSFlowDescriptions []uint8) {
qoSFlowDescriptions = make([]uint8, len(a.Buffer))
copy(qoSFlowDescriptions, a.Buffer)
return qoSFlowDescriptions
}
// RequestedQosFlowDescriptions 9.11.4.12
// QoSFlowDescriptions Row, sBit, len = [0, 0], 8 , INF
func (a *RequestedQosFlowDescriptions) SetQoSFlowDescriptions(qoSFlowDescriptions []uint8) {
copy(a.Buffer, qoSFlowDescriptions)
}