Class: Fizzy::Types::MoveCardRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#board_idObject (readonly)

Returns the value of attribute board_id

Returns:

  • (Object)

    the current value of board_id



703
704
705
# File 'lib/fizzy/generated/types.rb', line 703

def board_id
  @board_id
end

#column_idObject (readonly)

Returns the value of attribute column_id

Returns:

  • (Object)

    the current value of column_id



703
704
705
# File 'lib/fizzy/generated/types.rb', line 703

def column_id
  @column_id
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



705
706
707
708
709
710
# File 'lib/fizzy/generated/types.rb', line 705

def self.from_json(data)
  new(
    board_id: data["board_id"],
    column_id: data["column_id"]
  )
end