class GeocodeRelation

Constants

FIELDS
RELATEDID
RELATIONTYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/thrift/geocoder_types.rb, line 213
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/thrift/geocoder_types.rb, line 215
def validate
  unless @relationType.nil? || ::GeocodeRelationType::VALID_VALUES.include?(@relationType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field relationType!')
  end
end