class Pohoda::Parsers::MKasa::PohodaRestrictionType

Public Instance Methods

administration() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 15
def administration
  at 'mKasa:administration'
end
administration_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 19
def administration_attributes
  attributes_at 'mKasa:administration'
end
administration_pass() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 23
def administration_pass
  at 'mKasa:administrationPass'
end
administration_pass_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 27
def administration_pass_attributes
  attributes_at 'mKasa:administrationPass'
end
change_eet() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 55
def change_eet
  at 'mKasa:changeEet'
end
change_eet_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 59
def change_eet_attributes
  attributes_at 'mKasa:changeEet'
end
change_prize() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 31
def change_prize
  at 'mKasa:changePrize'
end
change_prize_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 35
def change_prize_attributes
  attributes_at 'mKasa:changePrize'
end
create_backup() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 79
def create_backup
  at 'mKasa:createBackup'
end
create_backup_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 83
def create_backup_attributes
  attributes_at 'mKasa:createBackup'
end
delayed_document() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 47
def delayed_document
  at 'mKasa:delayedDocument'
end
delayed_document_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 51
def delayed_document_attributes
  attributes_at 'mKasa:delayedDocument'
end
delete_records() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 63
def delete_records
  at 'mKasa:deleteRecords'
end
delete_records_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 67
def delete_records_attributes
  attributes_at 'mKasa:deleteRecords'
end
export_xml() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 71
def export_xml
  at 'mKasa:exportXml'
end
export_xml_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 75
def export_xml_attributes
  attributes_at 'mKasa:exportXml'
end
lock_pin() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 7
def lock_pin
  at 'mKasa:lockPin'
end
lock_pin_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 11
def lock_pin_attributes
  attributes_at 'mKasa:lockPin'
end
restore_backup() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 87
def restore_backup
  at 'mKasa:restoreBackup'
end
restore_backup_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 91
def restore_backup_attributes
  attributes_at 'mKasa:restoreBackup'
end
text_items() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 39
def text_items
  at 'mKasa:textItems'
end
text_items_attributes() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 43
def text_items_attributes
  attributes_at 'mKasa:textItems'
end
to_h() click to toggle source
# File lib/pohoda/parsers/m_kasa/pohoda_restriction_type.rb, line 95
def to_h
  hash = {}
  hash[:attributes] = attributes

  hash[:lock_pin] = lock_pin if has? 'mKasa:lockPin'
  hash[:lock_pin_attributes] = lock_pin_attributes if has? 'mKasa:lockPin'
  hash[:administration] = administration if has? 'mKasa:administration'
  hash[:administration_attributes] = administration_attributes if has? 'mKasa:administration'
  hash[:administration_pass] = administration_pass if has? 'mKasa:administrationPass'
  hash[:administration_pass_attributes] = administration_pass_attributes if has? 'mKasa:administrationPass'
  hash[:change_prize] = change_prize if has? 'mKasa:changePrize'
  hash[:change_prize_attributes] = change_prize_attributes if has? 'mKasa:changePrize'
  hash[:text_items] = text_items if has? 'mKasa:textItems'
  hash[:text_items_attributes] = text_items_attributes if has? 'mKasa:textItems'
  hash[:delayed_document] = delayed_document if has? 'mKasa:delayedDocument'
  hash[:delayed_document_attributes] = delayed_document_attributes if has? 'mKasa:delayedDocument'
  hash[:change_eet] = change_eet if has? 'mKasa:changeEet'
  hash[:change_eet_attributes] = change_eet_attributes if has? 'mKasa:changeEet'
  hash[:delete_records] = delete_records if has? 'mKasa:deleteRecords'
  hash[:delete_records_attributes] = delete_records_attributes if has? 'mKasa:deleteRecords'
  hash[:export_xml] = export_xml if has? 'mKasa:exportXml'
  hash[:export_xml_attributes] = export_xml_attributes if has? 'mKasa:exportXml'
  hash[:create_backup] = create_backup if has? 'mKasa:createBackup'
  hash[:create_backup_attributes] = create_backup_attributes if has? 'mKasa:createBackup'
  hash[:restore_backup] = restore_backup if has? 'mKasa:restoreBackup'
  hash[:restore_backup_attributes] = restore_backup_attributes if has? 'mKasa:restoreBackup'

  hash
end