Class: Fizzy::Types::ActivityEventable

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#assigneesObject (readonly)

Returns the value of attribute assignees

Returns:

  • (Object)

    the current value of assignees



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def assignees
  @assignees
end

#boardObject (readonly)

Returns the value of attribute board

Returns:

  • (Object)

    the current value of board



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def board
  @board
end

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def body
  @body
end

#cardObject (readonly)

Returns the value of attribute card

Returns:

  • (Object)

    the current value of card



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def card
  @card
end

#closedObject (readonly)

Returns the value of attribute closed

Returns:

  • (Object)

    the current value of closed



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def closed
  @closed
end

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def column
  @column
end

#comments_urlObject (readonly)

Returns the value of attribute comments_url

Returns:

  • (Object)

    the current value of comments_url



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def comments_url
  @comments_url
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def created_at
  @created_at
end

#creatorObject (readonly)

Returns the value of attribute creator

Returns:

  • (Object)

    the current value of creator



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def creator
  @creator
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def description
  @description
end

#description_htmlObject (readonly)

Returns the value of attribute description_html

Returns:

  • (Object)

    the current value of description_html



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def description_html
  @description_html
end

#goldenObject (readonly)

Returns the value of attribute golden

Returns:

  • (Object)

    the current value of golden



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def golden
  @golden
end

#has_attachmentsObject (readonly)

Returns the value of attribute has_attachments

Returns:

  • (Object)

    the current value of has_attachments



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def has_attachments
  @has_attachments
end

#has_more_assigneesObject (readonly)

Returns the value of attribute has_more_assignees

Returns:

  • (Object)

    the current value of has_more_assignees



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def has_more_assignees
  @has_more_assignees
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def id
  @id
end

#image_urlObject (readonly)

Returns the value of attribute image_url

Returns:

  • (Object)

    the current value of image_url



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def image_url
  @image_url
end

#last_active_atObject (readonly)

Returns the value of attribute last_active_at

Returns:

  • (Object)

    the current value of last_active_at



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def last_active_at
  @last_active_at
end

#numberObject (readonly)

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def number
  @number
end

#postponedObject (readonly)

Returns the value of attribute postponed

Returns:

  • (Object)

    the current value of postponed



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def postponed
  @postponed
end

#reactions_urlObject (readonly)

Returns the value of attribute reactions_url

Returns:

  • (Object)

    the current value of reactions_url



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def reactions_url
  @reactions_url
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def status
  @status
end

#stepsObject (readonly)

Returns the value of attribute steps

Returns:

  • (Object)

    the current value of steps



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def steps
  @steps
end

#tagsObject (readonly)

Returns the value of attribute tags

Returns:

  • (Object)

    the current value of tags



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def tags
  @tags
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def title
  @title
end

#updated_atObject (readonly)

Returns the value of attribute updated_at

Returns:

  • (Object)

    the current value of updated_at



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def updated_at
  @updated_at
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



86
87
88
# File 'lib/fizzy/generated/types.rb', line 86

def url
  @url
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/fizzy/generated/types.rb', line 88

def self.from_json(data)
  new(
    id: data["id"],
    number: data["number"],
    title: data["title"],
    status: data["status"],
    description: data["description"],
    description_html: data["description_html"],
    image_url: data["image_url"],
    has_attachments: data["has_attachments"],
    tags: data["tags"],
    closed: data["closed"],
    postponed: data["postponed"],
    golden: data["golden"],
    last_active_at: data["last_active_at"],
    created_at: data["created_at"],
    updated_at: data["updated_at"],
    body: data["body"],
    creator: data["creator"],
    card: data["card"],
    board: data["board"],
    column: data["column"],
    assignees: data["assignees"],
    has_more_assignees: data["has_more_assignees"],
    comments_url: data["comments_url"],
    reactions_url: data["reactions_url"],
    steps: data["steps"],
    url: data["url"]
  )
end