Class: Landslider::WsTask
Instance Attribute Summary collapse
Attributes inherited from WsEntity
#entity_id, #entity_name, #entity_type
Instance Method Summary
collapse
Instance Attribute Details
#archived_by ⇒ Integer
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def archived_by
@archived_by
end
|
#assigned_to=(value) ⇒ Integer
The unique Landslide Id of the user who the task is assigned to
19
20
21
|
# File 'lib/landslider/entities/ws_task.rb', line 19
def assigned_to=(value)
@assigned_to = value
end
|
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def associated_contact_id
@associated_contact_id
end
|
#associated_entity_id ⇒ Integer
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def associated_entity_id
@associated_entity_id
end
|
#completed ⇒ Boolean
26
27
28
|
# File 'lib/landslider/entities/ws_task.rb', line 26
def completed
@completed
end
|
#created_by ⇒ Integer
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def created_by
@created_by
end
|
#due_date=(value) ⇒ Date
The due date for the task
15
16
17
|
# File 'lib/landslider/entities/ws_task.rb', line 15
def due_date=(value)
@due_date = value
end
|
#task_id ⇒ Integer
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def task_id
@task_id
end
|
#task_name=(value) ⇒ String
The name of the task (required)
11
12
13
|
# File 'lib/landslider/entities/ws_task.rb', line 11
def task_name=(value)
@task_name = value
end
|
#task_type_id=(value) ⇒ Integer
The unique Landslide Id of the task type associated to the task
23
24
25
|
# File 'lib/landslider/entities/ws_task.rb', line 23
def task_type_id=(value)
@task_type_id = value
end
|
#updated_by ⇒ Integer
7
8
9
|
# File 'lib/landslider/entities/ws_task.rb', line 7
def updated_by
@updated_by
end
|
Instance Method Details
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
30
31
32
33
34
35
36
37
38
|
# File 'lib/landslider/entities/ws_task.rb', line 30
def soapify_for(msg)
super(msg)
msg.add 'taskName', @task_name unless @task_name.nil?
msg.add 'dueDate', @due_date unless @due_date.nil?
msg.add 'assignedTo', @assigned_to.to_i unless @assigned_to.nil?
msg.add 'taskTypeId', @task_type_id.to_i unless @task_type_id.nil?
msg.add 'completed', @completed
end
|