Class: Postal::Lmapi::MailingStruct

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

Overview

http://tempuri.org/ns1.xsdMailingStruct

enableRecency - SOAP::SOAPBoolean
isHtmlSectionEncoded - SOAP::SOAPBoolean
subject - SOAP::SOAPString
campaign - SOAP::SOAPString
htmlSectionEncoding - SOAP::SOAPInt
htmlMessage - SOAP::SOAPString
to - SOAP::SOAPString
recencyWhich - RecencyWhichEnum
resendAfterDays - SOAP::SOAPInt
sampleSize - SOAP::SOAPInt
charSetID - SOAP::SOAPInt
replyTo - SOAP::SOAPString
isTextSectionEncoded - SOAP::SOAPBoolean
textSectionEncoding - SOAP::SOAPInt
title - SOAP::SOAPString
textMessage - SOAP::SOAPString
trackOpens - SOAP::SOAPBoolean
recencyNumberOfMailings - SOAP::SOAPInt
recencyDays - SOAP::SOAPInt
bypassModeration - SOAP::SOAPBoolean
attachments - SOAP::SOAPString
dontAttemptAfterDate - SOAP::SOAPDateTime
rewriteDateWhenSent - SOAP::SOAPBoolean
from - SOAP::SOAPString
additionalHeaders - SOAP::SOAPString
listName - SOAP::SOAPString
detectHtml - SOAP::SOAPBoolean

Constant Summary collapse

DEFAULT_ATTRIBUTES =
{:enableRecency => nil, 
:isHtmlSectionEncoded => nil, 
:subject => nil, 
:campaign => nil, 
:htmlSectionEncoding => nil, 
:htmlMessage => nil, 
:to => nil, 
:recencyWhich => nil, 
:resendAfterDays => nil, 
:sampleSize => nil, 
:charSetID => nil, 
:replyTo => nil, 
:isTextSectionEncoded => nil, 
:textSectionEncoding => nil, 
:title => nil, 
:textMessage => nil, 
:trackOpens => nil, 
:recencyNumberOfMailings => nil, 
:recencyDays => nil, 
:bypassModeration => nil, 
:attachments => nil, 
:dontAttemptAfterDate => nil, 
:rewriteDateWhenSent => nil, 
:from => nil, 
:additionalHeaders => nil, 
:listName => nil, 
:detectHtml => nil}

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ MailingStruct

Returns a new instance of MailingStruct.



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# File 'lib/postal/lmapi/lmapi.rb', line 371

def initialize(attributes={})
  @enableRecency = attributes[:enableRecency]
  @isHtmlSectionEncoded = attributes[:isHtmlSectionEncoded]
  @subject = attributes[:subject]
  @campaign = attributes[:campaign]
  @htmlSectionEncoding = attributes[:htmlSectionEncoding]
  @htmlMessage = attributes[:htmlMessage]
  @to = attributes[:to]
  @recencyWhich = attributes[:recencyWhich]
  @resendAfterDays = attributes[:resendAfterDays]
  @sampleSize = attributes[:sampleSize]
  @charSetID = attributes[:charSetID]
  @replyTo = attributes[:replyTo]
  @isTextSectionEncoded = attributes[:isTextSectionEncoded]
  @textSectionEncoding = attributes[:textSectionEncoding]
  @title = attributes[:title]
  @textMessage = attributes[:textMessage]
  @trackOpens = attributes[:trackOpens]
  @recencyNumberOfMailings = attributes[:recencyNumberOfMailings]
  @recencyDays = attributes[:recencyDays]
  @bypassModeration = attributes[:bypassModeration]
  @attachments = attributes[:attachments]
  @dontAttemptAfterDate = attributes[:dontAttemptAfterDate]
  @rewriteDateWhenSent = attributes[:rewriteDateWhenSent]
  @from = attributes[:from]
  @additionalHeaders = attributes[:additionalHeaders]
  @listName = attributes[:listName]
  @detectHtml = attributes[:detectHtml]
end

Instance Attribute Details

#additionalHeadersObject

Returns the value of attribute additionalHeaders.



339
340
341
# File 'lib/postal/lmapi/lmapi.rb', line 339

def additionalHeaders
  @additionalHeaders
end

#attachmentsObject

Returns the value of attribute attachments.



335
336
337
# File 'lib/postal/lmapi/lmapi.rb', line 335

def attachments
  @attachments
end

#bypassModerationObject

Returns the value of attribute bypassModeration.



334
335
336
# File 'lib/postal/lmapi/lmapi.rb', line 334

def bypassModeration
  @bypassModeration
end

#campaignObject

Returns the value of attribute campaign.



