Class: ActiveNetsuite::LeadSource

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/soap/default.rb

Overview

urn:accounting_2013_2urn:accounting_2013_2.listsurn:accounting_2013_2.lists.webservicesurn:accounting_2013_2.lists.webservices.netsuiteurn:accounting_2013_2.lists.webservices.netsuite.comLeadSource

nullFieldList - ActiveNetsuite::NullField
name - SOAP::SOAPString
description - SOAP::SOAPString
isInactive - SOAP::SOAPBoolean
xmlattr_internalId - SOAP::SOAPString
xmlattr_externalId - SOAP::SOAPString

Constant Summary collapse

AttrExternalId =
XSD::QName.new(nil, "externalId")
AttrInternalId =
XSD::QName.new(nil, "internalId")

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#activate, active, #active=, #active?, #add, all, basic_search_class, #client, client, client=, delete, #delete, deleted, find, find_by, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactivate, inactive, #inactive=, #load, #loaded?, raise_not_found_error, ref, #ref, search_next, #setters, #to_s, type, #update, update, where

Methods included from MethodInflector

included, #method_missing

Constructor Details

#initialize(nullFieldList = nil, name = nil, description = nil, isInactive = nil) ⇒ LeadSource

Returns a new instance of LeadSource.



3848
3849
3850
3851
3852
3853
3854
# File 'lib/activenetsuite/soap/default.rb', line 3848

def initialize(nullFieldList = nil, name = nil, description = nil, isInactive = nil)
  @nullFieldList = nullFieldList
  @name = name
  @description = description
  @isInactive = isInactive
  @__xmlattr = {}
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



3825
3826
3827
# File 'lib/activenetsuite/soap/default.rb', line 3825

def description
  @description
end

#isInactiveObject

Returns the value of attribute isInactive.



3826
3827
3828
# File 'lib/activenetsuite/soap/default.rb', line 3826

def isInactive
  @isInactive
end

#nameObject

Returns the value of attribute name.



3824
3825
3826
# File 'lib/activenetsuite/soap/default.rb', line 3824

def name
  @name
end

#nullFieldListObject

Returns the value of attribute nullFieldList.



3823
3824
3825
# File 'lib/activenetsuite/soap/default.rb', line 3823

def nullFieldList
  @nullFieldList
end

Instance Method Details

#__xmlattrObject



3828
3829
3830
# File 'lib/activenetsuite/soap/default.rb', line 3828

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_externalIdObject



3840
3841
3842
# File 'lib/activenetsuite/soap/default.rb', line 3840

def xmlattr_externalId
  __xmlattr[AttrExternalId]
end

#xmlattr_externalId=(value) ⇒ Object



3844
3845
3846
# File 'lib/activenetsuite/soap/default.rb', line 3844

def xmlattr_externalId=(value)
  __xmlattr[AttrExternalId] = value
end

#xmlattr_internalIdObject



3832
3833
3834
# File 'lib/activenetsuite/soap/default.rb', line 3832

def xmlattr_internalId
  __xmlattr[AttrInternalId]
end

#xmlattr_internalId=(value) ⇒ Object



3836
3837
3838
# File 'lib/activenetsuite/soap/default.rb', line 3836

def xmlattr_internalId=(value)
  __xmlattr[AttrInternalId] = value
end