Class: Peddler::APIs::ListingsRestrictions20210801::Link

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/listings_restrictions_2021_08_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#resourceObject (readonly)

Returns the value of attribute resource.

Returns:

  • (Object)


36
37
38
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 36

def resource
  @resource
end

#titleString? (readonly)

Returns the value of attribute title.

Returns:

  • (String, nil)


37
38
39
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 37

def title
  @title
end

#typeString? (readonly)

Returns the value of attribute type.

Returns:

  • (String, nil)


38
39
40
# File 'sig/peddler/apis/listings_restrictions_2021_08_01.rbs', line 38

def type
  @type
end

#verbString (readonly)

Returns the value of attribute verb.

Returns:

  • (String)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::ListingsRestrictions20210801::Link

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



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 ]

Returns:

  • ([ :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? }

Returns:

  • ({ 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? }