Class: AdwordsApi::V13::ReportService::ApiError

Inherits:
Object
  • Object
show all
Defined in:
lib/adwords_api/v13/ReportService.rb

Overview

ApiError

  • code - SOAP::SOAPInt

  • detail - SOAP::SOAPString

  • field - SOAP::SOAPString

  • index - SOAP::SOAPInt

  • isExemptable - SOAP::SOAPBoolean

  • textIndex - SOAP::SOAPInt

  • textLength - SOAP::SOAPInt

  • trigger - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil) ⇒ ApiError

Returns a new instance of ApiError.



25
26
27
28
29
30
31
32
33
34
# File 'lib/adwords_api/v13/ReportService.rb', line 25

def initialize(code = nil, detail = nil, field = nil, index = nil, isExemptable = nil, textIndex = nil, textLength = nil, trigger = nil)
  @code = code
  @detail = detail
  @field = field
  @index = index
  @isExemptable = isExemptable
  @textIndex = textIndex
  @textLength = textLength
  @trigger = trigger
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



16
17
18
# File 'lib/adwords_api/v13/ReportService.rb', line 16

def code
  @code
end

#detailObject

Returns the value of attribute detail.



17
18
19
# File 'lib/adwords_api/v13/ReportService.rb', line 17

def detail
  @detail
end

#fieldObject

Returns the value of attribute field.



18
19
20
# File 'lib/adwords_api/v13/ReportService.rb', line 18

def field
  @field
end

#indexObject

Returns the value of attribute index.



19
20
21
# File 'lib/adwords_api/v13/ReportService.rb', line 19

def index
  @index
end

#isExemptableObject

Returns the value of attribute isExemptable.



20
21
22
# File 'lib/adwords_api/v13/ReportService.rb', line 20

def isExemptable
  @isExemptable
end

#textIndexObject

Returns the value of attribute textIndex.



21
22
23
# File 'lib/adwords_api/v13/ReportService.rb', line 21

def textIndex
  @textIndex
end

#textLengthObject

Returns the value of attribute textLength.



22
23
24
# File 'lib/adwords_api/v13/ReportService.rb', line 22

def textLength
  @textLength
end

#triggerObject

Returns the value of attribute trigger.



23
24
25
# File 'lib/adwords_api/v13/ReportService.rb', line 23

def trigger
  @trigger
end