Class: Fizzy::Types::UpdateStepRequestContent

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#completedObject (readonly)

Returns the value of attribute completed

Returns:

  • (Object)

    the current value of completed



1042
1043
1044
# File 'lib/fizzy/generated/types.rb', line 1042

def completed
  @completed
end

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



1042
1043
1044
# File 'lib/fizzy/generated/types.rb', line 1042

def content
  @content
end

Class Method Details

.from_json(data) ⇒ Object

Parameters:

  • data (Hash)

    raw JSON response



1044
1045
1046
1047
1048
1049
# File 'lib/fizzy/generated/types.rb', line 1044

def self.from_json(data)
  new(
    content: data["content"],
    completed: data["completed"]
  )
end