Sha256: cd2942b5985bf8c2a53639844448b6fde298bcf01bb61054ae8a62b6e1d37a35

Contents?: true

Size: 949 Bytes

Versions: 3

Compression:

Stored size: 949 Bytes

Contents

module AsposeEmailCloud
  # 
  class EmailProperties < BaseObject
    attr_accessor :link, :list
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'link' => :'Link',
        
        # 
        :'list' => :'List'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'link' => :'Link',
        :'list' => :'Array<EmailProperty>'
        
      }
    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[:'Link']
        self.link = attributes[:'Link']
      end
      
      if attributes[:'List']
        if (value = attributes[:'List']).is_a?(Array)
          self.list = value
        end
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_email_cloud-1.0.2 lib/aspose_email_cloud/models/email_properties.rb
aspose_email_cloud-1.0.1 lib/aspose_email_cloud/models/email_properties.rb
aspose_email_cloud-1.0.0 lib/aspose_email_cloud/models/email_properties.rb