Class: Fizzy::Types::UpdateMyTimezoneRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#timezone_nameObject (readonly)

Returns the value of attribute timezone_name

Returns:

  • (Object)

    the current value of timezone_name



1043
1044
1045
# File 'lib/fizzy/generated/types.rb', line 1043

def timezone_name
  @timezone_name
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



1045
1046
1047
1048
1049
# File 'lib/fizzy/generated/types.rb', line 1045

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