Class: Fizzy::Types::CompleteJoinRequestContent

Inherits:
Data
  • Object
show all
Defined in:
lib/fizzy/generated/types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



291
292
293
# File 'lib/fizzy/generated/types.rb', line 291

def name
  @name
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



293
294
295
296
297
# File 'lib/fizzy/generated/types.rb', line 293

def self.from_json(data)
  new(
    name: data["name"]
  )
end