Class: Settings

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb

Constant Summary collapse

NOTIFICATIONENABLE =
10
NOTIFICATIONMUTEEXPIRATION =
11
NOTIFICATIONNEWMESSAGE =
12
NOTIFICATIONGROUPINVITATION =
13
NOTIFICATIONSHOWMESSAGE =
14
NOTIFICATIONINCOMINGCALL =
15
NOTIFICATIONSOUNDMESSAGE =
16
NOTIFICATIONSOUNDGROUP =
17
NOTIFICATIONDISABLEDWITHSUB =
18
NOTIFICATIONPAYMENT =
19
NOTIFICATIONMENTION =
68
NOTIFICATIONTHUMBNAIL =
72
NOTIFICATIONBADGETALKONLY =
93
NOTIFICATIONREACTION =
95
PRIVACYSYNCCONTACTS =
20
PRIVACYSEARCHBYPHONENUMBER =
21
PRIVACYSEARCHBYUSERID =
22
PRIVACYSEARCHBYEMAIL =
23
PRIVACYALLOWSECONDARYDEVICELOGIN =
24
PRIVACYPROFILEIMAGEPOSTTOMYHOME =
25
PRIVACYPROFILEMUSICPOSTTOMYHOME =
63
PRIVACYALLOWPROFILEHISTORY =
85
PRIVACYSTATUSMESSAGEHISTORY =
81
PRIVACYRECEIVEMESSAGESFROMNOTFRIEND =
26
PRIVACYAGREEUSELINECOINTOPAIDCALL =
27
PRIVACYAGREEUSEPAIDCALL =
28
PRIVACYALLOWFRIENDREQUEST =
29
PRIVACYALLOWNEARBY =
65
PRIVACYSHAREPERSONALINFOTOFRIENDS =
78
PRIVACYAGERESULT =
88
PRIVACYAGERESULTRECEIVED =
89
PRIVACYALLOWFOLLOW =
91
PRIVACYSHOWFOLLOWLIST =
92
CONTACTMYTICKET =
30
IDENTITYPROVIDER =
40
IDENTITYIDENTIFIER =
41
SNSACCOUNTS =
42
PHONEREGISTRATION =
43
EMAILCONFIRMATIONSTATUS =
44
ACCOUNTMIGRATIONPINCODETYPE =
45
ENFORCEDINPUTACCOUNTMIGRATIONPINCODE =
46
SECURITYCENTERSETTINGSTYPE =
47
ALLOWUNREGISTRATIONSECONDARYDEVICE =
48
PWLESSPRIMARYCREDENTIALREGISTRATION =
49
PREFERENCELOCALE =
50
CUSTOMMODES =
60
E2EEENABLE =
61
HITOKOTOBACKUPREQUESTED =
62
AGREEMENTNEARBYTIME =
66
AGREEMENTSQUARETIME =
67
BOTUSEAGREEMENTACCEPTEDAT =
69
AGREEMENTSHAKEFUNCTION =
70
AGREEMENTMOBILECONTACTNAME =
71
AGREEMENTSOUNDTOTEXT =
73
PRIVACYPOLICYVERSION =
74
AGREEMENTADBYWEBACCESS =
75
AGREEMENTPHONENUMBERMATCHING =
76
AGREEMENTCOMMUNICATIONINFO =
77
AGREEMENTTHINGSWIRELESSCOMMUNICATION =
79
AGREEMENTGDPR =
80
AGREEMENTPROVIDELOCATION =
82
AGREEMENTBEACON =
83
AGREEMENTCONTENTSSUGGEST =
86
AGREEMENTCONTENTSSUGGESTDATACOLLECTION =
87
AGREEMENTOCRIMAGECOLLECTION =
90
AGREEMENTICNA =
94
AGREEMENTMID =
96
HOMENOTIFICATIONNEWFRIEND =
97
HOMENOTIFICATIONFAVORITEFRIENDUPDATE =
98
HOMENOTIFICATIONGROUPMEMBERUPDATE =
99
HOMENOTIFICATIONBIRTHDAY =
100
FIELDS =
{
  NOTIFICATIONENABLE => {:type => ::Thrift::Types::BOOL, :name => 'notificationEnable'},
  NOTIFICATIONMUTEEXPIRATION => {:type => ::Thrift::Types::BOOL, :name => 'notificationMuteExpiration'},
  NOTIFICATIONNEWMESSAGE => {:type => ::Thrift::Types::BOOL, :name => 'notificationNewMessage'},
  NOTIFICATIONGROUPINVITATION => {:type => ::Thrift::Types::BOOL, :name => 'notificationGroupInvitation'},
  NOTIFICATIONSHOWMESSAGE => {:type => ::Thrift::Types::I32, :name => 'notificationShowMessage', :enum_class => ::P0_a_e_a_b_ye},
  NOTIFICATIONINCOMINGCALL => {:type => ::Thrift::Types::I64, :name => 'notificationIncomingCall'},
  NOTIFICATIONSOUNDMESSAGE => {:type => ::Thrift::Types::I32, :name => 'notificationSoundMessage', :enum_class => ::P0_a_e_a_b_ft},
  NOTIFICATIONSOUNDGROUP => {:type => ::Thrift::Types::BOOL, :name => 'notificationSoundGroup'},
  NOTIFICATIONDISABLEDWITHSUB => {:type => ::Thrift::Types::BOOL, :name => 'notificationDisabledWithSub'},
  NOTIFICATIONPAYMENT => {:type => ::Thrift::Types::BOOL, :name => 'notificationPayment'},
  NOTIFICATIONMENTION => {:type => ::Thrift::Types::STRING, :name => 'notificationMention'},
  NOTIFICATIONTHUMBNAIL => {:type => ::Thrift::Types::I32, :name => 'notificationThumbnail', :enum_class => ::P0_a_e_a_b_sc},
  NOTIFICATIONBADGETALKONLY => {:type => ::Thrift::Types::STRING, :name => 'notificationBadgeTalkOnly'},
  NOTIFICATIONREACTION => {:type => ::Thrift::Types::MAP, :name => 'notificationReaction', :key => {:type => ::Thrift::Types::I32, :enum_class => ::P0_a_e_a_b_jg}, :value => {:type => ::Thrift::Types::STRING}},
  PRIVACYSYNCCONTACTS => {:type => ::Thrift::Types::BOOL, :name => 'privacySyncContacts'},
  PRIVACYSEARCHBYPHONENUMBER => {:type => ::Thrift::Types::I32, :name => 'privacySearchByPhoneNumber', :enum_class => ::P0_a_e_a_b_aa},
  PRIVACYSEARCHBYUSERID => {:type => ::Thrift::Types::I32, :name => 'privacySearchByUserid', :enum_class => ::P0_a_e_a_b_h},
  PRIVACYSEARCHBYEMAIL => {:type => ::Thrift::Types::BOOL, :name => 'privacySearchByEmail'},
  PRIVACYALLOWSECONDARYDEVICELOGIN => {:type => ::Thrift::Types::I32, :name => 'privacyAllowSecondaryDeviceLogin', :enum_class => ::P0_a_e_a_b_yf},
  PRIVACYPROFILEIMAGEPOSTTOMYHOME => {:type => ::Thrift::Types::BOOL, :name => 'privacyProfileImagePostToMyhome'},
  PRIVACYPROFILEMUSICPOSTTOMYHOME => {:type => ::Thrift::Types::BOOL, :name => 'privacyProfileMusicPostToMyhome'},
  PRIVACYALLOWPROFILEHISTORY => {:type => ::Thrift::Types::BOOL, :name => 'privacyAllowProfileHistory'},
  PRIVACYSTATUSMESSAGEHISTORY => {:type => ::Thrift::Types::I64, :name => 'privacyStatusMessageHistory'},
  PRIVACYRECEIVEMESSAGESFROMNOTFRIEND => {:type => ::Thrift::Types::STRING, :name => 'privacyReceiveMessagesFromNotFriend'},
  PRIVACYAGREEUSELINECOINTOPAIDCALL => {:type => ::Thrift::Types::BOOL, :name => 'privacyAgreeUseLineCoinToPaidCall'},
  PRIVACYAGREEUSEPAIDCALL => {:type => ::Thrift::Types::MAP, :name => 'privacyAgreeUsePaidCall', :key => {:type => ::Thrift::Types::I32, :enum_class => ::P0_a_e_a_b_j9}, :value => {:type => ::Thrift::Types::STRING}},
  PRIVACYALLOWFRIENDREQUEST => {:type => ::Thrift::Types::BOOL, :name => 'privacyAllowFriendRequest'},
  PRIVACYALLOWNEARBY => {:type => ::Thrift::Types::BOOL, :name => 'privacyAllowNearby'},
  PRIVACYSHAREPERSONALINFOTOFRIENDS => {:type => ::Thrift::Types::BOOL, :name => 'privacySharePersonalInfoToFriends'},
  PRIVACYAGERESULT => {:type => ::Thrift::Types::BOOL, :name => 'privacyAgeResult'},
  PRIVACYAGERESULTRECEIVED => {:type => ::Thrift::Types::BOOL, :name => 'privacyAgeResultReceived'},
  PRIVACYALLOWFOLLOW => {:type => ::Thrift::Types::I64, :name => 'privacyAllowFollow'},
  PRIVACYSHOWFOLLOWLIST => {:type => ::Thrift::Types::STRING, :name => 'privacyShowFollowList'},
  CONTACTMYTICKET => {:type => ::Thrift::Types::I64, :name => 'contactMyTicket'},
  IDENTITYPROVIDER => {:type => ::Thrift::Types::STRING, :name => 'identityProvider'},
  IDENTITYIDENTIFIER => {:type => ::Thrift::Types::I64, :name => 'identityIdentifier'},
  SNSACCOUNTS => {:type => ::Thrift::Types::BOOL, :name => 'snsAccounts'},
  PHONEREGISTRATION => {:type => ::Thrift::Types::I64, :name => 'phoneRegistration'},
  EMAILCONFIRMATIONSTATUS => {:type => ::Thrift::Types::BOOL, :name => 'emailConfirmationStatus'},
  ACCOUNTMIGRATIONPINCODETYPE => {:type => ::Thrift::Types::I64, :name => 'accountMigrationPincodeType'},
  ENFORCEDINPUTACCOUNTMIGRATIONPINCODE => {:type => ::Thrift::Types::BOOL, :name => 'enforcedInputAccountMigrationPincode'},
  SECURITYCENTERSETTINGSTYPE => {:type => ::Thrift::Types::I64, :name => 'securityCenterSettingsType'},
  ALLOWUNREGISTRATIONSECONDARYDEVICE => {:type => ::Thrift::Types::BOOL, :name => 'allowUnregistrationSecondaryDevice'},
  PWLESSPRIMARYCREDENTIALREGISTRATION => {:type => ::Thrift::Types::STRING, :name => 'pwlessPrimaryCredentialRegistration'},
  PREFERENCELOCALE => {:type => ::Thrift::Types::BOOL, :name => 'preferenceLocale'},
  CUSTOMMODES => {:type => ::Thrift::Types::I64, :name => 'customModes'},
  E2EEENABLE => {:type => ::Thrift::Types::BOOL, :name => 'e2eeEnable'},
  HITOKOTOBACKUPREQUESTED => {:type => ::Thrift::Types::I64, :name => 'hitokotoBackupRequested'},
  AGREEMENTNEARBYTIME => {:type => ::Thrift::Types::BOOL, :name => 'agreementNearbyTime'},
  AGREEMENTSQUARETIME => {:type => ::Thrift::Types::I64, :name => 'agreementSquareTime'},
  BOTUSEAGREEMENTACCEPTEDAT => {:type => ::Thrift::Types::BOOL, :name => 'botUseAgreementAcceptedAt'},
  AGREEMENTSHAKEFUNCTION => {:type => ::Thrift::Types::I64, :name => 'agreementShakeFunction'},
  AGREEMENTMOBILECONTACTNAME => {:type => ::Thrift::Types::BOOL, :name => 'agreementMobileContactName'},
  AGREEMENTSOUNDTOTEXT => {:type => ::Thrift::Types::I64, :name => 'agreementSoundToText'},
  PRIVACYPOLICYVERSION => {:type => ::Thrift::Types::BOOL, :name => 'privacyPolicyVersion'},
  AGREEMENTADBYWEBACCESS => {:type => ::Thrift::Types::I64, :name => 'agreementAdByWebAccess'},
  AGREEMENTPHONENUMBERMATCHING => {:type => ::Thrift::Types::BOOL, :name => 'agreementPhoneNumberMatching'},
  AGREEMENTCOMMUNICATIONINFO => {:type => ::Thrift::Types::I64, :name => 'agreementCommunicationInfo'},
  AGREEMENTTHINGSWIRELESSCOMMUNICATION => {:type => ::Thrift::Types::BOOL, :name => 'agreementThingsWirelessCommunication'},
  AGREEMENTGDPR => {:type => ::Thrift::Types::I64, :name => 'agreementGdpr'},
  AGREEMENTPROVIDELOCATION => {:type => ::Thrift::Types::BOOL, :name => 'agreementProvideLocation'},
  AGREEMENTBEACON => {:type => ::Thrift::Types::I64, :name => 'agreementBeacon'},
  AGREEMENTCONTENTSSUGGEST => {:type => ::Thrift::Types::I32, :name => 'agreementContentsSuggest', :enum_class => ::P0_a_e_a_b_cf},
  AGREEMENTCONTENTSSUGGESTDATACOLLECTION => {:type => ::Thrift::Types::I64, :name => 'agreementContentsSuggestDataCollection'},
  AGREEMENTOCRIMAGECOLLECTION => {:type => ::Thrift::Types::I32, :name => 'agreementOcrImageCollection', :enum_class => ::P0_a_e_a_b_pg},
  AGREEMENTICNA => {:type => ::Thrift::Types::I64, :name => 'agreementIcna'},
  AGREEMENTMID => {:type => ::Thrift::Types::BOOL, :name => 'agreementMid'},
  HOMENOTIFICATIONNEWFRIEND => {:type => ::Thrift::Types::I64, :name => 'homeNotificationNewFriend'},
  HOMENOTIFICATIONFAVORITEFRIENDUPDATE => {:type => ::Thrift::Types::BOOL, :name => 'homeNotificationFavoriteFriendUpdate'},
  HOMENOTIFICATIONGROUPMEMBERUPDATE => {:type => ::Thrift::Types::BOOL, :name => 'homeNotificationGroupMemberUpdate'},
  HOMENOTIFICATIONBIRTHDAY => {:type => ::Thrift::Types::BOOL, :name => 'homeNotificationBirthday'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



13940
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13940

def struct_fields; FIELDS; end

#validateObject



13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13942

def validate
  unless @notificationShowMessage.nil? || ::P0_a_e_a_b_ye::VALID_VALUES.include?(@notificationShowMessage)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field notificationShowMessage!')
  end
  unless @notificationSoundMessage.nil? || ::P0_a_e_a_b_ft::VALID_VALUES.include?(@notificationSoundMessage)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field notificationSoundMessage!')
  end
  unless @notificationThumbnail.nil? || ::P0_a_e_a_b_sc::VALID_VALUES.include?(@notificationThumbnail)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field notificationThumbnail!')
  end
  unless @privacySearchByPhoneNumber.nil? || ::P0_a_e_a_b_aa::VALID_VALUES.include?(@privacySearchByPhoneNumber)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privacySearchByPhoneNumber!')
  end
  unless @privacySearchByUserid.nil? || ::P0_a_e_a_b_h::VALID_VALUES.include?(@privacySearchByUserid)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privacySearchByUserid!')
  end
  unless @privacyAllowSecondaryDeviceLogin.nil? || ::P0_a_e_a_b_yf::VALID_VALUES.include?(@privacyAllowSecondaryDeviceLogin)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field privacyAllowSecondaryDeviceLogin!')
  end
  unless @agreementContentsSuggest.nil? || ::P0_a_e_a_b_cf::VALID_VALUES.include?(@agreementContentsSuggest)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field agreementContentsSuggest!')
  end
  unless @agreementOcrImageCollection.nil? || ::P0_a_e_a_b_pg::VALID_VALUES.include?(@agreementOcrImageCollection)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field agreementOcrImageCollection!')
  end
end