WSDisco...eMatches(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… WSDisco...eMatches(3) β€” bestie edition

okay so this is a Perl manual page (User Contributed Perl Documentation, iykyk), and it's about WSDiscovery::Elements::ResolveMatches. Yes the header truncates it, no we're not going to be weird about it, let's go ✨


πŸ¦‹ NAME

WSDiscovery::Elements::ResolveMatches β€” that's the whole vibe, that's the name, periodt.


🌸 DESCRIPTION

okay so basically this is a Perl data type class for the XML Schema defined element ResolveMatches, and it comes from the namespace http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01. That's it, that's the whole description, it ate πŸ’…


✨ METHODS ✨

πŸŽ€ new

my $element = WSDiscovery::Elements::ResolveMatches->new($data);

Constructor, bestie. It's giving main character energy β€” you hand it $data and it becomes an element 🫢

The following data structure may be passed to new() β€” and yes you're gonna want to look at all of it, no skipping, ngl this nesting is a lot:

{ # WSDiscovery::Types::ResolveMatchesType
  ResolveMatch =>  { # WSDiscovery::Types::ResolveMatchType
    EndpointReference =>  { # WSDiscovery::Types::EndpointReferenceType
      Address =>  { value => $some_value },
      ReferenceParameters =>  { # WSDiscovery::Types::ReferenceParametersType
      },
      Metadata =>  { # WSDiscovery::Types::MetadataType
      },
    },
    Types => $some_value, # QNameListType
    Scopes =>  { value => $some_value },
    XAddrs => $some_value, # UriListType
    MetadataVersion =>  $some_value, # unsignedInt
  },
},

like… look at those little empty hashrefs, they're just vibing there empty. ReferenceParameters? empty. Metadata? empty. iconic honestly πŸ˜­πŸ’€ and everything else has its own type comments so you know exactly what's what β€” QNameListType, UriListType, unsignedInt, all of it. copy them exactly, don't freestyle, fr fr.

⭐ lowkey important: $some_value is a placeholder, not a variable you can just summon. that's the shape of the data, not the data itself. iykyk πŸ™ˆ

πŸ‘‘ AUTHOR

Generated by SOAP::WSDL. That's the author. It was generated. slay, we respect the machine πŸ’–


🌈 cute lil sign-off

and that's the page, bestie ✨ this whole thing is perl v5.42.3 energy, dated 1980-01-01 (yes the date is a whole vintage moment, we love a retro timestamp πŸŽ€). go forth and construct your elements, you're gonna do amazing πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from