class Pohoda::Parsers::Adb::GDPRItemType
Public Instance Methods
action_type()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 7 def action_type submodel_at(Typ::ActionTypeItem, 'adb:actionType') end
date_from()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 31 def date_from at 'adb:dateFrom' end
date_from_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 35 def date_from_attributes attributes_at 'adb:dateFrom' end
date_till()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 39 def date_till at 'adb:dateTill' end
date_till_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 43 def date_till_attributes attributes_at 'adb:dateTill' end
description()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 23 def description at 'adb:description' end
description_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 27 def description_attributes attributes_at 'adb:description' end
id()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 11 def id at 'adb:id' end
id_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 15 def id_attributes attributes_at 'adb:id' end
name()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 19 def name submodel_at(Typ::RefTypeLong, 'adb:name') end
note()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 55 def note at 'adb:note' end
note_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 59 def note_attributes attributes_at 'adb:note' end
revoke_gdpr()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 47 def revoke_gdpr at 'adb:revokeGDPR' end
revoke_gdpr_attributes()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 51 def revoke_gdpr_attributes attributes_at 'adb:revokeGDPR' end
to_h()
click to toggle source
# File lib/pohoda/parsers/adb/gdpr_item_type.rb, line 63 def to_h hash = {} hash[:attributes] = attributes hash[:action_type] = action_type.to_h if has? 'adb:actionType' hash[:id] = id if has? 'adb:id' hash[:id_attributes] = id_attributes if has? 'adb:id' hash[:name] = name.to_h if has? 'adb:name' hash[:description] = description if has? 'adb:description' hash[:description_attributes] = description_attributes if has? 'adb:description' hash[:date_from] = date_from if has? 'adb:dateFrom' hash[:date_from_attributes] = date_from_attributes if has? 'adb:dateFrom' hash[:date_till] = date_till if has? 'adb:dateTill' hash[:date_till_attributes] = date_till_attributes if has? 'adb:dateTill' hash[:revoke_gdpr] = revoke_gdpr if has? 'adb:revokeGDPR' hash[:revoke_gdpr_attributes] = revoke_gdpr_attributes if has? 'adb:revokeGDPR' hash[:note] = note if has? 'adb:note' hash[:note_attributes] = note_attributes if has? 'adb:note' hash end