Class: Landslider::WsLeadSearch
- Inherits:
-
WsSearch
- Object
- WsSearch
- Landslider::WsLeadSearch
show all
- Defined in:
- lib/landslider/entities/ws_lead_search.rb
Overview
search criteria for getLeads
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
Instance Attribute Details
#account_id=(value) ⇒ Integer
8
9
10
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 8
def account_id=(value)
@account_id = value
end
|
#company_id=(value) ⇒ Integer
8
9
10
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 8
def company_id=(value)
@company_id = value
end
|
#hot=(value) ⇒ Boolean
11
12
13
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 11
def hot=(value)
@hot = value
end
|
#name=(value) ⇒ String
17
18
19
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 17
def name=(value)
@name = value
end
|
#primary_owner_id=(value) ⇒ Integer
8
9
10
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 8
def primary_owner_id=(value)
@primary_owner_id = value
end
|
#status_id=(value) ⇒ Integer
8
9
10
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 8
def status_id=(value)
@status_id = value
end
|
#updated_on=(value) ⇒ Date
14
15
16
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 14
def updated_on=(value)
@updated_on = value
end
|
Instance Method Details
#soapify_for(msg) ⇒ Handsoap::XmlMason::Node
21
22
23
24
25
26
27
|
# File 'lib/landslider/entities/ws_lead_search.rb', line 21
def soapify_for(msg)
super(msg)
msg.add 'name', @name unless @name.nil?
msg.add 'accountId', @account_id unless @account_id.nil?
msg.add 'companyId', @company_id unless @company_id.nil?
msg.add 'primaryOwnerId', @primary_owner_id unless @primary_owner_id.nil?
end
|