Class: Tessera::Model::Ticket

Inherits:
Base
  • Object
show all
Defined in:
lib/tessera/model/ticket.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#code, #errors, #response

Instance Method Summary collapse

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

#ageObject

Returns the value of attribute age.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def age
  @age
end

#archive_flagObject

Returns the value of attribute archive_flag.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def archive_flag
  @archive_flag
end

#changedObject

Returns the value of attribute changed.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def changed
  @changed
end

#changed_byObject

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_nixObject

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

#createdObject

Returns the value of attribute created.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def created
  @created
end

#created_byObject

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_idObject

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_idObject

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_timeObject

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_timeObject

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_timeObject

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_timeObject

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_idObject

Returns the value of attribute group_id.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def group_id
  @group_id
end

#lockObject

Returns the value of attribute lock.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def lock
  @lock
end

#lock_idObject

Returns the value of attribute lock_id.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def lock_id
  @lock_id
end

#ownerObject

Returns the value of attribute owner.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def owner
  @owner
end

#owner_idObject

Returns the value of attribute owner_id.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def owner_id
  @owner_id
end

#priorityObject

Returns the value of attribute priority.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def priority
  @priority
end

#priority_idObject

Returns the value of attribute priority_id.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def priority_id
  @priority_id
end

#queueObject

Returns the value of attribute queue.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def queue
  @queue
end

#queue_idObject

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_usedObject

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

#responsibleObject

Returns the value of attribute responsible.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def responsible
  @responsible
end

#responsible_idObject

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_idObject

Returns the value of attribute service_id.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def service_id
  @service_id
end

#slaidObject

Returns the value of attribute slaid.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def slaid
  @slaid
end

#stateObject

Returns the value of attribute state.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def state
  @state
end

#state_idObject

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_typeObject

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_idObject

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_numberObject

Returns the value of attribute ticket_number.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def ticket_number
  @ticket_number
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def title
  @title
end

#typeObject

Returns the value of attribute type.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def type
  @type
end

#type_idObject

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_timeoutObject

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_timeObject

Returns the value of attribute until_time.



4
5
6
# File 'lib/tessera/model/ticket.rb', line 4

def until_time
  @until_time
end