Class: WiMP::Gen::ArtistLink
- Inherits:
-
Object
- Object
- WiMP::Gen::ArtistLink
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen/services_types.rb
Constant Summary collapse
- URL =
1
- FIELDS =
{ URL => {:type => ::Thrift::Types::STRING, :name => 'url'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
719 |
# File 'lib/gen/services_types.rb', line 719 def struct_fields; FIELDS; end |
#validate ⇒ Object
721 722 723 |
# File 'lib/gen/services_types.rb', line 721 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field url is unset!') unless @url end |