Class: Virtuozzo::SOAP::Types::Packagem::Packet

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

Overview

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

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
data - Virtuozzo::SOAP::Types::Packagem::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.



2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2739

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.



2646
2647
2648
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2646

def auth
  @auth
end

Returns the value of attribute cookie.



2647
2648
2649
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2647

def cookie
  @cookie
end

#dataObject

Returns the value of attribute data.



2653
2654
2655
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2653

def data
  @data
end

#dstObject

Returns the value of attribute dst.



2651
2652
2653
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2651

def dst
  @dst
end

#originObject

Returns the value of attribute origin.



2649
2650
2651
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2649

def origin
  @origin
end

#sessionObject

Returns the value of attribute session.



2652
2653
2654
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2652

def session
  @session
end

#srcObject

Returns the value of attribute src.



2650
2651
2652
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2650

def src
  @src
end

#targetObject

Returns the value of attribute target.



2648
2649
2650
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2648

def target
  @target
end

Instance Method Details

#__xmlattrObject



2655
2656
2657
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2655

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_idObject



2667
2668
2669
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2667

def xmlattr_id
  __xmlattr[AttrId]
end

#xmlattr_id=(value) ⇒ Object



2671
2672
2673
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2671

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

#xmlattr_logObject



2699
2700
2701
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2699

def xmlattr_log
  __xmlattr[AttrLog]
end

#xmlattr_log=(value) ⇒ Object



2703
2704
2705
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2703

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

#xmlattr_priorityObject



2675
2676
2677
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2675

def xmlattr_priority
  __xmlattr[AttrPriority]
end

#xmlattr_priority=(value) ⇒ Object



2679
2680
2681
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2679

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

#xmlattr_progressObject



2691
2692
2693
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2691

def xmlattr_progress
  __xmlattr[AttrProgress]
end

#xmlattr_progress=(value) ⇒ Object



2695
2696
2697
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2695

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

#xmlattr_timeObject



2683
2684
2685
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2683

def xmlattr_time
  __xmlattr[AttrC_Time]
end

#xmlattr_time=(value) ⇒ Object



2687
2688
2689
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2687

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

#xmlattr_timeoutObject



2715
2716
2717
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2715

def xmlattr_timeout
  __xmlattr[AttrTimeout]
end

#xmlattr_timeout=(value) ⇒ Object



2719
2720
2721
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2719

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

#xmlattr_timeout_limitObject



2723
2724
2725
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2723

def xmlattr_timeout_limit
  __xmlattr[AttrTimeout_limit]
end

#xmlattr_timeout_limit=(value) ⇒ Object



2727
2728
2729
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2727

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

#xmlattr_typeObject



2707
2708
2709
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2707

def xmlattr_type
  __xmlattr[AttrType]
end

#xmlattr_type=(value) ⇒ Object



2711
2712
2713
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2711

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

#xmlattr_uidObject



2731
2732
2733
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2731

def xmlattr_uid
  __xmlattr[AttrUid]
end

#xmlattr_uid=(value) ⇒ Object



2735
2736
2737
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2735

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

#xmlattr_versionObject



2659
2660
2661
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2659

def xmlattr_version
  __xmlattr[AttrVersion]
end

#xmlattr_version=(value) ⇒ Object



2663
2664
2665
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2663

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