Class: Peddler::APIs::ListingsRestrictions20210801::Reason
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ListingsRestrictions20210801::Reason
- Defined in:
- sig/peddler/apis/listings_restrictions_2021_08_01.rbs
Instance Attribute Summary collapse
-
#links ⇒ Array[Peddler::APIs::ListingsRestrictions20210801::Link]?
readonly
Returns the value of attribute links.
-
#message ⇒ String
readonly
Returns the value of attribute message.
-
#reason_code ⇒ String?
readonly
Returns the value of attribute reason_code.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :message, :links, :reason_code ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason
Instance Method Summary collapse
-
#members ⇒ [ :message, :links, :reason_code ]
-
#to_h ⇒ { message: String, links: Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, reason_code: String? }
Instance Attribute Details
#links ⇒ Array[Peddler::APIs::ListingsRestrictions20210801::Link]? (readonly)
Returns the value of attribute links.
55 56 57 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 55 def links @links end |
#message ⇒ String (readonly)
Returns the value of attribute message.
56 57 58 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 56 def @message end |
#reason_code ⇒ String? (readonly)
Returns the value of attribute reason_code.
57 58 59 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 57 def reason_code @reason_code end |
Class Method Details
.[](message:, links:, reason_code:) ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason
48 49 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 48
def self.[]: (message: String, ?links: Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, ?reason_code: String?) -> Peddler::APIs::ListingsRestrictions20210801::Reason
| (String, Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, String?) -> Peddler::APIs::ListingsRestrictions20210801::Reason
|
.members ⇒ [ :message, :links, :reason_code ]
51 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 51
def self.members: () -> [ :message, :links, :reason_code ]
|
.new(message:, links:, reason_code:) ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason
46 47 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 46
def self.new: (message: String, ?links: Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, ?reason_code: String?) -> Peddler::APIs::ListingsRestrictions20210801::Reason
| (String, Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, String?) -> Peddler::APIs::ListingsRestrictions20210801::Reason
|
.parse ⇒ Peddler::APIs::ListingsRestrictions20210801::Reason
53 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 53
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ListingsRestrictions20210801::Reason
|
Instance Method Details
#members ⇒ [ :message, :links, :reason_code ]
59 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 59
def members: () -> [ :message, :links, :reason_code ]
|
#to_h ⇒ { message: String, links: Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, reason_code: String? }
60 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 60
def to_h: () -> { message: String, links: Array[Peddler::APIs::ListingsRestrictions20210801::Link]?, reason_code: String? }
|