text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (page *RoleAssignmentScheduleRequestListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
-0.7273929119110107,
0.35178717970848083,
0.08219955116510391,
0.5024117231369019,
-0.6247135996818542,
0.3998591899871826,
-0.14975713193416595,
-0.08125598728656769,
0.6816325783729553,
0.31721243262290955,
0.909705400466919,
0.15489637851715088,
-0.16698163747787476,
1.2124384641647339,... |
func (page RoleAssignmentScheduleRequestListResultPage) NotDone() bool {
return !page.rasrlr.IsEmpty()
} | [
-0.8212249875068665,
0.22296367585659027,
0.30694982409477234,
0.1370563805103302,
0.5833649039268494,
0.07595376670360565,
-0.1885366141796112,
-0.13947360217571259,
-0.36082908511161804,
0.24678455293178558,
0.40590354800224304,
-1.1108927726745605,
-0.5231959819793701,
1.523979544639587... |
func (page RoleAssignmentScheduleRequestListResultPage) Response() RoleAssignmentScheduleRequestListResult {
return page.rasrlr
} | [
-1.0216445922851562,
-0.9173896908760071,
0.06064269691705704,
-0.3556063771247864,
-0.6004923582077026,
-0.13762977719306946,
-0.14737901091575623,
0.4807800352573395,
1.4662543535232544,
0.5074465870857239,
0.10081661492586136,
-0.9424610733985901,
0.3942520320415497,
1.1226314306259155,... |
func (page RoleAssignmentScheduleRequestListResultPage) Values() []RoleAssignmentScheduleRequest {
if page.rasrlr.IsEmpty() {
return nil
}
return *page.rasrlr.Value
} | [
-1.1965608596801758,
-0.18495427072048187,
0.22690322995185852,
-0.49756333231925964,
0.49559855461120605,
-0.2989623248577118,
-0.7004756331443787,
-0.36095330119132996,
0.48640915751457214,
0.03058803267776966,
0.5502415299415588,
-0.5531589984893799,
0.13002146780490875,
1.5469316244125... |
func NewRoleAssignmentScheduleRequestListResultPage(cur RoleAssignmentScheduleRequestListResult, getNextPage func(context.Context, RoleAssignmentScheduleRequestListResult) (RoleAssignmentScheduleRequestListResult, error)) RoleAssignmentScheduleRequestListResultPage {
return RoleAssignmentScheduleRequestListResultPage{... | [
-1.2581918239593506,
0.14040417969226837,
0.25193360447883606,
-0.6738742589950562,
-0.3722091019153595,
-0.08380481600761414,
-0.43910667300224304,
0.12505848705768585,
0.4186032712459564,
0.8412200212478638,
0.045231420546770096,
-0.9368932843208313,
0.46051356196403503,
1.00236272811889... |
func (rasrp RoleAssignmentScheduleRequestProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if rasrp.RoleDefinitionID != nil {
objectMap["roleDefinitionId"] = rasrp.RoleDefinitionID
}
if rasrp.PrincipalID != nil {
objectMap["principalId"] = rasrp.PrincipalID
}
if rasrp.Reque... | [
-0.7558693885803223,
-1.4812589883804321,
0.5332895517349243,
-1.2940375804901123,
-0.5282078981399536,
0.5144794583320618,
-0.1910862773656845,
0.09493888169527054,
-0.0814325287938118,
0.010966314002871513,
0.34021973609924316,
0.3284623920917511,
-0.008711791597306728,
0.593258917331695... |
func (rd RoleDefinition) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if rd.RoleDefinitionProperties != nil {
objectMap["properties"] = rd.RoleDefinitionProperties
}
return json.Marshal(objectMap)
} | [
-0.021854955703020096,
-0.533504843711853,
0.3991955816745758,
-1.0409398078918457,
-0.02404727227985859,
-0.3025278151035309,
-0.548209011554718,
0.5124456882476807,
0.770171046257019,
0.3999101519584656,
-0.5615468621253967,
1.0582146644592285,
-0.0713735818862915,
0.6822745203971863,
... |
func (rd *RoleDefinition) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
return err
... | [
-0.2806083858013153,
-0.30384698510169983,
0.5984045267105103,
-1.8003240823745728,
-0.1718115508556366,
-0.7476508021354675,
-0.41193291544914246,
0.13126935064792633,
0.07710792124271393,
0.9466359615325928,
-0.3648639917373657,
0.8798885345458984,
-0.3196655213832855,
0.8321545720100403... |
func (iter *RoleDefinitionListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleDefinitionListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil {
sc = iter.Response().Respo... | [
-0.22091363370418549,
-0.19210374355316162,
0.4327091574668884,
-0.16259968280792236,
-0.7437616586685181,
-0.26810750365257263,
-0.2217457890510559,
-0.7790252566337585,
0.7518835663795471,
0.2674919366836548,
-0.2639620006084442,
-0.1723099797964096,
-0.4993845224380493,
0.71077716350555... |
func (iter *RoleDefinitionListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
} | [
0.048667579889297485,
0.3268388509750366,
0.06822317838668823,
0.5004526972770691,
-0.5156843066215515,
-0.047747574746608734,
-0.13269536197185516,
-0.16946037113666534,
0.5608049631118774,
0.14660029113292694,
0.5376440286636353,
0.5253616571426392,
-0.34782329201698303,
1.13164162635803... |
func (iter RoleDefinitionListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
} | [
-0.5212810635566711,
0.1121903583407402,
0.20680637657642365,
-0.17939895391464233,
0.3306175172328949,
-0.050130680203437805,
0.199600487947464,
-0.46946626901626587,
-0.43948984146118164,
0.4541868269443512,
-0.0012453997042030096,
-0.9700262546539307,
-0.9218262434005737,
1.270819425582... |
func (iter RoleDefinitionListResultIterator) Response() RoleDefinitionListResult {
return iter.page.Response()
} | [
-0.0520683117210865,
-0.6610136032104492,
0.11943928152322769,
0.13358834385871887,
-0.12957066297531128,
-0.4045391082763672,
0.24919693171977997,
0.010200001299381256,
1.3318151235580444,
0.40305235981941223,
-0.6398492455482483,
-0.40506845712661743,
0.03178950026631355,
0.8506397604942... |
func (iter RoleDefinitionListResultIterator) Value() RoleDefinition {
if !iter.page.NotDone() {
return RoleDefinition{}
}
return iter.page.Values()[iter.i]
} | [
-0.19389480352401733,
-0.5419904589653015,
0.26114997267723083,
-0.5097220540046692,
0.2891998589038849,
-0.17957335710525513,
-0.05072205513715744,
-0.43029576539993286,
0.5655619502067566,
0.47721028327941895,
0.2607480585575104,
0.3101866841316223,
-0.10035232454538345,
0.86010456085205... |
func NewRoleDefinitionListResultIterator(page RoleDefinitionListResultPage) RoleDefinitionListResultIterator {
return RoleDefinitionListResultIterator{page: page}
} | [
-0.6241625547409058,
-0.5797251462936401,
0.026744002476334572,
-0.07676172256469727,
-0.7164795994758606,
-0.9908648729324341,
-0.24956046044826508,
0.33677583932876587,
0.797164261341095,
0.328174352645874,
-0.5467475652694702,
-0.0935935378074646,
0.4118308424949646,
0.9707217812538147,... |
func (rdlr RoleDefinitionListResult) IsEmpty() bool {
return rdlr.Value == nil || len(*rdlr.Value) == 0
} | [
-1.0905705690383911,
0.22027918696403503,
0.29861077666282654,
-0.398045152425766,
1.0401898622512817,
-0.3392331600189209,
-0.5130121111869812,
-0.08873893320560455,
0.37539225816726685,
0.6273428201675415,
-0.5579308271408081,
0.3257581293582916,
-0.30638307332992554,
0.9369319677352905,... |
func (rdlr RoleDefinitionListResult) hasNextLink() bool {
return rdlr.NextLink != nil && len(*rdlr.NextLink) != 0
} | [
0.3391062915325165,
0.32587939500808716,
0.24085454642772675,
-0.3143778443336487,
-0.11940188705921173,
-0.9238231182098389,
-0.22464261949062347,
0.8513373136520386,
-0.038003601133823395,
-0.7384596467018127,
-0.3656555116176605,
0.06917355954647064,
0.14353351294994354,
1.2210098505020... |
func (rdlr RoleDefinitionListResult) roleDefinitionListResultPreparer(ctx context.Context) (*http.Request, error) {
if !rdlr.hasNextLink() {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(rdlr.NextLink)))
} | [
-0.5461649298667908,
0.5191706418991089,
0.32846343517303467,
-0.5983082056045532,
0.09399260580539703,
-0.5929535031318665,
-0.43945223093032837,
-0.06767601519823074,
1.1932920217514038,
0.3544026017189026,
-0.6754856705665588,
-0.7387515902519226,
0.02095584198832512,
1.0672283172607422... |
func (page *RoleDefinitionListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleDefinitionListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
sc = page.Response().Response.Resp... | [
0.045855578035116196,
-0.017677461728453636,
0.4420170783996582,
-0.4156820476055145,
-0.23998014628887177,
-0.1429557353258133,
-0.3820900321006775,
-0.6954876780509949,
0.8630526661872864,
0.3398286700248718,
-0.12810692191123962,
0.1555495411157608,
-0.5181937217712402,
0.90855282545089... |
func (page *RoleDefinitionListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
0.02423420362174511,
0.6725649237632751,
0.07656069844961166,
0.7750120162963867,
-0.09487857669591904,
0.3232278823852539,
-0.07909529656171799,
-0.13124804198741913,
0.7432007193565369,
0.19234906136989594,
0.445745587348938,
0.6147753596305847,
-0.448585569858551,
1.1177350282669067,
... |
func (page RoleDefinitionListResultPage) NotDone() bool {
return !page.rdlr.IsEmpty()
} | [
-0.007174539379775524,
0.4894881248474121,
0.3863082230091095,
0.01463704090565443,
1.0731898546218872,
-0.020494617521762848,
-0.20531316101551056,
-0.415305495262146,
-0.27670133113861084,
0.5536127090454102,
-0.1737312525510788,
-0.9536903500556946,
-0.9886224269866943,
1.33340716361999... |
func (page RoleDefinitionListResultPage) Response() RoleDefinitionListResult {
return page.rdlr
} | [
0.15557700395584106,
-0.6518943309783936,
0.11116486042737961,
-0.07157865166664124,
-0.18728072941303253,
-0.252871036529541,
-0.036613840609788895,
0.13186147809028625,
1.6524274349212646,
0.4272254407405853,
-0.7186744809150696,
-0.5064815282821655,
-0.0427430085837841,
0.65025776624679... |
func (page RoleDefinitionListResultPage) Values() []RoleDefinition {
if page.rdlr.IsEmpty() {
return nil
}
return *page.rdlr.Value
} | [
0.02830510586500168,
0.261737197637558,
0.1846388429403305,
-0.6026835441589355,
1.0778194665908813,
-0.4265771210193634,
-1.0294041633605957,
-0.17970097064971924,
0.46488845348358154,
-0.019553687423467636,
-0.4458787143230438,
-0.09838870167732239,
-0.288484126329422,
1.4056992530822754... |
func NewRoleDefinitionListResultPage(cur RoleDefinitionListResult, getNextPage func(context.Context, RoleDefinitionListResult) (RoleDefinitionListResult, error)) RoleDefinitionListResultPage {
return RoleDefinitionListResultPage{
fn: getNextPage,
rdlr: cur,
}
} | [
-0.2502097189426422,
0.21363644301891327,
0.21652854979038239,
-0.08039733022451401,
0.07853124290704727,
-0.5652110576629639,
-0.010394202545285225,
0.4079473912715912,
0.6375318765640259,
0.41042399406433105,
-0.6175974607467651,
-0.30654284358024597,
-0.16001005470752716,
1.003411889076... |
func (res RoleEligibilitySchedule) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if res.RoleEligibilityScheduleProperties != nil {
objectMap["properties"] = res.RoleEligibilityScheduleProperties
}
return json.Marshal(objectMap)
} | [
0.228786438703537,
-1.0084772109985352,
0.3626968264579773,
-1.523241639137268,
0.008626643568277359,
0.11512446403503418,
-0.18262718617916107,
1.1606724262237549,
0.8366996049880981,
0.49509456753730774,
-0.6027860641479492,
-0.21207354962825775,
0.09754060953855515,
0.5590003132820129,
... |
func (res *RoleEligibilitySchedule) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
retur... | [
-0.13894955813884735,
-0.493691623210907,
0.6555504202842712,
-2.1423141956329346,
-0.32174521684646606,
-0.4093763530254364,
-0.054304756224155426,
0.4891122281551361,
0.2017918825149536,
1.047280192375183,
-0.5297812819480896,
-0.07363387197256088,
-0.1911017894744873,
0.2660146355628967... |
func (resi RoleEligibilityScheduleInstance) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if resi.RoleEligibilityScheduleInstanceProperties != nil {
objectMap["properties"] = resi.RoleEligibilityScheduleInstanceProperties
}
return json.Marshal(objectMap)
} | [
-0.2836320698261261,
-1.063844919204712,
0.5622638463973999,
-1.7996022701263428,
-0.5820432305335999,
0.5677932500839233,
-0.4025328755378723,
1.0692107677459717,
0.7215604186058044,
0.4157641530036926,
-0.8234376311302185,
-0.34837326407432556,
-0.048515260219573975,
0.43337106704711914,... |
func (resi *RoleEligibilityScheduleInstance) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
... | [
-0.5518574714660645,
-0.6517817974090576,
0.7787287831306458,
-2.475039005279541,
-0.6644924879074097,
-0.1035192608833313,
-0.2412308156490326,
0.5614755153656006,
0.21515865623950958,
0.7712094187736511,
-0.5418687462806702,
-0.20874588191509247,
-0.15356914699077606,
0.1606324017047882,... |
func (iter *RoleEligibilityScheduleInstanceListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleInstanceListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != ni... | [
-0.4679715633392334,
-0.2272295504808426,
0.578915536403656,
-0.6791785955429077,
-1.095874309539795,
-0.1317291557788849,
-0.2327461689710617,
-0.38186344504356384,
0.8767089247703552,
0.5629187226295471,
-0.27067145705223083,
-0.1971067190170288,
-0.6984332203865051,
0.3169037401676178,
... |
func (iter *RoleEligibilityScheduleInstanceListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
} | [
-0.25300461053848267,
0.2504628002643585,
0.11795632541179657,
-0.34953629970550537,
-1.0006436109542847,
0.32488152384757996,
-0.21633003652095795,
0.3824315369129181,
0.7115974426269531,
0.37201887369155884,
0.44251197576522827,
0.2534063458442688,
-0.4936629831790924,
0.5985360145568848... |
func (iter RoleEligibilityScheduleInstanceListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
} | [
-0.6817437410354614,
0.22465689480304718,
0.27335408329963684,
-0.7215709090232849,
-0.1310504674911499,
0.1958182156085968,
0.05308215692639351,
0.040327057242393494,
-0.4326182007789612,
0.6094053983688354,
-0.11789762228727341,
-1.0674259662628174,
-0.9452802538871765,
0.981090128421783... |
func (iter RoleEligibilityScheduleInstanceListResultIterator) Response() RoleEligibilityScheduleInstanceListResult {
return iter.page.Response()
} | [
-0.4059492349624634,
-0.8155055046081543,
0.1808575838804245,
-1.0300370454788208,
-0.7505757212638855,
0.05560637637972832,
0.069459930062294,
0.43629422783851624,
1.3980203866958618,
0.9313929080963135,
-0.6062328219413757,
-0.5961669087409973,
-0.39599302411079407,
0.05878051742911339,
... |
func (iter RoleEligibilityScheduleInstanceListResultIterator) Value() RoleEligibilityScheduleInstance {
if !iter.page.NotDone() {
return RoleEligibilityScheduleInstance{}
}
return iter.page.Values()[iter.i]
} | [
-1.0695888996124268,
-0.4532512426376343,
0.4603028893470764,
-1.3439143896102905,
-0.324460506439209,
0.5952835083007812,
-0.009377527050673962,
0.05530129745602608,
0.8950586318969727,
0.6936686635017395,
0.35461151599884033,
-0.35571879148483276,
-0.1471690833568573,
0.27486738562583923... |
func NewRoleEligibilityScheduleInstanceListResultIterator(page RoleEligibilityScheduleInstanceListResultPage) RoleEligibilityScheduleInstanceListResultIterator {
return RoleEligibilityScheduleInstanceListResultIterator{page: page}
} | [
-0.6100395321846008,
-0.7476052641868591,
0.2441551834344864,
-1.5019452571868896,
-1.2273523807525635,
-0.4012587368488312,
-0.33553701639175415,
1.0124918222427368,
0.51162189245224,
0.8764207363128662,
-0.5352343320846558,
-0.3977258503437042,
-0.1547107845544815,
0.0858604907989502,
... |
func (resilr RoleEligibilityScheduleInstanceListResult) IsEmpty() bool {
return resilr.Value == nil || len(*resilr.Value) == 0
} | [
-1.3421835899353027,
0.17956912517547607,
0.32799652218818665,
-0.9130719900131226,
0.5010629296302795,
-0.06958792358636856,
-0.4296485185623169,
0.6471699476242065,
0.4863772690296173,
0.6573064923286438,
-0.7750173807144165,
0.007745169568806887,
-0.6016988754272461,
0.4141128957271576,... |
func (resilr RoleEligibilityScheduleInstanceListResult) hasNextLink() bool {
return resilr.NextLink != nil && len(*resilr.NextLink) != 0
} | [
-0.12153550237417221,
0.37308791279792786,
0.20865695178508759,
-0.6838607788085938,
-0.3923095166683197,
-0.6730256080627441,
-0.16127030551433563,
1.1383490562438965,
-0.10111259669065475,
-0.49703019857406616,
-0.6396377086639404,
-0.20814292132854462,
0.039190731942653656,
1.0863825082... |
func (resilr RoleEligibilityScheduleInstanceListResult) roleEligibilityScheduleInstanceListResultPreparer(ctx context.Context) (*http.Request, error) {
if !resilr.hasNextLink() {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBa... | [
-0.7110893130302429,
0.20023462176322937,
0.44182080030441284,
-1.4989166259765625,
-0.6337645649909973,
-0.310446560382843,
-0.40068483352661133,
0.2950989603996277,
1.0549259185791016,
0.5730757713317871,
-0.5762706995010376,
-0.7539772391319275,
-0.3225366175174713,
0.6426692605018616,
... |
func (page *RoleEligibilityScheduleInstanceListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleInstanceListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
... | [
-0.4070777893066406,
-0.06561245024204254,
0.6470496654510498,
-0.5758001804351807,
-0.5304427742958069,
-0.09178966283798218,
-0.19056640565395355,
-0.30148592591285706,
0.9573627710342407,
0.6453419923782349,
-0.19066019356250763,
-0.1321409046649933,
-0.662575364112854,
0.43053114414215... |
func (page *RoleEligibilityScheduleInstanceListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
-0.34073561429977417,
0.5036405920982361,
0.10247758775949478,
-0.04693782702088356,
-0.5569908022880554,
0.49834686517715454,
-0.21945735812187195,
0.4860674738883972,
0.8457741737365723,
0.511906623840332,
0.24871210753917694,
0.40005749464035034,
-0.5903254151344299,
0.5810266733169556,... |
func (page RoleEligibilityScheduleInstanceListResultPage) NotDone() bool {
return !page.resilr.IsEmpty()
} | [
-0.46848833560943604,
0.455328106880188,
0.35479089617729187,
-0.439880907535553,
0.5420984029769897,
0.12102694064378738,
-0.03079587034881115,
0.16466470062732697,
-0.1913253217935562,
0.7341774702072144,
-0.4125157594680786,
-1.125636100769043,
-1.0362629890441895,
0.869526743888855,
... |
func (page RoleEligibilityScheduleInstanceListResultPage) Response() RoleEligibilityScheduleInstanceListResult {
return page.resilr
} | [
-0.3948407769203186,
-0.8763219118118286,
0.15697336196899414,
-1.119709849357605,
-0.5996187329292297,
-0.028851287439465523,
-0.07177766412496567,
0.8187659382820129,
1.5956939458847046,
1.0387250185012817,
-0.6970634460449219,
-0.7456691861152649,
-0.45780616998672485,
-0.17052353918552... |
func (page RoleEligibilityScheduleInstanceListResultPage) Values() []RoleEligibilityScheduleInstance {
if page.resilr.IsEmpty() {
return nil
}
return *page.resilr.Value
} | [
-0.8647965788841248,
0.12781885266304016,
0.40521350502967834,
-1.2846734523773193,
0.3956564664840698,
0.20874544978141785,
-0.5710598230361938,
0.42386242747306824,
0.7468605637550354,
0.37144070863723755,
-0.4093695282936096,
-0.8537988662719727,
-0.49460873007774353,
0.584464430809021,... |
func NewRoleEligibilityScheduleInstanceListResultPage(cur RoleEligibilityScheduleInstanceListResult, getNextPage func(context.Context, RoleEligibilityScheduleInstanceListResult) (RoleEligibilityScheduleInstanceListResult, error)) RoleEligibilityScheduleInstanceListResultPage {
return RoleEligibilityScheduleInstanceLis... | [
-0.420470267534256,
0.006297823041677475,
0.36739403009414673,
-1.3634676933288574,
-0.5916444659233093,
-0.1678730696439743,
-0.24217909574508667,
0.8181401491165161,
0.3496825098991394,
1.1360148191452026,
-0.4305582046508789,
-0.5718939900398254,
-0.5343726277351379,
0.09154843538999557... |
func (iter *RoleEligibilityScheduleListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil {
sc = ite... | [
-0.2502172291278839,
-0.18199577927589417,
0.5742046236991882,
-0.5041524171829224,
-0.9970237016677856,
-0.058824244886636734,
-0.29907575249671936,
-0.4482952654361725,
1.070678472518921,
0.48997241258621216,
-0.1780042201280594,
-0.501571774482727,
-0.4965185225009918,
0.628419518470764... |
func (iter *RoleEligibilityScheduleListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
} | [
0.08448507636785507,
0.16821494698524475,
0.1397772580385208,
0.08020710200071335,
-0.8212568163871765,
0.40897104144096375,
-0.23468180000782013,
0.1911339908838272,
0.9203512072563171,
0.32585379481315613,
0.6097659468650818,
0.01574450172483921,
-0.2773803174495697,
0.9078985452651978,
... |
func (iter RoleEligibilityScheduleListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
} | [
-0.48075276613235474,
0.010478269308805466,
0.3109738528728485,
-0.4138726592063904,
0.0363265797495842,
0.24772100150585175,
0.049550410360097885,
-0.14836536347866058,
-0.27236971259117126,
0.5125319361686707,
0.04099487140774727,
-1.2582664489746094,
-0.8199779391288757,
1.2935101985931... |
func (iter RoleEligibilityScheduleListResultIterator) Response() RoleEligibilityScheduleListResult {
return iter.page.Response()
} | [
0.01934405229985714,
-0.8997581005096436,
0.22145889699459076,
-0.634579062461853,
-0.4466206729412079,
0.2815565764904022,
0.05726367235183716,
0.4965573251247406,
1.8624176979064941,
0.9190921187400818,
-0.3778363764286041,
-0.8766801357269287,
0.10118549317121506,
0.6318182349205017,
... |
func (iter RoleEligibilityScheduleListResultIterator) Value() RoleEligibilitySchedule {
if !iter.page.NotDone() {
return RoleEligibilitySchedule{}
}
return iter.page.Values()[iter.i]
} | [
-0.5293736457824707,
-0.5469512343406677,
0.4699811637401581,
-0.928989827632904,
-0.0060383910313248634,
0.37338873744010925,
0.07596935331821442,
-0.017104826867580414,
0.8315765857696533,
0.8644619584083557,
0.653410792350769,
-0.33658933639526367,
0.033080313354730606,
0.75663352012634... |
func NewRoleEligibilityScheduleListResultIterator(page RoleEligibilityScheduleListResultPage) RoleEligibilityScheduleListResultIterator {
return RoleEligibilityScheduleListResultIterator{page: page}
} | [
-0.4958799481391907,
-0.6758357882499695,
0.29177430272102356,
-0.9362608194351196,
-1.0715402364730835,
-0.12047398090362549,
-0.30163776874542236,
0.7939290404319763,
0.8092456459999084,
0.9160760045051575,
-0.6758714318275452,
-1.0437493324279785,
0.34262120723724365,
0.5643898844718933... |
func (reslr RoleEligibilityScheduleListResult) IsEmpty() bool {
return reslr.Value == nil || len(*reslr.Value) == 0
} | [
-1.0368603467941284,
-0.08107143640518188,
0.3809460401535034,
-0.5387296676635742,
0.62740558385849,
-0.06816819310188293,
-0.5831997394561768,
0.4877828061580658,
0.8223786354064941,
0.5604009628295898,
-0.5259253978729248,
-0.3415265679359436,
-0.07114996761083603,
0.6667670607566833,
... |
func (reslr RoleEligibilityScheduleListResult) hasNextLink() bool {
return reslr.NextLink != nil && len(*reslr.NextLink) != 0
} | [
-0.05661814659833908,
0.19941523671150208,
0.22357310354709625,
-0.2823863625526428,
-0.3044768273830414,
-0.652213454246521,
-0.27463284134864807,
1.0588330030441284,
0.2354171723127365,
-0.6525549292564392,
-0.3987933397293091,
-0.474148690700531,
0.26895731687545776,
1.1139740943908691,... |
func (reslr RoleEligibilityScheduleListResult) roleEligibilityScheduleListResultPreparer(ctx context.Context) (*http.Request, error) {
if !reslr.hasNextLink() {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBaseURL(to.String(re... | [
-0.5018674731254578,
0.2645713686943054,
0.49153244495391846,
-0.9821155071258545,
-0.4456930160522461,
-0.12389615178108215,
-0.3735120892524719,
0.021784577518701553,
1.5891140699386597,
0.46447068452835083,
-0.5527777075767517,
-1.2311441898345947,
0.12703755497932434,
0.885959088802337... |
func (page *RoleEligibilityScheduleListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
sc = page.Respon... | [
-0.04105090722441673,
-0.09873543679714203,
0.5975641012191772,
-0.5270028710365295,
-0.4459998309612274,
0.024324320256710052,
-0.2954394519329071,
-0.31331220269203186,
1.1592907905578613,
0.564969003200531,
-0.0854322761297226,
-0.3565492331981659,
-0.4026835858821869,
0.638499975204467... |
func (page *RoleEligibilityScheduleListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
0.0029022919479757547,
0.44777530431747437,
0.12292493879795074,
0.3633600175380707,
-0.33827275037765503,
0.6246355772018433,
-0.24675297737121582,
0.2819156348705292,
1.1133936643600464,
0.41497036814689636,
0.4421447217464447,
0.15694674849510193,
-0.2910403609275818,
0.890204668045044,... |
func (page RoleEligibilityScheduleListResultPage) NotDone() bool {
return !page.reslr.IsEmpty()
} | [
-0.19261854887008667,
0.27819132804870605,
0.4655081033706665,
-0.07925707846879959,
0.7002882957458496,
0.12814120948314667,
-0.2247815877199173,
-0.0790610983967781,
0.07592879235744476,
0.5470482707023621,
-0.21991252899169922,
-1.4635441303253174,
-0.695708155632019,
1.0182008743286133... |
func (page RoleEligibilityScheduleListResultPage) Response() RoleEligibilityScheduleListResult {
return page.reslr
} | [
-0.017498979344964027,
-0.8827399015426636,
0.19316908717155457,
-0.45018377900123596,
-0.28112587332725525,
0.2929362654685974,
-0.06310709565877914,
0.807097852230072,
2.039151430130005,
1.0097395181655884,
-0.6743486523628235,
-1.0467079877853394,
0.013266672380268574,
0.578991115093231... |
func (page RoleEligibilityScheduleListResultPage) Values() []RoleEligibilitySchedule {
if page.reslr.IsEmpty() {
return nil
}
return *page.reslr.Value
} | [
-0.28178298473358154,
0.05620073527097702,
0.4442897439002991,
-0.7543370723724365,
0.6355468034744263,
0.016022179275751114,
-0.6218327879905701,
0.32226380705833435,
0.8658101558685303,
0.36744424700737,
-0.28581827878952026,
-0.8681734800338745,
-0.24973808228969574,
0.9673340916633606,... |
func NewRoleEligibilityScheduleListResultPage(cur RoleEligibilityScheduleListResult, getNextPage func(context.Context, RoleEligibilityScheduleListResult) (RoleEligibilityScheduleListResult, error)) RoleEligibilityScheduleListResultPage {
return RoleEligibilityScheduleListResultPage{
fn: getNextPage,
reslr: cur,... | [
-0.38926973938941956,
0.1281644105911255,
0.5423060655593872,
-0.8288590312004089,
-0.472737193107605,
0.04241079464554787,
-0.129715695977211,
0.7072943449020386,
0.7660159468650818,
1.2959582805633545,
-0.5809773802757263,
-1.2020325660705566,
-0.030619140714406967,
0.6657115817070007,
... |
func (resr RoleEligibilityScheduleRequest) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if resr.RoleEligibilityScheduleRequestProperties != nil {
objectMap["properties"] = resr.RoleEligibilityScheduleRequestProperties
}
return json.Marshal(objectMap)
} | [
-0.631620466709137,
-0.9935510754585266,
0.49269014596939087,
-1.3985295295715332,
-0.3929438591003418,
0.16482114791870117,
-0.16469818353652954,
0.7224607467651367,
0.8789061307907104,
0.03107920102775097,
-0.007331454660743475,
-0.17267413437366486,
0.1799786537885666,
0.911952972412109... |
func (resr *RoleEligibilityScheduleRequest) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
... | [
-0.5907785296440125,
-0.5473632216453552,
0.7560496926307678,
-1.9924259185791016,
-0.48818886280059814,
-0.43652549386024475,
-0.2316739708185196,
0.29602283239364624,
0.3629419207572937,
0.5954674482345581,
0.07043125480413437,
-0.40377315878868103,
-0.06879062205553055,
0.45066231489181... |
func (iter *RoleEligibilityScheduleRequestListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleRequestListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil ... | [
-0.3892293870449066,
-0.09443150460720062,
0.5625843405723572,
-0.2172519862651825,
-1.1629037857055664,
0.006566367112100124,
-0.3970346450805664,
-0.3812037706375122,
0.9946463108062744,
0.37324994802474976,
0.050306662917137146,
-0.4974006116390228,
-0.5488831400871277,
0.71014022827148... |
func (iter *RoleEligibilityScheduleRequestListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
} | [
-0.22631137073040009,
0.10371945053339005,
0.11907242983579636,
0.28182917833328247,
-0.8464061617851257,
0.3988301455974579,
-0.4329114854335785,
0.23672518134117126,
0.7881340980529785,
0.08182325214147568,
0.8425523638725281,
0.033220358192920685,
-0.29162266850471497,
1.132033109664917... |
func (iter RoleEligibilityScheduleRequestListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
} | [
-0.7277876734733582,
0.03595844656229019,
0.27641546726226807,
-0.17808933556079865,
0.003632296808063984,
0.305858314037323,
-0.06365612894296646,
-0.15234249830245972,
-0.3445003032684326,
0.2926532030105591,
0.27807119488716125,
-1.2979991436004639,
-0.8401889204978943,
1.42618823051452... |
func (iter RoleEligibilityScheduleRequestListResultIterator) Response() RoleEligibilityScheduleRequestListResult {
return iter.page.Response()
} | [
-0.40459394454956055,
-0.7995503544807434,
0.19079813361167908,
-0.32729122042655945,
-0.5349131226539612,
0.09727009385824203,
-0.20080190896987915,
0.7856965661048889,
1.5933891534805298,
0.543594241142273,
0.043591540306806564,
-0.9749575853347778,
0.10001935064792633,
0.918779551982879... |
func (iter RoleEligibilityScheduleRequestListResultIterator) Value() RoleEligibilityScheduleRequest {
if !iter.page.NotDone() {
return RoleEligibilityScheduleRequest{}
}
return iter.page.Values()[iter.i]
} | [
-1.026839017868042,
-0.45540085434913635,
0.4749607443809509,
-0.821117639541626,
-0.03520623967051506,
0.19760607182979584,
-0.10243341326713562,
-0.13301077485084534,
0.884833812713623,
0.5801743865013123,
0.9603314399719238,
-0.3531341254711151,
0.07618898153305054,
0.9530296325683594,
... |
func NewRoleEligibilityScheduleRequestListResultIterator(page RoleEligibilityScheduleRequestListResultPage) RoleEligibilityScheduleRequestListResultIterator {
return RoleEligibilityScheduleRequestListResultIterator{page: page}
} | [
-0.7616166472434998,
-0.8869824409484863,
0.4231868088245392,
-0.8358795046806335,
-1.131524682044983,
0.022121893242001534,
-0.6464163064956665,
1.156455397605896,
0.8122345209121704,
0.5521648526191711,
-0.1704450100660324,
-1.181120753288269,
0.46326491236686707,
0.7026087641716003,
-... |
func (resrlr RoleEligibilityScheduleRequestListResult) IsEmpty() bool {
return resrlr.Value == nil || len(*resrlr.Value) == 0
} | [
-1.2301571369171143,
-0.1288548856973648,
0.37864553928375244,
-0.39000365138053894,
0.6977724432945251,
-0.017777353525161743,
-0.7460104823112488,
0.3496474623680115,
0.7078644633293152,
0.31382641196250916,
-0.17847247421741486,
-0.547715961933136,
-0.32852238416671753,
0.83556324243545... |
func (resrlr RoleEligibilityScheduleRequestListResult) hasNextLink() bool {
return resrlr.NextLink != nil && len(*resrlr.NextLink) != 0
} | [
-0.22603434324264526,
0.13559705018997192,
0.1300564855337143,
-0.10586957633495331,
-0.14251840114593506,
-0.5492895245552063,
-0.44994428753852844,
0.9096524119377136,
0.16180944442749023,
-0.9697154760360718,
-0.18819555640220642,
-0.5058326125144958,
0.12784606218338013,
1.388813614845... |
func (resrlr RoleEligibilityScheduleRequestListResult) roleEligibilityScheduleRequestListResultPreparer(ctx context.Context) (*http.Request, error) {
if !resrlr.hasNextLink() {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBase... | [
-0.710850715637207,
0.10085511952638626,
0.43119916319847107,
-0.7880351543426514,
-0.49094104766845703,
-0.1323724389076233,
-0.5201545357704163,
0.314204603433609,
1.4528175592422485,
0.21564270555973053,
-0.1832166612148285,
-1.387049913406372,
0.11318335682153702,
0.8744075298309326,
... |
func (page *RoleEligibilityScheduleRequestListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleEligibilityScheduleRequestListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
sc... | [
-0.2619442939758301,
-0.03866353631019592,
0.6217218041419983,
-0.32052621245384216,
-0.5631563663482666,
0.08975066989660263,
-0.3820674419403076,
-0.3601694703102112,
1.0776740312576294,
0.36515477299690247,
0.17669324576854706,
-0.4888996481895447,
-0.40231531858444214,
0.71002751588821... |
func (page *RoleEligibilityScheduleRequestListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
-0.2512107491493225,
0.4180363416671753,
0.09434713423252106,
0.5532038807868958,
-0.4027642011642456,
0.5644848942756653,
-0.4384559392929077,
0.2772875428199768,
0.9601107239723206,
0.2924940586090088,
0.7049245238304138,
0.04254395142197609,
-0.3300926983356476,
1.1509250402450562,
0.... |
func (page RoleEligibilityScheduleRequestListResultPage) NotDone() bool {
return !page.resrlr.IsEmpty()
} | [
-0.43315932154655457,
0.24842877686023712,
0.3968457281589508,
0.10107079893350601,
0.6751894950866699,
0.08538687974214554,
-0.32188931107521057,
-0.14586594700813293,
-0.05653289332985878,
0.19430606067180634,
0.06158018484711647,
-1.558968424797058,
-0.7887365221977234,
1.18805909156799... |
func (page RoleEligibilityScheduleRequestListResultPage) Response() RoleEligibilityScheduleRequestListResult {
return page.resrlr
} | [
-0.44131338596343994,
-0.878996729850769,
0.17599451541900635,
-0.27272674441337585,
-0.3942241966724396,
0.1744832843542099,
-0.4238789975643158,
0.9996895790100098,
1.7362267971038818,
0.582724928855896,
-0.06560315936803818,
-1.2129857540130615,
0.03365207463502884,
0.8477380871772766,
... |
func (page RoleEligibilityScheduleRequestListResultPage) Values() []RoleEligibilityScheduleRequest {
if page.resrlr.IsEmpty() {
return nil
}
return *page.resrlr.Value
} | [
-0.7932748794555664,
-0.05555897578597069,
0.4407310485839844,
-0.558085024356842,
0.4910131096839905,
-0.055980384349823,
-0.9210275411605835,
0.1818498969078064,
0.9708849787712097,
-0.041338175535202026,
0.21366867423057556,
-1.128878116607666,
-0.11107402294874191,
1.029167652130127,
... |
func NewRoleEligibilityScheduleRequestListResultPage(cur RoleEligibilityScheduleRequestListResult, getNextPage func(context.Context, RoleEligibilityScheduleRequestListResult) (RoleEligibilityScheduleRequestListResult, error)) RoleEligibilityScheduleRequestListResultPage {
return RoleEligibilityScheduleRequestListResul... | [
-0.5936720371246338,
-0.07758041471242905,
0.5259147882461548,
-0.5752626061439514,
-0.4992981553077698,
0.10333818197250366,
-0.5775438547134399,
0.9205076694488525,
0.8104400634765625,
0.7691254019737244,
-0.023981278762221336,
-1.375649333000183,
0.015140902251005173,
0.7465029358863831... |
func (resrp RoleEligibilityScheduleRequestProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if resrp.RoleDefinitionID != nil {
objectMap["roleDefinitionId"] = resrp.RoleDefinitionID
}
if resrp.PrincipalID != nil {
objectMap["principalId"] = resrp.PrincipalID
}
if resrp.Requ... | [
-0.41420114040374756,
-1.3669531345367432,
0.7552673816680908,
-1.2389250993728638,
-0.726108729839325,
0.5050782561302185,
-0.21147041022777557,
0.6146923303604126,
0.3078640103340149,
-0.2697973847389221,
0.1813349425792694,
0.21064825356006622,
-0.05982237309217453,
0.3530503213405609,
... |
func (rmp RoleManagementPolicy) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if rmp.RoleManagementPolicyProperties != nil {
objectMap["properties"] = rmp.RoleManagementPolicyProperties
}
return json.Marshal(objectMap)
} | [
0.0005783720407634974,
-0.9947568774223328,
0.04476887360215187,
-1.15373957157135,
0.26451215147972107,
0.41872724890708923,
-0.44956454634666443,
0.31994372606277466,
0.8544345498085022,
0.2573997676372528,
-0.19448423385620117,
0.6520994305610657,
-0.9615445137023926,
0.5525895953178406... |
func (rmp *RoleManagementPolicy) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
return e... | [
-0.31273940205574036,
-0.5343777537345886,
0.4791235327720642,
-2.082530975341797,
0.07177264988422394,
0.06580092012882233,
-0.15203098952770233,
0.03913101926445961,
0.05876760557293892,
0.7873108386993408,
-0.21119284629821777,
0.2890884578227997,
-0.8647148609161377,
0.4083098769187927... |
func (rmpar RoleManagementPolicyApprovalRule) MarshalJSON() ([]byte, error) {
rmpar.RuleType = RuleTypeRoleManagementPolicyApprovalRule
objectMap := make(map[string]interface{})
if rmpar.Setting != nil {
objectMap["setting"] = rmpar.Setting
}
if rmpar.ID != nil {
objectMap["id"] = rmpar.ID
}
if rmpar.Target ... | [
0.6412864327430725,
-0.4458605945110321,
0.2923879623413086,
-1.0375471115112305,
-0.6044757962226868,
0.1612723022699356,
-0.9145936965942383,
1.5784039497375488,
0.3932506740093231,
1.0664634704589844,
0.5111529231071472,
0.5769868493080139,
-0.33544665575027466,
1.297961950302124,
0.8... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyApprovalRule() (*RoleManagementPolicyApprovalRule, bool) {
return &rmpar, true
} | [
-0.20786802470684052,
0.1766572892665863,
0.789763331413269,
-0.39429381489753723,
-0.2163078784942627,
0.6156669855117798,
-0.9534820914268494,
1.279282569885254,
0.4893653690814972,
1.340478777885437,
1.0848432779312134,
-0.3741307258605957,
-0.24307990074157715,
0.5306223630905151,
0.... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyAuthenticationContextRule() (*RoleManagementPolicyAuthenticationContextRule, bool) {
return nil, false
} | [
-0.5027717351913452,
0.14939282834529877,
0.8735466599464417,
-0.012817627750337124,
-0.3931514322757721,
0.4984753131866455,
-0.37093305587768555,
0.5838086605072021,
1.856404423713684,
1.3829185962677002,
0.9490934610366821,
0.2670948803424835,
-0.35507556796073914,
-0.11866886913776398,... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyEnablementRule() (*RoleManagementPolicyEnablementRule, bool) {
return nil, false
} | [
-0.0026689458172768354,
0.03495118394494057,
0.7102885842323303,
0.25242409110069275,
-0.389845609664917,
0.6890097856521606,
-0.580999493598938,
1.4812430143356323,
0.3706989586353302,
1.0846821069717407,
0.5883080363273621,
-0.25049832463264465,
-0.9996992349624634,
0.0828784629702568,
... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyExpirationRule() (*RoleManagementPolicyExpirationRule, bool) {
return nil, false
} | [
0.17555437982082367,
0.37213996052742004,
0.6745380759239197,
0.03393374755978584,
-0.13443006575107574,
0.36713966727256775,
-0.8948047161102295,
1.2480943202972412,
1.0585049390792847,
1.2428137063980103,
0.9601943492889404,
-0.15319038927555084,
-0.5313969254493713,
0.5248969197273254,
... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyNotificationRule() (*RoleManagementPolicyNotificationRule, bool) {
return nil, false
} | [
-0.17592088878154755,
0.4873541295528412,
0.706505537033081,
0.28897014260292053,
-0.18887941539287567,
0.3546642065048218,
-0.1722002774477005,
1.1293810606002808,
0.5744309425354004,
1.2711942195892334,
0.5820676684379578,
-0.24001377820968628,
-0.024278035387396812,
0.5884907245635986,
... |
func (rmpar RoleManagementPolicyApprovalRule) AsRoleManagementPolicyRule() (*RoleManagementPolicyRule, bool) {
return nil, false
} | [
-0.6465334892272949,
-0.026552654802799225,
0.5943703651428223,
-0.35966265201568604,
-0.034755196422338486,
0.6824733018875122,
-0.8216993808746338,
1.0125229358673096,
1.1885379552841187,
1.097860336303711,
1.4446399211883545,
0.1108490377664566,
-0.4661070704460144,
0.6371132135391235,
... |
func (rmpar RoleManagementPolicyApprovalRule) AsBasicRoleManagementPolicyRule() (BasicRoleManagementPolicyRule, bool) {
return &rmpar, true
} | [
-0.5406582951545715,
-0.5230197310447693,
0.5430818200111389,
-0.11170677095651627,
0.09600228071212769,
0.6802205443382263,
-1.393419623374939,
0.6754975318908691,
0.22882357239723206,
0.9363154172897339,
1.0275321006774902,
0.357593834400177,
-0.32554906606674194,
0.23063701391220093,
... |
func (rmpa RoleManagementPolicyAssignment) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]interface{})
if rmpa.RoleManagementPolicyAssignmentProperties != nil {
objectMap["properties"] = rmpa.RoleManagementPolicyAssignmentProperties
}
return json.Marshal(objectMap)
} | [
-0.12220247089862823,
-1.2743173837661743,
0.13885816931724548,
-1.2094684839248657,
-0.5750991106033325,
0.1563737988471985,
-0.04757608845829964,
0.461531400680542,
0.930756688117981,
0.8248065114021301,
-0.2423451989889145,
0.48538053035736084,
-0.25081968307495117,
1.001017451286316,
... |
func (rmpa *RoleManagementPolicyAssignment) UnmarshalJSON(body []byte) error {
var m map[string]*json.RawMessage
err := json.Unmarshal(body, &m)
if err != nil {
return err
}
for k, v := range m {
switch k {
case "id":
if v != nil {
var ID string
err = json.Unmarshal(*v, &ID)
if err != nil {
... | [
-0.5915224552154541,
-0.7679852247238159,
0.5734574198722839,
-1.8108618259429932,
-0.571954071521759,
-0.17565622925758362,
0.024972034618258476,
0.04739747568964958,
0.17873051762580872,
1.1547391414642334,
-0.2098599076271057,
0.3540058732032776,
-0.43028905987739563,
0.9184209704399109... |
func (iter *RoleManagementPolicyAssignmentListResultIterator) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleManagementPolicyAssignmentListResultIterator.NextWithContext")
defer func() {
sc := -1
if iter.Response().Response.Response != nil ... | [
-0.306732177734375,
-0.16555406153202057,
0.5053069591522217,
-0.4634000062942505,
-1.0859183073043823,
0.12158936262130737,
0.12144462764263153,
-0.40782827138900757,
0.867680013179779,
0.6047639846801758,
-0.0029546963050961494,
-0.29671794176101685,
-0.667083740234375,
0.808960914611816... |
func (iter *RoleManagementPolicyAssignmentListResultIterator) Next() error {
return iter.NextWithContext(context.Background())
} | [
-0.22744637727737427,
-0.0089902738109231,
0.11681067943572998,
0.05410970002412796,
-0.7681642174720764,
0.5735355019569397,
0.26914820075035095,
0.053123839199543,
0.7247653603553772,
0.4984111487865448,
0.896988034248352,
0.09093523770570755,
-0.5475249886512756,
1.1157523393630981,
-... |
func (iter RoleManagementPolicyAssignmentListResultIterator) NotDone() bool {
return iter.page.NotDone() && iter.i < len(iter.page.Values())
} | [
-0.6452896595001221,
-0.0841464251279831,
0.19793601334095,
-0.3991435468196869,
0.009113459847867489,
0.33935266733169556,
0.38459312915802,
-0.11550352722406387,
-0.29036107659339905,
0.6626007556915283,
0.2885098159313202,
-1.2276026010513306,
-1.1734012365341187,
1.2846492528915405,
... |
func (iter RoleManagementPolicyAssignmentListResultIterator) Response() RoleManagementPolicyAssignmentListResult {
return iter.page.Response()
} | [
-0.20261694490909576,
-0.9459434151649475,
0.19272564351558685,
-0.5123792886734009,
-0.6172501444816589,
0.27058693766593933,
0.5429171323776245,
0.2560673952102661,
1.7568005323410034,
1.2914918661117554,
0.03371117636561394,
-0.840297281742096,
-0.12969255447387695,
1.0131417512893677,
... |
func (iter RoleManagementPolicyAssignmentListResultIterator) Value() RoleManagementPolicyAssignment {
if !iter.page.NotDone() {
return RoleManagementPolicyAssignment{}
}
return iter.page.Values()[iter.i]
} | [
-0.810226559638977,
-0.9279178977012634,
0.3958404064178467,
-0.7667568922042847,
-0.06593447178602219,
0.31740647554397583,
0.4064573347568512,
-0.5960366725921631,
1.0260124206542969,
1.063616156578064,
0.8568018078804016,
-0.08930579572916031,
-0.3620190918445587,
1.005660057067871,
-... |
func NewRoleManagementPolicyAssignmentListResultIterator(page RoleManagementPolicyAssignmentListResultPage) RoleManagementPolicyAssignmentListResultIterator {
return RoleManagementPolicyAssignmentListResultIterator{page: page}
} | [
-0.6539013385772705,
-1.0810799598693848,
0.2524459660053253,
-0.6343741416931152,
-1.1906527280807495,
0.12792126834392548,
-0.18653962016105652,
0.08856907486915588,
0.8087121248245239,
0.9714670777320862,
0.11829394102096558,
-0.5983691811561584,
0.28667962551116943,
1.0930254459381104,... |
func (rmpalr RoleManagementPolicyAssignmentListResult) IsEmpty() bool {
return rmpalr.Value == nil || len(*rmpalr.Value) == 0
} | [
-0.9903479218482971,
-0.21968862414360046,
0.2672252058982849,
-0.42949697375297546,
0.6424616575241089,
0.07496941089630127,
0.003741772612556815,
0.40321171283721924,
0.5329939126968384,
0.8547494411468506,
-0.3309348225593567,
0.014422972686588764,
-0.7732859253883362,
0.936890840530395... |
func (rmpalr RoleManagementPolicyAssignmentListResult) hasNextLink() bool {
return rmpalr.NextLink != nil && len(*rmpalr.NextLink) != 0
} | [
0.06421118974685669,
-0.08025530725717545,
0.10133317857980728,
-0.3486344516277313,
-0.3943987190723419,
-0.43730971217155457,
-0.008486049249768257,
1.0516514778137207,
0.17921586334705353,
-0.43564796447753906,
-0.21186189353466034,
-0.14876407384872437,
-0.2304324358701706,
1.444219827... |
func (rmpalr RoleManagementPolicyAssignmentListResult) roleManagementPolicyAssignmentListResultPreparer(ctx context.Context) (*http.Request, error) {
if !rmpalr.hasNextLink() {
return nil, nil
}
return autorest.Prepare((&http.Request{}).WithContext(ctx),
autorest.AsJSON(),
autorest.AsGet(),
autorest.WithBase... | [
-0.48738422989845276,
-0.005104998592287302,
0.3013322055339813,
-0.9080851078033447,
-0.4158681333065033,
-0.0283599141985178,
0.2991916239261627,
0.058317407965660095,
0.8948878645896912,
1.0216196775436401,
-0.39943647384643555,
-1.1622077226638794,
-0.006502431817352772,
1.194136977195... |
func (page *RoleManagementPolicyAssignmentListResultPage) NextWithContext(ctx context.Context) (err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/RoleManagementPolicyAssignmentListResultPage.NextWithContext")
defer func() {
sc := -1
if page.Response().Response.Response != nil {
sc... | [
-0.13542860746383667,
-0.10068312287330627,
0.5625303983688354,
-0.6707197427749634,
-0.5313380360603333,
0.07647273689508438,
0.07520338147878647,
-0.18752112984657288,
1.026145339012146,
0.920586884021759,
-0.25008341670036316,
-0.034278504550457,
-0.7486081719398499,
0.9458937644958496,... |
func (page *RoleManagementPolicyAssignmentListResultPage) Next() error {
return page.NextWithContext(context.Background())
} | [
-0.21097572147846222,
0.2970932126045227,
0.08966507017612457,
0.29017701745033264,
-0.3131856322288513,
0.8011065125465393,
0.1828286349773407,
0.1736810952425003,
0.8958728909492493,
0.6487814784049988,
0.6489296555519104,
0.07458635419607162,
-0.5773211121559143,
1.1306158304214478,
0... |
func (page RoleManagementPolicyAssignmentListResultPage) NotDone() bool {
return !page.rmpalr.IsEmpty()
} | [
-0.18458308279514313,
0.24931283295154572,
0.3095347583293915,
-0.17056353390216827,
0.5332878232002258,
0.2799195647239685,
0.17551438510417938,
0.2337103933095932,
0.03598077967762947,
0.961456835269928,
-0.1339050680398941,
-1.0572866201400757,
-1.3455054759979248,
1.2245889902114868,
... |
func (page RoleManagementPolicyAssignmentListResultPage) Response() RoleManagementPolicyAssignmentListResult {
return page.rmpalr
} | [
-0.16996532678604126,
-0.8443586230278015,
0.16732490062713623,
-0.669471263885498,
-0.6304959058761597,
0.21291494369506836,
0.4833715260028839,
0.5835611820220947,
1.955937385559082,
1.5865880250930786,
-0.2861488461494446,
-0.9600000977516174,
-0.410122275352478,
0.8632471561431885,
0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.