text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (inst *InitAuctionManagerV2) GetPayerAccount() *ag_solanago.AccountMeta {
return inst.AccountMetaSlice[5]
} | [
-0.20951879024505615,
-0.5497846007347107,
0.3388306498527527,
0.8007144331932068,
-0.15142683684825897,
-0.42391544580459595,
1.3902279138565063,
0.3949780762195587,
-0.07050521671772003,
-0.807094395160675,
-0.19431135058403015,
0.942693829536438,
-0.2609062194824219,
0.5686609148979187,... |
func (inst *InitAuctionManagerV2) SetAcceptPaymentAccount(acceptPayment ag_solanago.PublicKey) *InitAuctionManagerV2 {
inst.AccountMetaSlice[6] = ag_solanago.Meta(acceptPayment)
return inst
} | [
-0.10919684916734695,
-0.02309521660208702,
0.2241235077381134,
-0.4375677704811096,
-1.0377546548843384,
0.2626865804195404,
1.095778465270996,
0.36904820799827576,
0.467119961977005,
-0.15419137477874756,
-0.02781890518963337,
0.9701263308525085,
0.6248438358306885,
0.2382659912109375,
... |
func (inst *InitAuctionManagerV2) GetAcceptPaymentAccount() *ag_solanago.AccountMeta {
return inst.AccountMetaSlice[6]
} | [
0.3232639729976654,
0.03612682968378067,
0.43981871008872986,
-0.39896953105926514,
-1.254966139793396,
-0.0596822127699852,
1.0446226596832275,
-0.004388716537505388,
0.24415944516658783,
-0.34503173828125,
0.5818994641304016,
1.2681653499603271,
0.3140745162963867,
-0.03479643538594246,
... |
func (inst *InitAuctionManagerV2) SetStoreAccount(store ag_solanago.PublicKey) *InitAuctionManagerV2 {
inst.AccountMetaSlice[7] = ag_solanago.Meta(store)
return inst
} | [
-0.3401239812374115,
-0.29727908968925476,
0.2258753627538681,
0.6216250658035278,
-0.3977046310901642,
0.25138887763023376,
1.5031304359436035,
0.5346006155014038,
1.2453612089157104,
-0.6101653575897217,
-0.2681393027305603,
0.9269686937332153,
0.7956546545028687,
0.5576854944229126,
0... |
func (inst *InitAuctionManagerV2) GetStoreAccount() *ag_solanago.AccountMeta {
return inst.AccountMetaSlice[7]
} | [
0.13898219168186188,
-0.33437401056289673,
0.3836028277873993,
1.1404402256011963,
-0.18382848799228668,
-0.060297150164842606,
1.7050813436508179,
0.20467430353164673,
1.072379469871521,
-1.09663724899292,
0.43040305376052856,
1.1719311475753784,
0.21859091520309448,
-0.1777167171239853,
... |
func (inst *InitAuctionManagerV2) SetSystemSysvarAccount(systemSysvar ag_solanago.PublicKey) *InitAuctionManagerV2 {
inst.AccountMetaSlice[8] = ag_solanago.Meta(systemSysvar)
return inst
} | [
0.3315000534057617,
-0.4181714355945587,
0.254430890083313,
0.9979976415634155,
0.06444264948368073,
-0.17222890257835388,
1.1561617851257324,
0.5203930735588074,
0.6693350076675415,
-0.21318484842777252,
-0.49942198395729065,
1.4868355989456177,
0.21520285308361053,
0.9958887100219727,
... |
func (inst *InitAuctionManagerV2) GetSystemSysvarAccount() *ag_solanago.AccountMeta {
return inst.AccountMetaSlice[8]
} | [
0.4933618903160095,
-0.2691715359687805,
0.41644686460494995,
1.3059720993041992,
0.0903237983584404,
-0.5762755274772644,
1.0340956449508667,
0.22373464703559875,
0.6608384847640991,
-0.4242584705352783,
0.30719029903411865,
1.8221567869186401,
-0.016099249944090843,
0.15480610728263855,
... |
func (inst *InitAuctionManagerV2) SetRentSysvarAccount(rentSysvar ag_solanago.PublicKey) *InitAuctionManagerV2 {
inst.AccountMetaSlice[9] = ag_solanago.Meta(rentSysvar)
return inst
} | [
0.28422725200653076,
-0.39875102043151855,
0.3437197208404541,
0.3828907012939453,
0.47995492815971375,
-0.4872947335243225,
0.9886304140090942,
0.01781127229332924,
0.20556923747062683,
-0.1778530776500702,
-0.33198466897010803,
1.0918850898742676,
0.2231915295124054,
0.5105017423629761,
... |
func (inst *InitAuctionManagerV2) GetRentSysvarAccount() *ag_solanago.AccountMeta {
return inst.AccountMetaSlice[9]
} | [
0.40913352370262146,
-0.32956594228744507,
0.5344462394714355,
0.5490432977676392,
0.38856568932533264,
-0.76888108253479,
0.8858323097229004,
-0.059109341353178024,
0.09903888404369354,
-0.36589667201042175,
0.38147297501564026,
1.4131615161895752,
-0.2562665343284607,
-0.5425962805747986... |
func (inst InitAuctionManagerV2) ValidateAndBuild() (*Instruction, error) {
if err := inst.Validate(); err != nil {
return nil, err
}
return inst.Build(), nil
} | [
0.2580964267253876,
-1.229540228843689,
0.20786958932876587,
0.9406752586364746,
-0.7724470496177673,
0.37533214688301086,
0.3528352677822113,
0.06155902147293091,
0.6807678937911987,
-1.3254352807998657,
0.6756477952003479,
0.8670522570610046,
-0.36395904421806335,
0.5390029549598694,
1... |
func NewInitAuctionManagerV2Instruction(
// Parameters:
args InitAuctionManagerV2Args,
// Accounts:
uninitializedUnallocatedAuctionManager ag_solanago.PublicKey,
auctionWinnerTokenTypeTracker ag_solanago.PublicKey,
combinedVault ag_solanago.PublicKey,
auction ag_solanago.PublicKey,
auctionManagerAuthority ag_so... | [
-0.4743573069572449,
-1.1412957906723022,
0.4120301306247711,
0.21676352620124817,
-0.9552032351493835,
-0.735393226146698,
0.621757984161377,
0.2660626173019409,
0.03453032299876213,
-0.23362015187740326,
0.17781761288642883,
1.0315271615982056,
-0.22881464660167694,
0.6494882702827454,
... |
func Publish(notifier Notifier) error {
once.Do(func() {
initProducer()
})
msg := notifier.Message()
if len(msg) > 0 {
err := producer.Publish(notifier.Topic(), msg)
if err != nil {
utils.GetLog().Error("publish error: %v", err)
} else {
log.Printf("[publish]: topic: %s, message: %s\n", notifier.Topi... | [
-0.19031961262226105,
0.4556872546672821,
0.3936547636985779,
0.31384384632110596,
0.38730448484420776,
0.3650977313518524,
0.4522351920604706,
-0.12956690788269043,
-0.5520303249359131,
-0.03134489431977272,
0.3521149456501007,
0.6152374744415283,
-0.8440132737159729,
1.1293110847473145,
... |
func newBuffer(buf []byte) *Buffer {
return &Buffer{data: buf}
} | [
0.6946542263031006,
-0.589459240436554,
-0.15361288189888,
0.3305147886276245,
-0.7068443894386292,
0.2643948197364807,
-0.14856025576591492,
-0.028210381045937538,
0.9426989555358887,
-1.360128402709961,
-0.48597079515457153,
0.8317124247550964,
-0.35247302055358887,
-0.000592012365814298... |
func (b *Buffer) bytes() []byte {
return b.data
} | [
-0.10697709023952484,
-0.20609791576862335,
0.18178066611289978,
-0.08503006398677826,
0.6818692088127136,
1.0330417156219482,
-0.9236237406730652,
-0.537269115447998,
0.5259418487548828,
-1.3924509286880493,
-1.2515450716018677,
1.4033693075180054,
-0.7036130428314209,
0.16940473020076752... |
func (b *Buffer) size() int {
return len(b.data)
} | [
-0.23722396790981293,
0.5520526170730591,
0.2047988474369049,
-0.49696770310401917,
0.10180765390396118,
0.8794441223144531,
0.4453243315219879,
0.0471804253757,
0.18109050393104553,
-1.2139332294464111,
-1.6128854751586914,
0.6053997874259949,
-1.2169829607009888,
0.3602351248264313,
0.... |
func (b *Buffer) truncate(n int) int {
if n > len(b.data) {
panic("Trying to truncate past end of array.")
}
b.data = b.data[n:]
return len(b.data)
} | [
-0.19053050875663757,
1.3919541835784912,
0.48118337988853455,
-0.27562853693962097,
-0.011996041983366013,
0.028506407514214516,
0.1408119648694992,
-0.9779862761497498,
-0.08189860731363297,
-0.2019968032836914,
-1.1194792985916138,
0.2965823709964752,
-1.365346908569336,
0.2561809420585... |
func (r UserInteractive) HasSingleStageFlow(stageName string) bool {
for _, f := range r.Flows {
if len(f.Stages) == 1 && f.Stages[0] == stageName {
return true
}
}
return false
} | [
-0.3090397119522095,
-0.7876871228218079,
0.5611732006072998,
0.31721755862236023,
-0.6975583434104919,
-0.3558822572231293,
0.9636387228965759,
0.8146528601646423,
0.20450422167778015,
-0.5219294428825378,
-0.803205132484436,
-0.47595155239105225,
-0.20215928554534912,
1.1976522207260132,... |
func GetUsers(c *gin.Context) {
requestID := c.GetString("x-request-id")
helper.Logger(requestID, "").Infoln("RequestID= ", requestID)
// cacheTest := helper.CacheExists("xxxxxxxxxx")
// helper.Logger(requestID, "").Infoln("cacheTest= ", cacheTest)
httpCode, body, erro := helper.MakeHTTPRequest("GET", "https://ap... | [
-1.3003654479980469,
0.004202393814921379,
0.9434739351272583,
0.6531789898872375,
-0.0805300623178482,
0.3206007480621338,
-0.036019545048475266,
-0.15491294860839844,
-0.0746646597981453,
0.2775821089744568,
-0.08238435536623001,
1.2509294748306274,
-0.26494666934013367,
0.13943240046501... |
func CreateUser(c *gin.Context) {
var user models.User
c.BindJSON(&user)
err := models.CreateUser(&user)
if err != nil {
fmt.Println(err.Error())
c.AbortWithStatus(http.StatusNotFound)
} else {
c.JSON(http.StatusOK, user)
}
} | [
-0.6621516942977905,
-0.7439353466033936,
0.802482545375824,
1.1800066232681274,
0.4513184428215027,
0.99830162525177,
0.28585946559906006,
-0.33705002069473267,
0.1209273710846901,
0.4274291694164276,
-0.1764465570449829,
-0.24507923424243927,
0.22062700986862183,
0.417606920003891,
-0.... |
func GetUserByID(c *gin.Context) {
id := c.Params.ByName("id")
var user models.User
err := models.GetUserByID(&user, id)
if err != nil {
c.AbortWithStatus(http.StatusNotFound)
} else {
c.JSON(http.StatusOK, user)
}
} | [
-0.4929293394088745,
-0.6990710496902466,
0.46698829531669617,
0.8804570436477661,
0.2913900315761566,
0.529107391834259,
0.34030881524086,
-1.1656638383865356,
-0.12452281266450882,
0.4871510863304138,
-0.39132630825042725,
0.17344287037849426,
0.19916090369224548,
0.8900230526924133,
-... |
func UpdateUser(c *gin.Context) {
var user models.User
id := c.Params.ByName("id")
err := models.GetUserByID(&user, id)
if err != nil {
c.JSON(http.StatusNotFound, user)
}
c.BindJSON(&user)
err = models.UpdateUser(&user, id)
if err != nil {
c.AbortWithStatus(http.StatusNotFound)
} else {
c.JSON(http.Stat... | [
-1.5463249683380127,
-1.2828164100646973,
0.7828623652458191,
1.0499988794326782,
-0.10601788759231567,
0.227559894323349,
0.5521336793899536,
-0.34124213457107544,
0.057740870863199234,
0.07349882274866104,
-0.6696470975875854,
0.4094375967979431,
0.2656262218952179,
0.6819506883621216,
... |
func DeleteUser(c *gin.Context) {
var user models.User
id := c.Params.ByName("id")
err := models.DeleteUser(&user, id)
if err != nil {
c.AbortWithStatus(http.StatusNotFound)
} else {
c.JSON(http.StatusOK, gin.H{"id" + id: "is deleted"})
}
} | [
-0.730746865272522,
-0.46847644448280334,
0.6954676508903503,
1.1097522974014282,
0.5978143811225891,
0.49699971079826355,
0.41852524876594543,
-0.2961033582687378,
0.20621465146541595,
-0.34598663449287415,
-0.04219360277056694,
0.21597668528556824,
0.32461634278297424,
0.8402132987976074... |
func (m *CartFull) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCoupons(formats); err != nil {
res = append(res, err)
}
if err := m.validateCurrency(formats); err != nil {
res = append(res, err)
}
if err := m.validateDiscounts(formats); err != nil {
res = append(res, err)... | [
0.7275729179382324,
-0.46625059843063354,
0.5184749364852905,
-0.35113316774368286,
-0.3087434768676758,
-0.1392601579427719,
0.28169023990631104,
-1.2035669088363647,
-0.5520181655883789,
0.22229312360286713,
-0.6259340047836304,
0.09692791104316711,
-0.015477367676794529,
0.4252515435218... |
func (m *CartFullCouponsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCode(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
0.128543421626091,
-0.9969019889831543,
0.4080204367637634,
-0.4036993682384491,
-0.34793224930763245,
-0.4124959707260132,
0.4607425034046173,
0.009598830714821815,
-0.7031732797622681,
0.22125351428985596,
-0.6687180399894714,
-0.7002086043357849,
-0.44776368141174316,
0.6122611165046692... |
func (m *CartFullCurrency) Validate(formats strfmt.Registry) error {
return nil
} | [
1.0376356840133667,
-0.6942848563194275,
0.1727653592824936,
-0.6144329309463501,
-0.20984020829200745,
-0.45143917202949524,
0.2347642183303833,
-0.35269883275032043,
-0.291149765253067,
-0.057336606085300446,
-0.40175744891166687,
-0.0799986943602562,
-0.6969919800758362,
0.5021673440933... |
func (m *CartFullDiscountsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.3728468418121338,
-0.103373222053051,
0.3363523483276367,
-0.7059291005134583,
-0.02714795060455799,
-0.28348469734191895,
0.5582820177078247,
0.6270722150802612,
-0.330206036567688,
-0.7167153358459473,
-0.4394092559814453,
-0.21368631720542908,
0.08793334662914276,
0.8091202974319458,
... |
func (m *CartFullLineItemsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCustomItems(formats); err != nil {
res = append(res, err)
}
if err := m.validateDigitalItems(formats); err != nil {
res = append(res, err)
}
if err := m.validateGiftCertificates(formats); err != ... | [
0.6284310221672058,
-0.9917151927947998,
0.5033875703811646,
-0.730423092842102,
-0.08436687290668488,
-0.18805737793445587,
0.3267084062099457,
-0.14378832280635834,
-0.6033405661582947,
-0.31987589597702026,
-0.8202456831932068,
-0.4229219853878021,
-0.406504362821579,
0.8679473400115967... |
func (m *CartFullLineItemsItems0CustomItemsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.8888214826583862,
-1.1646100282669067,
0.3612297475337982,
-0.626920223236084,
-0.0360262356698513,
-0.023092612624168396,
0.4838104844093323,
0.786143958568573,
-0.5250957608222961,
-0.2478276789188385,
-0.9942944049835205,
-0.23039300739765167,
-0.3466225564479828,
0.3874574601650238,
... |
func (m *CartFullLineItemsItems0DigitalItemsItems0) UnmarshalJSON(raw []byte) error {
// AO0
var dataAO0 struct {
CouponAmount float64 `json:"coupon_amount,omitempty"`
Coupons []*CartFullLineItemsItems0DigitalItemsItems0CouponsItems0 `json:"coupons"`
DiscountAmount float64 `json:"discount_amount,omitempty"`
... | [
-0.041132986545562744,
-0.6250949501991272,
1.090059757232666,
-1.4928390979766846,
-0.7242507338523865,
-0.4477217495441437,
0.34382620453834534,
-0.1633301079273224,
0.11336182802915573,
0.3759467303752899,
-0.6912628412246704,
-0.2712526321411133,
0.5202335715293884,
0.36474287509918213... |
func (m CartFullLineItemsItems0DigitalItemsItems0) MarshalJSON() ([]byte, error) {
_parts := make([][]byte, 0, 2)
var dataAO0 struct {
CouponAmount float64 `json:"coupon_amount,omitempty"`
Coupons []*CartFullLineItemsItems0DigitalItemsItems0CouponsItems0 `json:"coupons"`
DiscountAmount float64 `json:"discoun... | [
0.43363019824028015,
-0.6793882250785828,
0.8629743456840515,
-0.8730360269546509,
-0.21277838945388794,
-0.26760804653167725,
0.14777880907058716,
-0.029096098616719246,
0.3186074197292328,
0.06508159637451172,
-1.1445913314819336,
-0.03027779795229435,
0.6733143925666809,
0.4610209763050... |
func (m *CartFullLineItemsItems0DigitalItemsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCoupons(formats); err != nil {
res = append(res, err)
}
if err := m.validateDiscounts(formats); err != nil {
res = append(res, err)
}
if err := m.validateImageURL(formats); err ... | [
0.05977325513958931,
-0.4972827732563019,
0.6673612594604492,
-0.6158881783485413,
-0.3217103183269501,
0.08669343590736389,
0.5091436505317688,
-0.5574221014976501,
-0.38202935457229614,
-0.20262061059474945,
-0.5427147746086121,
-0.19018398225307465,
-0.4155266284942627,
0.79997992515563... |
func (m *CartFullLineItemsItems0DigitalItemsItems0CouponsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCoupons(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.14516077935695648,
-0.4641326367855072,
0.6668099164962769,
-0.5698539614677429,
-0.08634614199399948,
0.08987580984830856,
0.8292019963264465,
-0.3745642900466919,
-0.4577217698097229,
0.044116657227277756,
-0.6417114734649658,
-0.8053401708602905,
-0.4042209982872009,
0.24926348030567... |
func (m *CartFullLineItemsItems0DigitalItemsItems0CouponsItems0Coupons) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCouponCode(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.0492885448038578,
-0.23259252309799194,
0.6268844604492188,
-0.5141462087631226,
-0.03772496432065964,
-0.19344167411327362,
1.094193935394287,
-0.4581024646759033,
-0.03091307356953621,
0.11465835571289062,
-0.8442879319190979,
-0.7719898819923401,
-0.3859599828720093,
0.18096901476383... |
func (m *CartFullLineItemsItems0DigitalItemsItems0CouponsItems0CouponsCouponCode) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateDiscountType(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.16576053202152252,
-0.14193354547023773,
0.6766737699508667,
-0.3574923872947693,
-0.13996301591396332,
-0.5653541684150696,
0.9338959455490112,
-0.05112579092383385,
0.19442246854305267,
0.5802956819534302,
-0.4517838656902313,
-0.6176547408103943,
-0.07322672754526138,
0.2322425693273... |
func (m *CartFullLineItemsItems0DigitalItemsItems0DiscountsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.7547811269760132,
-0.20177294313907623,
0.6739535927772522,
-0.5722963809967041,
0.4125065803527832,
0.3536792993545532,
0.8824930787086487,
0.2434094250202179,
0.25381243228912354,
-0.15518341958522797,
-0.26034724712371826,
-0.986505925655365,
0.3761809766292572,
0.7088039517402649,
... |
func (m *CartFullLineItemsItems0DigitalItemsItems0OptionsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.08221161365509033,
-0.1965501606464386,
0.4839458465576172,
-0.9812530279159546,
0.7344497442245483,
0.10701452940702438,
0.5939124822616577,
-0.05576262250542641,
0.05442746356129646,
-0.09466101229190826,
-0.4904260039329529,
-0.9549040794372559,
-0.2799418270587921,
-0.070353731513023... |
func (m *CartFullLineItemsItems0GiftCertificatesItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateAmount(formats); err != nil {
res = append(res, err)
}
if err := m.validateRecipient(formats); err != nil {
res = append(res, err)
}
if err := m.validateSender(formats); err... | [
1.0283217430114746,
-0.24470725655555725,
0.618736743927002,
-0.8813730478286743,
0.001720372005365789,
-0.0681164488196373,
0.19374294579029083,
-0.4762153625488281,
-0.03792860358953476,
0.3070555627346039,
-0.48389413952827454,
-0.5728509426116943,
-0.6363011002540588,
0.773816466331481... |
func (m *CartFullLineItemsItems0GiftCertificatesItems0Recipient) Validate(formats strfmt.Registry) error {
return nil
} | [
0.9116678833961487,
-0.6031200885772705,
0.1841469258069992,
-1.1434630155563354,
0.12500044703483582,
-0.0015692393062636256,
0.9711194634437561,
0.3226378262042999,
0.19498275220394135,
0.47864803671836853,
-0.6839799284934998,
-0.5783883333206177,
-0.1707226037979126,
0.1482454389333725... |
func (m *CartFullLineItemsItems0GiftCertificatesItems0Sender) Validate(formats strfmt.Registry) error {
return nil
} | [
0.9369405508041382,
-0.4116462767124176,
0.3242034912109375,
-0.1796417534351349,
-0.06274059414863586,
0.08471756428480148,
0.5411850214004517,
0.1241854876279831,
-0.5171056389808655,
0.3266003727912903,
-1.1442053318023682,
-0.5443558096885681,
-0.3706548810005188,
1.4303077459335327,
... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0) UnmarshalJSON(raw []byte) error {
// AO0
var dataAO0 struct {
CouponAmount float64 `json:"coupon_amount,omitempty"`
Coupons []*CartFullLineItemsItems0PhysicalItemsItems0CouponsItems0 `json:"coupons"`
DiscountAmount float64 `json:"discount_amount,omitempty"`... | [
-0.04347807541489601,
-0.5741919279098511,
1.031842589378357,
-1.3579317331314087,
-0.5441662669181824,
-0.5672402381896973,
0.0008238166337832808,
-0.17225639522075653,
-0.2204907089471817,
0.49694064259529114,
-0.527967095375061,
-0.2834452986717224,
0.46677690744400024,
0.09248419851064... |
func (m CartFullLineItemsItems0PhysicalItemsItems0) MarshalJSON() ([]byte, error) {
_parts := make([][]byte, 0, 2)
var dataAO0 struct {
CouponAmount float64 `json:"coupon_amount,omitempty"`
Coupons []*CartFullLineItemsItems0PhysicalItemsItems0CouponsItems0 `json:"coupons"`
DiscountAmount float64 `json:"disco... | [
0.47527357935905457,
-0.8389356732368469,
0.7887132167816162,
-0.7324724197387695,
0.03963560611009598,
-0.17193253338336945,
-0.22103238105773926,
0.017277270555496216,
-0.10589223355054855,
0.03448657691478729,
-0.9762794971466064,
-0.03219173103570938,
0.5758779048919678,
0.269165188074... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCoupons(formats); err != nil {
res = append(res, err)
}
if err := m.validateDiscounts(formats); err != nil {
res = append(res, err)
}
if err := m.validateImageURL(formats); err... | [
0.28741616010665894,
-0.9272372126579285,
0.6322512030601501,
-0.4276313781738281,
0.1300612837076187,
0.336716890335083,
-0.09977498650550842,
-0.5937833189964294,
-0.8097619414329529,
-0.33676865696907043,
-0.15987266600131989,
-0.2523984909057617,
-0.5578265190124512,
0.6124866008758545... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0AO1GiftWrapping) Validate(formats strfmt.Registry) error {
return nil
} | [
0.37744835019111633,
0.6006178855895996,
0.33736810088157654,
-0.5902673602104187,
0.5882232785224915,
0.6891988515853882,
-0.34240052103996277,
-0.2492937445640564,
-0.19289438426494598,
0.21035358309745789,
0.9825230836868286,
-0.7200707793235779,
-0.027174554765224457,
0.548257946968078... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0CouponsItems0) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCoupons(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.10595734417438507,
-0.8396509885787964,
0.5977015495300293,
-0.39522838592529297,
0.15010474622249603,
0.19590364396572113,
0.23340919613838196,
-0.3932346999645233,
-0.8115000128746033,
0.0956684947013855,
-0.23990322649478912,
-0.740727424621582,
-0.49800023436546326,
0.08211967349052... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0CouponsItems0Coupons) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateCouponCode(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
0.016001541167497635,
-0.526020884513855,
0.6144391894340515,
-0.5100952386856079,
0.25397753715515137,
-0.19175711274147034,
0.5044795274734497,
-0.49960583448410034,
-0.4803166091442108,
0.23517410457134247,
-0.5694147348403931,
-0.759675920009613,
-0.35959592461586,
0.03093666583299637,... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0CouponsItems0CouponsCouponCode) Validate(formats strfmt.Registry) error {
var res []error
if err := m.validateDiscountType(formats); err != nil {
res = append(res, err)
}
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-0.10144083201885223,
-0.4727148711681366,
0.6126043200492859,
-0.2691023051738739,
0.1472034603357315,
-0.5161016583442688,
0.3665573000907898,
-0.1276274174451828,
-0.2801547050476074,
0.5909539461135864,
-0.12558026611804962,
-0.5001935958862305,
-0.1699906438589096,
0.1359538584947586,... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0DiscountsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.6513809561729431,
-0.3173438608646393,
0.5788329243659973,
-0.42744359374046326,
0.49498602747917175,
0.5288697481155396,
0.18753401935100555,
0.20363712310791016,
-0.25215843319892883,
-0.33446988463401794,
0.1820363849401474,
-0.8849576115608215,
0.24733588099479675,
0.5800595879554749... |
func (m *CartFullLineItemsItems0PhysicalItemsItems0OptionsItems0) Validate(formats strfmt.Registry) error {
return nil
} | [
0.25235721468925476,
-0.5405313372612,
0.39558374881744385,
-0.864101767539978,
1.00956392288208,
0.1693795770406723,
-0.15358656644821167,
-0.12429752945899963,
-0.41019612550735474,
-0.04547979682683945,
-0.02429981715977192,
-0.8247796893119812,
-0.4206888675689697,
-0.250107079744339,
... |
func TestAccDatasource_basic_tags(t *testing.T) {
datasourceName := "data.ec_deployment.tagdata"
filterDatasourceName := "data.ec_deployments.tagfilter"
depCfg := "testdata/datasource_tags.tf"
testID := acctest.RandStringFromCharSet(10, acctest.CharSetAlphaNum)
randomName := prefix + testID
cfg := fixtureAccTags... | [
0.33987748622894287,
0.5083648562431335,
0.3392534554004669,
-0.8842310905456543,
0.6072857975959778,
-0.48201480507850647,
0.015837544575333595,
0.42562103271484375,
-0.059765785932540894,
-0.10755568742752075,
-0.4350290894508362,
0.20521879196166992,
0.8020313382148743,
0.17373059689998... |
func ConnectOrBoot(config *config.Config) (*nats.Conn, error) {
nc, err := nats.Connect(config.ClusterNatsUrl)
if err != nil {
parsedUrl, err := url.Parse(config.ClusterNatsUrl)
if err != nil {
return nil, err
}
if parsedUrl.Hostname() == "localhost" || parsedUrl.Hostname() == "127.0.0.1" {
// Attempt t... | [
-0.9397028684616089,
-0.8406813144683838,
0.7617363929748535,
0.23789583146572113,
-0.1185394823551178,
0.1296442747116089,
-0.12194784730672836,
-0.06196306273341179,
0.7958629727363586,
-0.32665061950683594,
0.3722119927406311,
0.09034492820501328,
0.12613537907600403,
0.4811578094959259... |
func NewResolver(cln *client.Client, mw *progress.MultiWriter) (Resolver, error) {
root, exist, err := modulesPathExist()
if err != nil {
return nil, err
}
if !exist {
return &remoteResolver{cln, mw, root}, nil
}
return &vendorResolver{root}, nil
} | [
-0.3238440155982971,
-1.0258153676986694,
0.3522236943244934,
0.12075738608837128,
0.4419785439968109,
0.22980476915836334,
0.34015709161758423,
0.34250974655151367,
0.04924396052956581,
0.3016190528869629,
0.2734557092189789,
-0.13494661450386047,
-1.2743079662322998,
1.2743562459945679,
... |
func ModulesPathExist() (bool, error) {
_, exist, err := modulesPathExist()
return exist, err
} | [
-0.3810451030731201,
-0.6638993620872498,
0.39035606384277344,
-0.04474932700395584,
1.0453581809997559,
1.020209789276123,
0.18041016161441803,
0.2046038806438446,
-0.9573214054107666,
1.2921600341796875,
-0.49001872539520264,
-1.3938047885894775,
-0.8448925018310547,
0.2815556228160858,
... |
func VendorPath(root string, dgst digest.Digest) string {
encoded := dgst.Encoded()
return filepath.Join(root, dgst.Algorithm().String(), encoded[:2], encoded)
} | [
0.3833770155906677,
-0.4895040988922119,
0.23267671465873718,
0.5035465359687805,
-1.5026309490203857,
0.21986740827560425,
0.740083634853363,
-0.1459093540906906,
0.0908389464020729,
0.7779768705368042,
0.5475518107414246,
0.30601492524147034,
0.19426614046096802,
0.08059646934270859,
0... |
func ResolveGraph(ctx context.Context, resolver Resolver, res Resolved, mod *parser.Module, fbs map[string]*parser.FileBuffer, visitor Visitor) error {
g, ctx := errgroup.WithContext(ctx)
var (
imports = make(map[string]*parser.Module)
mu sync.Mutex
)
parser.Match(mod, parser.MatchOpts{},
func(imp *par... | [
-0.03510376811027527,
0.2865259051322937,
1.0444984436035156,
0.2081112116575241,
0.5335651636123657,
-0.47171223163604736,
0.7429043054580688,
-0.3637865483760834,
-0.07932853698730469,
0.48509764671325684,
-0.27584806084632874,
0.2410651296377182,
-0.3900226056575775,
-0.1299570202827453... |
func NewStorageServiceOwnershipGetParams() *StorageServiceOwnershipGetParams {
return &StorageServiceOwnershipGetParams{
timeout: cr.DefaultTimeout,
}
} | [
0.14249588549137115,
-0.832605242729187,
0.6123911738395691,
1.3802704811096191,
0.2971077561378479,
-0.8656713366508484,
-0.5635432600975037,
-0.29347142577171326,
-0.6581777930259705,
-0.5291273593902588,
0.4945213198661804,
0.739537239074707,
0.6194233298301697,
-0.3479802906513214,
-... |
func NewStorageServiceOwnershipGetParamsWithTimeout(timeout time.Duration) *StorageServiceOwnershipGetParams {
return &StorageServiceOwnershipGetParams{
timeout: timeout,
}
} | [
0.7747239470481873,
-0.4800817668437958,
0.6417845487594604,
1.2590693235397339,
0.15790323913097382,
-0.05266563221812248,
-1.2488317489624023,
-0.3391834795475006,
-0.5011014938354492,
0.49838152527809143,
0.8868764042854309,
0.9472230076789856,
0.6179268956184387,
0.12259276211261749,
... |
func NewStorageServiceOwnershipGetParamsWithContext(ctx context.Context) *StorageServiceOwnershipGetParams {
return &StorageServiceOwnershipGetParams{
Context: ctx,
}
} | [
0.31423860788345337,
-0.5001243352890015,
1.0330761671066284,
1.1120295524597168,
0.30155420303344727,
-0.06550191342830658,
-1.1033589839935303,
-0.8430041074752808,
-0.29332685470581055,
-0.21107150614261627,
0.6604211926460266,
0.5252531170845032,
0.5868508219718933,
-0.7193136811256409... |
func NewStorageServiceOwnershipGetParamsWithHTTPClient(client *http.Client) *StorageServiceOwnershipGetParams {
return &StorageServiceOwnershipGetParams{
HTTPClient: client,
}
} | [
0.2979254722595215,
-0.63299959897995,
0.8714467883110046,
1.2370684146881104,
0.6866691708564758,
-0.16481050848960876,
-0.18853043019771576,
-0.28090813755989075,
-0.9802491664886475,
-0.4070964753627777,
0.615311324596405,
0.5787273645401001,
0.32785868644714355,
-0.6137591600418091,
... |
func (o *StorageServiceOwnershipGetParams) WithDefaults() *StorageServiceOwnershipGetParams {
o.SetDefaults()
return o
} | [
0.09149464219808578,
0.06729519367218018,
0.3740679919719696,
0.7502940893173218,
0.801339328289032,
-1.1542742252349854,
-0.8321397304534912,
-0.6242796182632446,
0.11915190517902374,
-1.0099419355392456,
0.6052340269088745,
-0.2567434012889862,
0.31170159578323364,
-0.7195796370506287,
... |
func (o *StorageServiceOwnershipGetParams) SetDefaults() {
// no default values defined for this parameter
} | [
-0.5716257691383362,
0.24432070553302765,
0.2617882490158081,
0.6512718200683594,
1.3304325342178345,
-0.5252426266670227,
-0.30408090353012085,
-0.46723249554634094,
-0.6136093139648438,
-1.0681027173995972,
0.6154669523239136,
0.7348474860191345,
-0.2429763525724411,
-0.7006473541259766,... |
func (o *StorageServiceOwnershipGetParams) WithTimeout(timeout time.Duration) *StorageServiceOwnershipGetParams {
o.SetTimeout(timeout)
return o
} | [
0.31079399585723877,
-0.016772788017988205,
0.4971372187137604,
0.6754737496376038,
-0.06356809288263321,
-0.6767427921295166,
-0.5708564519882202,
-0.3229190707206726,
0.18581216037273407,
-0.1989610195159912,
0.8938459753990173,
0.8678566813468933,
1.119462251663208,
-0.31462562084198,
... |
func (o *StorageServiceOwnershipGetParams) SetTimeout(timeout time.Duration) {
o.timeout = timeout
} | [
0.07233218848705292,
-0.005523888394236565,
0.384565144777298,
0.5813729166984558,
0.4378361999988556,
-0.2209451049566269,
-0.27523472905158997,
0.2004985809326172,
-0.4081820249557495,
-0.20161046087741852,
0.9237089157104492,
1.0678799152374268,
0.5039469599723816,
-0.3265226185321808,
... |
func (o *StorageServiceOwnershipGetParams) WithContext(ctx context.Context) *StorageServiceOwnershipGetParams {
o.SetContext(ctx)
return o
} | [
-0.32305800914764404,
-0.31250765919685364,
0.7831893563270569,
0.7306342124938965,
-0.11345616728067398,
-0.6470739841461182,
-0.7492111325263977,
-0.8571593761444092,
0.3766159415245056,
-0.8085244297981262,
0.7117511034011841,
0.6724092960357666,
0.5203391909599304,
-0.884600043296814,
... |
func (o *StorageServiceOwnershipGetParams) SetContext(ctx context.Context) {
o.Context = ctx
} | [
-0.4710550308227539,
-0.12309908866882324,
0.5132943391799927,
0.7947367429733276,
0.41286465525627136,
-0.36623838543891907,
-0.3459398150444031,
-0.48751100897789,
0.21754740178585052,
-0.6998391151428223,
0.5933024287223816,
1.0098837614059448,
0.10793288797140121,
-0.7318374514579773,
... |
func (o *StorageServiceOwnershipGetParams) WithHTTPClient(client *http.Client) *StorageServiceOwnershipGetParams {
o.SetHTTPClient(client)
return o
} | [
0.019301723688840866,
-0.9829939603805542,
0.7346048355102539,
0.6325641870498657,
0.14853990077972412,
-0.5898345708847046,
0.15955111384391785,
-0.648741602897644,
-0.38116779923439026,
-1.0246025323867798,
0.728983998298645,
0.37579330801963806,
0.6959286332130432,
-1.0620042085647583,
... |
func (o *StorageServiceOwnershipGetParams) SetHTTPClient(client *http.Client) {
o.HTTPClient = client
} | [
0.3278159201145172,
-0.8434638381004333,
0.46395719051361084,
0.25575149059295654,
0.08471383899450302,
-0.728088915348053,
0.34416767954826355,
-0.5752992630004883,
-0.9932430386543274,
-0.8414161205291748,
0.5485228896141052,
1.0581029653549194,
0.31151843070983887,
-1.1431041955947876,
... |
func (o *StorageServiceOwnershipGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
if err := r.SetTimeout(o.timeout); err != nil {
return err
}
var res []error
if len(res) > 0 {
return errors.CompositeValidationError(res...)
}
return nil
} | [
-1.0846991539001465,
-0.3894971013069153,
0.8494354486465454,
0.3279586136341095,
1.1514902114868164,
-0.5383349061012268,
0.7462626695632935,
-0.059326522052288055,
-0.5528343915939331,
-0.13482995331287384,
0.940868616104126,
0.6378960013389587,
-0.3241592049598694,
-0.5307818651199341,
... |
func (self *BoltStorage) GetNumberOfVersion(tx *bolt.Tx, bucket string) int {
result := 0
b := tx.Bucket([]byte(bucket))
c := b.Cursor()
for k, _ := c.First(); k != nil; k, _ = c.Next() {
result++
}
return result
} | [
-0.255011647939682,
0.005919696297496557,
0.7463394999504089,
0.2334425300359726,
-0.15152305364608765,
-1.0225703716278076,
0.1692950427532196,
0.07668540626764297,
-0.7995806336402893,
0.335499107837677,
-1.9255772829055786,
-0.010586719028651714,
-0.10983911156654358,
-0.416077792644500... |
func (self *BoltStorage) PruneOutdatedData(tx *bolt.Tx, bucket string) error {
var err error
b := tx.Bucket([]byte(bucket))
c := b.Cursor()
for self.GetNumberOfVersion(tx, bucket) >= MAX_NUMBER_VERSION {
k, _ := c.First()
if k == nil {
err = errors.New(fmt.Sprintf("There no version in %s", bucket))
return... | [
0.049022022634744644,
0.3127945363521576,
0.921531081199646,
0.25976434350013733,
-0.5747243762016296,
0.837473452091217,
-0.5693017840385437,
0.21643316745758057,
-0.5916808247566223,
0.8776606321334839,
-0.5950393676757812,
0.184377059340477,
-0.39761602878570557,
-0.24090246856212616,
... |
func MakeConnectionString(user string, password string, db string, host string) string {
return "application_name=PgMonk user=" + user + " password=" + password + " dbname=" + db + " host=" + host + " sslmode=disable"
} | [
-0.19531187415122986,
-0.6367915272712708,
0.48453211784362793,
1.0278223752975464,
-0.6626420021057129,
0.9852474331855774,
-0.33193522691726685,
-0.30165112018585205,
-1.7013875246047974,
0.5783571600914001,
0.483703076839447,
-0.47005635499954224,
-0.4314251244068146,
-0.584187448024749... |
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *TextractDouble {
result := &TextractDouble{}
configurators = append([]func(configurator *awsdouble.AWSTestDouble){func(d *awsdouble.AWSTestDouble) {
d.SetDefaultCall(result.defaultMethodCall)
d.SetDefaultReturnValues(result.defaultRet... | [
-1.0528724193572998,
0.2877810001373291,
0.5298656821250916,
0.17009544372558594,
-0.1666029691696167,
-0.17614905536174774,
0.5505896806716919,
-0.6020084023475647,
-0.3558853268623352,
0.055306434631347656,
-0.6547675132751465,
-0.4748557209968567,
0.47294673323631287,
0.4825255274772644... |
func NewTfaCreateMessageRequest(messageText string, pinType TfaPinType) *TfaCreateMessageRequest {
this := TfaCreateMessageRequest{}
this.MessageText = messageText
this.PinType = pinType
return &this
} | [
-1.1403824090957642,
-0.11520027369260788,
0.2747296690940857,
0.14499817788600922,
0.18459618091583252,
-0.16095846891403198,
-0.044754717499017715,
-0.8468307852745056,
-0.5580252408981323,
0.02483227476477623,
-0.013761795125901699,
-0.0754641592502594,
-0.5665898323059082,
1.6023014783... |
func NewTfaCreateMessageRequestWithDefaults() *TfaCreateMessageRequest {
this := TfaCreateMessageRequest{}
return &this
} | [
-0.8071695566177368,
0.15519742667675018,
0.09795523434877396,
0.18162809312343597,
1.0272082090377808,
-0.7475336790084839,
-0.3073868453502655,
-0.9015378355979919,
-0.8281576037406921,
-0.740703821182251,
-0.03312157467007637,
-1.249757170677185,
-0.16324427723884583,
1.6609524488449097... |
func (o *TfaCreateMessageRequest) GetLanguage() TfaLanguage {
if o == nil || o.Language == nil {
var ret TfaLanguage
return ret
}
return *o.Language
} | [
0.2665562331676483,
0.590883731842041,
0.17375756800174713,
0.8372154831886292,
0.41695401072502136,
-0.5464268326759338,
1.1139150857925415,
0.020745394751429558,
0.6633436679840088,
-0.8526625633239746,
0.001004530698992312,
-1.6342124938964844,
-0.6092739105224609,
1.1151176691055298,
... |
func (o *TfaCreateMessageRequest) GetLanguageOk() (*TfaLanguage, bool) {
if o == nil || o.Language == nil {
return nil, false
}
return o.Language, true
} | [
-0.02138439193367958,
-0.048052433878183365,
0.17695516347885132,
0.47744718194007874,
0.14716078341007233,
0.1477867215871811,
0.8074450492858887,
1.1213340759277344,
0.10656461119651794,
0.5664176940917969,
-0.7455303072929382,
-1.0666247606277466,
0.11952497065067291,
1.162965178489685,... |
func (o *TfaCreateMessageRequest) HasLanguage() bool {
if o != nil && o.Language != nil {
return true
}
return false
} | [
0.1861322820186615,
0.5459167957305908,
-0.19222798943519592,
0.46386972069740295,
0.8094615936279297,
-0.5098152756690979,
0.4207790195941925,
0.5593534111976624,
0.31553712487220764,
-0.693415641784668,
-0.45244285464286804,
-1.1370112895965576,
-0.5144398212432861,
0.65350741147995,
0... |
func (o *TfaCreateMessageRequest) SetLanguage(v TfaLanguage) {
o.Language = &v
} | [
-0.2403588443994522,
0.4992396831512451,
-0.31633156538009644,
0.27697867155075073,
0.17423787713050842,
-0.5737045407295227,
0.22758086025714874,
-1.1860748529434204,
-0.30755916237831116,
-0.1529901772737503,
-0.056696366518735886,
-0.013621496967971325,
-0.3150276243686676,
0.9079596400... |
func (o *TfaCreateMessageRequest) GetMessageText() string {
if o == nil {
var ret string
return ret
}
return o.MessageText
} | [
0.13386282324790955,
0.04908953979611397,
0.3819880783557892,
0.11737963557243347,
0.39084336161613464,
0.3617880046367645,
0.23023349046707153,
-0.5733467936515808,
0.6630155444145203,
-0.4703443944454193,
-0.18106609582901,
-1.168765902519226,
-0.9289941787719727,
0.3430238962173462,
-... |
func (o *TfaCreateMessageRequest) GetMessageTextOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.MessageText, true
} | [
-0.5167956352233887,
0.7094394564628601,
0.7991592288017273,
0.07653740048408508,
-0.054011713713407516,
-0.1306980848312378,
-0.2262587696313858,
0.3831956684589386,
-0.2658698260784149,
-0.14076431095600128,
-0.9409244656562805,
-1.1637557744979858,
-0.29114967584609985,
1.07675111293792... |
func (o *TfaCreateMessageRequest) SetMessageText(v string) {
o.MessageText = v
} | [
-0.5740567445755005,
0.13325488567352295,
0.0038004987873136997,
-0.3573201596736908,
-0.5087315440177917,
0.02011406235396862,
-0.17923390865325928,
-1.096451997756958,
-0.31770211458206177,
0.17228102684020996,
-0.5667619109153748,
-0.6101268529891968,
-0.8303064703941345,
0.853136479854... |
func (o *TfaCreateMessageRequest) GetPinLength() int32 {
if o == nil || o.PinLength == nil {
var ret int32
return ret
}
return *o.PinLength
} | [
0.06898786872625351,
0.3515496253967285,
-0.09796011447906494,
0.23458172380924225,
0.26341381669044495,
1.6110650300979614,
0.5758830308914185,
-0.4383169114589691,
0.7516881823539734,
-0.28728193044662476,
-0.6046439409255981,
-0.6967406272888184,
-0.9007769823074341,
-0.1717665344476699... |
func (o *TfaCreateMessageRequest) GetPinLengthOk() (*int32, bool) {
if o == nil || o.PinLength == nil {
return nil, false
}
return o.PinLength, true
} | [
0.37572699785232544,
0.539905846118927,
0.32192328572273254,
-0.031096478924155235,
0.4799875319004059,
0.7588185667991638,
0.3977130949497223,
0.3910062909126282,
0.5145388841629028,
0.3688330054283142,
-1.1450406312942505,
-0.46047621965408325,
0.03161599114537239,
-0.6366770267486572,
... |
func (o *TfaCreateMessageRequest) HasPinLength() bool {
if o != nil && o.PinLength != nil {
return true
}
return false
} | [
-0.0000010359286761740805,
0.30901938676834106,
0.0042493161745369434,
-0.22726531326770782,
0.8200712203979492,
0.2473735362291336,
-0.23615646362304688,
0.22620633244514465,
0.29595765471458435,
0.08743280917406082,
-1.21730375289917,
-0.6504524350166321,
-0.6336058378219604,
0.022258155... |
func (o *TfaCreateMessageRequest) SetPinLength(v int32) {
o.PinLength = &v
} | [
-0.3262045979499817,
0.4931134283542633,
-0.16990283131599426,
-0.45695772767066956,
0.053058430552482605,
1.7446460723876953,
-0.0825386643409729,
-0.9137698411941528,
-0.3232903480529785,
0.45346799492836,
-0.5483002066612244,
0.5452880859375,
-0.25351035594940186,
-0.31680774688720703,
... |
func (o *TfaCreateMessageRequest) GetPinType() TfaPinType {
if o == nil {
var ret TfaPinType
return ret
}
return o.PinType
} | [
-0.254093199968338,
0.5810102224349976,
-0.1608285903930664,
0.9222562909126282,
0.8406912088394165,
0.5815333724021912,
0.33384227752685547,
-0.04248598963022232,
1.0682600736618042,
-0.13285797834396362,
-0.05082682520151138,
-0.5992372035980225,
-1.2735443115234375,
0.2528727650642395,
... |
func (o *TfaCreateMessageRequest) GetPinTypeOk() (*TfaPinType, bool) {
if o == nil {
return nil, false
}
return &o.PinType, true
} | [
-0.6239719986915588,
0.31778720021247864,
0.37839949131011963,
0.834632158279419,
0.058008793741464615,
0.21168994903564453,
0.4825060963630676,
0.41211771965026855,
0.37173956632614136,
1.2416613101959229,
-1.058713674545288,
-0.8405004739761353,
-0.5774387121200562,
-0.1252320408821106,
... |
func (o *TfaCreateMessageRequest) SetPinType(v TfaPinType) {
o.PinType = v
} | [
-1.1712487936019897,
0.5500057339668274,
-0.13852515816688538,
0.25574949383735657,
0.37407806515693665,
0.4754900634288788,
0.18222945928573608,
-0.897520124912262,
0.284589022397995,
0.7049514651298523,
-0.47181472182273865,
-0.0938853994011879,
-0.7618291974067688,
0.9100857973098755,
... |
func (o *TfaCreateMessageRequest) GetRegional() TfaRegionalOptions {
if o == nil || o.Regional == nil {
var ret TfaRegionalOptions
return ret
}
return *o.Regional
} | [
0.28188949823379517,
0.5909906029701233,
0.3053268790245056,
0.8765220046043396,
0.027956746518611908,
0.3960426449775696,
1.1401797533035278,
-0.21738599240779877,
0.3045341670513153,
-0.04750228673219681,
0.2586718499660492,
0.43116307258605957,
-1.0329266786575317,
0.28663429617881775,
... |
func (o *TfaCreateMessageRequest) GetRegionalOk() (*TfaRegionalOptions, bool) {
if o == nil || o.Regional == nil {
return nil, false
}
return o.Regional, true
} | [
0.08848552405834198,
0.6716212630271912,
0.4006085991859436,
0.8152775168418884,
-0.09804728627204895,
0.19706173241138458,
0.8498566746711731,
0.08512923121452332,
0.06981287151575089,
-0.09208706021308899,
0.3011035919189453,
0.2421966791152954,
-0.05184897780418396,
-0.02674597501754760... |
func (o *TfaCreateMessageRequest) HasRegional() bool {
if o != nil && o.Regional != nil {
return true
}
return false
} | [
0.40342578291893005,
0.5829082131385803,
0.23540209233760834,
0.26946550607681274,
0.0908983126282692,
-0.2515106797218323,
0.23700834810733795,
0.29719704389572144,
-0.5259785056114197,
-0.18242494761943817,
-0.7579624652862549,
-0.14483711123466492,
-0.5229630470275879,
-0.02040999941527... |
func (o *TfaCreateMessageRequest) SetRegional(v TfaRegionalOptions) {
o.Regional = &v
} | [
-0.08838183432817459,
0.39412498474121094,
0.02293931506574154,
0.1470613330602646,
-0.14593133330345154,
0.23825310170650482,
0.34137579798698425,
-1.0879449844360352,
-0.5462139844894409,
0.6849876642227173,
0.4022533595561981,
1.3342012166976929,
-0.6023441553115845,
-0.1032642051577568... |
func (o *TfaCreateMessageRequest) GetRepeatDTMF() string {
if o == nil || o.RepeatDTMF == nil {
var ret string
return ret
}
return *o.RepeatDTMF
} | [
-1.0264942646026611,
1.0353580713272095,
0.4239671528339386,
-0.09412986040115356,
0.09672407805919647,
-0.1746017336845398,
0.5062723755836487,
-0.8009818196296692,
-1.0064460039138794,
-0.4181678295135498,
-1.3319374322891235,
-1.0683789253234863,
-0.7445091605186462,
-0.1786146461963653... |
func (o *TfaCreateMessageRequest) GetRepeatDTMFOk() (*string, bool) {
if o == nil || o.RepeatDTMF == nil {
return nil, false
}
return o.RepeatDTMF, true
} | [
-1.0758056640625,
1.3610382080078125,
0.6770316362380981,
0.20386727154254913,
0.6778472661972046,
-0.5363889336585999,
0.6324998140335083,
-0.41066282987594604,
-1.1060757637023926,
-0.7160639762878418,
-1.7398887872695923,
-0.5961482524871826,
0.0815659835934639,
0.3712998032569885,
-0... |
func (o *TfaCreateMessageRequest) HasRepeatDTMF() bool {
if o != nil && o.RepeatDTMF != nil {
return true
}
return false
} | [
-0.890605092048645,
1.180714726448059,
0.34122520685195923,
-0.4236985146999359,
0.32125788927078247,
-0.9733229279518127,
0.10282061994075775,
0.0407738983631134,
-1.5869007110595703,
-0.345574289560318,
-1.9539490938186646,
-0.9100148677825928,
-0.2793058454990387,
-0.11871284991502762,
... |
func (o *TfaCreateMessageRequest) SetRepeatDTMF(v string) {
o.RepeatDTMF = &v
} | [
-0.9598813652992249,
0.5610207319259644,
-0.07596757262945175,
-0.9366902709007263,
-0.5565736293792725,
-0.46850091218948364,
0.2124812752008438,
-1.3425472974777222,
-1.3829355239868164,
-0.06325408816337585,
-1.3424646854400635,
0.2270265519618988,
-0.700904369354248,
-0.780187010765075... |
func (o *TfaCreateMessageRequest) GetSenderId() string {
if o == nil || o.SenderId == nil {
var ret string
return ret
}
return *o.SenderId
} | [
0.18259166181087494,
-0.23460157215595245,
0.2088180035352707,
1.0142970085144043,
-0.13210879266262054,
0.4816085994243622,
0.648725152015686,
-0.28556740283966064,
0.8893725872039795,
-0.09283003211021423,
0.005834014620631933,
-1.2215865850448608,
-1.019078254699707,
1.6782143115997314,... |
func (o *TfaCreateMessageRequest) GetSenderIdOk() (*string, bool) {
if o == nil || o.SenderId == nil {
return nil, false
}
return o.SenderId, true
} | [
-0.3546784520149231,
0.2897545397281647,
0.4874016046524048,
0.6657015681266785,
0.13065817952156067,
0.3472146689891815,
1.0907169580459595,
0.7661111354827881,
0.13195501267910004,
-0.22532622516155243,
-1.0799314975738525,
-0.7884420156478882,
-0.38272032141685486,
0.9887451529502869,
... |
func (o *TfaCreateMessageRequest) HasSenderId() bool {
if o != nil && o.SenderId != nil {
return true
}
return false
} | [
-0.24770072102546692,
-0.05348401889204979,
0.14841195940971375,
-0.09372993558645248,
0.16562122106552124,
-0.33930397033691406,
-0.24530039727687836,
0.8260706663131714,
0.3069990575313568,
-0.15173614025115967,
-0.6985041499137878,
-0.6932392120361328,
-0.2855754494667053,
1.89491498470... |
func (o *TfaCreateMessageRequest) SetSenderId(v string) {
o.SenderId = &v
} | [
0.3331702649593353,
-0.5117018818855286,
-0.09198495745658875,
-0.14670220017433167,
-0.8844698071479797,
0.1834132969379425,
-0.2997453808784485,
-0.6826584935188293,
-0.21872954070568085,
0.37751370668411255,
0.08850213885307312,
0.08926015347242355,
-0.7877759337425232,
0.77745378017425... |
func (o *TfaCreateMessageRequest) GetSpeechRate() float64 {
if o == nil || o.SpeechRate == nil {
var ret float64
return ret
}
return *o.SpeechRate
} | [
0.09088443219661713,
0.35671964287757874,
-0.023989982903003693,
0.8903660178184509,
0.0392829105257988,
-0.7438223361968994,
-0.6809369921684265,
-0.3253750801086426,
0.6083536148071289,
-0.7881067991256714,
0.5928710699081421,
-1.3400651216506958,
-1.5295284986495972,
1.126859426498413,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.