Class: ServiceStack::StringsResponse

Inherits:
Object
  • Object
show all
Includes:
DTO
Defined in:
lib/servicestack/types.rb

Overview

Returned by APIs that return a list of string results.

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from DTO

#==, included, #initialize, #inspect, #to_hash, #to_json

Instance Attribute Details

#metaObject

Returns the value of attribute meta.



89
90
91
# File 'lib/servicestack/types.rb', line 89

def meta
  @meta
end

#response_statusObject

Returns the value of attribute response_status.



89
90
91
# File 'lib/servicestack/types.rb', line 89

def response_status
  @response_status
end

#resultsObject

Returns the value of attribute results.



89
90
91
# File 'lib/servicestack/types.rb', line 89

def results
  @results
end

Class Method Details

.propertiesObject



91
92
93
94
95
96
97
# File 'lib/servicestack/types.rb', line 91

def self.properties
  {
    results: { name: 'results' },
    meta: { name: 'meta' },
    response_status: { name: 'responseStatus', type: ResponseStatus },
  }
end