class ExtendedProfileBirthday
Constants
- DAY
- DAYENABLED
- DAYPRIVACYLEVELTYPE
- FIELDS
- YEAR
- YEARENABLED
- YEARPRIVACYLEVELTYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 15376 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 15378 def validate unless @yearPrivacyLevelType.nil? || ::P0_a_e_a_b_xe::VALID_VALUES.include?(@yearPrivacyLevelType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field yearPrivacyLevelType!') end unless @dayPrivacyLevelType.nil? || ::P0_a_e_a_b_xe::VALID_VALUES.include?(@dayPrivacyLevelType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field dayPrivacyLevelType!') end end