Class: Softlayer::Container::Search::Result

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/container/search/result.rb

Defined Under Namespace

Classes: Representer

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#matched_termsObject

Returns the value of attribute matched_terms.



5
6
7
# File 'lib/softlayer/container/search/result.rb', line 5

def matched_terms
  @matched_terms
end

#relevance_scoreObject

Returns the value of attribute relevance_score.



6
7
8
# File 'lib/softlayer/container/search/result.rb', line 6

def relevance_score
  @relevance_score
end

#resourceObject

Returns the value of attribute resource.



7
8
9
# File 'lib/softlayer/container/search/result.rb', line 7

def resource
  @resource
end

#resource_typeObject

Returns the value of attribute resource_type.



8
9
10
# File 'lib/softlayer/container/search/result.rb', line 8

def resource_type
  @resource_type
end