Sha256: 062fef9f3b988cdcd148f0dc1f032f2de1f9b843bc650f988cfd6548159c74d5

Contents?: true

Size: 929 Bytes

Versions: 3

Compression:

Stored size: 929 Bytes

Contents

module AsposeTasksCloud
  # 
  class WorkingTime < BaseObject
    attr_accessor :from_time, :to_time
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'from_time' => :'FromTime',
        
        # 
        :'to_time' => :'ToTime'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'from_time' => :'String',
        :'to_time' => :'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[:'FromTime']
        self.from_time = attributes[:'FromTime']
      end
      
      if attributes[:'ToTime']
        self.to_time = attributes[:'ToTime']
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aspose_tasks_cloud-1.0.2 lib/aspose_tasks_cloud/models/working_time.rb
aspose_tasks_cloud-1.0.1 lib/aspose_tasks_cloud/models/working_time.rb
aspose_tasks_cloud-1.0.0 lib/aspose_tasks_cloud/models/working_time.rb