Class: Fizzy::Types::UpdateCardRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#column_idObject (readonly)

Returns the value of attribute column_id

Returns:

  • (Object)

    the current value of column_id



978
979
980
# File 'lib/fizzy/generated/types.rb', line 978

def column_id
  @column_id
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



978
979
980
# File 'lib/fizzy/generated/types.rb', line 978

def created_at
  @created_at
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



978
979
980
# File 'lib/fizzy/generated/types.rb', line 978

def description
  @description
end

#imageObject (readonly)

Returns the value of attribute image

Returns:

  • (Object)

    the current value of image



978
979
980
# File 'lib/fizzy/generated/types.rb', line 978

def image
  @image
end

#titleObject (readonly)

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



978
979
980
# File 'lib/fizzy/generated/types.rb', line 978

def title
  @title
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



980
981
982
983
984
985
986
987
988
# File 'lib/fizzy/generated/types.rb', line 980

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