Class: Postal::Lmapi::MessageStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/postal/lmapi/lmapi.rb

Overview

http://tempuri.org/ns1.xsdMessageStruct

recipientEmailsIn - ArrayOfstring
recipientMemberIDsIn - ArrayOfint
headersIn - ArrayOfKeyValueType
body - SOAP::SOAPString
segmentID - SOAP::SOAPInt
listName - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(recipientEmailsIn = nil, recipientMemberIDsIn = nil, headersIn = nil, body = nil, segmentID = nil, listName = nil) ⇒ MessageStruct

Returns a new instance of MessageStruct.



68
69
70
71
72
73
74
75
# File 'lib/postal/lmapi/lmapi.rb', line 68

def initialize(recipientEmailsIn = nil, recipientMemberIDsIn = nil, headersIn = nil, body = nil, segmentID = nil, listName = nil)
  @recipientEmailsIn = recipientEmailsIn
  @recipientMemberIDsIn = recipientMemberIDsIn
  @headersIn = headersIn
  @body = body
  @segmentID = segmentID
  @listName = listName
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



64
65
66
# File 'lib/postal/lmapi/lmapi.rb', line 64

def body
  @body
end

#headersInObject

Returns the value of attribute headersIn.



63
64
65
# File 'lib/postal/lmapi/lmapi.rb', line 63

def headersIn
  @headersIn
end

#listNameObject

Returns the value of attribute listName.



66
67
68
# File 'lib/postal/lmapi/lmapi.rb', line 66

def listName
  @listName
end

#recipientEmailsInObject

Returns the value of attribute recipientEmailsIn.



61
62
63
# File 'lib/postal/lmapi/lmapi.rb', line 61

def recipientEmailsIn
  @recipientEmailsIn
end

#recipientMemberIDsInObject

Returns the value of attribute recipientMemberIDsIn.



62
63
64
# File 'lib/postal/lmapi/lmapi.rb', line 62

def recipientMemberIDsIn
  @recipientMemberIDsIn
end

#segmentIDObject

Returns the value of attribute segmentID.



65
66
67
# File 'lib/postal/lmapi/lmapi.rb', line 65

def segmentID
  @segmentID
end