class FriendRequest
Constants
- DIRECTION
- DISPLAYNAME
- EMID
- FIELDS
- METHOD
- MID
- PARAM
- PICTUREPATH
- PICTURESTATUS
- SEQID
- TIMESTAMP
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 16690 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 16692 def validate unless @direction.nil? || ::P0_a_e_a_b_xa::VALID_VALUES.include?(@direction) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field direction!') end unless @method.nil? || ::P0_a_e_a_b_ya::VALID_VALUES.include?(@method) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field method!') end end