Class: Peddler::APIs::SolicitationsV1::LinkObject

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hrefString (readonly)

Returns the value of attribute href.

Returns:

  • (String)


107
108
109
# File 'sig/peddler/apis/solicitations_v1.rbs', line 107

def href
  @href
end

#nameString? (readonly)

Returns the value of attribute name.

Returns:

  • (String, nil)


108
109
110
# File 'sig/peddler/apis/solicitations_v1.rbs', line 108

def name
  @name
end

Class Method Details

.[](href:, name:) ⇒ Peddler::APIs::SolicitationsV1::LinkObject .[](arg0, arg1) ⇒ Peddler::APIs::SolicitationsV1::LinkObject

Overloads:



100
101
# File 'sig/peddler/apis/solicitations_v1.rbs', line 100

def self.[]: (href: String, ?name: String?) -> Peddler::APIs::SolicitationsV1::LinkObject
| (String, String?) -> Peddler::APIs::SolicitationsV1::LinkObject

.members[ :href, :name ]

Returns:

  • ([ :href, :name ])


103
# File 'sig/peddler/apis/solicitations_v1.rbs', line 103

def self.members: () -> [ :href, :name ]

.new(href:, name:) ⇒ Peddler::APIs::SolicitationsV1::LinkObject .new(arg0, arg1) ⇒ Peddler::APIs::SolicitationsV1::LinkObject

Overloads:



98
99
# File 'sig/peddler/apis/solicitations_v1.rbs', line 98

def self.new: (href: String, ?name: String?) -> Peddler::APIs::SolicitationsV1::LinkObject
| (String, String?) -> Peddler::APIs::SolicitationsV1::LinkObject

.parsePeddler::APIs::SolicitationsV1::LinkObject

Parameters:

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

Returns:



105
# File 'sig/peddler/apis/solicitations_v1.rbs', line 105

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::SolicitationsV1::LinkObject

Instance Method Details

#members[ :href, :name ]

Returns:

  • ([ :href, :name ])


110
# File 'sig/peddler/apis/solicitations_v1.rbs', line 110

def members: () -> [ :href, :name ]

#to_h{ href: String, name: String? }

Returns:

  • ({ href: String, name: String? })


111
# File 'sig/peddler/apis/solicitations_v1.rbs', line 111

def to_h: () -> { href: String, name: String? }