Class: Carbon::CRMApi
- Inherits:
-
Object
- Object
- Carbon::CRMApi
- Defined in:
- lib/carbon_ruby_sdk/api/crm_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#get_account(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Account.
-
#get_account_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Account.
-
#get_accounts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Accounts.
-
#get_accounts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Accounts.
-
#get_contact(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Contact.
-
#get_contact_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Contact.
-
#get_contacts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Contacts.
-
#get_contacts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Contacts.
-
#get_lead(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Lead.
-
#get_lead_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Lead.
-
#get_leads(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Leads.
-
#get_leads_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Leads.
-
#get_opportunities(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Opportunities.
-
#get_opportunities_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Opportunities.
-
#get_opportunity(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Opportunity.
-
#get_opportunity_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Opportunity.
-
#initialize(api_client = ApiClient.default) ⇒ CRMApi
constructor
A new instance of CRMApi.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
13 14 15 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 13 def api_client @api_client end |
Instance Method Details
#get_account(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Account
26 27 28 29 30 31 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 26 def get_account(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL api_response = get_account_with_http_info_impl(id, data_source_id, extra) api_response.data end |
#get_account_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Account
40 41 42 43 44 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 40 def get_account_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL get_account_with_http_info_impl(id, data_source_id, extra) end |
#get_accounts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Accounts
133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 133 def get_accounts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL accounts_request = _body api_response = get_accounts_with_http_info_impl(accounts_request, extra) api_response.data end |
#get_accounts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Accounts
160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 160 def get_accounts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL accounts_request = _body get_accounts_with_http_info_impl(accounts_request, extra) end |
#get_contact(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Contact
248 249 250 251 252 253 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 248 def get_contact(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL api_response = get_contact_with_http_info_impl(id, data_source_id, extra) api_response.data end |
#get_contact_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Contact
262 263 264 265 266 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 262 def get_contact_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL get_contact_with_http_info_impl(id, data_source_id, extra) end |
#get_contacts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Contacts
355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 355 def get_contacts(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL contacts_request = _body api_response = get_contacts_with_http_info_impl(contacts_request, extra) api_response.data end |
#get_contacts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Contacts
382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 382 def get_contacts_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL contacts_request = _body get_contacts_with_http_info_impl(contacts_request, extra) end |
#get_lead(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Lead
470 471 472 473 474 475 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 470 def get_lead(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL api_response = get_lead_with_http_info_impl(id, data_source_id, extra) api_response.data end |
#get_lead_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Lead
484 485 486 487 488 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 484 def get_lead_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL get_lead_with_http_info_impl(id, data_source_id, extra) end |
#get_leads(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Leads
577 578 579 580 581 582 583 584 585 586 587 588 589 590 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 577 def get_leads(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL leads_request = _body api_response = get_leads_with_http_info_impl(leads_request, extra) api_response.data end |
#get_leads_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Leads
604 605 606 607 608 609 610 611 612 613 614 615 616 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 604 def get_leads_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL leads_request = _body get_leads_with_http_info_impl(leads_request, extra) end |
#get_opportunities(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Opportunities
697 698 699 700 701 702 703 704 705 706 707 708 709 710 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 697 def get_opportunities(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL opportunities_request = _body api_response = get_opportunities_with_http_info_impl(opportunities_request, extra) api_response.data end |
#get_opportunities_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) ⇒ Object
Get Opportunities
724 725 726 727 728 729 730 731 732 733 734 735 736 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 724 def get_opportunities_with_http_info(data_source_id:, include_remote_data: false, next_cursor: SENTINEL, page_size: SENTINEL, order_dir: 'asc', includes: SENTINEL, filters: SENTINEL, order_by: SENTINEL, extra: {}) _body = {} _body[:data_source_id] = data_source_id if data_source_id != SENTINEL _body[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL _body[:next_cursor] = next_cursor if next_cursor != SENTINEL _body[:page_size] = page_size if page_size != SENTINEL _body[:order_dir] = order_dir if order_dir != SENTINEL _body[:includes] = includes if includes != SENTINEL _body[:filters] = filters if filters != SENTINEL _body[:order_by] = order_by if order_by != SENTINEL opportunities_request = _body get_opportunities_with_http_info_impl(opportunities_request, extra) end |
#get_opportunity(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Opportunity
812 813 814 815 816 817 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 812 def get_opportunity(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL api_response = get_opportunity_with_http_info_impl(id, data_source_id, extra) api_response.data end |
#get_opportunity_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) ⇒ Object
Get Opportunity
826 827 828 829 830 |
# File 'lib/carbon_ruby_sdk/api/crm_api.rb', line 826 def get_opportunity_with_http_info(id:, data_source_id:, include_remote_data: false, includes: SENTINEL, extra: {}) extra[:include_remote_data] = include_remote_data if include_remote_data != SENTINEL extra[:includes] = includes if includes != SENTINEL get_opportunity_with_http_info_impl(id, data_source_id, extra) end |