Class: Fizzy::Types::UpdateBoardRequestContent

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



972
973
974
# File 'lib/fizzy/generated/types.rb', line 972

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



972
973
974
# File 'lib/fizzy/generated/types.rb', line 972

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



972
973
974
# File 'lib/fizzy/generated/types.rb', line 972

def name
  @name
end

#public_descriptionObject (readonly)

Returns the value of attribute public_description

Returns:

  • (Object)

    the current value of public_description



972
973
974
# File 'lib/fizzy/generated/types.rb', line 972

def public_description
  @public_description
end

#user_idsObject (readonly)

Returns the value of attribute user_ids

Returns:

  • (Object)

    the current value of user_ids



972
973
974
# File 'lib/fizzy/generated/types.rb', line 972

def user_ids
  @user_ids
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



974
975
976
977
978
979
980
981
982
# File 'lib/fizzy/generated/types.rb', line 974

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"],
    user_ids: data["user_ids"]
  )
end