Class: Fizzy::Types::CreateBoardRequestContent

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



328
329
330
# File 'lib/fizzy/generated/types.rb', line 328

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



328
329
330
# File 'lib/fizzy/generated/types.rb', line 328

def auto_postpone_period_in_days
  @auto_postpone_period_in_days
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



328
329
330
# File 'lib/fizzy/generated/types.rb', line 328

def name
  @name
end

#public_descriptionObject (readonly)

Returns the value of attribute public_description

Returns:

  • (Object)

    the current value of public_description



328
329
330
# File 'lib/fizzy/generated/types.rb', line 328

def public_description
  @public_description
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



330
331
332
333
334
335
336
337
# File 'lib/fizzy/generated/types.rb', line 330

def self.from_json(data)
  new(
    name: data["name"],
    all_access: data["all_access"],
    auto_postpone_period_in_days: data["auto_postpone_period_in_days"],
    public_description: data["public_description"]
  )
end