Class: Virtuozzo::SOAP::Types::Firewallm::Packet

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

Overview

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

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



2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2211

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.



2118
2119
2120
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2118

def auth
  @auth
end

Returns the value of attribute cookie.



2119
2120
2121
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2119

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2125
2126
2127
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2125

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2123
2124
2125
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2123

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2121
2122
2123
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2121

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



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

def session
  @session
end

#srcObject

Returns the value of attribute src.



2122
2123
2124
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2122

def src
  @src
end

#targetObject

Returns the value of attribute target.



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

def target
  @target
end

Instance Method Details

#__xmlattrObject



2127
2128
2129
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2127

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



2139
2140
2141
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2139

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



2143
2144
2145
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2143

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

#xmlattr_logObject



2171
2172
2173
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2171

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



2175
2176
2177
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2175

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

#xmlattr_priorityObject



2147
2148
2149
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2147

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



2151
2152
2153
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2151

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

#xmlattr_progressObject



2163
2164
2165
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2163

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



2167
2168
2169
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2167

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

#xmlattr_timeObject



2155
2156
2157
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2155

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



2159
2160
2161
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2159

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

#xmlattr_timeoutObject



2187
2188
2189
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2187

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



2191
2192
2193
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2191

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

#xmlattr_timeout_limitObject



2195
2196
2197
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2195

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



2199
2200
2201
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2199

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

#xmlattr_typeObject



2179
2180
2181
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2179

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



2183
2184
2185
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2183

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

#xmlattr_uidObject



2203
2204
2205
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2203

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



2207
2208
2209
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2207

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

#xmlattr_versionObject



2131
2132
2133
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2131

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



2135
2136
2137
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 2135

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