Class: Fizzy::Types::CreateCardRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#assignee_idsObject (readonly)

Returns the value of attribute assignee_ids

Returns:

  • (Object)

    the current value of assignee_ids



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def assignee_ids
  @assignee_ids
end

#board_idObject (readonly)

Returns the value of attribute board_id

Returns:

  • (Object)

    the current value of board_id



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def board_id
  @board_id
end

#column_idObject (readonly)

Returns the value of attribute column_id

Returns:

  • (Object)

    the current value of column_id



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def column_id
  @column_id
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def created_at
  @created_at
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def description
  @description
end

#imageObject (readonly)

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def image
  @image
end

#last_active_atObject (readonly)

Returns the value of attribute last_active_at

Returns:

  • (Object)

    the current value of last_active_at



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def last_active_at
  @last_active_at
end

#tag_namesObject (readonly)

Returns the value of attribute tag_names

Returns:

  • (Object)

    the current value of tag_names



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def tag_names
  @tag_names
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



357
358
359
# File 'lib/fizzy/generated/types.rb', line 357

def title
  @title
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



359
360
361
362
363
364
365
366
367
368
369
370
371
# File 'lib/fizzy/generated/types.rb', line 359

def self.from_json(data)
  new(
    title: data["title"],
    board_id: data["board_id"],
    column_id: data["column_id"],
    description: data["description"],
    assignee_ids: data["assignee_ids"],
    tag_names: data["tag_names"],
    image: data["image"],
    created_at: data["created_at"],
    last_active_at: data["last_active_at"]
  )
end