Class: Fizzy::Types::UpdateJoinCodeRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#usage_limitObject (readonly)

Returns the value of attribute usage_limit

Returns:

  • (Object)

    the current value of usage_limit



1022
1023
1024
# File 'lib/fizzy/generated/types.rb', line 1022

def usage_limit
  @usage_limit
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



1024
1025
1026
1027
1028
# File 'lib/fizzy/generated/types.rb', line 1024

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