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



961
962
963
# File 'lib/fizzy/generated/types.rb', line 961

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



961
962
963
# File 'lib/fizzy/generated/types.rb', line 961

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



961
962
963
# File 'lib/fizzy/generated/types.rb', line 961

def name
  @name
end

#public_descriptionObject (readonly)

Returns the value of attribute public_description

Returns:

  • (Object)

    the current value of public_description



961
962
963
# File 'lib/fizzy/generated/types.rb', line 961

def public_description
  @public_description
end

#user_idsObject (readonly)

Returns the value of attribute user_ids

Returns:

  • (Object)

    the current value of user_ids



961
962
963
# File 'lib/fizzy/generated/types.rb', line 961

def user_ids
  @user_ids
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



963
964
965
966
967
968
969
970
971
# File 'lib/fizzy/generated/types.rb', line 963

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