Class: SupportThreadDetailStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

http://soapi.ovh.com/managersupportThreadDetailStruct

Constant Summary collapse

@@schema_type =
"supportThreadDetailStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["id", ["SOAP::SOAPInt", XSD::QName.new(nil, "id")]], ["date", ["SOAP::SOAPString", XSD::QName.new(nil, "date")]], ["subject", ["SOAP::SOAPString", XSD::QName.new(nil, "subject")]], ["domain", ["SOAP::SOAPString", XSD::QName.new(nil, "domain")]], ["status", ["SOAP::SOAPString", XSD::QName.new(nil, "status")]], ["unread", ["SOAP::SOAPInt", XSD::QName.new(nil, "unread")]], ["closed", ["SOAP::SOAPInt", XSD::QName.new(nil, "closed")]], ["answered", ["SOAP::SOAPInt", XSD::QName.new(nil, "answered")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, date = nil, subject = nil, domain = nil, status = nil, unread = nil, closed = nil, answered = nil) ⇒ SupportThreadDetailStruct

Returns a new instance of SupportThreadDetailStruct.



18
19
20
21
22
23
24
25
26
27
# File 'lib/ovhrb/manager/manager.rb', line 18

def initialize(id = nil, date = nil, subject = nil, domain = nil, status = nil, unread = nil, closed = nil, answered = nil)
  @id = id
  @date = date
  @subject = subject
  @domain = domain
  @status = status
  @unread = unread
  @closed = closed
  @answered = answered
end

Instance Attribute Details

#answeredObject

Returns the value of attribute answered.



16
17
18
# File 'lib/ovhrb/manager/manager.rb', line 16

def answered
  @answered
end

#closedObject

Returns the value of attribute closed.



15
16
17
# File 'lib/ovhrb/manager/manager.rb', line 15

def closed
  @closed
end

#dateObject

Returns the value of attribute date.



10
11
12
# File 'lib/ovhrb/manager/manager.rb', line 10

def date
  @date
end

#domainObject

Returns the value of attribute domain.



12
13
14
# File 'lib/ovhrb/manager/manager.rb', line 12

def domain
  @domain
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/ovhrb/manager/manager.rb', line 9

def id
  @id
end

#statusObject

Returns the value of attribute status.



13
14
15
# File 'lib/ovhrb/manager/manager.rb', line 13

def status
  @status
end

#subjectObject

Returns the value of attribute subject.



11
12
13
# File 'lib/ovhrb/manager/manager.rb', line 11

def subject
  @subject
end

#unreadObject

Returns the value of attribute unread.



14
15
16
# File 'lib/ovhrb/manager/manager.rb', line 14

def unread
  @unread
end