Class: WiMP::Gen::ArtistLink

Inherits:
Object
  • Object
show all
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_fieldsObject



719
# File 'lib/gen/services_types.rb', line 719

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


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