Class: Virtuozzo::SOAP::Types::Resourcem::Packet

Inherits:
Packet_headerType show all
Defined in:
lib/virtuozzo/soap/types/resourcem.rb

Overview

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

auth - Virtuozzo::SOAP::Types::Resourcem::AuthType
cookie - SOAP::SOAPString
target - SOAP::SOAPString
origin - SOAP::SOAPString
src - Virtuozzo::SOAP::Types::Resourcem::RouteType
dst - Virtuozzo::SOAP::Types::Resourcem::RouteType
session - SOAP::SOAPString
data - Virtuozzo::SOAP::Types::Resourcem::Packet::C_Data
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

Defined Under Namespace

Classes: C_Data

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, data = nil) ⇒ Packet

Returns a new instance of Packet.



2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2200

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

Instance Attribute Details

#authObject

Returns the value of attribute auth.



2107
2108
2109
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2107

def auth
  @auth
end

Returns the value of attribute cookie.



2108
2109
2110
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2108

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2114
2115
2116
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2114

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2112
2113
2114
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2112

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2110
2111
2112
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2110

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



2113
2114
2115
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2113

def session
  @session
end

#srcObject

Returns the value of attribute src.



2111
2112
2113
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2111

def src
  @src
end

#targetObject

Returns the value of attribute target.



2109
2110
2111
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2109

def target
  @target
end

Instance Method Details

#__xmlattrObject



2116
2117
2118
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2116

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



2128
2129
2130
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2128

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



2132
2133
2134
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2132

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

#xmlattr_logObject



2160
2161
2162
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2160

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



2164
2165
2166
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2164

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

#xmlattr_priorityObject



2136
2137
2138
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2136

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



2140
2141
2142
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2140

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

#xmlattr_progressObject



2152
2153
2154
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2152

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



2156
2157
2158
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2156

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

#xmlattr_timeObject



2144
2145
2146
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2144

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



2148
2149
2150
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2148

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

#xmlattr_timeoutObject



2176
2177
2178
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2176

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



2180
2181
2182
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2180

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

#xmlattr_timeout_limitObject



2184
2185
2186
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2184

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



2188
2189
2190
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2188

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

#xmlattr_typeObject



2168
2169
2170
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2168

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



2172
2173
2174
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2172

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

#xmlattr_uidObject



2192
2193
2194
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2192

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



2196
2197
2198
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2196

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

#xmlattr_versionObject



2120
2121
2122
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2120

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



2124
2125
2126
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2124

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