SetCodePrefix sets the "code_prefix" field.
(v string)
| 880 | |
| 881 | // SetCodePrefix sets the "code_prefix" field. |
| 882 | func (u *InviteCodeUpsertBulk) SetCodePrefix(v string) *InviteCodeUpsertBulk { |
| 883 | return u.Update(func(s *InviteCodeUpsert) { |
| 884 | s.SetCodePrefix(v) |
| 885 | }) |
| 886 | } |
| 887 | |
| 888 | // UpdateCodePrefix sets the "code_prefix" field to the value that was provided on create. |
| 889 | func (u *InviteCodeUpsertBulk) UpdateCodePrefix() *InviteCodeUpsertBulk { |