Sha256: c7a5f7371b9faac68c0966de149fcebf4b5a5d27a9919f7010a1f5d15ad31953
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
module AsposeTasksCloud # class WBSDefinition < BaseObject attr_accessor :code_prefix, :generate_wbs_code, :verify_uniqueness, :code_mask_collection # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'code_prefix' => :'CodePrefix', # :'generate_wbs_code' => :'GenerateWBSCode', # :'verify_uniqueness' => :'VerifyUniqueness', # :'code_mask_collection' => :'CodeMaskCollection' } end # attribute type def self.swagger_types { :'code_prefix' => :'String', :'generate_wbs_code' => :'BOOLEAN', :'verify_uniqueness' => :'BOOLEAN', :'code_mask_collection' => :'Array<WBSCodeMask>' } 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[:'CodePrefix'] self.code_prefix = attributes[:'CodePrefix'] end if attributes[:'GenerateWBSCode'] self.generate_wbs_code = attributes[:'GenerateWBSCode'] end if attributes[:'VerifyUniqueness'] self.verify_uniqueness = attributes[:'VerifyUniqueness'] end if attributes[:'CodeMaskCollection'] if (value = attributes[:'CodeMaskCollection']).is_a?(Array) self.code_mask_collection = value end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems