Sha256: f44cd6960ca59f905ce48da9a2ea881484c721f0af33ae9fe3389742a3a5fd06

Contents?: true

Size: 822 Bytes

Versions: 1

Compression:

Stored size: 822 Bytes

Contents

module AsposeWordsCloud
  # 
  class StoryChildNodes < BaseObject
    attr_accessor :child_nodes
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'child_nodes' => :'ChildNodes'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'child_nodes' => :'Array<ChildNode>'
        
      }
    end

    def initialize(attributes = {})
      return if !attributes.is_a?(Hash) || attributes.empty?

      # convert string to symbol for hash key
      attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}

      
      if attributes[:'ChildNodes']
        if (value = attributes[:'ChildNodes']).is_a?(Array)
          self.child_nodes = value
        end
      end
      
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aspose_words_cloud-1.0.3 lib/aspose_words_cloud/models/story_child_nodes.rb