Class: Landslider::WsTaskSearch

Inherits:
WsSearch
  • Object
show all
Defined in:
lib/landslider/entities/ws_task_search.rb

Overview

search criteria for getTasks

Instance Attribute Summary collapse

Attributes inherited from WsSearch

#allow_duplicate_criterion, #first_result_position, #return_deleted_records, #search_criteria, #source_id, #total_results_requested, #updated_on

Instance Method Summary collapse

Methods inherited from WsSearch

#initialize

Constructor Details

This class inherits a constructor from Landslider::WsSearch

Instance Attribute Details

#assigned_to=(value) ⇒ Integer (writeonly)

Returns:

  • (Integer)


8
9
10
# File 'lib/landslider/entities/ws_task_search.rb', line 8

def assigned_to=(value)
  @assigned_to = value
end

#associated_contact_id=(value) ⇒ Integer (writeonly)

Returns:

  • (Integer)


8
9
10
# File 'lib/landslider/entities/ws_task_search.rb', line 8

def associated_contact_id=(value)
  @associated_contact_id = value
end

#associated_entity_id=(value) ⇒ Integer (writeonly)

Returns:

  • (Integer)


8
9
10
# File 'lib/landslider/entities/ws_task_search.rb', line 8

def associated_entity_id=(value)
  @associated_entity_id = value
end

#created_by=(value) ⇒ Integer (writeonly)

Returns:

  • (Integer)


8
9
10
# File 'lib/landslider/entities/ws_task_search.rb', line 8

def created_by=(value)
  @created_by = value
end

#task_type_id=(value) ⇒ Integer (writeonly)

Returns:

  • (Integer)


8
9
10
# File 'lib/landslider/entities/ws_task_search.rb', line 8

def task_type_id=(value)
  @task_type_id = value
end

#updated_on=(value) ⇒ Date (writeonly)

Returns:

  • (Date)


11
12
13
# File 'lib/landslider/entities/ws_task_search.rb', line 11

def updated_on=(value)
  @updated_on = value
end

Instance Method Details

#soapify_for(msg) ⇒ Handsoap::XmlMason::Node

Parameters:

  • msg (Handsoap::XmlMason::Node)

Returns:

  • (Handsoap::XmlMason::Node)


15
16
17
18
19
20
21
22
# File 'lib/landslider/entities/ws_task_search.rb', line 15

def soapify_for(msg)
	super(msg)
	msg.add 'assignedTo', @assigned_to unless @assigned_to.nil?
	msg.add 'createdBy', @created_by unless @created_by.nil?
	msg.add 'taskTypeId', @task_type_id unless @task_type_id.nil?
	msg.add 'associatedContactId', @associated_contact_id unless @associated_contact_id.nil?
	msg.add 'associatedEntityId', @associated_entity_id unless @associated_entity_id.nil?
end