You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.7 KiB
56 lines
1.7 KiB
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/keybase/node-avdl-compiler) |
|
// Input file: ../../../../../../client/protocol/avdl/keybase1/invite_friends.avdl |
|
|
|
package keybase1 |
|
|
|
type InviteCounts struct { |
|
InviteCount int `codec:"inviteCount" json:"inviteCount"` |
|
PercentageChange float64 `codec:"percentageChange" json:"percentageChange"` |
|
ShowNumInvites bool `codec:"showNumInvites" json:"showNumInvites"` |
|
ShowFire bool `codec:"showFire" json:"showFire"` |
|
TooltipMarkdown string `codec:"tooltipMarkdown" json:"tooltipMarkdown"` |
|
} |
|
|
|
func (o InviteCounts) DeepCopy() InviteCounts { |
|
return InviteCounts{ |
|
InviteCount: o.InviteCount, |
|
PercentageChange: o.PercentageChange, |
|
ShowNumInvites: o.ShowNumInvites, |
|
ShowFire: o.ShowFire, |
|
TooltipMarkdown: o.TooltipMarkdown, |
|
} |
|
} |
|
|
|
type EmailInvites struct { |
|
CommaSeparatedEmailsFromUser *string `codec:"commaSeparatedEmailsFromUser,omitempty" json:"commaSeparatedEmailsFromUser,omitempty"` |
|
EmailsFromContacts *[]EmailAddress `codec:"emailsFromContacts,omitempty" json:"emailsFromContacts,omitempty"` |
|
} |
|
|
|
func (o EmailInvites) DeepCopy() EmailInvites { |
|
return EmailInvites{ |
|
CommaSeparatedEmailsFromUser: (func(x *string) *string { |
|
if x == nil { |
|
return nil |
|
} |
|
tmp := (*x) |
|
return &tmp |
|
})(o.CommaSeparatedEmailsFromUser), |
|
EmailsFromContacts: (func(x *[]EmailAddress) *[]EmailAddress { |
|
if x == nil { |
|
return nil |
|
} |
|
tmp := (func(x []EmailAddress) []EmailAddress { |
|
if x == nil { |
|
return nil |
|
} |
|
ret := make([]EmailAddress, len(x)) |
|
for i, v := range x { |
|
vCopy := v.DeepCopy() |
|
ret[i] = vCopy |
|
} |
|
return ret |
|
})((*x)) |
|
return &tmp |
|
})(o.EmailsFromContacts), |
|
} |
|
}
|
|
|