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



692
693
694
# File 'lib/fizzy/generated/types.rb', line 692

def board_id
  @board_id
end

#column_idObject (readonly)

Returns the value of attribute column_id

Returns:

  • (Object)

    the current value of column_id



692
693
694
# File 'lib/fizzy/generated/types.rb', line 692

def column_id
  @column_id
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



694
695
696
697
698
699
# File 'lib/fizzy/generated/types.rb', line 694

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