318
319
320
# File 'lib/postal/lmapi/lmapi.rb', line 318

def campaign
  @campaign
end

#charSetIDObject

Returns the value of attribute charSetID.



325
326
327
# File 'lib/postal/lmapi/lmapi.rb', line 325

def charSetID
  @charSetID
end

#detectHtmlObject

Returns the value of attribute detectHtml.



341
342
343
# File 'lib/postal/lmapi/lmapi.rb', line 341

def detectHtml
  @detectHtml
end

#dontAttemptAfterDateObject

Returns the value of attribute dontAttemptAfterDate.



336
337
338
# File 'lib/postal/lmapi/lmapi.rb', line 336

def dontAttemptAfterDate
  @dontAttemptAfterDate
end

#enableRecencyObject

Returns the value of attribute enableRecency.



315
316
317
# File 'lib/postal/lmapi/lmapi.rb', line 315

def enableRecency
  @enableRecency
end

#fromObject

Returns the value of attribute from.



338
339
340
# File 'lib/postal/lmapi/lmapi.rb', line 338

def from
  @from
end

#htmlMessageObject

Returns the value of attribute htmlMessage.



320
321
322
# File 'lib/postal/lmapi/lmapi.rb', line 320

def htmlMessage
  @htmlMessage
end

#htmlSectionEncodingObject

Returns the value of attribute htmlSectionEncoding.



319
320
321
# File 'lib/postal/lmapi/lmapi.rb', line 319

def htmlSectionEncoding
  @htmlSectionEncoding
end

#isHtmlSectionEncodedObject

Returns the value of attribute isHtmlSectionEncoded.



316
317
318
# File 'lib/postal/lmapi/lmapi.rb', line 316

def isHtmlSectionEncoded
  @isHtmlSectionEncoded
end

#isTextSectionEncodedObject

Returns the value of attribute isTextSectionEncoded.



327
328
329
# File 'lib/postal/lmapi/lmapi.rb', line 327

def isTextSectionEncoded
  @isTextSectionEncoded
end

#listNameObject

Returns the value of attribute listName.



340
341
342
# File 'lib/postal/lmapi/lmapi.rb', line 340

def listName
  @listName
end

#recencyDaysObject

Returns the value of attribute recencyDays.



333
334
335
# File 'lib/postal/lmapi/lmapi.rb', line 333

def recencyDays
  @recencyDays
end

#recencyNumberOfMailingsObject

Returns the value of attribute recencyNumberOfMailings.



332
333
334
# File 'lib/postal/lmapi/lmapi.rb', line 332

def recencyNumberOfMailings
  @recencyNumberOfMailings
end

#recencyWhichObject

Returns the value of attribute recencyWhich.



322
323
324
# File 'lib/postal/lmapi/lmapi.rb', line 322

def recencyWhich
  @recencyWhich
end

#replyToObject

Returns the value of attribute replyTo.



326
327
328
# File 'lib/postal/lmapi/lmapi.rb', line 326

def replyTo
  @replyTo
end

#resendAfterDaysObject

Returns the value of attribute resendAfterDays.



323
324
325
# File 'lib/postal/lmapi/lmapi.rb', line 323

def resendAfterDays
  @resendAfterDays
end

#rewriteDateWhenSentObject

Returns the value of attribute rewriteDateWhenSent.



337
338
339
# File 'lib/postal/lmapi/lmapi.rb', line 337

def rewriteDateWhenSent
  @rewriteDateWhenSent
end

#sampleSizeObject

Returns the value of attribute sampleSize.



324
325
326
# File 'lib/postal/lmapi/lmapi.rb', line 324

def sampleSize
  @sampleSize
end

#subjectObject

Returns the value of attribute subject.



317
318
319
# File 'lib/postal/lmapi/lmapi.rb', line 317

def subject
  @subject
end

#textMessageObject

Returns the value of attribute textMessage.



330
331
332
# File 'lib/postal/lmapi/lmapi.rb', line 330

def textMessage
  @textMessage
end

#textSectionEncodingObject

Returns the value of attribute textSectionEncoding.



328
329
330
# File 'lib/postal/lmapi/lmapi.rb', line 328

def textSectionEncoding
  @textSectionEncoding
end

#titleObject

Returns the value of attribute title.



329
330
331
# File 'lib/postal/lmapi/lmapi.rb', line 329

def title
  @title
end

#toObject

Returns the value of attribute to.



321
322
323
# File 'lib/postal/lmapi/lmapi.rb', line 321

def to
  @to
end

#trackOpensObject

Returns the value of attribute trackOpens.



331
332
333
# File 'lib/postal/lmapi/lmapi.rb', line 331

def trackOpens
  @trackOpens
end