user_account.pbext.go raw
1 // Code generated by protoc-gen-goext. DO NOT EDIT.
2
3 package iam
4
5 import (
6 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
7 )
8
9 type UserAccount_UserAccount = isUserAccount_UserAccount
10
11 func (m *UserAccount) SetUserAccount(v UserAccount_UserAccount) {
12 m.UserAccount = v
13 }
14
15 func (m *UserAccount) SetId(v string) {
16 m.Id = v
17 }
18
19 func (m *UserAccount) SetYandexPassportUserAccount(v *YandexPassportUserAccount) {
20 m.UserAccount = &UserAccount_YandexPassportUserAccount{
21 YandexPassportUserAccount: v,
22 }
23 }
24
25 func (m *UserAccount) SetSamlUserAccount(v *SamlUserAccount) {
26 m.UserAccount = &UserAccount_SamlUserAccount{
27 SamlUserAccount: v,
28 }
29 }
30
31 func (m *UserAccount) SetLastAuthenticatedAt(v *timestamppb.Timestamp) {
32 m.LastAuthenticatedAt = v
33 }
34
35 func (m *YandexPassportUserAccount) SetLogin(v string) {
36 m.Login = v
37 }
38
39 func (m *YandexPassportUserAccount) SetDefaultEmail(v string) {
40 m.DefaultEmail = v
41 }
42
43 func (m *SamlUserAccount) SetFederationId(v string) {
44 m.FederationId = v
45 }
46
47 func (m *SamlUserAccount) SetNameId(v string) {
48 m.NameId = v
49 }
50
51 func (m *SamlUserAccount) SetAttributes(v map[string]*SamlUserAccount_Attribute) {
52 m.Attributes = v
53 }
54
55 func (m *SamlUserAccount_Attribute) SetValue(v []string) {
56 m.Value = v
57 }
58