// UnmarshalMsg implements msgp.Unmarshaler func (z *MethodT) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zeff uint32 zeff, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zeff > 0 { zeff-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "MethodId": z.MethodId, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { return } case "Name": z.Name, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Inputs": bts, err = z.Inputs.UnmarshalMsg(bts) if err != nil { return } case "Returns": bts, err = z.Returns.UnmarshalMsg(bts) if err != nil { return } case "Deprecated": z.Deprecated, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Comment": z.Comment, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *A) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var xvk uint32 xvk, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for xvk > 0 { xvk-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "Name": z.Name, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "BirthDay": z.BirthDay, bts, err = msgp.ReadTimeBytes(bts) if err != nil { return } case "Phone": z.Phone, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Siblings": z.Siblings, bts, err = msgp.ReadIntBytes(bts) if err != nil { return } case "Spouse": z.Spouse, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Money": z.Money, bts, err = msgp.ReadFloat64Bytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *CacheRegistry) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var bzg uint32 bzg, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for bzg > 0 { bzg-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "CacheKey": z.CacheKey, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Payload": z.Payload, bts, err = msgp.ReadIntfBytes(bts) if err != nil { return } case "StoreTTL": z.StoreTTL, bts, err = msgp.ReadFloat64Bytes(bts) if err != nil { return } case "CacheTime": z.CacheTime, bts, err = msgp.ReadTimeBytes(bts) if err != nil { return } case "HasValue": z.HasValue, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "TypeName": z.TypeName, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *InterfaceT) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zpks uint32 zpks, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zpks > 0 { zpks-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "Methods": var zjfb uint32 zjfb, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.Methods) >= int(zjfb) { z.Methods = (z.Methods)[:zjfb] } else { z.Methods = make([]MethodT, zjfb) } for zxhx := range z.Methods { bts, err = z.Methods[zxhx].UnmarshalMsg(bts) if err != nil { return } } case "Deprecated": z.Deprecated, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Comment": z.Comment, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *roaringArray) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zrsw uint32 zrsw, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zrsw > 0 { zrsw-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "keys": var zxpk uint32 zxpk, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.keys) >= int(zxpk) { z.keys = (z.keys)[:zxpk] } else { z.keys = make([]uint16, zxpk) } for zhct := range z.keys { z.keys[zhct], bts, err = msgp.ReadUint16Bytes(bts) if err != nil { return } } case "needCopyOnWrite": var zdnj uint32 zdnj, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.needCopyOnWrite) >= int(zdnj) { z.needCopyOnWrite = (z.needCopyOnWrite)[:zdnj] } else { z.needCopyOnWrite = make([]bool, zdnj) } for zcua := range z.needCopyOnWrite { z.needCopyOnWrite[zcua], bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } } case "copyOnWrite": z.copyOnWrite, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "conserz": var zobc uint32 zobc, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.conserz) >= int(zobc) { z.conserz = (z.conserz)[:zobc] } else { z.conserz = make([]containerSerz, zobc) } for zxhx := range z.conserz { var zsnv uint32 zsnv, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zsnv > 0 { zsnv-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "t": { var zkgt uint8 zkgt, bts, err = msgp.ReadUint8Bytes(bts) z.conserz[zxhx].t = contype(zkgt) } if err != nil { return } case "r": bts, err = z.conserz[zxhx].r.UnmarshalMsg(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *SchemaT) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zkgt uint32 zkgt, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zkgt > 0 { zkgt-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "PkgPath": z.PkgPath, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Structs": var zema uint32 zema, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.Structs) >= int(zema) { z.Structs = (z.Structs)[:zema] } else { z.Structs = make([]StructT, zema) } for zrsw := range z.Structs { bts, err = z.Structs[zrsw].UnmarshalMsg(bts) if err != nil { return } } case "Interfaces": var zpez uint32 zpez, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.Interfaces) >= int(zpez) { z.Interfaces = (z.Interfaces)[:zpez] } else { z.Interfaces = make([]InterfaceT, zpez) } for zxpk := range z.Interfaces { bts, err = z.Interfaces[zxpk].UnmarshalMsg(bts) if err != nil { return } } case "Deprecated": z.Deprecated, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Comment": z.Comment, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *FieldT) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zwht uint32 zwht, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zwht > 0 { zwht-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "FieldId": z.FieldId, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { return } case "Name": z.Name, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Ztyp": { var zhct int32 zhct, bts, err = msgp.ReadInt32Bytes(bts) z.Ztyp = Ztype(zhct) } if err != nil { return } case "IsVarArg": z.IsVarArg, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Tags": var zcua uint32 zcua, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } if z.Tags == nil && zcua > 0 { z.Tags = make(map[string]string, zcua) } else if len(z.Tags) > 0 { for key, _ := range z.Tags { delete(z.Tags, key) } } for zcua > 0 { var zxvk string var zbzg string zcua-- zxvk, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } zbzg, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } z.Tags[zxvk] = zbzg } case "Deprecated": z.Deprecated, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Comment": z.Comment, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *StructT) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zzpf uint32 zzpf, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for zzpf > 0 { zzpf-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "StructId": z.StructId, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { return } case "StructName": z.StructName, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Fields": var zrfe uint32 zrfe, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.Fields) >= int(zrfe) { z.Fields = (z.Fields)[:zrfe] } else { z.Fields = make([]FieldT, zrfe) } for zyzr := range z.Fields { bts, err = z.Fields[zyzr].UnmarshalMsg(bts) if err != nil { return } } case "Deprecated": z.Deprecated, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "Comment": z.Comment, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *Node) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var isz uint32 isz, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for isz > 0 { isz-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "id": { var tmp []byte tmp, bts, err = msgp.ReadBytesBytes(bts, []byte(z.ID)) z.ID = ID(tmp) } if err != nil { return } case "il": z.IsLeaf, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "cv": var xsz uint32 xsz, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.ChildValues) >= int(xsz) { z.ChildValues = z.ChildValues[:xsz] } else { z.ChildValues = make([]interface{}, xsz) } for cmr := range z.ChildValues { z.ChildValues[cmr], bts, err = msgp.ReadIntfBytes(bts) if err != nil { return } } case "ck": var xsz uint32 xsz, bts, err = msgp.ReadArrayHeaderBytes(bts) if err != nil { return } if cap(z.ChildKeys) >= int(xsz) { z.ChildKeys = z.ChildKeys[:xsz] } else { z.ChildKeys = make(Keys, xsz) } for ajw := range z.ChildKeys { if msgp.IsNil(bts) { bts, err = msgp.ReadNilBytes(bts) if err != nil { return } z.ChildKeys[ajw] = nil } else { if z.ChildKeys[ajw] == nil { z.ChildKeys[ajw] = new(Key) } bts, err = z.ChildKeys[ajw].UnmarshalMsg(bts) if err != nil { return } } } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }
// UnmarshalMsg implements msgp.Unmarshaler func (z *Incident) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var isz uint32 isz, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil { return } for isz > 0 { isz-- field, bts, err = msgp.ReadMapKeyZC(bts) if err != nil { return } switch msgp.UnsafeString(field) { case "event_name": z.EventName, bts, err = msgp.ReadBytesBytes(bts, z.EventName) if err != nil { return } case "time": z.Time, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { return } case "id": z.Id, bts, err = msgp.ReadInt64Bytes(bts) if err != nil { return } case "active": z.Active, bts, err = msgp.ReadBoolBytes(bts) if err != nil { return } case "escalation": z.Escalation, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "description": z.Description, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "policy": z.Policy, bts, err = msgp.ReadStringBytes(bts) if err != nil { return } case "Status": z.Status, bts, err = msgp.ReadIntBytes(bts) if err != nil { return } case "Event": bts, err = z.Event.UnmarshalMsg(bts) if err != nil { return } default: bts, err = msgp.Skip(bts) if err != nil { return } } } o = bts return }