Sha256: 2217e5dbb9683c7498b58e93f551ced6a2bd70fbf5b4da7c655ead71a5b1aad0

Contents?: true

Size: 875 Bytes

Versions: 4

Compression:

Stored size: 875 Bytes

Contents

module AsposeSlidesCloud
  # 
  class TextItem < BaseObject
    attr_accessor :uri, :text
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'uri' => :'Uri',
        
        # 
        :'text' => :'Text'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'uri' => :'ResourceUri',
        :'text' => :'String'
        
      }
    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[:'Uri']
        self.uri = attributes[:'Uri']
      end
      
      if attributes[:'Text']
        self.text = attributes[:'Text']
      end
      
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aspose_slides_cloud-1.0.3 lib/aspose_slides_cloud/models/text_item.rb
aspose_slides_cloud-1.0.2 lib/aspose_slides_cloud/models/text_item.rb
aspose_slides_cloud-1.0.1 lib/aspose_slides_cloud/models/text_item.rb
aspose_slides_cloud-1.0.0 lib/aspose_slides_cloud/models/text_item.rb