Sha256: 7c2040cc69d9c539b41b3de206eda87c9690f5078c9b4ddde75c04095b86c98a

Contents?: true

Size: 1.19 KB

Versions: 10

Compression:

Stored size: 1.19 KB

Contents

module AsposeCellsCloud
  # 
  class Link < BaseObject
    attr_accessor :href, :rel, :type, :title
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'href' => :'Href',
        
        # 
        :'rel' => :'Rel',
        
        # 
        :'type' => :'Type',
        
        # 
        :'title' => :'Title'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'href' => :'String',
        :'rel' => :'String',
        :'type' => :'String',
        :'title' => :'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[:'Href']
        self.href = attributes[:'Href']
      end
      
      if attributes[:'Rel']
        self.rel = attributes[:'Rel']
      end
      
      if attributes[:'Type']
        self.type = attributes[:'Type']
      end
      
      if attributes[:'Title']
        self.title = attributes[:'Title']
      end
      
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.5 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.3 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.2 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.1 lib/aspose_cells_cloud/models/link.rb
aspose_cells_cloud-1.0.0 lib/aspose_cells_cloud/models/link.rb