Class: SupportThreadMessageDetailStruct

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

Overview

http://soapi.ovh.com/managersupportThreadMessageDetailStruct

Constant Summary collapse

@@schema_type =
"supportThreadMessageDetailStruct"
@@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")]], ["unread", ["SOAP::SOAPInt", XSD::QName.new(nil, "unread")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["reportReason", ["SOAP::SOAPString", XSD::QName.new(nil, "reportReason")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, date = nil, unread = nil, type = nil, reportReason = nil) ⇒ SupportThreadMessageDetailStruct

Returns a new instance of SupportThreadMessageDetailStruct.



42
43
44
45
46
47
48
# File 'lib/ovhrb/manager/manager.rb', line 42

def initialize(id = nil, date = nil, unread = nil, type = nil, reportReason = nil)
  @id = id
  @date = date
  @unread = unread
  @type = type
  @reportReason = reportReason
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



37
38
39
# File 'lib/ovhrb/manager/manager.rb', line 37

def date
  @date
end

#idObject

Returns the value of attribute id.



36
37
38
# File 'lib/ovhrb/manager/manager.rb', line 36

def id
  @id
end

#reportReasonObject

Returns the value of attribute reportReason.



40
41
42
# File 'lib/ovhrb/manager/manager.rb', line 40

def reportReason
  @reportReason
end

#typeObject

Returns the value of attribute type.



39
40
41
# File 'lib/ovhrb/manager/manager.rb', line 39

def type
  @type
end

#unreadObject

Returns the value of attribute unread.



38
39
40
# File 'lib/ovhrb/manager/manager.rb', line 38

def unread
  @unread
end