Sha256: 9a73b501570dd3771551738da0b2dfbd6c9ee9defdb28337200534a7c1461001

Contents?: true

Size: 1.71 KB

Versions: 4

Compression:

Stored size: 1.71 KB

Contents

module AsposeWordsCloud
  # 
  class SaveOptionsData < BaseObject
    attr_accessor :save_format, :file_name, :dml_rendering_mode, :dml_effects_rendering_mode, :zip_output
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'save_format' => :'SaveFormat',
        
        # 
        :'file_name' => :'FileName',
        
        # 
        :'dml_rendering_mode' => :'DmlRenderingMode',
        
        # 
        :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
        
        # 
        :'zip_output' => :'ZipOutput'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'save_format' => :'String',
        :'file_name' => :'String',
        :'dml_rendering_mode' => :'String',
        :'dml_effects_rendering_mode' => :'String',
        :'zip_output' => :'BOOLEAN'
        
      }
    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[:'SaveFormat']
        self.save_format = attributes[:'SaveFormat']
      end
      
      if attributes[:'FileName']
        self.file_name = attributes[:'FileName']
      end
      
      if attributes[:'DmlRenderingMode']
        self.dml_rendering_mode = attributes[:'DmlRenderingMode']
      end
      
      if attributes[:'DmlEffectsRenderingMode']
        self.dml_effects_rendering_mode = attributes[:'DmlEffectsRenderingMode']
      end
      
      if attributes[:'ZipOutput']
        self.zip_output = attributes[:'ZipOutput']
      end
      
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
aspose_words_cloud-1.0.3 lib/aspose_words_cloud/models/save_options_data.rb
aspose_words_cloud-1.0.2 lib/aspose_words_cloud/models/save_options_data.rb
aspose_words_cloud-1.0.1 lib/aspose_words_cloud/models/save_options_data.rb
aspose_words_cloud-1.0.0 lib/aspose_words_cloud/models/save_options_data.rb