Class: Peddler::APIs::ListingsRestrictions20210801::Link
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ListingsRestrictions20210801::Link
- Defined in:
- sig/peddler/apis/listings_restrictions_2021_08_01.rbs
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
-
#type ⇒ String?
readonly
Returns the value of attribute type.
-
#verb ⇒ String
readonly
Returns the value of attribute verb.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :resource, :verb, :title, :type ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ListingsRestrictions20210801::Link
Instance Method Summary collapse
-
#members ⇒ [ :resource, :verb, :title, :type ]
-
#to_h ⇒ { resource: untyped, verb: String, title: String?, type: String? }
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
36 37 38 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 36 def resource @resource end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
37 38 39 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 37 def title @title end |
#type ⇒ String? (readonly)
Returns the value of attribute type.
38 39 40 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 38 def type @type end |
#verb ⇒ String (readonly)
Returns the value of attribute verb.
39 40 41 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 39 def verb @verb end |
Class Method Details
.[](resource:, verb:, title:, type:) ⇒ Peddler::APIs::ListingsRestrictions20210801::Link .[](arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ListingsRestrictions20210801::Link
29 30 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 29
def self.[]: (resource: untyped, verb: String, ?title: String?, ?type: String?) -> Peddler::APIs::ListingsRestrictions20210801::Link
| (untyped, String, String?, String?) -> Peddler::APIs::ListingsRestrictions20210801::Link
|
.members ⇒ [ :resource, :verb, :title, :type ]
32 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 32
def self.members: () -> [ :resource, :verb, :title, :type ]
|
.new(resource:, verb:, title:, type:) ⇒ Peddler::APIs::ListingsRestrictions20210801::Link .new(arg0, arg1, arg2, arg3) ⇒ Peddler::APIs::ListingsRestrictions20210801::Link
27 28 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 27
def self.new: (resource: untyped, verb: String, ?title: String?, ?type: String?) -> Peddler::APIs::ListingsRestrictions20210801::Link
| (untyped, String, String?, String?) -> Peddler::APIs::ListingsRestrictions20210801::Link
|
.parse ⇒ Peddler::APIs::ListingsRestrictions20210801::Link
34 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 34
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ListingsRestrictions20210801::Link
|
Instance Method Details
#members ⇒ [ :resource, :verb, :title, :type ]
41 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 41
def members: () -> [ :resource, :verb, :title, :type ]
|
#to_h ⇒ { resource: untyped, verb: String, title: String?, type: String? }
42 |
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 42
def to_h: () -> { resource: untyped, verb: String, title: String?, type: String? }
|