Class: MessageDetailStruct

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

Overview

http://soapi.ovh.com/managermessageDetailStruct

Constant Summary collapse

@@schema_type =
"messageDetailStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["to", ["SOAP::SOAPString", XSD::QName.new(nil, "to")]], ["from", ["SOAP::SOAPString", XSD::QName.new(nil, "from")]], ["date", ["SOAP::SOAPString", XSD::QName.new(nil, "date")]], ["ip", ["SOAP::SOAPString", XSD::QName.new(nil, "ip")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["message", ["SOAP::SOAPString", XSD::QName.new(nil, "message")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(to = nil, from = nil, date = nil, ip = nil, type = nil, message = nil) ⇒ MessageDetailStruct

Returns a new instance of MessageDetailStruct.



3732
3733
3734
3735
3736
3737
3738
3739
# File 'lib/ovhrb/manager/manager.rb', line 3732

def initialize(to = nil, from = nil, date = nil, ip = nil, type = nil, message = nil)
  @to = to
  @from = from
  @date = date
  @ip = ip
  @type = type
  @message = message
end

Instance Attribute Details

#dateObject

Returns the value of attribute date.



3727
3728
3729
# File 'lib/ovhrb/manager/manager.rb', line 3727

def date
  @date
end

#fromObject

Returns the value of attribute from.



3726
3727
3728
# File 'lib/ovhrb/manager/manager.rb', line 3726

def from
  @from
end

#ipObject

Returns the value of attribute ip.



3728
3729
3730
# File 'lib/ovhrb/manager/manager.rb', line 3728

def ip
  @ip
end

#messageObject

Returns the value of attribute message.



3730
3731
3732
# File 'lib/ovhrb/manager/manager.rb', line 3730

def message
  @message
end

#toObject

Returns the value of attribute to.



3725
3726
3727
# File 'lib/ovhrb/manager/manager.rb', line 3725

def to
  @to
end

#typeObject

Returns the value of attribute type.



3729
3730
3731
# File 'lib/ovhrb/manager/manager.rb', line 3729

def type
  @type
end