· 7 years ago · Mar 29, 2018, 04:20 PM
1lib.Scopes{
2 Account: &lib.Account{
3 Id: 2,
4 Global: &false,
5 Region: "MY",
6 TcAccepted: &false,
7 PartnerId: "dummyvalue",
8 PartnerName: "iflix",
9 DefaultProfileId: 2,
10 DateCreated: time.Time{},
11 DateTcAccepted: time.Time{},
12 OfferVisibleAt: time.Time{},
13 Visitor: &true,
14 },
15 Entity: &lib.EntityWithGuest{
16 Entity: lib.Entity{
17 Id: 2,
18 AccountId: 2,
19 ProfileId: 2,
20 Name: "EntityFromVisitor",
21 DeviceId: "device-332746000",
22 DeviceVendor: "DeviceFromVisitor",
23 DeviceType: "DeviceTypeFromVisitor",
24 DeviceDetails: "DeviceDetailsFromVisitor",
25 Deleted: &false,
26 DateCreated: time.Time{},
27 DateLastUsed: time.Time{},
28 },
29 Guest: &true,
30 },
31 Profile: &lib.Profile{
32 Id: 2,
33 Name: "ProfName",
34 Password: "ProfPass",
35 Pin: "ProfPin",
36 Language: "ProfLang",
37 ParentalGuidance: "ProfGuidance",
38 DateCreated: time.Time{},
39 DateLastUsed: time.Time{},
40 AccountId: 2,
41 IsDefault: &true,
42 VimondId: 1,
43 VimondUsername: "vUser",
44 VimondPassword: "vPass",
45 OauthToken: "oAuth",
46 },
47 Entities: &lib.Entities{
48 lib.EntityWithGuest{
49 Entity: lib.Entity{
50 Id: 2,
51 AccountId: 2,
52 ProfileId: 2,
53 Name: "EntityFromVisitor",
54 DeviceId: "device-332746000",
55 DeviceVendor: "DeviceFromVisitor",
56 DeviceType: "DeviceTypeFromVisitor",
57 DeviceDetails: "DeviceDetailsFromVisitor",
58 Deleted: &false,
59 DateCreated: time.Time{},
60 DateLastUsed: time.Time{},
61 },
62 Guest: &true,
63 },
64 },
65 Profiles: &lib.Profiles{
66 lib.Profile{
67 Id: 2,
68 Name: "ProfName",
69 Password: "ProfPass",
70 Pin: "ProfPin",
71 Language: "ProfLang",
72 ParentalGuidance: "ProfGuidance",
73 DateCreated: time.Time{},
74 DateLastUsed: time.Time{},
75 AccountId: 2,
76 IsDefault: &true,
77 VimondId: 1,
78 VimondUsername: "vUser",
79 VimondPassword: "vPass",
80 OauthToken: "oAuth",
81 },
82 },
83}