text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (options *GetProjectOptions) SetHeaders(param map[string]string) *GetProjectOptions {
options.Headers = param
return options
} | [
-0.33888164162635803,
0.2527831196784973,
0.40156641602516174,
-0.2637813091278076,
0.6239039301872253,
0.5701611638069153,
-0.2158345729112625,
-0.3511357009410858,
0.018861377611756325,
0.0616585873067379,
0.252296507358551,
-0.06183701381087303,
-0.7955098152160645,
-0.45750513672828674... |
func (*ProjectV1) NewGetSchematicsJobOptions(projectID string, id string, action string) *GetSchematicsJobOptions {
return &GetSchematicsJobOptions{
ProjectID: core.StringPtr(projectID),
ID: core.StringPtr(id),
Action: core.StringPtr(action),
}
} | [
0.2588943541049957,
0.17083553969860077,
0.2545028030872345,
0.7849732041358948,
-0.07797637581825256,
0.3219814598560333,
-0.9477018117904663,
-0.12952278554439545,
-1.004423975944519,
-0.047835927456617355,
0.18615247309207916,
1.3837095499038696,
-0.7823001742362976,
-0.2628128230571747... |
func (_options *GetSchematicsJobOptions) SetProjectID(projectID string) *GetSchematicsJobOptions {
_options.ProjectID = core.StringPtr(projectID)
return _options
} | [
0.33243459463119507,
0.29858294129371643,
0.3098938465118408,
0.31074729561805725,
-0.39376017451286316,
0.9738887548446655,
0.07025165110826492,
-0.0490172803401947,
0.4866025149822235,
0.7003448605537415,
0.4029124975204468,
0.5617126226425171,
-1.0722675323486328,
0.643153965473175,
-... |
func (_options *GetSchematicsJobOptions) SetID(id string) *GetSchematicsJobOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
0.24903404712677002,
-0.18342499434947968,
0.3578290343284607,
-0.0633893609046936,
0.14498960971832275,
0.8021723628044128,
0.15500496327877045,
-0.05200342833995819,
0.9713941812515259,
-0.34410107135772705,
-0.35238704085350037,
0.7647593021392822,
-1.1976985931396484,
0.089788898825645... |
func (_options *GetSchematicsJobOptions) SetAction(action string) *GetSchematicsJobOptions {
_options.Action = core.StringPtr(action)
return _options
} | [
0.3408803343772888,
-0.5412859320640564,
0.271161824464798,
-0.3708909749984741,
0.5391027927398682,
0.5076088905334473,
0.851931631565094,
-0.32281848788261414,
1.0033507347106934,
0.027566807344555855,
-0.06145377457141876,
0.9377273321151733,
-0.5077698826789856,
-0.2186058908700943,
... |
func (_options *GetSchematicsJobOptions) SetSince(since int64) *GetSchematicsJobOptions {
_options.Since = core.Int64Ptr(since)
return _options
} | [
-0.2059674859046936,
1.093788743019104,
0.6278062462806702,
0.9708752632141113,
-0.45489466190338135,
0.04298696666955948,
0.5265753865242004,
-0.14096562564373016,
-0.34103691577911377,
-0.7435544729232788,
-0.4066947400569916,
0.5688910484313965,
-0.8879243731498718,
0.10295499116182327,... |
func (options *GetSchematicsJobOptions) SetHeaders(param map[string]string) *GetSchematicsJobOptions {
options.Headers = param
return options
} | [
-0.15920843183994293,
-0.029267586767673492,
0.453664094209671,
-0.21773552894592285,
0.08968427777290344,
0.30396315455436707,
-0.3684197664260864,
-0.5415157675743103,
-0.15640889108181,
-0.19083662331104279,
0.24706493318080902,
0.023204868659377098,
-0.7181435823440552,
0.0127257630228... |
func UnmarshalInputVariable(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(InputVariable)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "type", &obj.Type)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "va... | [
-1.040368676185608,
-0.43919938802719116,
0.6443906426429749,
-1.321921944618225,
-1.1690821647644043,
-0.38050419092178345,
0.8341682553291321,
-0.11125598102807999,
-0.9572334885597229,
0.5175356268882751,
-0.3665030300617218,
0.003941068425774574,
-1.2935398817062378,
-0.059886831790208... |
func (*ProjectV1) NewInstallConfigOptions(projectID string, id string) *InstallConfigOptions {
return &InstallConfigOptions{
ProjectID: core.StringPtr(projectID),
ID: core.StringPtr(id),
}
} | [
-0.2443370223045349,
-0.4561304748058319,
0.16779810190200806,
0.5294135212898254,
-0.06120401993393898,
-0.16431553661823273,
-0.027559714391827583,
0.7451107501983643,
-1.3914777040481567,
1.7404865026474,
-0.12950751185417175,
-0.02804497443139553,
-1.1894980669021606,
0.355625659227371... |
func (_options *InstallConfigOptions) SetProjectID(projectID string) *InstallConfigOptions {
_options.ProjectID = core.StringPtr(projectID)
return _options
} | [
-0.04063611105084419,
-0.11604148894548416,
0.3045685291290283,
0.05462999269366264,
-0.03829457610845566,
1.0503288507461548,
0.5615301728248596,
0.537689745426178,
0.5477044582366943,
1.413811206817627,
0.13272714614868164,
-0.057003203779459,
-1.1806144714355469,
0.8843453526496887,
-... |
func (_options *InstallConfigOptions) SetID(id string) *InstallConfigOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
-0.3794613778591156,
-0.7354124188423157,
0.3788350820541382,
-0.24176166951656342,
0.4057396352291107,
0.7284520268440247,
0.570860743522644,
0.6211791038513184,
0.9662599563598633,
0.7379414439201355,
-0.8152067065238953,
-0.06903703510761261,
-1.1629161834716797,
0.3377155065536499,
0... |
func (options *InstallConfigOptions) SetHeaders(param map[string]string) *InstallConfigOptions {
options.Headers = param
return options
} | [
-0.5720824599266052,
-0.4312077462673187,
0.4663972556591034,
-0.3126065731048584,
0.555350124835968,
0.192875936627388,
0.3106805384159088,
0.21478955447673798,
-0.2961612343788147,
0.6251478791236877,
0.010923309251666069,
-1.0273964405059814,
-0.7776747345924377,
0.431397944688797,
-0... |
func (*ProjectV1) NewListConfigsOptions(projectID string) *ListConfigsOptions {
return &ListConfigsOptions{
ProjectID: core.StringPtr(projectID),
}
} | [
-0.5340601205825806,
0.1584242433309555,
0.20537005364894867,
0.7224498391151428,
-0.30359023809432983,
-0.5428256392478943,
-0.6204851865768433,
-0.46208053827285767,
0.43880611658096313,
0.8120751976966858,
-0.7829207181930542,
0.27474087476730347,
-0.11856046319007874,
0.109094016253948... |
func (_options *ListConfigsOptions) SetProjectID(projectID string) *ListConfigsOptions {
_options.ProjectID = core.StringPtr(projectID)
return _options
} | [
-0.3433399498462677,
0.17578652501106262,
0.34302347898483276,
0.303768515586853,
-0.35668137669563293,
0.9102092981338501,
0.0462665781378746,
0.42767396569252014,
0.9495041966438293,
0.8802856206893921,
-0.4495977461338043,
-0.04960644990205765,
-0.9255037903785706,
0.8386935591697693,
... |
func (_options *ListConfigsOptions) SetVersion(version string) *ListConfigsOptions {
_options.Version = core.StringPtr(version)
return _options
} | [
-0.6531586647033691,
-0.4586523473262787,
0.42114347219467163,
0.42485493421554565,
0.09811453521251678,
0.2836422920227051,
0.3078129291534424,
0.5950915813446045,
0.85577791929245,
0.27742668986320496,
-1.9756979942321777,
-0.654488742351532,
-0.7593773007392883,
-0.03176749870181084,
... |
func (options *ListConfigsOptions) SetHeaders(param map[string]string) *ListConfigsOptions {
options.Headers = param
return options
} | [
-0.9388329982757568,
-0.1660064160823822,
0.5040465593338013,
-0.10058096796274185,
0.2284906953573227,
-0.11199317872524261,
-0.4613804817199707,
0.03760673850774765,
0.40608692169189453,
0.13422653079032898,
-0.5256628394126892,
-0.8003069758415222,
-0.40381935238838196,
0.19289471209049... |
func (*ProjectV1) NewListProjectsOptions() *ListProjectsOptions {
return &ListProjectsOptions{}
} | [
-0.4626949727535248,
-0.10091555118560791,
0.4039115905761719,
0.4533245861530304,
-0.76994788646698,
-0.09378665685653687,
-0.4898119866847992,
-0.6184733510017395,
0.5170304775238037,
0.47231781482696533,
-0.9787073135375977,
0.3429487943649292,
-0.016449199989438057,
-0.6507975459098816... |
func (_options *ListProjectsOptions) SetStart(start string) *ListProjectsOptions {
_options.Start = core.StringPtr(start)
return _options
} | [
-0.14234815537929535,
0.011299504898488522,
0.36601555347442627,
-0.24752989411354065,
0.33056673407554626,
0.9773639440536499,
0.48751839995384216,
-0.26456886529922485,
0.7488216757774353,
0.027115043252706528,
-0.9820888638496399,
0.4913344383239746,
-0.804818332195282,
-0.7542453408241... |
func (_options *ListProjectsOptions) SetLimit(limit int64) *ListProjectsOptions {
_options.Limit = core.Int64Ptr(limit)
return _options
} | [
-0.6985659599304199,
1.0336651802062988,
0.5014868378639221,
0.12196675688028336,
0.47728776931762695,
1.2354449033737183,
0.8990249037742615,
-0.04158033803105354,
0.9324514269828796,
-0.39157041907310486,
-0.5154954791069031,
0.2901972234249115,
-0.8826010823249817,
-0.7335250973701477,
... |
func (options *ListProjectsOptions) SetHeaders(param map[string]string) *ListProjectsOptions {
options.Headers = param
return options
} | [
-0.5405811667442322,
0.09572701901197433,
0.4171123504638672,
-0.40813952684402466,
0.11412469297647476,
0.7700158357620239,
-0.2250889390707016,
-0.3142639994621277,
0.4985755980014801,
-0.13348494470119476,
-0.06475271284580231,
-0.4391109049320221,
-0.6093590259552002,
-0.32184299826622... |
func (*ProjectV1) NewNotificationEvent(event string, target string) (_model *NotificationEvent, err error) {
_model = &NotificationEvent{
Event: core.StringPtr(event),
Target: core.StringPtr(target),
}
err = core.ValidateStruct(_model, "required parameters")
return
} | [
0.12270354479551315,
0.024983907118439674,
0.16995659470558167,
0.521663248538971,
-0.5595794916152954,
1.0122915506362915,
-0.057119280099868774,
0.44721129536628723,
-0.7947593927383423,
0.4591934382915497,
-0.7965837717056274,
0.5652375817298889,
-0.18679259717464447,
0.0343142859637737... |
func UnmarshalNotificationEvent(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationEvent)
err = core.UnmarshalPrimitive(m, "event", &obj.Event)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "target", &obj.Target)
if err != nil {
return
}
err = core.UnmarshalPr... | [
-0.09178268164396286,
-0.21598246693611145,
0.5885868668556213,
-0.48986950516700745,
-1.1256279945373535,
-0.3545222282409668,
0.29917675256729126,
-0.20608557760715485,
-0.34782326221466064,
0.5104581713676453,
-0.6124348640441895,
-0.3078645169734955,
-0.04307973384857178,
0.42423346638... |
func UnmarshalNotificationEventWithID(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationEventWithID)
err = core.UnmarshalPrimitive(m, "event", &obj.Event)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "target", &obj.Target)
if err != nil {
return
}
err = core... | [
0.1004992425441742,
-0.6029679179191589,
0.5393327474594116,
-0.5969577431678772,
-1.0718131065368652,
-0.3737531900405884,
-0.21793726086616516,
-0.8325007557868958,
-0.06828408688306808,
0.5792158842086792,
-0.7560001611709595,
-0.49422478675842285,
-0.2823176383972168,
0.701090574264526... |
func UnmarshalNotificationEventWithStatus(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationEventWithStatus)
err = core.UnmarshalPrimitive(m, "event", &obj.Event)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "target", &obj.Target)
if err != nil {
return
}
er... | [
-0.15354301035404205,
-0.49649304151535034,
0.5798386335372925,
-0.4589370787143707,
-0.9239161610603333,
-0.14096853137016296,
-0.16605624556541443,
0.03367457538843155,
-0.4123000502586365,
0.5894303321838379,
-0.7066938877105713,
-0.4739740490913391,
-0.056509003043174744,
0.53160130977... |
func UnmarshalNotificationsGetResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationsGetResponse)
err = core.UnmarshalModel(m, "notifications", &obj.Notifications, UnmarshalNotificationEventWithID)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.Value... | [
-0.3360367715358734,
-0.012452851980924606,
0.29580333828926086,
-0.6725265383720398,
-0.3390251100063324,
-0.9936182498931885,
0.25597742199897766,
-0.7474537491798401,
-0.07816823571920395,
0.9451496005058289,
-0.7998715043067932,
-0.8935002684593201,
-0.2650013566017151,
-0.100597888231... |
func UnmarshalNotificationsIntegrationGetResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationsIntegrationGetResponse)
err = core.UnmarshalPrimitive(m, "description", &obj.Description)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err ... | [
0.30150964856147766,
-0.4365673065185547,
0.6686648726463318,
-0.9295275807380676,
-0.06870666146278381,
-0.5838539600372314,
0.5506616234779358,
-0.8885452151298523,
-0.29535743594169617,
0.6508306264877319,
-0.40291354060173035,
-0.7427903413772583,
-0.9150335788726807,
-0.24609573185443... |
func UnmarshalNotificationsIntegrationPostResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationsIntegrationPostResponse)
err = core.UnmarshalPrimitive(m, "description", &obj.Description)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if er... | [
0.2849617004394531,
0.019080668687820435,
0.5552672147750854,
-0.9273226261138916,
-0.4650028645992279,
-0.41530853509902954,
0.4067285358905792,
-0.7772366404533386,
-0.6960570216178894,
0.6769159436225891,
-0.514454185962677,
-1.33883535861969,
-0.9891910552978516,
0.06977549940347672,
... |
func UnmarshalNotificationsIntegrationTestPostResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationsIntegrationTestPostResponse)
err = core.UnmarshalPrimitive(m, "datacontenttype", &obj.Datacontenttype)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "ibmendef... | [
0.36012333631515503,
-0.23253624141216278,
0.4612671732902527,
-1.0560134649276733,
-0.41227656602859497,
-0.3970410227775574,
0.719010055065155,
-0.5961029529571533,
-0.4875345826148987,
0.48984816670417786,
-0.5696032047271729,
-0.9336439967155457,
-1.245984673500061,
0.08248271048069,
... |
func UnmarshalNotificationsPrototypePostResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(NotificationsPrototypePostResponse)
err = core.UnmarshalModel(m, "notifications", &obj.Notifications, UnmarshalNotificationEventWithStatus)
if err != nil {
return
}
reflect.ValueOf(result).... | [
-0.18925094604492188,
-0.05365541949868202,
0.2994094789028168,
0.06813537329435349,
-0.436420738697052,
-0.24313904345035553,
0.41569286584854126,
-0.6631920337677002,
0.019777987152338028,
0.2869398891925812,
-0.7062516212463379,
-1.4756449460983276,
-0.8080469369888306,
0.07955195009708... |
func UnmarshalOutputValue(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(OutputValue)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "description", &obj.Description)
if err != nil {
return
}
err = core.UnmarshalPrimit... | [
-0.9867885112762451,
-0.13994832336902618,
0.8095251321792603,
-0.7875102162361145,
-1.4980499744415283,
-0.5502326488494873,
0.7529785633087158,
0.012530345469713211,
-0.4848596453666687,
0.25685906410217285,
0.3898105025291443,
0.14330600202083588,
0.3273546099662781,
-0.1476606875658035... |
func UnmarshalPaginationLink(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(PaginationLink)
err = core.UnmarshalPrimitive(m, "href", &obj.Href)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "start", &obj.Start)
if err != nil {
return
}
reflect.ValueOf(result).Elem().S... | [
-0.6095569133758545,
-0.18727530539035797,
0.4470364451408386,
-0.333182692527771,
-0.5709560513496399,
-0.7015830278396606,
0.5249248147010803,
0.01939287781715393,
-0.6775912046432495,
0.29160773754119873,
0.22348405420780182,
-0.07629736512899399,
0.027097471058368683,
-0.07530109584331... |
func (*ProjectV1) NewPostCrnTokenOptions(id string) *PostCrnTokenOptions {
return &PostCrnTokenOptions{
ID: core.StringPtr(id),
}
} | [
0.004412548616528511,
-0.5205059051513672,
0.01313632819801569,
0.5398944616317749,
-0.5026279091835022,
-0.5213188529014587,
-0.46806302666664124,
-1.0022780895233154,
-0.5437720417976379,
-0.03269939124584198,
-1.46381676197052,
0.5896974205970764,
-0.4022965729236603,
0.3220117390155792... |
func (_options *PostCrnTokenOptions) SetID(id string) *PostCrnTokenOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
0.47508636116981506,
-0.4593832790851593,
0.36844635009765625,
-0.047579020261764526,
0.37748971581459045,
0.515908420085907,
-0.11545833200216293,
-0.5576202273368835,
0.992568850517273,
-0.28919869661331177,
-1.461443305015564,
0.30483803153038025,
-0.8969804644584656,
0.1946693211793899... |
func (options *PostCrnTokenOptions) SetHeaders(param map[string]string) *PostCrnTokenOptions {
options.Headers = param
return options
} | [
0.13471004366874695,
-0.16133931279182434,
0.33760973811149597,
-0.1917009800672531,
0.5179324746131897,
-0.16150063276290894,
-0.47212156653404236,
-0.760856032371521,
-0.12803281843662262,
-0.1603950560092926,
-0.7727307081222534,
-0.2993695139884949,
-0.6317545771598816,
-0.020704424008... |
func (*ProjectV1) NewPostEventNotificationsIntegrationOptions(id string, instanceCrn string) *PostEventNotificationsIntegrationOptions {
return &PostEventNotificationsIntegrationOptions{
ID: core.StringPtr(id),
InstanceCrn: core.StringPtr(instanceCrn),
}
} | [
0.2626015841960907,
0.11057019978761673,
0.11870816349983215,
0.4470859467983246,
0.049151115119457245,
0.22264136373996735,
0.4542889893054962,
-0.24538059532642365,
-0.8724947571754456,
0.13021285831928253,
-0.9590640664100647,
-0.3593917191028595,
-0.8314676284790039,
-0.071777909994125... |
func (_options *PostEventNotificationsIntegrationOptions) SetID(id string) *PostEventNotificationsIntegrationOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
0.46686115860939026,
-0.17626415193080902,
0.3454287052154541,
-0.05852210894227028,
0.4528142511844635,
0.868900716304779,
0.7069206237792969,
-0.20169728994369507,
0.8752033710479736,
0.14300505816936493,
-1.4472404718399048,
-0.45906883478164673,
-0.7438696622848511,
0.05555036291480064... |
func (_options *PostEventNotificationsIntegrationOptions) SetInstanceCrn(instanceCrn string) *PostEventNotificationsIntegrationOptions {
_options.InstanceCrn = core.StringPtr(instanceCrn)
return _options
} | [
0.04700125753879547,
-0.2838751971721649,
0.42739951610565186,
-0.2251417189836502,
0.3044358491897583,
0.14757804572582245,
0.8662583827972412,
0.28703680634498596,
0.13699905574321747,
-0.11577105522155762,
-1.3249861001968384,
0.3178093433380127,
-0.9185168743133545,
-0.2106113582849502... |
func (_options *PostEventNotificationsIntegrationOptions) SetDescription(description string) *PostEventNotificationsIntegrationOptions {
_options.Description = core.StringPtr(description)
return _options
} | [
0.6771398782730103,
0.05870787426829338,
0.2754257321357727,
0.18876253068447113,
0.6086790561676025,
0.4805862009525299,
0.8896572589874268,
-0.5676209330558777,
0.5595916509628296,
0.4151199460029602,
-0.9011184573173523,
-0.17169417440891266,
-0.4908100664615631,
0.3468581736087799,
-... |
func (_options *PostEventNotificationsIntegrationOptions) SetEventNotificationsSourceName(eventNotificationsSourceName string) *PostEventNotificationsIntegrationOptions {
_options.EventNotificationsSourceName = core.StringPtr(eventNotificationsSourceName)
return _options
} | [
-0.14523793756961823,
-0.2642762064933777,
0.3778519332408905,
-0.06059172376990318,
-0.22481973469257355,
-0.5919347405433655,
0.8479172587394714,
-0.13537278771400452,
0.9259863495826721,
1.034258484840393,
-1.1317237615585327,
-0.5418702960014343,
0.6614822745323181,
-0.5891311764717102... |
func (_options *PostEventNotificationsIntegrationOptions) SetEnabled(enabled bool) *PostEventNotificationsIntegrationOptions {
_options.Enabled = core.BoolPtr(enabled)
return _options
} | [
0.24878141283988953,
0.5160191655158997,
0.4328477382659912,
0.9859073758125305,
0.443964421749115,
0.8336411118507385,
1.1464695930480957,
0.28892621397972107,
-0.16048718988895416,
0.2249804437160492,
-1.6189510822296143,
-0.39536213874816895,
-1.021240472793579,
0.09428666532039642,
-... |
func (options *PostEventNotificationsIntegrationOptions) SetHeaders(param map[string]string) *PostEventNotificationsIntegrationOptions {
options.Headers = param
return options
} | [
0.09315267205238342,
0.18630103766918182,
0.2824699580669403,
-0.1581399142742157,
0.7120863199234009,
0.3022058606147766,
0.5119215846061707,
-0.6602110862731934,
-0.18372102081775665,
0.13727916777133942,
-0.8025951981544495,
-1.0116279125213623,
-0.4934334456920624,
-0.1154773086309433,... |
func (*ProjectV1) NewPostNotificationOptions(id string) *PostNotificationOptions {
return &PostNotificationOptions{
ID: core.StringPtr(id),
}
} | [
-0.05949917063117027,
0.39847126603126526,
-0.13017694652080536,
0.8782927393913269,
-0.8412684798240662,
0.1594201773405075,
0.036380525678396225,
-0.5221583247184753,
-0.4711342751979828,
0.1395328789949417,
-1.3437739610671997,
-0.34814125299453735,
-0.4835555851459503,
0.44723060727119... |
func (_options *PostNotificationOptions) SetID(id string) *PostNotificationOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
0.174953430891037,
0.003025147132575512,
0.41288962960243225,
0.0015771077014505863,
0.22333097457885742,
0.9717176556587219,
0.359711617231369,
-0.27622342109680176,
0.9793058037757874,
-0.24074983596801758,
-1.5016027688980103,
-0.09147088974714279,
-0.9251070022583008,
0.415497690439224... |
func (_options *PostNotificationOptions) SetNotifications(notifications []NotificationEvent) *PostNotificationOptions {
_options.Notifications = notifications
return _options
} | [
-0.24070948362350464,
0.3183489739894867,
0.41023263335227966,
1.0659141540527344,
0.40072572231292725,
0.16892266273498535,
0.844178318977356,
-0.9343706965446472,
0.6524699330329895,
-0.47504183650016785,
-1.5170358419418335,
-0.485820472240448,
-0.38538622856140137,
0.4973392188549042,
... |
func (options *PostNotificationOptions) SetHeaders(param map[string]string) *PostNotificationOptions {
options.Headers = param
return options
} | [
-0.2469242662191391,
0.2517259418964386,
0.24306531250476837,
-0.0968904122710228,
0.29615870118141174,
0.3774711787700653,
-0.046906013041734695,
-0.6033055186271667,
-0.16254206001758575,
-0.2828650176525116,
-0.8442956209182739,
-0.7068959474563599,
-0.5463272929191589,
0.19648799300193... |
func (*ProjectV1) NewPostTestEventNotificationOptions(id string) *PostTestEventNotificationOptions {
return &PostTestEventNotificationOptions{
ID: core.StringPtr(id),
}
} | [
0.47094225883483887,
-0.4950895309448242,
-0.039970554411411285,
0.5130184888839722,
-0.45529481768608093,
0.29077064990997314,
0.5795548558235168,
-0.551056981086731,
-0.2959912419319153,
0.010564830154180527,
-1.268928050994873,
-0.650225818157196,
-0.36895689368247986,
0.304314017295837... |
func (_options *PostTestEventNotificationOptions) SetID(id string) *PostTestEventNotificationOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
0.6356780529022217,
-0.4085972309112549,
0.40065884590148926,
-0.1541883945465088,
0.23960840702056885,
0.8864895701408386,
0.8418172597885132,
-0.18451687693595886,
1.3663597106933594,
-0.2805784344673157,
-1.448171615600586,
-0.2971510589122772,
-0.9885088205337524,
0.18054531514644623,
... |
func (_options *PostTestEventNotificationOptions) SetIbmendefaultlong(ibmendefaultlong string) *PostTestEventNotificationOptions {
_options.Ibmendefaultlong = core.StringPtr(ibmendefaultlong)
return _options
} | [
-0.12918005883693695,
0.30066752433776855,
0.5043523907661438,
0.4143823981285095,
0.43963780999183655,
0.5170406103134155,
0.021210117265582085,
0.38508206605911255,
0.18963314592838287,
0.32756295800209045,
-1.5622531175613403,
-0.006956577301025391,
-1.018966555595398,
0.101449586451053... |
func (_options *PostTestEventNotificationOptions) SetIbmendefaultshort(ibmendefaultshort string) *PostTestEventNotificationOptions {
_options.Ibmendefaultshort = core.StringPtr(ibmendefaultshort)
return _options
} | [
-0.09864858537912369,
-0.017233753576874733,
0.44085684418678284,
0.3251384198665619,
0.48349741101264954,
0.7707719206809998,
0.12925447523593903,
-0.24713240563869476,
-0.07116705179214478,
-0.11781050264835358,
-1.332577109336853,
0.3648873567581177,
-1.3977258205413818,
0.2296618968248... |
func (options *PostTestEventNotificationOptions) SetHeaders(param map[string]string) *PostTestEventNotificationOptions {
options.Headers = param
return options
} | [
0.2535335421562195,
-0.2148476094007492,
0.29537683725357056,
-0.16612796485424042,
0.3905635476112366,
0.30922022461891174,
0.4172520041465759,
-0.48714008927345276,
0.33931034803390503,
-0.3681122660636902,
-0.7675113081932068,
-0.9321275949478149,
-0.5682265162467957,
0.0665269941091537... |
func UnmarshalProject(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(Project)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "description", &obj.Description)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "... | [
-0.2034672200679779,
0.3246927261352539,
0.6916374564170837,
-0.425081342458725,
-0.8224245309829712,
0.03453534096479416,
0.17200380563735962,
-0.012074180878698826,
-0.7458105087280273,
0.434287428855896,
-0.12128821760416031,
-0.7869533896446228,
-0.916912853717804,
0.09422102570533752,... |
func UnmarshalProjectCRNTokenResponse(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectCRNTokenResponse)
err = core.UnmarshalPrimitive(m, "acces_token", &obj.AccesToken)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "expiration", &obj.Expiration)
if err != nil {
re... | [
0.048799362033605576,
-0.37038618326187134,
0.2510870397090912,
-0.6489718556404114,
-0.006111235823482275,
-0.5194841623306274,
-0.08912751823663712,
-0.40389227867126465,
-0.5754396915435791,
0.572198748588562,
-0.5243056416511536,
0.024857329204678535,
-0.10760834068059921,
-0.260504305... |
func UnmarshalProjectCollection(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectCollection)
err = core.UnmarshalPrimitive(m, "limit", &obj.Limit)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "total_count", &obj.TotalCount)
if err != nil {
return
}
err = core.Un... | [
-0.5729141235351562,
0.03336799144744873,
0.7576367259025574,
-1.089467167854309,
-0.9611036777496338,
0.08349214494228363,
0.7926025390625,
-0.14459942281246185,
-0.552471935749054,
-0.013751800172030926,
-0.10302528738975525,
-0.47765809297561646,
-0.8681129813194275,
0.15147614479064941... |
func (resp *ProjectCollection) GetNextStart() (*string, error) {
if core.IsNil(resp.Next) {
return nil, nil
}
return resp.Next.Start, nil
} | [
0.10158418864011765,
0.5692139863967896,
0.2572023272514343,
0.006690505426377058,
-0.3454805910587311,
0.3497403562068939,
-0.11528249830007553,
-0.32807284593582153,
0.5274098515510559,
-0.6309595704078674,
-0.46200230717658997,
-0.08517564833164215,
-0.9829702377319336,
-0.0329132229089... |
func UnmarshalProjectCollectionMemberWithMetadata(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectCollectionMemberWithMetadata)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
... | [
0.26117345690727234,
-0.2684310972690582,
0.49991631507873535,
-0.8379564881324768,
-0.5029521584510803,
0.10990166664123535,
-0.44672903418540955,
-0.5258975028991699,
-1.1190786361694336,
0.1992696225643158,
-0.6530539393424988,
-0.45808279514312744,
-0.61714768409729,
-0.190447747707366... |
func UnmarshalProjectConfig(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfig)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "labels... | [
-0.5153831243515015,
0.13882529735565186,
0.8183778524398804,
-0.8964987993240356,
-1.351877212524414,
-0.167495459318161,
0.45419391989707947,
0.025499820709228516,
-0.9275920391082764,
0.9277141690254211,
-0.5202186703681946,
-0.9781996607780457,
-0.6912295818328857,
0.43505311012268066,... |
func UnmarshalProjectConfigCollection(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigCollection)
err = core.UnmarshalModel(m, "configs", &obj.Configs, UnmarshalProjectConfig)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
return
} | [
-0.9409770965576172,
0.45802515745162964,
0.40615591406822205,
-0.21178492903709412,
-0.8869869112968445,
-0.3180236220359802,
0.8156064748764038,
0.0036531463265419006,
-1.0994786024093628,
0.754950225353241,
-0.5864611864089966,
-0.6795583963394165,
-0.4003444015979767,
0.522362470626831... |
func UnmarshalProjectConfigDelete(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDelete)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
reflect.ValueOf(result).Elem... | [
-0.4536011219024658,
0.3174172341823578,
0.4119683504104614,
-0.7504421472549438,
-0.8288106918334961,
-0.09112992882728577,
-0.2595139443874359,
0.2982327342033386,
-0.7992006540298462,
1.3815439939498901,
-0.6756744384765625,
-0.873924195766449,
-0.8014106750488281,
-0.07008364051580429,... |
func UnmarshalProjectConfigDiff(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDiff)
err = core.UnmarshalModel(m, "added", &obj.Added, UnmarshalProjectConfigDiffAdded)
if err != nil {
return
}
err = core.UnmarshalModel(m, "changed", &obj.Changed, UnmarshalProjectConfigDif... | [
-0.8342989683151245,
0.07522905617952347,
0.5163552165031433,
-0.6315897703170776,
-0.6357902884483337,
0.40351006388664246,
0.6320495009422302,
-0.3178013861179352,
-0.5216280817985535,
0.3718518018722534,
-0.8346207141876221,
-0.6545324921607971,
-0.23639027774333954,
0.6402636766433716,... |
func UnmarshalProjectConfigDiffAdded(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDiffAdded)
err = core.UnmarshalModel(m, "input", &obj.Input, UnmarshalProjectConfigDiffInputVariable)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
ret... | [
-0.3198052942752838,
0.03699362650513649,
0.46462154388427734,
-0.4471172094345093,
-0.18944421410560608,
0.9007968902587891,
0.5781459808349609,
-0.42831119894981384,
-0.7203999161720276,
-0.09170012921094894,
-0.4581468105316162,
-0.35385647416114807,
-0.47077327966690063,
0.970147907733... |
func UnmarshalProjectConfigDiffChanged(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDiffChanged)
err = core.UnmarshalModel(m, "input", &obj.Input, UnmarshalProjectConfigDiffInputVariable)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
... | [
-0.7249578833580017,
-0.02317614108324051,
0.3195228576660156,
-0.423714816570282,
-0.4199964702129364,
0.37518808245658875,
0.8773305416107178,
-0.33421778678894043,
-0.9485707879066467,
0.2796272337436676,
-0.6363933086395264,
-0.3078063726425171,
-0.19706758856773376,
0.4361645579338074... |
func UnmarshalProjectConfigDiffInputVariable(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDiffInputVariable)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "type", &obj.Type)
if err != nil {
return
}
er... | [
-0.8953923583030701,
-0.015972839668393135,
0.554566502571106,
-0.9788011908531189,
-0.893832802772522,
0.27649441361427307,
1.2472631931304932,
-0.09776652604341507,
-1.3031314611434937,
0.4831945598125458,
-0.5418383479118347,
-0.35646992921829224,
-1.0845533609390259,
0.2586537897586822... |
func UnmarshalProjectConfigDiffRemoved(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigDiffRemoved)
err = core.UnmarshalModel(m, "input", &obj.Input, UnmarshalProjectConfigDiffInputVariable)
if err != nil {
return
}
reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj))
... | [
-0.4175109267234802,
0.10321018099784851,
0.34962525963783264,
-0.49309563636779785,
-0.5451396703720093,
0.6606166958808899,
0.7367748618125916,
-0.028761571273207664,
-0.7708110213279724,
0.07974879443645477,
-0.8866216540336609,
-0.5389981269836426,
-0.6413475275039673,
0.46075248718261... |
func (*ProjectV1) NewProjectConfigInputVariable(name string) (_model *ProjectConfigInputVariable, err error) {
_model = &ProjectConfigInputVariable{
Name: core.StringPtr(name),
}
err = core.ValidateStruct(_model, "required parameters")
return
} | [
-1.5619266033172607,
-0.22707010805606842,
0.22930145263671875,
0.2079426348209381,
-1.3360329866409302,
1.151180386543274,
0.7342078685760498,
0.2801179885864258,
-1.0728158950805664,
0.8653290271759033,
-1.5445961952209473,
-0.18198610842227936,
-1.1642664670944214,
-0.34266358613967896,... |
func UnmarshalProjectConfigInputVariable(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigInputVariable)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
reflect.... | [
-1.0744783878326416,
0.11560949683189392,
0.4619409441947937,
-1.0864607095718384,
-1.1362873315811157,
0.10807840526103973,
0.8326753377914429,
0.057442937046289444,
-1.1586990356445312,
0.5437367558479309,
-0.6951658129692078,
-0.4546065330505371,
-1.1928114891052246,
-0.1626744419336319... |
func UnmarshalProjectConfigPatchRequest(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigPatchRequest)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "labels", &obj.Labels)
if err != nil {
return
}
err = co... | [
-0.6550378799438477,
0.5008367896080017,
0.8649951219558716,
-1.086693286895752,
-0.8196909427642822,
-0.2721474766731262,
0.6052501797676086,
-0.29446548223495483,
-1.303151249885559,
0.9047749638557434,
-0.04097890853881836,
-0.7457931041717529,
-0.4680121839046478,
0.21621546149253845,
... |
func (*ProjectV1) NewProjectConfigPrototype(name string, locatorID string) (_model *ProjectConfigPrototype, err error) {
_model = &ProjectConfigPrototype{
Name: core.StringPtr(name),
LocatorID: core.StringPtr(locatorID),
}
err = core.ValidateStruct(_model, "required parameters")
return
} | [
-0.9923547506332397,
-0.0683264285326004,
0.3287208080291748,
0.211504727602005,
-0.9050341248512268,
0.563712477684021,
-0.23139353096485138,
-0.0023534162901341915,
-0.5048621892929077,
1.587563395500183,
-0.8292352557182312,
-0.5322025418281555,
-0.8157578706741333,
-0.1201944649219513,... |
func UnmarshalProjectConfigPrototype(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigPrototype)
err = core.UnmarshalPrimitive(m, "id", &obj.ID)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPr... | [
-0.807611882686615,
0.4552609324455261,
0.7774026989936829,
-0.7195444107055664,
-0.6832212805747986,
-0.16737663745880127,
0.14564086496829987,
-0.5709187388420105,
-0.7039968967437744,
1.1503758430480957,
-0.559658408164978,
-0.9899000525474548,
-0.8081194758415222,
0.19380171597003937,
... |
func (*ProjectV1) NewProjectConfigSettingCollection(name string, value string) (_model *ProjectConfigSettingCollection, err error) {
_model = &ProjectConfigSettingCollection{
Name: core.StringPtr(name),
Value: core.StringPtr(value),
}
err = core.ValidateStruct(_model, "required parameters")
return
} | [
-1.8861169815063477,
0.36977532505989075,
0.21105407178401947,
0.5941727161407471,
-0.9885938763618469,
0.5844191312789917,
0.027368586510419846,
-0.15639276802539825,
-1.0214513540267944,
1.0185683965682983,
-1.3078242540359497,
-0.39796146750450134,
-0.603580892086029,
0.3916074633598327... |
func UnmarshalProjectConfigSettingCollection(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigSettingCollection)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "value", &obj.Value)
if err != nil {
return
}
... | [
-1.5379793643951416,
0.38279321789741516,
0.46101123094558716,
-0.3566758930683136,
-0.8040526509284973,
-0.5506119132041931,
0.3519657552242279,
-0.2959441542625427,
-1.1612708568572998,
0.8496749997138977,
-0.6141079664230347,
-0.6476013660430908,
-0.677660346031189,
0.2682131826877594,
... |
func UnmarshalProjectMetadata(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectMetadata)
err = core.UnmarshalPrimitive(m, "crn", &obj.Crn)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "created_at", &obj.CreatedAt)
if err != nil {
return
}
err = core.UnmarshalMod... | [
0.08768001198768616,
-0.032092347741127014,
0.6349038481712341,
-0.8796727657318115,
-0.5442612171173096,
0.06590147316455841,
0.481500506401062,
-0.12081259489059448,
-0.4397273361682892,
0.476563423871994,
-0.10533217340707779,
-0.20737914741039276,
-0.47249746322631836,
0.07166776806116... |
func (*ProjectV1) NewUninstallConfigOptions(projectID string, id string) *UninstallConfigOptions {
return &UninstallConfigOptions{
ProjectID: core.StringPtr(projectID),
ID: core.StringPtr(id),
}
} | [
-0.02012566849589348,
0.2007448673248291,
0.13449378311634064,
-0.013889073394238949,
-0.27588292956352234,
-0.16055916249752045,
0.1350317746400833,
1.2070262432098389,
-1.3138571977615356,
1.119224190711975,
0.015291690826416016,
0.16276374459266663,
-1.2330564260482788,
-0.1247253045439... |
func (_options *UninstallConfigOptions) SetProjectID(projectID string) *UninstallConfigOptions {
_options.ProjectID = core.StringPtr(projectID)
return _options
} | [
0.044296715408563614,
0.023852208629250526,
0.2548154592514038,
0.10344011336565018,
-0.32935065031051636,
0.8079921007156372,
0.6183037757873535,
0.900652289390564,
0.41407784819602966,
1.4450255632400513,
0.0825624093413353,
-0.10392381250858307,
-1.2741217613220215,
0.6635586619377136,
... |
func (_options *UninstallConfigOptions) SetID(id string) *UninstallConfigOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
-0.1558130830526352,
-0.49846744537353516,
0.27317187190055847,
-0.21666258573532104,
0.09889592975378036,
0.49211156368255615,
0.5716286897659302,
0.8546949625015259,
0.960352897644043,
0.6146802306175232,
-0.9165500402450562,
-0.2606775164604187,
-1.2129533290863037,
-0.1018340215086937,... |
func (options *UninstallConfigOptions) SetHeaders(param map[string]string) *UninstallConfigOptions {
options.Headers = param
return options
} | [
-0.17295610904693604,
-0.1713205873966217,
0.33902400732040405,
-0.33527201414108276,
0.26263874769210815,
-0.04900094121694565,
0.2698119282722473,
0.48114728927612305,
-0.2292560338973999,
0.5707874298095703,
-0.035148415714502335,
-1.0215177536010742,
-1.050184965133667,
-0.275423258543... |
func (*ProjectV1) NewUpdateConfigOptions(projectID string, id string, projectConfig ProjectConfigPatchRequestIntf) *UpdateConfigOptions {
return &UpdateConfigOptions{
ProjectID: core.StringPtr(projectID),
ID: core.StringPtr(id),
ProjectConfig: projectConfig,
}
} | [
-1.245190143585205,
-0.2338433712720871,
0.2642928957939148,
0.5910233855247498,
-0.8195751309394836,
0.4622499346733093,
0.06832458823919296,
0.03732120245695114,
-0.5753609538078308,
1.4774730205535889,
-0.3593326210975647,
0.486721932888031,
-0.647985577583313,
-0.14031770825386047,
-... |
func (_options *UpdateConfigOptions) SetProjectID(projectID string) *UpdateConfigOptions {
_options.ProjectID = core.StringPtr(projectID)
return _options
} | [
-0.3826974332332611,
-0.0898565948009491,
0.3642810881137848,
-0.010231641121208668,
-0.47215527296066284,
1.2672559022903442,
0.26492875814437866,
0.3362075686454773,
0.9337941408157349,
1.3750864267349243,
0.021763311699032784,
0.36584487557411194,
-1.1334720849990845,
0.6081154942512512... |
func (_options *UpdateConfigOptions) SetID(id string) *UpdateConfigOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
-0.7463515400886536,
-0.681484043598175,
0.4550153613090515,
-0.2938794791698456,
0.043003931641578674,
0.8959404826164246,
0.19337333738803864,
0.3175015449523926,
1.4049639701843262,
0.4465787708759308,
-0.9317262172698975,
0.27803388237953186,
-1.1940199136734009,
0.011539069004356861,
... |
func (_options *UpdateConfigOptions) SetProjectConfig(projectConfig ProjectConfigPatchRequestIntf) *UpdateConfigOptions {
_options.ProjectConfig = projectConfig
return _options
} | [
-0.40709370374679565,
0.3704196512699127,
0.40989717841148376,
0.33871370553970337,
-0.6525053381919861,
0.24020791053771973,
0.7339609265327454,
0.7222058773040771,
0.2560957670211792,
1.0968526601791382,
-1.195298671722412,
0.20010414719581604,
-0.449924498796463,
0.15849779546260834,
... |
func (options *UpdateConfigOptions) SetHeaders(param map[string]string) *UpdateConfigOptions {
options.Headers = param
return options
} | [
-0.9758738875389099,
-0.4132148325443268,
0.5781278014183044,
-0.3961712121963501,
0.018342047929763794,
0.3929629623889923,
-0.09054083377122879,
0.04751001298427582,
0.2735767960548401,
0.4520295560359955,
-0.06440743058919907,
-0.6111283898353577,
-0.7325538396835327,
-0.144114702939987... |
func (*ProjectV1) NewUpdateProjectOptions(id string) *UpdateProjectOptions {
return &UpdateProjectOptions{
ID: core.StringPtr(id),
}
} | [
-0.8334201574325562,
-0.6228896975517273,
0.1945180594921112,
0.6289374232292175,
-0.9074050784111023,
0.46290352940559387,
-0.2580758333206177,
-0.6475905179977417,
0.15476949512958527,
1.1171399354934692,
-0.36309877038002014,
0.33521997928619385,
-0.8759706616401672,
-0.2588624358177185... |
func (_options *UpdateProjectOptions) SetID(id string) *UpdateProjectOptions {
_options.ID = core.StringPtr(id)
return _options
} | [
-0.527435839176178,
-0.21095490455627441,
0.363559752702713,
-0.17315511405467987,
0.1816607266664505,
1.4275776147842407,
0.13165129721164703,
0.023068754002451897,
1.3870679140090942,
0.2853735089302063,
-0.5813237428665161,
0.21017129719257355,
-1.4376999139785767,
-0.23588144779205322,... |
func (_options *UpdateProjectOptions) SetName(name string) *UpdateProjectOptions {
_options.Name = core.StringPtr(name)
return _options
} | [
-1.0065869092941284,
0.04222666099667549,
0.5189186334609985,
-0.2910270690917969,
-0.4023124575614929,
0.5667261481285095,
0.18279339373111725,
-0.26781412959098816,
0.517432451248169,
0.9769373536109924,
-0.9011316895484924,
-0.42948997020721436,
-0.9725436568260193,
-0.45208823680877686... |
func (_options *UpdateProjectOptions) SetDescription(description string) *UpdateProjectOptions {
_options.Description = core.StringPtr(description)
return _options
} | [
-0.5331830382347107,
-0.0494593009352684,
0.4218079149723053,
-0.04433326795697212,
0.3861105740070343,
1.0354204177856445,
0.36046645045280457,
-0.05092493072152138,
0.7839556932449341,
0.5472718477249146,
-0.0041717481799423695,
0.5070447325706482,
-0.8604129552841187,
0.1614787727594375... |
func (options *UpdateProjectOptions) SetHeaders(param map[string]string) *UpdateProjectOptions {
options.Headers = param
return options
} | [
-0.7344069480895996,
0.013827323913574219,
0.46640855073928833,
-0.35445019602775574,
0.1411467045545578,
0.9060203433036804,
-0.17112544178962708,
-0.3457967936992645,
0.2502266466617584,
0.3721890151500702,
0.26816457509994507,
-0.5847975015640259,
-0.9110421538352966,
-0.363847196102142... |
func (*ProjectV1) NewProjectConfigPatchRequestProjectConfigManualProperty(typeVar string) (_model *ProjectConfigPatchRequestProjectConfigManualProperty, err error) {
_model = &ProjectConfigPatchRequestProjectConfigManualProperty{
Type: core.StringPtr(typeVar),
}
err = core.ValidateStruct(_model, "required paramete... | [
-1.1906522512435913,
-0.08929240703582764,
0.5702266097068787,
0.9184643030166626,
-1.0056068897247314,
1.6891244649887085,
0.3297017812728882,
0.4489957392215729,
-1.1469500064849854,
0.4465858042240143,
0.5913117527961731,
-0.003541054902598262,
-0.5638079047203064,
-0.11699795722961426,... |
func UnmarshalProjectConfigPatchRequestProjectConfigManualProperty(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigPatchRequestProjectConfigManualProperty)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPrimitive(m, "labels... | [
-0.6673318147659302,
0.012186498381197453,
0.8720864653587341,
-0.0967903658747673,
-0.900214672088623,
0.7472673058509827,
0.418745756149292,
0.3460800349712372,
-1.4318983554840088,
0.5291329026222229,
0.8907291293144226,
0.04632808640599251,
-0.7049468755722046,
-0.2161632925271988,
0... |
func UnmarshalProjectConfigPatchRequestProjectConfigPatchSchematicsTemplate(m map[string]json.RawMessage, result interface{}) (err error) {
obj := new(ProjectConfigPatchRequestProjectConfigPatchSchematicsTemplate)
err = core.UnmarshalPrimitive(m, "name", &obj.Name)
if err != nil {
return
}
err = core.UnmarshalPr... | [
-0.46326369047164917,
0.310034841299057,
0.6755743026733398,
-0.8742734789848328,
-0.5953287482261658,
0.025489483028650284,
0.19218480587005615,
-0.44119176268577576,
-1.454781413078308,
0.786595344543457,
-0.33363664150238037,
-0.7658255100250244,
-0.5721622705459595,
-0.4093215763568878... |
func (project *ProjectV1) NewProjectsPager(options *ListProjectsOptions) (pager *ProjectsPager, err error) {
if options.Start != nil && *options.Start != "" {
err = fmt.Errorf("the 'options.Start' field should not be set")
return
}
var optionsCopy ListProjectsOptions = *options
pager = &ProjectsPager{
hasNex... | [
-0.60508131980896,
0.5905371904373169,
0.6280510425567627,
-0.24596171081066132,
-0.6133713126182556,
0.18231044709682465,
-0.406495064496994,
-0.23249588906764984,
0.21808317303657532,
0.6354057788848877,
-0.08814659714698792,
-0.4318997263908386,
-1.175336241722107,
1.441792607307434,
... |
func (pager *ProjectsPager) HasNext() bool {
return pager.hasNext
} | [
0.749866783618927,
0.8099578022956848,
0.3320908546447754,
-0.4259321689605713,
0.2240218222141266,
1.042968511581421,
-0.42935803532600403,
-0.16533562541007996,
-0.04301141947507858,
-0.16810059547424316,
0.3779780864715576,
-1.0423626899719238,
-0.14730101823806763,
0.3089979290962219,
... |
func (pager *ProjectsPager) GetNextWithContext(ctx context.Context) (page []ProjectCollectionMemberWithMetadata, err error) {
if !pager.HasNext() {
return nil, fmt.Errorf("no more results available")
}
pager.options.Start = pager.pageContext.next
result, _, err := pager.client.ListProjectsWithContext(ctx, pager... | [
-0.1294061243534088,
0.18859760463237762,
0.7135927081108093,
0.2334589809179306,
-0.30461451411247253,
0.405635267496109,
-0.6759456396102905,
-1.3042737245559692,
0.557934045791626,
0.3344939351081848,
-0.26203814148902893,
-0.003913166932761669,
-0.6917664408683777,
0.34509819746017456,... |
func (pager *ProjectsPager) GetAllWithContext(ctx context.Context) (allItems []ProjectCollectionMemberWithMetadata, err error) {
for pager.HasNext() {
var nextPage []ProjectCollectionMemberWithMetadata
nextPage, err = pager.GetNextWithContext(ctx)
if err != nil {
return
}
allItems = append(allItems, nextP... | [
0.5467245578765869,
-0.18316355347633362,
0.7124260067939758,
0.8825951814651489,
-0.04602571204304695,
1.0622971057891846,
-1.3590848445892334,
-0.9183905720710754,
0.33814841508865356,
-0.1934528648853302,
-0.0021984700579196215,
0.16509480774402618,
-0.19059614837169647,
0.4181700646877... |
func (pager *ProjectsPager) GetNext() (page []ProjectCollectionMemberWithMetadata, err error) {
return pager.GetNextWithContext(context.Background())
} | [
-0.2609090507030487,
0.3247567117214203,
0.4631214439868927,
1.2415437698364258,
0.2649543881416321,
0.8747510313987732,
-0.7567663192749023,
-0.9706246852874756,
0.22742408514022827,
0.034821055829524994,
0.521743655204773,
0.5532070398330688,
-0.5808411836624146,
0.5018509030342102,
0.... |
func (pager *ProjectsPager) GetAll() (allItems []ProjectCollectionMemberWithMetadata, err error) {
return pager.GetAllWithContext(context.Background())
} | [
0.6417317390441895,
0.021081484854221344,
0.35498905181884766,
1.3079360723495483,
0.34088364243507385,
1.4252684116363525,
-0.9114928841590881,
-0.3572796583175659,
0.012088113464415073,
-0.2570447325706482,
0.4608185589313507,
0.7380573153495789,
-0.4564918875694275,
0.27000340819358826,... |
func (dbservice *UserDbservice) SaveUser(user model.User) (model.User, *myerror.DBError) {
pass, err := bcrypt.GenerateFromPassword([]byte(user.Password), bcrypt.DefaultCost)
if err != nil {
return user, &myerror.DBError{Code:500, Clause: "Cannot Hash", Message: err.Error()}
} else {
user.Password = string(pass)... | [
-0.6986115574836731,
0.09154509007930756,
0.9382315874099731,
0.8310194611549377,
0.03438322991132736,
0.14159899950027466,
0.71915203332901,
0.21898849308490753,
0.71022629737854,
0.4092194437980652,
-1.0290371179580688,
-0.7034693956375122,
-0.6682868599891663,
0.25495588779449463,
-0.... |
func (dbservice *UserDbservice) FindUserByPrefix(userNamePrefix string) ([]model.User, *myerror.DBError) {
users := &( []model.User{} )
err := dbservice.DbConnection.Where("username LIKE ?", fmt.Sprintf("%%%s%%", userNamePrefix)).Find(&users).Error
if err != nil {
log.Println(err.Error())
dbError := myerror.DBEr... | [
-0.8302850723266602,
-0.20067983865737915,
0.5508759617805481,
0.14114294946193695,
-0.025355976074934006,
-0.16416877508163452,
-0.3843762278556824,
-0.12777529656887054,
-0.10384636372327805,
0.7758628726005554,
-0.46015214920043945,
0.01663244143128395,
-0.9481815099716187,
1.1451861858... |
func (dbservice *UserDbservice) CheckUserByUsername(username string) (bool, error) {
user := &( model.User{})
result := dbservice.DbConnection.Where("username = ?", username).First(&user)
if errors.Is(result.Error, gorm.ErrRecordNotFound) {
return false, nil
}
return true, result.Error
} | [
-0.30332356691360474,
0.03964830935001373,
0.4606403708457947,
0.5601822137832642,
0.11136294156312943,
0.22841420769691467,
0.5524831414222717,
0.05655471235513687,
-0.7889043688774109,
0.9842644929885864,
-0.6040074229240417,
-0.9155203700065613,
-0.8007099032402039,
0.7738971710205078,
... |
func (dbservice *UserDbservice) CheckUserByEmail(email string) (bool, error) {
user := &( model.User{})
result := dbservice.DbConnection.Where("email = ?", email).First(&user)
if errors.Is(result.Error, gorm.ErrRecordNotFound) {
return false, nil
}
return true, result.Error
} | [
-0.04967538267374039,
0.2880561947822571,
0.6741219758987427,
0.3274993896484375,
0.5364028811454773,
0.29747846722602844,
0.3361649513244629,
0.05590406432747841,
-0.7443792223930359,
1.180302619934082,
-0.5231665372848511,
-0.444937139749527,
-0.2844308316707611,
0.327576220035553,
-0.... |
func NewMockPVWithParams(privKey crypto.PrivKey, breakProposalSigning, breakVoteSigning bool) MockPV {
return MockPV{privKey, breakProposalSigning, breakVoteSigning}
} | [
-1.0499070882797241,
-0.0671335831284523,
0.29412269592285156,
0.7422300577163696,
-0.4358823299407959,
0.46160194277763367,
-0.4687255322933197,
0.39658549427986145,
0.05024980008602142,
0.7456808090209961,
-0.2754265069961548,
-0.07357870042324066,
-0.8123988509178162,
0.5389571189880371... |
func (pv MockPV) String() string {
mpv, _ := pv.GetPubKey() // mockPV will never return an error, ignored here
return fmt.Sprintf("MockPV{%v}", mpv.Address())
} | [
-0.8767625093460083,
-1.0043710470199585,
0.10284826904535294,
-0.5217655301094055,
-0.3225666582584381,
0.7934384942054749,
0.1514613926410675,
-0.026817236095666885,
0.24896298348903656,
0.5218350291252136,
0.30389973521232605,
0.5970948338508606,
-0.6930018663406372,
0.18676742911338806... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.