Class: AFCSalesforce::Models::Asset
- Defined in:
- lib/afc_salesforce/models/asset.rb
Instance Attribute Summary collapse
-
#account__c ⇒ Object
Returns the value of attribute account__c.
-
#asset_type__c ⇒ Object
Returns the value of attribute asset_type__c.
-
#asset_value__c ⇒ Object
Returns the value of attribute asset_value__c.
-
#assetid__c ⇒ Object
Returns the value of attribute assetid__c.
-
#belongs_to__c ⇒ Object
Returns the value of attribute belongs_to__c.
-
#contact__c ⇒ Object
Returns the value of attribute contact__c.
-
#createdby ⇒ Object
Returns the value of attribute createdby.
-
#filedataid__c ⇒ Object
Returns the value of attribute filedataid__c.
-
#lastmodifiedby ⇒ Object
Returns the value of attribute lastmodifiedby.
-
#name ⇒ Object
Returns the value of attribute name.
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
Methods inherited from Base
Methods included from Concerns::TypeSetter
Constructor Details
This class inherits a constructor from AFCSalesforce::Models::Base
Instance Attribute Details
#account__c ⇒ Object
Returns the value of attribute account__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def account__c @account__c end |
#asset_type__c ⇒ Object
Returns the value of attribute asset_type__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def asset_type__c @asset_type__c end |
#asset_value__c ⇒ Object
Returns the value of attribute asset_value__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def asset_value__c @asset_value__c end |
#assetid__c ⇒ Object
Returns the value of attribute assetid__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def assetid__c @assetid__c end |
#belongs_to__c ⇒ Object
Returns the value of attribute belongs_to__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def belongs_to__c @belongs_to__c end |
#contact__c ⇒ Object
Returns the value of attribute contact__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def contact__c @contact__c end |
#createdby ⇒ Object
Returns the value of attribute createdby.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def createdby @createdby end |
#filedataid__c ⇒ Object
Returns the value of attribute filedataid__c.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def filedataid__c @filedataid__c end |
#lastmodifiedby ⇒ Object
Returns the value of attribute lastmodifiedby.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def lastmodifiedby @lastmodifiedby end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def name @name end |
#owner ⇒ Object
Returns the value of attribute owner.
4 5 6 |
# File 'lib/afc_salesforce/models/asset.rb', line 4 def owner @owner end |
Instance Method Details
#to_h ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/afc_salesforce/models/asset.rb', line 9 def to_h { :"Name" => @name, :"CreatedBy" => @createdby, :"LastModifiedBy" => @lastmodifiedby, :"Owner" => @owner, :"AssetID__c" => @assetid__c, :"Asset_Type__c" => @asset_type__c, :"Asset_Value__c" => @asset_value__c, :"Belongs_To__c" => @belongs_to__c, :"Contact__c" => @contact__c, :"Account__c" => @account__c, :"FileDataID__c" => @filedataid__c }.select{ |k,v| !v.nil? } end |