Class: ServiceStack::IdResponse
- Inherits:
-
Object
- Object
- ServiceStack::IdResponse
- Includes:
- DTO
- Defined in:
- lib/servicestack/types.rb
Overview
Returned by APIs that return the Id of the created or updated entity.
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#response_status ⇒ Object
Returns the value of attribute response_status.
Class Method Summary collapse
Methods included from DTO
#==, included, #initialize, #inspect, #to_hash, #to_json
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
62 63 64 |
# File 'lib/servicestack/types.rb', line 62 def id @id end |
#response_status ⇒ Object
Returns the value of attribute response_status.
62 63 64 |
# File 'lib/servicestack/types.rb', line 62 def response_status @response_status end |
Class Method Details
.properties ⇒ Object
64 65 66 67 68 69 |
# File 'lib/servicestack/types.rb', line 64 def self.properties { id: { name: 'id' }, response_status: { name: 'responseStatus', type: ResponseStatus }, } end |