text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (q rowerGroupQuery) UpdateAll(exec boil.Executor, cols M) (int64, error) {
queries.SetUpdate(q.Query, cols)
result, err := q.Query.Exec(exec)
if err != nil {
return 0, errors.Wrap(err, "models: unable to update all for rower_group")
}
rowsAff, err := result.RowsAffected()
if err != nil {
return 0, erro... | [
-0.39310675859451294,
-0.08853385597467422,
0.5880199670791626,
0.059213537722826004,
-0.2518853545188904,
-0.017615780234336853,
-0.009482534602284431,
-0.10409024357795715,
-0.8005491495132446,
0.4599516987800598,
0.39035671949386597,
0.6075289249420166,
-0.24792321026325226,
0.720817983... |
func (o RowerGroupSlice) UpdateAllG(cols M) (int64, error) {
return o.UpdateAll(boil.GetDB(), cols)
} | [
-2.19138503074646,
0.6434186100959778,
0.4603341519832611,
0.15834076702594757,
-0.9821767807006836,
-0.11473888903856277,
-0.18226894736289978,
0.23287808895111084,
-0.6419267058372498,
1.1340084075927734,
-0.10646943747997284,
0.035256851464509964,
-0.9894095063209534,
0.7830555438995361... |
func (o RowerGroupSlice) UpdateAll(exec boil.Executor, cols M) (int64, error) {
ln := int64(len(o))
if ln == 0 {
return 0, nil
}
if len(cols) == 0 {
return 0, errors.New("models: update all requires at least one column argument")
}
colNames := make([]string, len(cols))
args := make([]interface{}, len(cols)... | [
-1.0100260972976685,
0.19252407550811768,
0.9619386196136475,
0.23686951398849487,
-0.31614622473716736,
-0.508084237575531,
0.12019573897123337,
0.04418524354696274,
-0.9496209025382996,
0.7827888131141663,
-0.012071268633008003,
0.3700370490550995,
-0.3694515526294708,
0.8713747262954712... |
func (o *RowerGroup) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error {
return o.Upsert(boil.GetDB(), updateOnConflict, conflictColumns, updateColumns, insertColumns)
} | [
-1.2523239850997925,
1.0144233703613281,
0.5446068644523621,
-0.2718632221221924,
-0.09543677419424057,
0.14361439645290375,
0.031232573091983795,
0.29243049025535583,
-0.4148048758506775,
1.1842663288116455,
0.16564439237117767,
-0.5582950115203857,
-0.8753202557563782,
0.3891023099422455... |
func (o *RowerGroup) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error {
if o == nil {
return errors.New("models: no rower_group provided for upsert")
}
currTime := time.Now().In(boil.GetLocation())
if queries.MustTime(o.CreatedAt).IsZero... | [
-0.853090226650238,
0.464411199092865,
0.6276447176933289,
-0.2638971209526062,
0.2786981761455536,
-0.38756611943244934,
0.11731483042240143,
-0.14891092479228973,
-0.9115114212036133,
0.49153804779052734,
-0.3609798550605774,
0.056153349578380585,
-0.6202620267868042,
0.40737518668174744... |
func (o *RowerGroup) DeleteG() (int64, error) {
return o.Delete(boil.GetDB())
} | [
-1.2203811407089233,
1.683044195175171,
0.38171494007110596,
0.12536582350730896,
0.07707232981920242,
0.4452418088912964,
0.9560600519180298,
0.5414225459098816,
-0.5869832634925842,
0.2575903832912445,
-0.24982525408267975,
0.4510248005390167,
-1.1197336912155151,
1.4369313716888428,
0... |
func (o *RowerGroup) Delete(exec boil.Executor) (int64, error) {
if o == nil {
return 0, errors.New("models: no RowerGroup provided for delete")
}
if err := o.doBeforeDeleteHooks(exec); err != nil {
return 0, err
}
args := queries.ValuesFromMapping(reflect.Indirect(reflect.ValueOf(o)), rowerGroupPrimaryKeyMa... | [
-0.09060580283403397,
1.013365387916565,
0.5884078741073608,
-0.06471217423677444,
0.13739389181137085,
-0.6718890070915222,
0.7569441199302673,
-0.015436336398124695,
-0.5879443883895874,
0.683372437953949,
0.27829304337501526,
0.1718466877937317,
-0.7130674123764038,
0.9868495464324951,
... |
func (q rowerGroupQuery) DeleteAll(exec boil.Executor) (int64, error) {
if q.Query == nil {
return 0, errors.New("models: no rowerGroupQuery provided for delete all")
}
queries.SetDelete(q.Query)
result, err := q.Query.Exec(exec)
if err != nil {
return 0, errors.Wrap(err, "models: unable to delete all from r... | [
0.19815313816070557,
0.15477144718170166,
0.5797234773635864,
-0.16689223051071167,
0.08024320751428604,
0.1744421124458313,
0.2085486799478531,
-0.19315862655639648,
-0.42731988430023193,
-0.09059913456439972,
0.8692479729652405,
0.7401083111763,
-0.1695667803287506,
1.5210596323013306,
... |
func (o RowerGroupSlice) DeleteAllG() (int64, error) {
return o.DeleteAll(boil.GetDB())
} | [
-1.1529282331466675,
0.7731152176856995,
0.36765721440315247,
0.3996351659297943,
-0.27696552872657776,
-0.044089335948228836,
-0.27565568685531616,
0.4439495801925659,
-0.1883610188961029,
0.4451647102832794,
-0.08218923956155777,
0.07339455932378769,
-1.043999433517456,
1.888323903083801... |
func (o RowerGroupSlice) DeleteAll(exec boil.Executor) (int64, error) {
if o == nil {
return 0, errors.New("models: no RowerGroup slice provided for delete all")
}
if len(o) == 0 {
return 0, nil
}
if len(rowerGroupBeforeDeleteHooks) != 0 {
for _, obj := range o {
if err := obj.doBeforeDeleteHooks(exec);... | [
-0.4148354232311249,
0.26212936639785767,
0.8342794179916382,
0.29348742961883545,
-0.00443098321557045,
-0.5745204091072083,
0.7000746726989746,
0.10581642389297485,
-0.5646653771400452,
0.5435080528259277,
0.36948686838150024,
0.23316186666488647,
-0.08133090287446976,
1.3367114067077637... |
func (o *RowerGroup) ReloadG() error {
if o == nil {
return errors.New("models: no RowerGroup provided for reload")
}
return o.Reload(boil.GetDB())
} | [
-1.0889701843261719,
1.4555290937423706,
0.3023104965686798,
0.5870161652565002,
-0.16943567991256714,
0.40608200430870056,
0.21420331299304962,
0.04626167193055153,
-0.7767004370689392,
0.42687657475471497,
0.22938795387744904,
0.5005481839179993,
-0.11297349631786346,
1.1631512641906738,... |
func (o *RowerGroup) Reload(exec boil.Executor) error {
ret, err := FindRowerGroup(exec, o.ID)
if err != nil {
return err
}
*o = *ret
return nil
} | [
-0.5120384693145752,
0.9531518220901489,
0.45223093032836914,
0.2921780049800873,
0.23843973875045776,
-0.43540656566619873,
0.5682662725448608,
-0.8729435205459595,
-0.5103955268859863,
0.1308731585741043,
-0.05786972865462303,
0.39199045300483704,
-0.3129305839538574,
0.36570289731025696... |
func (o *RowerGroupSlice) ReloadAllG() error {
if o == nil {
return errors.New("models: empty RowerGroupSlice provided for reload all")
}
return o.ReloadAll(boil.GetDB())
} | [
-0.6676487922668457,
1.110981822013855,
0.5065781474113464,
0.7942026853561401,
-0.48620766401290894,
-0.11628422141075134,
-0.7096145153045654,
0.12729156017303467,
-0.06377362459897995,
0.4939744174480438,
0.10456525534391403,
0.29051101207733154,
-0.36807459592819214,
1.5669053792953491... |
func (o *RowerGroupSlice) ReloadAll(exec boil.Executor) error {
if o == nil || len(*o) == 0 {
return nil
}
slice := RowerGroupSlice{}
var args []interface{}
for _, obj := range *o {
pkeyArgs := queries.ValuesFromMapping(reflect.Indirect(reflect.ValueOf(obj)), rowerGroupPrimaryKeyMapping)
args = append(args,... | [
-0.6601183414459229,
0.37188103795051575,
0.6920039653778076,
0.6479140520095825,
-0.25294825434684753,
-0.36347532272338867,
-0.060143500566482544,
-0.44366568326950073,
-0.7550632357597351,
0.49002760648727417,
-0.17811155319213867,
0.5029126405715942,
-0.1317840963602066,
0.910599708557... |
func RowerGroupExistsG(iD int) (bool, error) {
return RowerGroupExists(boil.GetDB(), iD)
} | [
-1.6784621477127075,
1.2383933067321777,
0.26905420422554016,
-0.22640733420848846,
0.8477751612663269,
0.7392803430557251,
-0.20153862237930298,
0.6505144238471985,
-1.376995325088501,
0.975006103515625,
-0.10201651602983475,
0.16795097291469574,
-0.5151695013046265,
0.8757516741752625,
... |
func RowerGroupExists(exec boil.Executor, iD int) (bool, error) {
var exists bool
sql := "select exists(select 1 from \"rower_group\" where \"id\"=$1 limit 1)"
if boil.DebugMode {
fmt.Fprintln(boil.DebugWriter, sql)
fmt.Fprintln(boil.DebugWriter, iD)
}
row := exec.QueryRow(sql, iD)
err := row.Scan(&exists)... | [
-1.3551123142242432,
0.8166441917419434,
0.3038112223148346,
-0.7066715955734253,
0.8401952385902405,
-0.24187752604484558,
-0.3148363530635834,
-0.06769782304763794,
-1.3208999633789062,
0.4141152799129486,
-0.2942807078361511,
0.30215051770210266,
-0.6960721015930176,
0.6450213193893433,... |
func ValidateNFailRequest(page *rod.Page, e *proto.FetchRequestPaused) error {
reqURL := e.Request.URL
normalized := strings.ToLower(reqURL) // normalize url to lowercase
normalized = strings.TrimSpace(normalized) // trim leading & trailing whitespaces
if !allowLocalFileAccess && stringsutil.HasPrefixI(normali... | [
-0.09340648353099823,
-0.3022376298904419,
0.6198040843009949,
-0.025453900918364525,
-0.417990118265152,
0.3709052503108978,
0.35999810695648193,
-0.8184491991996765,
-0.12817715108394623,
-0.06348354369401932,
0.23946113884449005,
0.055820200592279434,
-0.16464687883853912,
1.75933325290... |
func FailWithReason(page *rod.Page, e *proto.FetchRequestPaused) error {
m := proto.FetchFailRequest{
RequestID: e.RequestID,
ErrorReason: proto.NetworkErrorReasonAccessDenied,
}
return m.Call(page)
} | [
0.2393351048231125,
-0.8237338066101074,
0.3201456665992737,
-0.5435823202133179,
-0.4305577874183655,
-0.05075651779770851,
-0.9788660407066345,
-1.3810652494430542,
0.9471862316131592,
-0.11430621892213821,
-0.015426399186253548,
-0.39412397146224976,
0.3209790289402008,
1.02299857139587... |
func InitHeadless(RestrictLocalNetworkAccess bool, localFileAccess bool) {
allowLocalFileAccess = localFileAccess
if !RestrictLocalNetworkAccess {
return
}
networkPolicy, _ = networkpolicy.New(networkpolicy.Options{
DenyList: append(networkpolicy.DefaultIPv4DenylistRanges, networkpolicy.DefaultIPv6DenylistRange... | [
1.3896151781082153,
0.08823014050722122,
0.6763863563537598,
-0.35530734062194824,
-0.03949018940329552,
0.6666772365570068,
-0.00743905222043395,
-0.02241385728120804,
0.38808250427246094,
-0.7155140042304993,
-0.7662643790245056,
-0.037027742713689804,
-0.4239271581172943,
0.586997449398... |
func isValidHost(targetUrl string) bool {
if !stringsutil.HasPrefixAny(targetUrl, "http:", "https:") {
return true
}
if networkPolicy == nil {
return true
}
urlx, err := urlutil.Parse(targetUrl)
if err != nil {
// not a valid url
return false
}
targetUrl = urlx.Hostname()
_, ok := networkPolicy.Validat... | [
-0.686398446559906,
0.01835254393517971,
0.5171822309494019,
0.7076376676559448,
-0.7951133847236633,
0.7676761150360107,
-0.7498592734336853,
0.26905447244644165,
0.5513837933540344,
-0.5389383435249329,
-0.204972043633461,
0.040593791753053665,
-0.15331850945949554,
0.47868213057518005,
... |
func HasPrefixAnyI(s string, prefixes ...string) bool {
for _, prefix := range prefixes {
if stringsutil.HasPrefixI(s, prefix) {
return true
}
}
return false
} | [
0.4425652027130127,
-0.6036285161972046,
0.5291889309883118,
0.8293396830558777,
-0.14162713289260864,
-1.0883780717849731,
-0.8351519703865051,
0.5951701998710632,
-0.5760109424591064,
-0.4275364279747009,
-0.9072640538215637,
-0.45462891459465027,
-0.0866972804069519,
0.6632598638534546,... |
func (d *MockDynamoDB) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error) {
// Just return an empty output (no error)
return new(dynamodb.PutItemOutput), nil
} | [
-0.9872256517410278,
0.007240609731525183,
0.19473044574260712,
0.4555986821651459,
-0.031225068494677544,
0.9991254210472107,
0.884260356426239,
0.5748855471611023,
0.08835479617118835,
-0.8513830900192261,
-0.2700928747653961,
-0.6044473648071289,
-0.8317356705665588,
-0.1512196063995361... |
func (a APIKeys) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "key1", a.Key1)
populate(objectMap, "key2", a.Key2)
return json.Marshal(objectMap)
} | [
-1.7365825176239014,
-0.2283400595188141,
0.0591612346470356,
-0.9497043490409851,
-0.7704638838768005,
-0.87418532371521,
0.21451303362846375,
0.9404085874557495,
0.15363696217536926,
0.794175922870636,
-1.163838505744934,
0.042452484369277954,
-0.6802071928977966,
0.14048174023628235,
... |
func (a *APIKeys) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "key1":
err = unpopulate(val, "Key1", &a... | [
-1.5623983144760132,
0.7371487617492676,
0.3516613245010376,
-1.515247106552124,
-0.9971811771392822,
-0.8811243176460266,
0.3887891471385956,
0.1550939530134201,
-0.3720394968986511,
1.0339622497558594,
-0.6845598816871643,
-0.18504971265792847,
-0.8436108827590942,
0.3630835711956024,
... |
func (a APIProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "aadClientId", a.AADClientID)
populate(objectMap, "aadTenantId", a.AADTenantID)
populate(objectMap, "eventHubConnectionString", a.EventHubConnectionString)
populate(objectMap, "qnaAzureSearchEndpointId", a.... | [
-0.5430443286895752,
-0.8151002526283264,
-0.0038328140508383512,
-1.1938438415527344,
-0.18846353888511658,
-0.36826521158218384,
0.4220494031906128,
0.0069283111952245235,
0.311618447303772,
-0.17022456228733063,
0.04892142489552498,
0.2917848229408264,
-0.5123637318611145,
0.17179818451... |
func (a *APIProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "aadClientId":
err = unpopulate(va... | [
-0.6014043092727661,
-0.5651996731758118,
0.5115035772323608,
-0.7190806865692139,
-0.40932542085647583,
-0.3566690683364868,
0.33265578746795654,
-0.42705151438713074,
-0.030158599838614464,
0.17617802321910858,
0.012462716549634933,
-0.20201562345027924,
-0.6306262612342834,
0.1939685195... |
func (a AbusePenalty) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "action", a.Action)
populateTimeRFC3339(objectMap, "expiration", a.Expiration)
populate(objectMap, "rateLimitPercentage", a.RateLimitPercentage)
return json.Marshal(objectMap)
} | [
0.04004758968949318,
-0.827802300453186,
0.4480157792568207,
-0.8374037742614746,
-0.400390625,
-0.6453105807304382,
-0.03030390664935112,
-0.25765612721443176,
0.5529667139053345,
1.5237371921539307,
-0.09054312109947205,
0.24076153337955475,
-0.23328997194766998,
-0.017923906445503235,
... |
func (a *AbusePenalty) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "action":
err = unpopulate(val, "Ac... | [
-0.18221251666545868,
-0.14144955575466156,
0.7950220108032227,
-1.3125333786010742,
-0.47776663303375244,
-0.7417370676994324,
-0.12978437542915344,
-0.4690205156803131,
-0.12389399111270905,
1.71690833568573,
0.29740452766418457,
-0.1876959204673767,
-0.3259812891483307,
0.35214081406593... |
func (a Account) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "etag", a.Etag)
populate(objectMap, "id", a.ID)
populate(objectMap, "identity", a.Identity)
populate(objectMap, "kind", a.Kind)
populate(objectMap, "location", a.Location)
populate(objectMap, "name", a.Name)
p... | [
-0.5070611238479614,
-0.8790076971054077,
0.08316566050052643,
-0.2752763330936432,
0.1266496479511261,
-0.8065287470817566,
1.0743392705917358,
0.42812836170196533,
1.0659644603729248,
0.17413203418254852,
-0.7110642194747925,
1.0687835216522217,
0.42814990878105164,
0.6313896179199219,
... |
func (a *Account) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "etag":
err = unpopulate(val, "Etag", &a... | [
-0.7724231481552124,
-0.2627507746219635,
0.8118333220481873,
-0.5062133073806763,
-0.3137677013874054,
-0.9278643131256104,
0.9844489693641663,
-0.31996583938598633,
0.30849793553352356,
0.7227128744125366,
0.05160847306251526,
0.5466360449790955,
0.07852903008460999,
0.794523298740387,
... |
func (a AccountListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", a.NextLink)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.5800431966781616,
-0.09924019128084183,
0.11557719856500626,
-0.05475056543946266,
-0.43754011392593384,
-0.7918347716331482,
0.6453466415405273,
0.28796279430389404,
0.9380834698677063,
-0.3932044208049774,
-0.7123309373855591,
0.519607424736023,
-0.0871957316994667,
0.8763142228126526... |
func (a *AccountListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLink":
err = unpopulate(v... | [
-0.6185001730918884,
0.457737535238266,
0.4005819857120514,
-0.8679016828536987,
-0.7726304531097412,
-1.0536949634552002,
0.6492079496383667,
-0.3110680878162384,
0.14003823697566986,
0.16803060472011566,
-0.4504927694797516,
-0.3203103840351105,
-0.21591325104236603,
0.9205895662307739,
... |
func (a AccountModel) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "baseModel", a.BaseModel)
populate(objectMap, "callRateLimit", a.CallRateLimit)
populate(objectMap, "capabilities", a.Capabilities)
populate(objectMap, "deprecation", a.Deprecation)
populate(objectMap, "fin... | [
-0.37234601378440857,
-0.8782187104225159,
0.3346223533153534,
0.3955956995487213,
0.056386083364486694,
-0.36187639832496643,
1.0847911834716797,
0.3143376410007477,
0.721104621887207,
0.2586725950241089,
-0.8267725706100464,
0.8588630557060242,
0.352492094039917,
0.7555027604103088,
-0... |
func (a *AccountModel) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "baseModel":
err = unpopulate(val, ... | [
-0.7183131575584412,
-0.27582189440727234,
0.728488564491272,
0.14794544875621796,
-0.2834414541721344,
-0.2293088585138321,
0.953715443611145,
-0.3232700824737549,
0.08645401149988174,
0.7009084224700928,
-0.3483608067035675,
0.13032540678977966,
0.3844745457172394,
1.077832818031311,
0... |
func (a AccountModelListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", a.NextLink)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.9186874628067017,
-0.14312179386615753,
0.04899129271507263,
-0.07173001021146774,
-0.2546764314174652,
-0.7226266264915466,
0.5519236922264099,
0.21009278297424316,
0.8711649775505066,
-0.3613831698894501,
-1.049196481704712,
0.5079668164253235,
0.17984507977962494,
0.810309886932373,
... |
func (a *AccountModelListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLink":
err = unpopul... | [
-0.8015912175178528,
0.4248572587966919,
0.4024837911128998,
-0.9075924158096313,
-0.6410108804702759,
-0.9429068565368652,
0.5083921551704407,
-0.24565885961055756,
0.1582476943731308,
0.20794375240802765,
-0.715154230594635,
-0.314396470785141,
0.1073119267821312,
0.7540818452835083,
0... |
func (a AccountProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "apiProperties", a.APIProperties)
populate(objectMap, "abusePenalty", a.AbusePenalty)
populate(objectMap, "allowedFqdnList", a.AllowedFqdnList)
populate(objectMap, "callRateLimit", a.CallRateLimit)
pop... | [
-0.595132052898407,
-1.112056851387024,
0.5133973956108093,
-0.049792222678661346,
0.0687473863363266,
-0.46888217329978943,
1.1585267782211304,
0.05215047672390938,
0.8987123370170593,
0.10714184492826462,
-0.3741702139377594,
0.6477858424186707,
0.042919594794511795,
0.005884584505110979... |
func (a *AccountProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "apiProperties":
err = unpopul... | [
-0.6573123931884766,
-0.5868323445320129,
0.5579382181167603,
-0.35409247875213623,
-0.4668886661529541,
-0.21698351204395294,
1.2342456579208374,
-0.10221408307552338,
0.19624224305152893,
0.3383537232875824,
0.24825353920459747,
0.4976173937320709,
0.07306385785341263,
0.7087295055389404... |
func (a AccountSKU) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "resourceType", a.ResourceType)
populate(objectMap, "sku", a.SKU)
return json.Marshal(objectMap)
} | [
-0.9220378994941711,
-0.6914162635803223,
0.023831425234675407,
0.4560188353061676,
-0.5301169157028198,
-1.116272211074829,
0.6028401255607605,
0.0507352277636528,
0.9540418982505798,
-0.7580486536026001,
0.4793597459793091,
1.2532390356063843,
0.7299981117248535,
0.9936176538467407,
0.... |
func (a *AccountSKU) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "resourceType":
err = unpopulate(val,... | [
-1.078049898147583,
0.001755623146891594,
0.6182624697685242,
-0.14326447248458862,
-0.788811206817627,
-0.9525555372238159,
0.9989480376243591,
-0.2834981381893158,
0.32543596625328064,
-0.27060773968696594,
1.05598783493042,
0.853212296962738,
0.31110167503356934,
1.1995292901992798,
0... |
func (a AccountSKUListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", a.Value)
return json.Marshal(objectMap)
} | [
-0.2903929054737091,
-0.15621373057365417,
0.017482008785009384,
0.06187814846634865,
-0.7469482421875,
-1.0073702335357666,
0.24532704055309296,
0.15063606202602386,
0.881373941898346,
0.3407013714313507,
-0.29098576307296753,
0.4311263859272003,
0.10196896642446518,
0.5831404328346252,
... |
func (a *AccountSKUListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err = unpopulate(v... | [
-0.5493047833442688,
0.5159880518913269,
0.3069130778312683,
-0.702742874622345,
-1.0752532482147217,
-1.2110317945480347,
0.29798784852027893,
-0.37546101212501526,
0.006558038294315338,
0.5643529891967773,
0.09985298663377762,
-0.10691605508327484,
-0.031501177698373795,
0.75302749872207... |
func (a AzureEntityResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "etag", a.Etag)
populate(objectMap, "id", a.ID)
populate(objectMap, "name", a.Name)
populate(objectMap, "type", a.Type)
return json.Marshal(objectMap)
} | [
-0.6887127161026001,
-1.431636929512024,
0.13960589468479156,
-0.7070128917694092,
0.026032060384750366,
-0.2132464051246643,
-0.10327435284852982,
0.5703310966491699,
-0.17841807007789612,
0.005683653987944126,
-0.1760648488998413,
-0.41465136408805847,
0.007733114063739777,
1.27203619480... |
func (a *AzureEntityResource) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", a, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "etag":
err = unpopulate(val... | [
-0.7802103757858276,
-0.2742978036403656,
0.6572965979576111,
-1.4077987670898438,
-0.3081713020801544,
-0.6854244470596313,
-0.01160636730492115,
0.24609650671482086,
-0.7353062033653259,
0.7278823256492615,
0.3381367325782776,
-0.8410531282424927,
-0.284420907497406,
1.367218017578125,
... |
func (c CallRateLimit) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "count", c.Count)
populate(objectMap, "renewalPeriod", c.RenewalPeriod)
populate(objectMap, "rules", c.Rules)
return json.Marshal(objectMap)
} | [
0.37930965423583984,
-0.015914490446448326,
0.24397556483745575,
-0.4635169208049774,
-0.4856574833393097,
-0.011060806922614574,
-0.6115326881408691,
0.34152817726135254,
0.6147528290748596,
-0.18364781141281128,
-0.6309090852737427,
0.8710387945175171,
-0.7760059237480164,
-0.08810708671... |
func (c *CallRateLimit) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "count":
err = unpopulate(val, "Co... | [
0.020326392725110054,
0.4988739490509033,
0.6105027198791504,
-1.169703722000122,
-0.8177112340927124,
-0.3677326440811157,
-0.5799292922019958,
-0.328439861536026,
-0.022293517366051674,
0.20404291152954102,
-0.05440147966146469,
0.47061973810195923,
-0.6633946299552917,
0.338925808668136... |
func (c CapacityConfig) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "default", c.Default)
populate(objectMap, "maximum", c.Maximum)
populate(objectMap, "minimum", c.Minimum)
populate(objectMap, "step", c.Step)
return json.Marshal(objectMap)
} | [
-0.46795809268951416,
-0.8887321949005127,
0.14951111376285553,
-0.48115992546081543,
-0.5935699343681335,
-0.4995054602622986,
0.3107928931713104,
0.5914700627326965,
-0.6899746060371399,
0.6224614381790161,
-1.734536051750183,
-0.33796563744544983,
0.09120628237724304,
0.596849799156189,... |
func (c *CapacityConfig) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "default":
err = unpopulate(val, ... | [
-0.726347029209137,
0.16722935438156128,
0.5779644250869751,
-1.1115995645523071,
-0.8021698594093323,
-0.5484991073608398,
0.32609114050865173,
0.07556091994047165,
-1.2281572818756104,
1.1430150270462036,
-0.9906718730926514,
-0.502849280834198,
-0.013461915776133537,
0.8992434144020081,... |
func (c CheckDomainAvailabilityParameter) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "kind", c.Kind)
populate(objectMap, "subdomainName", c.SubdomainName)
populate(objectMap, "type", c.Type)
return json.Marshal(objectMap)
} | [
-0.3997375965118408,
-0.4705498218536377,
0.38837841153144836,
-0.42506346106529236,
-0.019487161189317703,
0.07191907614469528,
0.7867076396942139,
0.4416457712650299,
0.017454182729125023,
1.125611424446106,
-0.2808264195919037,
1.4314357042312622,
-0.40939533710479736,
1.378675103187561... |
func (c *CheckDomainAvailabilityParameter) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "kind":
err = u... | [
-0.8369526863098145,
0.15139007568359375,
0.8424209356307983,
-1.0023679733276367,
-0.4262427091598511,
-0.03785751760005951,
0.6024052500724792,
0.15552715957164764,
-0.3010994791984558,
1.397711157798767,
0.42505598068237305,
0.9758200645446777,
-0.47707879543304443,
1.3525687456130981,
... |
func (c CheckSKUAvailabilityParameter) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "kind", c.Kind)
populate(objectMap, "skus", c.SKUs)
populate(objectMap, "type", c.Type)
return json.Marshal(objectMap)
} | [
-0.68686842918396,
-0.6400668621063232,
0.19502930343151093,
0.10358302295207977,
-0.2645711302757263,
-0.2972324788570404,
0.5406585931777954,
0.3982335031032562,
0.3314729928970337,
1.4089484214782715,
0.13881659507751465,
1.0614125728607178,
-0.24595925211906433,
1.188772439956665,
-0... |
func (c *CheckSKUAvailabilityParameter) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "kind":
err = unpo... | [
-0.9636762738227844,
0.05297619104385376,
0.7328463196754456,
-0.41376981139183044,
-0.7376752495765686,
-0.44805434346199036,
0.4650343060493469,
0.20515750348567963,
-0.20510952174663544,
1.4656071662902832,
0.8380600214004517,
0.7918894290924072,
-0.3353912830352783,
1.2356138229370117,... |
func (c CommitmentCost) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "commitmentMeterId", c.CommitmentMeterID)
populate(objectMap, "overageMeterId", c.OverageMeterID)
return json.Marshal(objectMap)
} | [
-0.041755497455596924,
-0.5252678394317627,
0.05628417059779167,
-0.0039993394166231155,
-0.09836442023515701,
0.33571019768714905,
0.2667654752731323,
0.4373823404312134,
-0.3658294379711151,
0.7083764672279358,
0.19085931777954102,
-0.23475787043571472,
-0.2990366816520691,
0.84031265974... |
func (c *CommitmentCost) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "commitmentMeterId":
err = unpopu... | [
-0.39193660020828247,
0.12908536195755005,
0.4679178297519684,
-0.9517594575881958,
-0.6849732995033264,
-0.008248050697147846,
0.24167515337467194,
0.12007669359445572,
-0.6147627830505371,
1.3218578100204468,
0.1877003014087677,
-0.5722711682319641,
-0.345871239900589,
1.357649803161621,... |
func (c CommitmentPeriod) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "count", c.Count)
populate(objectMap, "endDate", c.EndDate)
populate(objectMap, "quota", c.Quota)
populate(objectMap, "startDate", c.StartDate)
populate(objectMap, "tier", c.Tier)
return json.Marshal(o... | [
0.1424180567264557,
-0.7388855218887329,
0.2638985812664032,
-0.7532687783241272,
0.08294361084699631,
0.8419531583786011,
0.33728623390197754,
0.7840576767921448,
-0.6678104400634766,
0.8303384184837341,
-0.18703629076480865,
-0.24338620901107788,
-0.625128448009491,
0.6323756575584412,
... |
func (c *CommitmentPeriod) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "count":
err = unpopulate(val, ... | [
-0.19728055596351624,
-0.11109055578708649,
0.5732803344726562,
-1.331318736076355,
-0.5927320718765259,
0.6230421662330627,
0.3966231644153595,
0.140631765127182,
-0.9566781520843506,
1.0020893812179565,
0.3112223446369171,
-0.46313273906707764,
-0.5334232449531555,
0.6149953603744507,
... |
func (c CommitmentPlan) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "etag", c.Etag)
populate(objectMap, "id", c.ID)
populate(objectMap, "kind", c.Kind)
populate(objectMap, "location", c.Location)
populate(objectMap, "name", c.Name)
populate(objectMap, "properties", c.Pro... | [
-0.22381797432899475,
-0.7108466625213623,
-0.03264172375202179,
-0.32541897892951965,
-0.019704686477780342,
0.28640586137771606,
0.17101727426052094,
0.4131680130958557,
-0.1336926817893982,
0.6618217825889587,
-0.7786654829978943,
0.2806353271007538,
-0.4819473326206207,
0.6069504022598... |
func (c *CommitmentPlan) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "etag":
err = unpopulate(val, "Et... | [
-0.4278828203678131,
-0.08705737441778183,
0.6063993573188782,
-0.7843645811080933,
-0.5443460941314697,
0.0635700449347496,
0.210880309343338,
-0.02500290796160698,
-0.7522891759872437,
0.7117347717285156,
-0.16891354322433472,
0.09762150049209595,
-0.4765987992286682,
0.8884422779083252,... |
func (c CommitmentPlanAccountAssociation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "etag", c.Etag)
populate(objectMap, "id", c.ID)
populate(objectMap, "name", c.Name)
populate(objectMap, "properties", c.Properties)
populate(objectMap, "systemData", c.SystemData)
popul... | [
0.3584524095058441,
-0.7029155492782593,
-0.16528694331645966,
-0.65634685754776,
0.31258273124694824,
-0.004973217844963074,
1.2820289134979248,
0.3001297116279602,
0.3460376560688019,
0.23945912718772888,
0.2734256088733673,
0.061116721481084824,
0.06587531417608261,
0.28888410329818726,... |
func (c *CommitmentPlanAccountAssociation) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "etag":
err = u... | [
-0.07538965344429016,
-0.29367682337760925,
0.49876198172569275,
-1.300107479095459,
-0.4725927412509918,
-0.29700779914855957,
0.9324620366096497,
-0.33409324288368225,
-0.2781808078289032,
0.6849988102912903,
0.44870510697364807,
-0.17946547269821167,
0.18454433977603912,
0.4655908048152... |
func (c CommitmentPlanAccountAssociationListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", c.NextLink)
populate(objectMap, "value", c.Value)
return json.Marshal(objectMap)
} | [
0.14588165283203125,
0.20481179654598236,
-0.1930086314678192,
-0.33509793877601624,
-0.01462629809975624,
-0.35271504521369934,
0.9892472624778748,
0.3307490348815918,
0.4210190773010254,
0.2528245151042938,
-0.3170202374458313,
-0.2366425096988678,
-0.12834320962429047,
0.331477552652359... |
func (c *CommitmentPlanAccountAssociationListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLin... | [
-0.039225347340106964,
0.554494321346283,
0.019423330202698708,
-1.2003105878829956,
-0.5938504338264465,
-0.7713073492050171,
0.7600915431976318,
-0.11051733791828156,
-0.02508757822215557,
0.7165371775627136,
-0.19174611568450928,
-0.7702760100364685,
-0.15305742621421814,
0.507620036602... |
func (c CommitmentPlanAccountAssociationProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "accountId", c.AccountID)
return json.Marshal(objectMap)
} | [
0.7372865080833435,
-0.33107778429985046,
-0.213950976729393,
-0.23838700354099274,
0.3776110112667084,
0.4558781683444977,
1.254939079284668,
0.28850558400154114,
0.17131321132183075,
0.34549275040626526,
0.683933436870575,
-0.06328125298023224,
0.10589426755905151,
0.03801727294921875,
... |
func (c *CommitmentPlanAccountAssociationProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "account... | [
0.3950899541378021,
-0.1575980931520462,
0.1802864670753479,
-0.9775951504707336,
-0.44243791699409485,
0.12138113379478455,
1.001312494277954,
-0.0672023817896843,
-0.12005888670682907,
0.8471978902816772,
0.9670999646186829,
-0.3910411596298218,
0.3031761348247528,
0.0830182135105133,
... |
func (c CommitmentPlanAssociation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "commitmentPlanId", c.CommitmentPlanID)
populate(objectMap, "commitmentPlanLocation", c.CommitmentPlanLocation)
return json.Marshal(objectMap)
} | [
-0.13890504837036133,
-0.9459093809127808,
-0.06482769548892975,
-0.0681816041469574,
-0.09842673689126968,
0.3212616443634033,
1.0588033199310303,
0.5537691712379456,
0.4917818009853363,
0.8512395620346069,
0.031476497650146484,
-0.13090792298316956,
-0.09590176492929459,
0.17449520528316... |
func (c *CommitmentPlanAssociation) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "commitmentPlanId":
er... | [
-0.596114993095398,
-0.3732030391693115,
0.3722445070743561,
-1.0557888746261597,
-0.5177698731422424,
0.07287310808897018,
0.9080787301063538,
0.03488689288496971,
0.10242488980293274,
1.3086861371994019,
0.14746923744678497,
-0.6273307800292969,
-0.06301390379667282,
0.5679270625114441,
... |
func (c CommitmentPlanListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", c.NextLink)
populate(objectMap, "value", c.Value)
return json.Marshal(objectMap)
} | [
-0.12037459760904312,
-0.04425589367747307,
-0.029613053426146507,
0.0330229289829731,
-0.5326833128929138,
0.14447195827960968,
0.16989754140377045,
0.23971715569496155,
0.0925232470035553,
0.4105636775493622,
-1.4776068925857544,
-0.2974148690700531,
-0.4410073757171631,
0.72053813934326... |
func (c *CommitmentPlanListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLink":
err = unpop... | [
-0.12956659495830536,
0.5285718441009521,
0.21991847455501556,
-0.982336699962616,
-0.8864501714706421,
-0.3340173065662384,
0.19627049565315247,
0.01822960563004017,
-0.24524912238121033,
0.8936588168144226,
-0.8999853134155273,
-0.8055374026298523,
-0.5037837624549866,
0.7997055053710938... |
func (c CommitmentPlanProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "autoRenew", c.AutoRenew)
populate(objectMap, "commitmentPlanGuid", c.CommitmentPlanGUID)
populate(objectMap, "current", c.Current)
populate(objectMap, "hostingModel", c.HostingModel)
populate(o... | [
-0.21388816833496094,
-0.6951168775558472,
-0.14324863255023956,
-0.1546575278043747,
-0.2570893466472626,
0.7776928544044495,
0.39483895897865295,
0.15489104390144348,
-0.4758375585079193,
0.0009613800793886185,
-0.3846909999847412,
-0.10159379988908768,
-0.23153240978717804,
-0.003932149... |
func (c *CommitmentPlanProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "autoRenew":
err = unpo... | [
-0.38119077682495117,
-0.3162718415260315,
0.3035575747489929,
-0.7157842516899109,
-0.7363981604576111,
0.46929502487182617,
0.3230929970741272,
-0.04379303753376007,
-0.7302987575531006,
0.5402895212173462,
0.09018238633871078,
-0.2517589032649994,
-0.4031257927417755,
0.1783806681632995... |
func (c CommitmentQuota) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "quantity", c.Quantity)
populate(objectMap, "unit", c.Unit)
return json.Marshal(objectMap)
} | [
-0.3742953836917877,
-0.9291509389877319,
0.27914664149284363,
-0.27572163939476013,
0.17003697156906128,
-0.22775062918663025,
0.19332249462604523,
0.4277605414390564,
-0.521356463432312,
0.8502557873725891,
-0.512338399887085,
-0.17050781846046448,
0.21984004974365234,
0.2443254590034485... |
func (c *CommitmentQuota) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "quantity":
err = unpopulate(val... | [
-0.3593572676181793,
-0.28053250908851624,
0.5938512086868286,
-1.1168861389160156,
-0.2864162027835846,
-0.24903786182403564,
0.25061914324760437,
0.18851745128631592,
-0.8496387004852295,
1.2423874139785767,
0.10936177521944046,
-0.5142419338226318,
0.232246994972229,
0.6575601100921631,... |
func (c CommitmentTier) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "cost", c.Cost)
populate(objectMap, "hostingModel", c.HostingModel)
populate(objectMap, "kind", c.Kind)
populate(objectMap, "maxCount", c.MaxCount)
populate(objectMap, "planType", c.PlanType)
populate(ob... | [
-0.2254142314195633,
-0.830264687538147,
0.25936663150787354,
-0.19651919603347778,
-0.47105827927589417,
0.19745546579360962,
0.036923591047525406,
0.3618035614490509,
-1.0338374376296997,
0.5846131443977356,
-0.39161768555641174,
-0.15635260939598083,
-0.13864228129386902,
0.701287150382... |
func (c *CommitmentTier) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "cost":
err = unpopulate(val, "Co... | [
-0.24061709642410278,
-0.32151809334754944,
0.729677677154541,
-0.617859959602356,
-0.7726751565933228,
0.023941805586218834,
0.09170682728290558,
0.03541210666298866,
-1.218035340309143,
0.5738224387168884,
0.0379757322371006,
-0.31691035628318787,
-0.29006001353263855,
1.0576974153518677... |
func (c CommitmentTierListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", c.NextLink)
populate(objectMap, "value", c.Value)
return json.Marshal(objectMap)
} | [
0.25248467922210693,
-0.11686357110738754,
-0.031129533424973488,
-0.19389188289642334,
-0.5063563585281372,
-0.3345489501953125,
0.2763882577419281,
0.7194802165031433,
-0.4593600034713745,
0.4683580696582794,
-1.0002086162567139,
0.027408359572291374,
-0.7485671043395996,
0.6609225273132... |
func (c *CommitmentTierListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", c, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLink":
err = unpop... | [
0.18347318470478058,
0.36816102266311646,
0.26186487078666687,
-1.0633962154388428,
-0.8493835926055908,
-0.6123790740966797,
0.34535443782806396,
0.23787365853786469,
-0.9215683937072754,
0.8121210336685181,
-0.37785032391548157,
-0.5055842995643616,
-0.6221402287483215,
0.831298947334289... |
func (d Deployment) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "etag", d.Etag)
populate(objectMap, "id", d.ID)
populate(objectMap, "name", d.Name)
populate(objectMap, "properties", d.Properties)
populate(objectMap, "sku", d.SKU)
populate(objectMap, "systemData", d.Syste... | [
-1.290161371231079,
-0.6400492787361145,
0.32591453194618225,
-0.607938289642334,
-0.23094184696674347,
-0.05890519171953201,
0.24998576939105988,
0.6326234340667725,
0.12320388853549957,
1.2666040658950806,
-0.42039021849632263,
-0.25575074553489685,
0.3283923864364624,
0.7516628503799438... |
func (d *Deployment) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "etag":
err = unpopulate(val, "Etag",... | [
-1.1706268787384033,
-0.22107765078544617,
0.6595322489738464,
-1.1828808784484863,
-0.5615498423576355,
-0.1810009479522705,
0.322700560092926,
-0.02273876592516899,
-0.3610367178916931,
1.2289700508117676,
0.2838223874568939,
-0.5120076537132263,
-0.18495213985443115,
0.7383572459220886,... |
func (d DeploymentListResult) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "nextLink", d.NextLink)
populate(objectMap, "value", d.Value)
return json.Marshal(objectMap)
} | [
-0.6271319389343262,
0.07856446504592896,
-0.13113482296466827,
-0.4530399441719055,
-1.1536667346954346,
-0.7261079549789429,
-0.24499258399009705,
0.47018834948539734,
0.7003288865089417,
0.5205984711647034,
-1.0595777034759521,
-0.0051505002193152905,
-0.014991870149970055,
0.9691997766... |
func (d *DeploymentListResult) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "nextLink":
err = unpopulat... | [
-0.6090248823165894,
0.5380046367645264,
0.15339793264865875,
-1.3217647075653076,
-1.2919554710388184,
-0.9521318078041077,
-0.06641099601984024,
0.07070541381835938,
0.006705508101731539,
0.7428645491600037,
-0.6014973521232605,
-0.7114173769950867,
-0.3508939743041992,
0.945141255855560... |
func (d DeploymentModel) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "callRateLimit", d.CallRateLimit)
populate(objectMap, "format", d.Format)
populate(objectMap, "name", d.Name)
populate(objectMap, "source", d.Source)
populate(objectMap, "version", d.Version)
return jso... | [
-0.7319560050964355,
-0.7463815808296204,
0.24256816506385803,
-0.4925072193145752,
-0.8316497206687927,
0.13630184531211853,
-0.21348370611667633,
0.4780362546443939,
0.016808990389108658,
1.4824063777923584,
-1.1297777891159058,
-0.014684251509606838,
0.5959503650665283,
0.86213618516922... |
func (d *DeploymentModel) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "callRateLimit":
err = unpopulat... | [
-0.8612864017486572,
-0.03013617731630802,
0.6152109503746033,
-1.22185218334198,
-0.785801351070404,
0.16085919737815857,
0.027871547266840935,
-0.05420657619833946,
-0.6506150364875793,
1.2894539833068848,
-0.38351646065711975,
-0.6037542223930359,
0.09126155078411102,
0.8033006191253662... |
func (d DeploymentProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "callRateLimit", d.CallRateLimit)
populate(objectMap, "capabilities", d.Capabilities)
populate(objectMap, "model", d.Model)
populate(objectMap, "provisioningState", d.ProvisioningState)
populate(obj... | [
-0.6835777163505554,
-0.8850231766700745,
0.09541038423776627,
-0.9226740598678589,
-0.5582301020622253,
0.3404639661312103,
-0.14429114758968353,
0.27087458968162537,
-0.6551805138587952,
1.2119174003601074,
-0.3839641809463501,
0.02896723337471485,
-0.2437923103570938,
0.3571945726871490... |
func (d *DeploymentProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "callRateLimit":
err = unpo... | [
-0.7955816388130188,
-0.6586736440658569,
0.5643510818481445,
-1.0608559846878052,
-0.7815089821815491,
0.2732844650745392,
0.12864112854003906,
-0.21397247910499573,
-0.6382599472999573,
1.2164195775985718,
0.2093246430158615,
-0.21740050613880157,
-0.30508938431739807,
0.4191315472126007... |
func (d DeploymentScaleSettings) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "activeCapacity", d.ActiveCapacity)
populate(objectMap, "capacity", d.Capacity)
populate(objectMap, "scaleType", d.ScaleType)
return json.Marshal(objectMap)
} | [
-0.8971718549728394,
-0.7253687381744385,
0.15012407302856445,
-1.072727918624878,
-0.37690290808677673,
-0.404584139585495,
-0.4880806505680084,
-1.073015570640564,
-0.33959394693374634,
1.0727157592773438,
-0.8564596176147461,
0.03581799566745758,
0.282271146774292,
0.8463134765625,
0.... |
func (d *DeploymentScaleSettings) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "activeCapacity":
err = ... | [
-0.7262672781944275,
0.0503370501101017,
0.5706369280815125,
-1.419910192489624,
-0.6861574053764343,
-0.535275399684906,
-0.4738715887069702,
-1.281017780303955,
-0.855564534664154,
1.3738694190979004,
-0.24763943254947662,
-0.3270658552646637,
-0.07820187509059906,
0.9218363761901855,
... |
func (d DomainAvailability) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "isSubdomainAvailable", d.IsSubdomainAvailable)
populate(objectMap, "kind", d.Kind)
populate(objectMap, "reason", d.Reason)
populate(objectMap, "subdomainName", d.SubdomainName)
populate(objectMap, "t... | [
-0.9996621608734131,
-0.4829370677471161,
0.11885018646717072,
-0.2897792160511017,
-0.3202879726886749,
0.13441646099090576,
0.42120039463043213,
1.021363377571106,
0.21745911240577698,
0.48723599314689636,
-1.0101077556610107,
1.4495290517807007,
0.2643818259239197,
0.9363566040992737,
... |
func (d *DomainAvailability) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", d, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "isSubdomainAvailable":
err =... | [
-1.1392693519592285,
-0.059173326939344406,
0.5126092433929443,
-0.8741664886474609,
-0.4203748106956482,
-0.12759864330291748,
0.32125088572502136,
0.5515573024749756,
-0.3475063443183899,
0.8100840449333191,
0.01397950854152441,
0.966301679611206,
0.1739284098148346,
0.9992189407348633,
... |
func (e Encryption) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "keySource", e.KeySource)
populate(objectMap, "keyVaultProperties", e.KeyVaultProperties)
return json.Marshal(objectMap)
} | [
-1.040509819984436,
0.19134578108787537,
0.379750519990921,
0.27590498328208923,
-0.7567386031150818,
-0.04253911226987839,
-0.026990478858351707,
-0.10128726810216904,
0.6828777194023132,
0.9984104633331299,
-1.1664730310440063,
-0.16742022335529327,
0.5127559304237366,
0.3923061788082123... |
func (e *Encryption) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", e, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "keySource":
err = unpopulate(val, "K... | [
-1.1610573530197144,
0.9228385090827942,
0.7571758031845093,
-0.5603134036064148,
-0.8396919369697571,
-0.4100759029388428,
0.43226075172424316,
-0.3073432445526123,
0.19731880724430084,
1.487196445465088,
-0.6424691081047058,
-0.5409995317459106,
0.14944647252559662,
0.7280592918395996,
... |
func (i IPRule) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "value", i.Value)
return json.Marshal(objectMap)
} | [
-0.7202260494232178,
0.34045055508613586,
0.052854835987091064,
-0.7922007441520691,
0.09829932451248169,
-0.10643438249826431,
0.12816664576530457,
1.2978389263153076,
-0.7020033001899719,
0.28302568197250366,
-0.37345194816589355,
-0.10085638612508774,
-0.8358404040336609,
-0.20008590817... |
func (i *IPRule) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", i, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "value":
err = unpopulate(val, "Value", &... | [
-0.5833680629730225,
1.0384191274642944,
0.4969235956668854,
-1.70161771774292,
-0.21017909049987793,
-0.20030520856380463,
0.0695468857884407,
0.7843213677406311,
-1.0703562498092651,
0.5897135734558105,
0.07112499326467514,
-0.45943427085876465,
-0.9617281556129456,
0.2035606950521469,
... |
func (i Identity) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "principalId", i.PrincipalID)
populate(objectMap, "tenantId", i.TenantID)
populate(objectMap, "type", i.Type)
populate(objectMap, "userAssignedIdentities", i.UserAssignedIdentities)
return json.Marshal(objectMa... | [
-0.9205149412155151,
-1.542641520500183,
0.12207496166229248,
0.5024446249008179,
0.5808687210083008,
0.43445613980293274,
0.5484330058097839,
0.35316869616508484,
0.6978275179862976,
0.15951833128929138,
-0.9552367329597473,
0.03528052195906639,
-0.20098276436328888,
0.30063876509666443,
... |
func (i *Identity) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", i, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "principalId":
err = unpopulate(val, "P... | [
-1.0908366441726685,
-0.6216010451316833,
0.5324978828430176,
-0.2799184024333954,
0.1082783117890358,
0.17307986319065094,
0.37525102496147156,
-0.08513619005680084,
0.30218759179115295,
0.6545156836509705,
-0.27913254499435425,
-0.4077872335910797,
-0.5098320841789246,
0.5285813808441162... |
func (k KeyVaultProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "identityClientId", k.IdentityClientID)
populate(objectMap, "keyName", k.KeyName)
populate(objectMap, "keyVaultUri", k.KeyVaultURI)
populate(objectMap, "keyVersion", k.KeyVersion)
return json.Marshal(... | [
0.038165606558322906,
-1.0054184198379517,
0.24434885382652283,
0.17685212194919586,
-0.7361670136451721,
0.16809923946857452,
-0.6462948322296143,
-0.011722584255039692,
-0.6256083846092224,
0.0021877135150134563,
-0.9191106557846069,
0.17804160714149475,
-0.27921125292778015,
-0.04426553... |
func (k *KeyVaultProperties) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", k, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "identityClientId":
err = unp... | [
-0.38922634720802307,
-0.5130034685134888,
0.4335249066352844,
-0.31966862082481384,
-1.21665358543396,
0.07243362814188004,
-0.38119634985923767,
-0.2485322505235672,
-0.8190191388130188,
0.18796059489250183,
-0.2707291543483734,
-0.21031984686851501,
-0.20398753881454468,
0.0368388779461... |
func (m MetricName) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "localizedValue", m.LocalizedValue)
populate(objectMap, "value", m.Value)
return json.Marshal(objectMap)
} | [
-0.37986448407173157,
-0.607719898223877,
0.13673163950443268,
-0.3948463499546051,
-0.7106560468673706,
0.12609820067882538,
0.3114832937717438,
0.09816386550664902,
-0.6391859650611877,
0.8810033798217773,
-0.24516117572784424,
0.373168021440506,
0.08784663677215576,
0.09947444498538971,... |
func (m *MetricName) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", m, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "localizedValue":
err = unpopulate(va... | [
-0.5764715671539307,
0.4027913808822632,
0.5102395415306091,
-1.3252124786376953,
-0.686125636100769,
-0.30047133564949036,
0.20393970608711243,
-0.10909624397754669,
-1.0097801685333252,
0.98659348487854,
0.08469735085964203,
-0.18275171518325806,
-0.010911962948739529,
0.4172349274158478... |
func (m Model) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
populate(objectMap, "kind", m.Kind)
populate(objectMap, "model", m.Model)
populate(objectMap, "skuName", m.SKUName)
return json.Marshal(objectMap)
} | [
-0.8051882386207581,
-0.459107369184494,
0.004684770945459604,
0.3749939203262329,
-0.6458929777145386,
-0.016267435625195503,
-0.008234679698944092,
0.40136289596557617,
0.10538160800933838,
0.36917102336883545,
-1.2828195095062256,
0.7713487148284912,
0.007737563923001289,
0.697659134864... |
func (m *Model) UnmarshalJSON(data []byte) error {
var rawMsg map[string]json.RawMessage
if err := json.Unmarshal(data, &rawMsg); err != nil {
return fmt.Errorf("unmarshalling type %T: %v", m, err)
}
for key, val := range rawMsg {
var err error
switch key {
case "kind":
err = unpopulate(val, "Kind", &m.K... | [
-1.2575935125350952,
0.39492884278297424,
0.4381025731563568,
-0.6136773824691772,
-0.7115734219551086,
-0.13417163491249084,
0.040861260145902634,
-0.17858736217021942,
-0.5689303874969482,
1.0403637886047363,
-0.5818369388580322,
0.2829682528972626,
-0.19355405867099762,
0.80245381593704... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.