Class: SticonProperty
- Inherits:
-
Object
- Object
- SticonProperty
- 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
- STICONIDS =
2
- AVAILABLEFORPHOTOEDIT =
3
- STICONRESOURCETYPE =
4
- FIELDS =
{ STICONIDS => {:type => ::Thrift::Types::LIST, :name => 'sticonIds', :element => {:type => ::Thrift::Types::STRING}}, AVAILABLEFORPHOTOEDIT => {:type => ::Thrift::Types::BOOL, :name => 'availableForPhotoEdit'}, STICONRESOURCETYPE => {:type => ::Thrift::Types::I32, :name => 'sticonResourceType', :enum_class => ::P0_a_a_b_a_a_f3} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
9200 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 9200 def struct_fields; FIELDS; end |
#validate ⇒ Object
9202 9203 9204 9205 9206 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 9202 def validate unless @sticonResourceType.nil? || ::P0_a_a_b_a_a_f3::VALID_VALUES.include?(@sticonResourceType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field sticonResourceType!') end end |