Class: Virtuozzo::SOAP::Types::Packagem::Packet_headerType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/packagem.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/protocolpacket_headerType

auth - Virtuozzo::SOAP::Types::Packagem::AuthType
cookie - SOAP::SOAPString
target - SOAP::SOAPString
origin - SOAP::SOAPString
src - Virtuozzo::SOAP::Types::Packagem::RouteType
dst - Virtuozzo::SOAP::Types::Packagem::RouteType
session - SOAP::SOAPString
xmlattr_version - SOAP::SOAPString
xmlattr_id - SOAP::SOAPString
xmlattr_priority - SOAP::SOAPString
xmlattr_time - SOAP::SOAPString
xmlattr_progress - SOAP::SOAPString
xmlattr_log - SOAP::SOAPString
xmlattr_type - SOAP::SOAPInt
xmlattr_timeout - SOAP::SOAPInt
xmlattr_timeout_limit - SOAP::SOAPInt
xmlattr_uid - SOAP::SOAPInt

Direct Known Subclasses

Packet

Constant Summary collapse

AttrC_Time =
XSD::QName.new(nil, "time")
AttrId =
XSD::QName.new(nil, "id")
AttrLog =
XSD::QName.new(nil, "log")
AttrPriority =
XSD::QName.new(nil, "priority")
AttrProgress =
XSD::QName.new(nil, "progress")
AttrTimeout =
XSD::QName.new(nil, "timeout")
AttrTimeout_limit =
XSD::QName.new(nil, "timeout_limit")
AttrType =
XSD::QName.new(nil, "type")
AttrUid =
XSD::QName.new(nil, "uid")
AttrVersion =
XSD::QName.new(nil, "version")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil) ⇒ Packet_headerType

Returns a new instance of Packet_headerType.



128
129
130
131
132
133
134
135
136
137
# File 'lib/virtuozzo/soap/types/packagem.rb', line 128

def initialize(auth = nil, cookie = nil, target = [], origin = nil, src = nil, dst = nil, session = nil)
  @auth = auth
  @cookie = cookie
  @target = target
  @origin = origin
  @src = src
  @dst = dst
  @session = session
  @__xmlattr = {}
end

Instance Attribute Details

#authObject

Returns the value of attribute auth.



36
37
38
# File 'lib/virtuozzo/soap/types/packagem.rb', line 36

def auth
  @auth
end

Returns the value of attribute cookie.



37
38
39
# File 'lib/virtuozzo/soap/types/packagem.rb', line 37

def cookie
  @cookie
end

#dstObject

Returns the value of attribute dst.



41
42
43
# File 'lib/virtuozzo/soap/types/packagem.rb', line 41

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



39
40
41
# File 'lib/virtuozzo/soap/types/packagem.rb', line 39

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



42
43
44
# File 'lib/virtuozzo/soap/types/packagem.rb', line 42

def session
  @session
end

#srcObject

Returns the value of attribute src.



40
41
42
# File 'lib/virtuozzo/soap/types/packagem.rb', line 40

def src
  @src
end

#targetObject

Returns the value of attribute target.



38
39
40
# File 'lib/virtuozzo/soap/types/packagem.rb', line 38

def target
  @target
end

Instance Method Details

#__xmlattrObject



44
45
46
# File 'lib/virtuozzo/soap/types/packagem.rb', line 44

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



56
57
58
# File 'lib/virtuozzo/soap/types/packagem.rb', line 56

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



60
61
62
# File 'lib/virtuozzo/soap/types/packagem.rb', line 60

def xmlattr_id=(value)
  __xmlattr[AttrId] = value
end

#xmlattr_logObject



88
89
90
# File 'lib/virtuozzo/soap/types/packagem.rb', line 88

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



92
93
94
# File 'lib/virtuozzo/soap/types/packagem.rb', line 92

def xmlattr_log=(value)
  __xmlattr[AttrLog] = value
end

#xmlattr_priorityObject



64
65
66
# File 'lib/virtuozzo/soap/types/packagem.rb', line 64

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



68
69
70
# File 'lib/virtuozzo/soap/types/packagem.rb', line 68

def xmlattr_priority=(value)
  __xmlattr[AttrPriority] = value
end

#xmlattr_progressObject



80
81
82
# File 'lib/virtuozzo/soap/types/packagem.rb', line 80

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



84
85
86
# File 'lib/virtuozzo/soap/types/packagem.rb', line 84

def xmlattr_progress=(value)
  __xmlattr[AttrProgress] = value
end

#xmlattr_timeObject



72
73
74
# File 'lib/virtuozzo/soap/types/packagem.rb', line 72

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



76
77
78
# File 'lib/virtuozzo/soap/types/packagem.rb', line 76

def xmlattr_time=(value)
  __xmlattr[AttrC_Time] = value
end

#xmlattr_timeoutObject



104
105
106
# File 'lib/virtuozzo/soap/types/packagem.rb', line 104

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



108
109
110
# File 'lib/virtuozzo/soap/types/packagem.rb', line 108

def xmlattr_timeout=(value)
  __xmlattr[AttrTimeout] = value
end

#xmlattr_timeout_limitObject



112
113
114
# File 'lib/virtuozzo/soap/types/packagem.rb', line 112

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



116
117
118
# File 'lib/virtuozzo/soap/types/packagem.rb', line 116

def xmlattr_timeout_limit=(value)
  __xmlattr[AttrTimeout_limit] = value
end

#xmlattr_typeObject



96
97
98
# File 'lib/virtuozzo/soap/types/packagem.rb', line 96

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



100
101
102
# File 'lib/virtuozzo/soap/types/packagem.rb', line 100

def xmlattr_type=(value)
  __xmlattr[AttrType] = value
end

#xmlattr_uidObject



120
121
122
# File 'lib/virtuozzo/soap/types/packagem.rb', line 120

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



124
125
126
# File 'lib/virtuozzo/soap/types/packagem.rb', line 124

def xmlattr_uid=(value)
  __xmlattr[AttrUid] = value
end

#xmlattr_versionObject



48
49
50
# File 'lib/virtuozzo/soap/types/packagem.rb', line 48

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



52
53
54
# File 'lib/virtuozzo/soap/types/packagem.rb', line 52

def xmlattr_version=(value)
  __xmlattr[AttrVersion] = value
end