class Square
Constants
- ABLETOUSEINVITATIONTICKET
- CATEGORYID
- DESC
- EMBLEMS
- FIELDS
- INVITATIONURL
- JOINMETHOD
- MID
- NAME
- PROFILEIMAGEOBSHASH
- REVISION
- SEARCHABLE
- STATE
- TYPE
- WELCOMEMESSAGE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 9691 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 9693 def validate unless @type.nil? || ::Com_linecorp_square_protocol_thrift_common_SquareType::VALID_VALUES.include?(@type) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!') end unless @state.nil? || ::Com_linecorp_square_protocol_thrift_common_SquareState::VALID_VALUES.include?(@state) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field state!') end end