public bool TryGetPrimaryKeyValue(RealmObject instance, out object value)
            {
                TokenInfoRealm tokenInfoRealm = (TokenInfoRealm)instance;

                value = (object)tokenInfoRealm.Id;
                return(true);
            }
            public void CopyToRealm(RealmObject instance, bool update, bool skipDefaults)
            {
                TokenInfoRealm tokenInfoRealm = (TokenInfoRealm)instance;

                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || tokenInfoRealm.\u003CUserId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    tokenInfoRealm.UserId = tokenInfoRealm.\u003CUserId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || tokenInfoRealm.\u003CRole\u003Ek__BackingField != 0)
                {
                    // ISSUE: reference to a compiler-generated field
                    tokenInfoRealm.Role = tokenInfoRealm.\u003CRole\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || tokenInfoRealm.\u003CInstituteUserId\u003Ek__BackingField != 0)
                {
                    // ISSUE: reference to a compiler-generated field
                    tokenInfoRealm.InstituteUserId = tokenInfoRealm.\u003CInstituteUserId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || tokenInfoRealm.\u003CSchoolYearId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    tokenInfoRealm.SchoolYearId = tokenInfoRealm.\u003CSchoolYearId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (!skipDefaults || tokenInfoRealm.\u003CTutelaryId\u003Ek__BackingField != null)
                {
                    // ISSUE: reference to a compiler-generated field
                    tokenInfoRealm.TutelaryId = tokenInfoRealm.\u003CTutelaryId\u003Ek__BackingField;
                }
                // ISSUE: reference to a compiler-generated field
                if (skipDefaults && tokenInfoRealm.\u003CInstituteCode\u003Ek__BackingField == null)
                {
                    return;
                }
                // ISSUE: reference to a compiler-generated field
                tokenInfoRealm.InstituteCode = tokenInfoRealm.\u003CInstituteCode\u003Ek__BackingField;
            }