Class: Tessera::Model::Ticket
Instance Attribute Summary collapse
-
#age ⇒ Object
Returns the value of attribute age.
-
#archive_flag ⇒ Object
Returns the value of attribute archive_flag.
-
#changed ⇒ Object
Returns the value of attribute changed.
-
#changed_by ⇒ Object
Returns the value of attribute changed_by.
-
#create_tim_nix ⇒ Object
Returns the value of attribute create_tim_nix.
-
#created ⇒ Object
Returns the value of attribute created.
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#customer_user_id ⇒ Object
Returns the value of attribute customer_user_id.
-
#escalation_response_time ⇒ Object
Returns the value of attribute escalation_response_time.
-
#escalation_solution_time ⇒ Object
Returns the value of attribute escalation_solution_time.
-
#escalation_time ⇒ Object
Returns the value of attribute escalation_time.
-
#escalation_update_time ⇒ Object
Returns the value of attribute escalation_update_time.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#lock ⇒ Object
Returns the value of attribute lock.
-
#lock_id ⇒ Object
Returns the value of attribute lock_id.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#owner_id ⇒ Object
Returns the value of attribute owner_id.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#priority_id ⇒ Object
Returns the value of attribute priority_id.
-
#queue ⇒ Object
Returns the value of attribute queue.
-
#queue_id ⇒ Object
Returns the value of attribute queue_id.
-
#real_till_time_not_used ⇒ Object
Returns the value of attribute real_till_time_not_used.
-
#responsible ⇒ Object
Returns the value of attribute responsible.
-
#responsible_id ⇒ Object
Returns the value of attribute responsible_id.
-
#service_id ⇒ Object
Returns the value of attribute service_id.
-
#slaid ⇒ Object
Returns the value of attribute slaid.
-
#state ⇒ Object
Returns the value of attribute state.
-
#state_id ⇒ Object
Returns the value of attribute state_id.
-
#state_type ⇒ Object
Returns the value of attribute state_type.
-
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
-
#ticket_number ⇒ Object
Returns the value of attribute ticket_number.
-
#title ⇒ Object
Returns the value of attribute title.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#unlock_timeout ⇒ Object
Returns the value of attribute unlock_timeout.
-
#until_time ⇒ Object
Returns the value of attribute until_time.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(params) ⇒ Ticket
constructor
rubocop:disable Metrics/MethodLength rubocop:disable Metrics/AbcSize.
Constructor Details
#initialize(params) ⇒ Ticket
rubocop:disable Metrics/MethodLength rubocop:disable Metrics/AbcSize
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/tessera/model/ticket.rb', line 15 def initialize(params) @ticket_id = params['TicketID'] @lock_id = params['LockID'] @real_till_time_not_used = params['RealTillTimeNotUsed'] @changed = params['Changed'] @customer_user_id = params['CustomerUserID'] @queue_id = params['QueueID'] @escalation_solution_time = params['EscalationSolutionTime'] @owner_id = params['OwnerID'] @unlock_timeout = params['UnlockTimeout'] @priority_id = params['PriorityID'] @escalation_time = params['EscalationTime'] @type = params['Type'] @queue = params['Queue'] @escalation_response_time = params['EscalationResponseTime'] @escalation_update_time = params['EscalationUpdateTime'] @customer_id = params['CustomerID'] @age = params['Age'] @until_time = params['UntilTime'] @responsible = params['Responsible'] @lock = params['Lock'] @priority = params['Priority'] @state_id = params['StateID'] @created_by = params['CreateBy'] @state = params['State'] @type_id = params['TypeID'] @ticket_number = params['TicketNumber'] @group_id = params['GroupID'] @created = params['Created'] @service_id = params['ServiceID'] @owner = params['Owner'] @slaid = params['SLAID'] @state_type = params['StateType'] @title = params['Title'] @responsible_id = params['ResponsibleID'] @create_tim_nix = params['CreateTimeUnix'] @changed_by = params['ChnageBy'] @archive_flag = params['ArchiveFlag'] end |
Instance Attribute Details
#age ⇒ Object
Returns the value of attribute age.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def age @age end |
#archive_flag ⇒ Object
Returns the value of attribute archive_flag.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def archive_flag @archive_flag end |
#changed ⇒ Object
Returns the value of attribute changed.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def changed @changed end |
#changed_by ⇒ Object
Returns the value of attribute changed_by.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def changed_by @changed_by end |
#create_tim_nix ⇒ Object
Returns the value of attribute create_tim_nix.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def create_tim_nix @create_tim_nix end |
#created ⇒ Object
Returns the value of attribute created.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def created @created end |
#created_by ⇒ Object
Returns the value of attribute created_by.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def created_by @created_by end |
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def customer_id @customer_id end |
#customer_user_id ⇒ Object
Returns the value of attribute customer_user_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def customer_user_id @customer_user_id end |
#escalation_response_time ⇒ Object
Returns the value of attribute escalation_response_time.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def escalation_response_time @escalation_response_time end |
#escalation_solution_time ⇒ Object
Returns the value of attribute escalation_solution_time.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def escalation_solution_time @escalation_solution_time end |
#escalation_time ⇒ Object
Returns the value of attribute escalation_time.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def escalation_time @escalation_time end |
#escalation_update_time ⇒ Object
Returns the value of attribute escalation_update_time.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def escalation_update_time @escalation_update_time end |
#group_id ⇒ Object
Returns the value of attribute group_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def group_id @group_id end |
#lock ⇒ Object
Returns the value of attribute lock.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def lock @lock end |
#lock_id ⇒ Object
Returns the value of attribute lock_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def lock_id @lock_id end |
#owner ⇒ Object
Returns the value of attribute owner.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def owner @owner end |
#owner_id ⇒ Object
Returns the value of attribute owner_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def owner_id @owner_id end |
#priority ⇒ Object
Returns the value of attribute priority.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def priority @priority end |
#priority_id ⇒ Object
Returns the value of attribute priority_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def priority_id @priority_id end |
#queue ⇒ Object
Returns the value of attribute queue.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def queue @queue end |
#queue_id ⇒ Object
Returns the value of attribute queue_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def queue_id @queue_id end |
#real_till_time_not_used ⇒ Object
Returns the value of attribute real_till_time_not_used.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def real_till_time_not_used @real_till_time_not_used end |
#responsible ⇒ Object
Returns the value of attribute responsible.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def responsible @responsible end |
#responsible_id ⇒ Object
Returns the value of attribute responsible_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def responsible_id @responsible_id end |
#service_id ⇒ Object
Returns the value of attribute service_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def service_id @service_id end |
#slaid ⇒ Object
Returns the value of attribute slaid.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def slaid @slaid end |
#state ⇒ Object
Returns the value of attribute state.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def state @state end |
#state_id ⇒ Object
Returns the value of attribute state_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def state_id @state_id end |
#state_type ⇒ Object
Returns the value of attribute state_type.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def state_type @state_type end |
#ticket_id ⇒ Object
Returns the value of attribute ticket_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def ticket_id @ticket_id end |
#ticket_number ⇒ Object
Returns the value of attribute ticket_number.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def ticket_number @ticket_number end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def title @title end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def type_id @type_id end |
#unlock_timeout ⇒ Object
Returns the value of attribute unlock_timeout.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def unlock_timeout @unlock_timeout end |
#until_time ⇒ Object
Returns the value of attribute until_time.
4 5 6 |
# File 'lib/tessera/model/ticket.rb', line 4 def until_time @until_time end |