| 1 |
require 'xsd/qname' |
|---|
| 2 |
|
|---|
| 3 |
module WSDL; module Ref |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
# {urn:ref}Product |
|---|
| 7 |
# name - SOAP::SOAPString |
|---|
| 8 |
# rating - SOAP::SOAPString |
|---|
| 9 |
class Product |
|---|
| 10 |
attr_accessor :name |
|---|
| 11 |
attr_accessor :rating |
|---|
| 12 |
|
|---|
| 13 |
def initialize(name = nil, rating = nil) |
|---|
| 14 |
@name = name |
|---|
| 15 |
@rating = rating |
|---|
| 16 |
end |
|---|
| 17 |
end |
|---|
| 18 |
|
|---|
| 19 |
# {urn:ref}Comment |
|---|
| 20 |
# xmlattr_msgid - SOAP::SOAPString |
|---|
| 21 |
class Comment < ::String |
|---|
| 22 |
AttrMsgid = XSD::QName.new(nil, "msgid") |
|---|
| 23 |
|
|---|
| 24 |
def __xmlattr |
|---|
| 25 |
@__xmlattr ||= {} |
|---|
| 26 |
end |
|---|
| 27 |
|
|---|
| 28 |
def xmlattr_msgid |
|---|
| 29 |
__xmlattr[AttrMsgid] |
|---|
| 30 |
end |
|---|
| 31 |
|
|---|
| 32 |
def xmlattr_msgid=(value) |
|---|
| 33 |
__xmlattr[AttrMsgid] = value |
|---|
| 34 |
end |
|---|
| 35 |
|
|---|
| 36 |
def initialize(*arg) |
|---|
| 37 |
super |
|---|
| 38 |
@__xmlattr = {} |
|---|
| 39 |
end |
|---|
| 40 |
end |
|---|
| 41 |
|
|---|
| 42 |
# {urn:ref}_point |
|---|
| 43 |
# xmlattr_unit - SOAP::SOAPString |
|---|
| 44 |
class C__point < ::String |
|---|
| 45 |
AttrUnit = XSD::QName.new(nil, "unit") |
|---|
| 46 |
|
|---|
| 47 |
def __xmlattr |
|---|
| 48 |
@__xmlattr ||= {} |
|---|
| 49 |
end |
|---|
| 50 |
|
|---|
| 51 |
def xmlattr_unit |
|---|
| 52 |
__xmlattr[AttrUnit] |
|---|
| 53 |
end |
|---|
| 54 |
|
|---|
| 55 |
def xmlattr_unit=(value) |
|---|
| 56 |
__xmlattr[AttrUnit] = value |
|---|
| 57 |
end |
|---|
| 58 |
|
|---|
| 59 |
def initialize(*arg) |
|---|
| 60 |
super |
|---|
| 61 |
@__xmlattr = {} |
|---|
| 62 |
end |
|---|
| 63 |
end |
|---|
| 64 |
|
|---|
| 65 |
# {urn:ref}Document |
|---|
| 66 |
# xmlattr_ID - SOAP::SOAPString |
|---|
| 67 |
class Document < ::String |
|---|
| 68 |
AttrID = XSD::QName.new(nil, "ID") |
|---|
| 69 |
|
|---|
| 70 |
def __xmlattr |
|---|
| 71 |
@__xmlattr ||= {} |
|---|
| 72 |
end |
|---|
| 73 |
|
|---|
| 74 |
def xmlattr_ID |
|---|
| 75 |
__xmlattr[AttrID] |
|---|
| 76 |
end |
|---|
| 77 |
|
|---|
| 78 |
def xmlattr_ID=(value) |
|---|
| 79 |
__xmlattr[AttrID] = value |
|---|
| 80 |
end |
|---|
| 81 |
|
|---|
| 82 |
def initialize(*arg) |
|---|
| 83 |
super |
|---|
| 84 |
@__xmlattr = {} |
|---|
| 85 |
end |
|---|
| 86 |
end |
|---|
| 87 |
|
|---|
| 88 |
# {urn:ref}DerivedChoice_BaseSimpleContent |
|---|
| 89 |
# varStringExt - SOAP::SOAPString |
|---|
| 90 |
# varFloatExt - SOAP::SOAPFloat |
|---|
| 91 |
# xmlattr_ID - SOAP::SOAPString |
|---|
| 92 |
# xmlattr_attrStringExt - SOAP::SOAPString |
|---|
| 93 |
class DerivedChoice_BaseSimpleContent < Document |
|---|
| 94 |
AttrAttrStringExt = XSD::QName.new(nil, "attrStringExt") |
|---|
| 95 |
AttrID = XSD::QName.new(nil, "ID") |
|---|
| 96 |
|
|---|
| 97 |
attr_accessor :varStringExt |
|---|
| 98 |
attr_accessor :varFloatExt |
|---|
| 99 |
|
|---|
| 100 |
def __xmlattr |
|---|
| 101 |
@__xmlattr ||= {} |
|---|
| 102 |
end |
|---|
| 103 |
|
|---|
| 104 |
def xmlattr_ID |
|---|
| 105 |
__xmlattr[AttrID] |
|---|
| 106 |
end |
|---|
| 107 |
|
|---|
| 108 |
def xmlattr_ID=(value) |
|---|
| 109 |
__xmlattr[AttrID] = value |
|---|
| 110 |
end |
|---|
| 111 |
|
|---|
| 112 |
def xmlattr_attrStringExt |
|---|
| 113 |
__xmlattr[AttrAttrStringExt] |
|---|
| 114 |
end |
|---|
| 115 |
|
|---|
| 116 |
def xmlattr_attrStringExt=(value) |
|---|
| 117 |
__xmlattr[AttrAttrStringExt] = value |
|---|
| 118 |
end |
|---|
| 119 |
|
|---|
| 120 |
def initialize(varStringExt = nil, varFloatExt = nil) |
|---|
| 121 |
@varStringExt = varStringExt |
|---|
| 122 |
@varFloatExt = varFloatExt |
|---|
| 123 |
@__xmlattr = {} |
|---|
| 124 |
end |
|---|
| 125 |
end |
|---|
| 126 |
|
|---|
| 127 |
# {urn:ref}Rating |
|---|
| 128 |
class Rating < ::String |
|---|
| 129 |
C_0 = new("0") |
|---|
| 130 |
C_1 = new("+1") |
|---|
| 131 |
C_1_2 = new("-1") |
|---|
| 132 |
end |
|---|
| 133 |
|
|---|
| 134 |
# {urn:ref}Product-Bag |
|---|
| 135 |
# bag - WSDL::Ref::Product |
|---|
| 136 |
# rating - SOAP::SOAPString |
|---|
| 137 |
# comment_1 - WSDL::Ref::ProductBag::Comment_1 |
|---|
| 138 |
# comment_2 - WSDL::Ref::Comment |
|---|
| 139 |
# m___point - WSDL::Ref::C__point |
|---|
| 140 |
# xmlattr_version - SOAP::SOAPString |
|---|
| 141 |
# xmlattr_yesno - SOAP::SOAPString |
|---|
| 142 |
class ProductBag |
|---|
| 143 |
AttrVersion = XSD::QName.new("urn:ref", "version") |
|---|
| 144 |
AttrYesno = XSD::QName.new("urn:ref", "yesno") |
|---|
| 145 |
|
|---|
| 146 |
# inner class for member: Comment_1 |
|---|
| 147 |
# {}Comment_1 |
|---|
| 148 |
# xmlattr_msgid - SOAP::SOAPString |
|---|
| 149 |
class Comment_1 < ::String |
|---|
| 150 |
AttrMsgid = XSD::QName.new(nil, "msgid") |
|---|
| 151 |
|
|---|
| 152 |
def __xmlattr |
|---|
| 153 |
@__xmlattr ||= {} |
|---|
| 154 |
end |
|---|
| 155 |
|
|---|
| 156 |
def xmlattr_msgid |
|---|
| 157 |
__xmlattr[AttrMsgid] |
|---|
| 158 |
end |
|---|
| 159 |
|
|---|
| 160 |
def xmlattr_msgid=(value) |
|---|
| 161 |
__xmlattr[AttrMsgid] = value |
|---|
| 162 |
end |
|---|
| 163 |
|
|---|
| 164 |
def initialize(*arg) |
|---|
| 165 |
super |
|---|
| 166 |
@__xmlattr = {} |
|---|
| 167 |
end |
|---|
| 168 |
end |
|---|
| 169 |
|
|---|
| 170 |
attr_accessor :bag |
|---|
| 171 |
attr_accessor :rating |
|---|
| 172 |
attr_accessor :comment_1 |
|---|
| 173 |
attr_accessor :comment_2 |
|---|
| 174 |
|
|---|
| 175 |
def m___point |
|---|
| 176 |
@v___point |
|---|
| 177 |
end |
|---|
| 178 |
|
|---|
| 179 |
def m___point=(value) |
|---|
| 180 |
@v___point = value |
|---|
| 181 |
end |
|---|
| 182 |
|
|---|
| 183 |
def __xmlattr |
|---|
| 184 |
@__xmlattr ||= {} |
|---|
| 185 |
end |
|---|
| 186 |
|
|---|
| 187 |
def xmlattr_version |
|---|
| 188 |
__xmlattr[AttrVersion] |
|---|
| 189 |
end |
|---|
| 190 |
|
|---|
| 191 |
def xmlattr_version=(value) |
|---|
| 192 |
__xmlattr[AttrVersion] = value |
|---|
| 193 |
end |
|---|
| 194 |
|
|---|
| 195 |
def xmlattr_yesno |
|---|
| 196 |
__xmlattr[AttrYesno] |
|---|
| 197 |
end |
|---|
| 198 |
|
|---|
| 199 |
def xmlattr_yesno=(value) |
|---|
| 200 |
__xmlattr[AttrYesno] = value |
|---|
| 201 |
end |
|---|
| 202 |
|
|---|
| 203 |
def initialize(bag = [], rating = [], comment_1 = [], comment_2 = [], v___point = nil) |
|---|
| 204 |
@bag = bag |
|---|
| 205 |
@rating = rating |
|---|
| 206 |
@comment_1 = comment_1 |
|---|
| 207 |
@comment_2 = comment_2 |
|---|
| 208 |
@v___point = v___point |
|---|
| 209 |
@__xmlattr = {} |
|---|
| 210 |
end |
|---|
| 211 |
end |
|---|
| 212 |
|
|---|
| 213 |
# {urn:ref}Creator |
|---|
| 214 |
# xmlattr_Role - SOAP::SOAPString |
|---|
| 215 |
class Creator < ::String |
|---|
| 216 |
AttrRole = XSD::QName.new(nil, "Role") |
|---|
| 217 |
|
|---|
| 218 |
def __xmlattr |
|---|
| 219 |
@__xmlattr ||= {} |
|---|
| 220 |
end |
|---|
| 221 |
|
|---|
| 222 |
def xmlattr_Role |
|---|
| 223 |
__xmlattr[AttrRole] |
|---|
| 224 |
end |
|---|
| 225 |
|
|---|
| 226 |
def xmlattr_Role=(value) |
|---|
| 227 |
__xmlattr[AttrRole] = value |
|---|
| 228 |
end |
|---|
| 229 |
|
|---|
| 230 |
def initialize(*arg) |
|---|
| 231 |
super |
|---|
| 232 |
@__xmlattr = {} |
|---|
| 233 |
end |
|---|
| 234 |
end |
|---|
| 235 |
|
|---|
| 236 |
# {urn:ref}yesno |
|---|
| 237 |
class Yesno < ::String |
|---|
| 238 |
N = new("N") |
|---|
| 239 |
Y = new("Y") |
|---|
| 240 |
end |
|---|
| 241 |
|
|---|
| 242 |
|
|---|
| 243 |
end; end |
|---|