Class: Fizzy::Types::Board

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#all_accessObject (readonly)

Returns the value of attribute all_access

Returns:

  • (Object)

    the current value of all_access



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def all_access
  @all_access
end

#auto_postpone_period_in_daysObject (readonly)

Returns the value of attribute auto_postpone_period_in_days

Returns:

  • (Object)

    the current value of auto_postpone_period_in_days



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def auto_postpone_period_in_days
  @auto_postpone_period_in_days
end

#created_atObject (readonly)

Returns the value of attribute created_at

Returns:

  • (Object)

    the current value of created_at



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def created_at
  @created_at
end

#creatorObject (readonly)

Returns the value of attribute creator

Returns:

  • (Object)

    the current value of creator



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def creator
  @creator
end

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def name
  @name
end

#public_descriptionObject (readonly)

Returns the value of attribute public_description

Returns:

  • (Object)

    the current value of public_description



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def public_description
  @public_description
end

#public_description_htmlObject (readonly)

Returns the value of attribute public_description_html

Returns:

  • (Object)

    the current value of public_description_html



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def public_description_html
  @public_description_html
end

#public_urlObject (readonly)

Returns the value of attribute public_url

Returns:

  • (Object)

    the current value of public_url



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def public_url
  @public_url
end

#urlObject (readonly)

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def url
  @url
end

#user_idsObject (readonly)

Returns the value of attribute user_ids

Returns:

  • (Object)

    the current value of user_ids



156
157
158
# File 'lib/fizzy/generated/types.rb', line 156

def user_ids
  @user_ids
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'lib/fizzy/generated/types.rb', line 158

def self.from_json(data)
  new(
    id: data["id"],
    name: data["name"],
    all_access: data["all_access"],
    created_at: data["created_at"],
    auto_postpone_period_in_days: data["auto_postpone_period_in_days"],
    public_description: data["public_description"],
    public_description_html: data["public_description_html"],
    public_url: data["public_url"],
    user_ids: data["user_ids"],
    url: data["url"],
    creator: data["creator"]
  )
end