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



339
340
341
# File 'lib/fizzy/generated/types.rb', line 339

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



339
340
341
# File 'lib/fizzy/generated/types.rb', line 339

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



339
340
341
# File 'lib/fizzy/generated/types.rb', line 339

def name
  @name
end

#public_descriptionObject (readonly)

Returns the value of attribute public_description

Returns:

  • (Object)

    the current value of public_description



339
340
341
# File 'lib/fizzy/generated/types.rb', line 339

def public_description
  @public_description
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



341
342
343
344
345
346
347
348
# File 'lib/fizzy/generated/types.rb', line 341

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