Class: Sink::Models::ResponseOnlyReadOnlyPropertiesResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/sink/models/response_only_read_only_properties_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#[], #deconstruct_keys, #inspect, #to_h, #to_s

Constructor Details

#initialize(data = {}) ⇒ ResponseOnlyReadOnlyPropertiesResponse

Create a new instance of ResponseOnlyReadOnlyPropertiesResponse from a Hash of

raw data.

Parameters:

  • data (Hash{Symbol => Object}) (defaults to: {})

    . @option data [String] :read_only_enum This is my description for the Currency enum @option data [String] :read_only_property



7
# File 'lib/sink/models/response_only_read_only_properties_response.rb', line 7

def initialize(data = {}) = super

Instance Attribute Details

#read_only_enumSymbol, Sink::Models::Currency (readonly)

This is my description for the Currency enum

Returns:



9
# File 'lib/sink/models/response_only_read_only_properties_response.rb', line 9

required :read_only_enum, nil, :r, enum: -> { Sink::Models::Currency }

#read_only_propertyString (readonly)

Returns:

  • (String)


13
# File 'lib/sink/models/response_only_read_only_properties_response.rb', line 13

required :read_only_property, String, :r