Class: PortfolioManager::Xml::ReportMetrics::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/portfolio_manager/xml.rb

Overview

{}group

Defined Under Namespace

Classes: Metrics

Constant Summary collapse

AttrId =
XSD::QName.new(nil, "id")
AttrName =
XSD::QName.new(nil, "name")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(metrics = nil) ⇒ Group

Returns a new instance of Group.



7753
7754
7755
7756
# File 'lib/portfolio_manager/xml.rb', line 7753

def initialize(metrics = nil)
  @metrics = metrics
  @__xmlattr = {}
end

Instance Attribute Details

#metricsPortfolioManager::Xml::ReportMetrics::Group::Metrics



7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
# File 'lib/portfolio_manager/xml.rb', line 7644

class Group
  AttrId = XSD::QName.new(nil, "id")
  AttrName = XSD::QName.new(nil, "name")

  # inner class for member: metrics
  # {}metrics
  class Metrics < ::Array

    # {}metric
    # @!attribute [rw] xmlattr_id
    #   @return [SOAP::SOAPLong]
    # @!attribute [rw] xmlattr_name
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_description
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_dataType
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_uom
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_availableToCustomMetrics
    #   @return [SOAP::SOAPBoolean]
    class Metric
      AttrAvailableToCustomMetrics = XSD::QName.new(nil, "availableToCustomMetrics")
      AttrDataType = XSD::QName.new(nil, "dataType")
      AttrDescription = XSD::QName.new(nil, "description")
      AttrId = XSD::QName.new(nil, "id")
      AttrName = XSD::QName.new(nil, "name")
      AttrUom = XSD::QName.new(nil, "uom")

      def __xmlattr
        @__xmlattr ||= {}
      end

      def xmlattr_id
        __xmlattr[AttrId]
      end

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

      def xmlattr_name
        __xmlattr[AttrName]
      end

      def xmlattr_name=(value)
        __xmlattr[AttrName] = value
      end

      def xmlattr_description
        __xmlattr[AttrDescription]
      end

      def xmlattr_description=(value)
        __xmlattr[AttrDescription] = value
      end

      def xmlattr_dataType
        __xmlattr[AttrDataType]
      end

      def xmlattr_dataType=(value)
        __xmlattr[AttrDataType] = value
      end

      def xmlattr_uom
        __xmlattr[AttrUom]
      end

      def xmlattr_uom=(value)
        __xmlattr[AttrUom] = value
      end

      def xmlattr_availableToCustomMetrics
        __xmlattr[AttrAvailableToCustomMetrics]
      end

      def xmlattr_availableToCustomMetrics=(value)
        __xmlattr[AttrAvailableToCustomMetrics] = value
      end

      def initialize
        @__xmlattr = {}
      end
    end
  end

  attr_accessor :metrics

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

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

  def xmlattr_name
    __xmlattr[AttrName]
  end

  def xmlattr_name=(value)
    __xmlattr[AttrName] = value
  end

  def initialize(metrics = nil)
    @metrics = metrics
    @__xmlattr = {}
  end
end

#xmlattr_idSOAP::SOAPLong

Returns:

  • (SOAP::SOAPLong)


7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
# File 'lib/portfolio_manager/xml.rb', line 7644

class Group
  AttrId = XSD::QName.new(nil, "id")
  AttrName = XSD::QName.new(nil, "name")

  # inner class for member: metrics
  # {}metrics
  class Metrics < ::Array

    # {}metric
    # @!attribute [rw] xmlattr_id
    #   @return [SOAP::SOAPLong]
    # @!attribute [rw] xmlattr_name
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_description
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_dataType
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_uom
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_availableToCustomMetrics
    #   @return [SOAP::SOAPBoolean]
    class Metric
      AttrAvailableToCustomMetrics = XSD::QName.new(nil, "availableToCustomMetrics")
      AttrDataType = XSD::QName.new(nil, "dataType")
      AttrDescription = XSD::QName.new(nil, "description")
      AttrId = XSD::QName.new(nil, "id")
      AttrName = XSD::QName.new(nil, "name")
      AttrUom = XSD::QName.new(nil, "uom")

      def __xmlattr
        @__xmlattr ||= {}
      end

      def xmlattr_id
        __xmlattr[AttrId]
      end

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

      def xmlattr_name
        __xmlattr[AttrName]
      end

      def xmlattr_name=(value)
        __xmlattr[AttrName] = value
      end

      def xmlattr_description
        __xmlattr[AttrDescription]
      end

      def xmlattr_description=(value)
        __xmlattr[AttrDescription] = value
      end

      def xmlattr_dataType
        __xmlattr[AttrDataType]
      end

      def xmlattr_dataType=(value)
        __xmlattr[AttrDataType] = value
      end

      def xmlattr_uom
        __xmlattr[AttrUom]
      end

      def xmlattr_uom=(value)
        __xmlattr[AttrUom] = value
      end

      def xmlattr_availableToCustomMetrics
        __xmlattr[AttrAvailableToCustomMetrics]
      end

      def xmlattr_availableToCustomMetrics=(value)
        __xmlattr[AttrAvailableToCustomMetrics] = value
      end

      def initialize
        @__xmlattr = {}
      end
    end
  end

  attr_accessor :metrics

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

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

  def xmlattr_name
    __xmlattr[AttrName]
  end

  def xmlattr_name=(value)
    __xmlattr[AttrName] = value
  end

  def initialize(metrics = nil)
    @metrics = metrics
    @__xmlattr = {}
  end
end

#xmlattr_nameSOAP::SOAPString

Returns:

  • (SOAP::SOAPString)


7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
# File 'lib/portfolio_manager/xml.rb', line 7644

class Group
  AttrId = XSD::QName.new(nil, "id")
  AttrName = XSD::QName.new(nil, "name")

  # inner class for member: metrics
  # {}metrics
  class Metrics < ::Array

    # {}metric
    # @!attribute [rw] xmlattr_id
    #   @return [SOAP::SOAPLong]
    # @!attribute [rw] xmlattr_name
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_description
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_dataType
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_uom
    #   @return [SOAP::SOAPString]
    # @!attribute [rw] xmlattr_availableToCustomMetrics
    #   @return [SOAP::SOAPBoolean]
    class Metric
      AttrAvailableToCustomMetrics = XSD::QName.new(nil, "availableToCustomMetrics")
      AttrDataType = XSD::QName.new(nil, "dataType")
      AttrDescription = XSD::QName.new(nil, "description")
      AttrId = XSD::QName.new(nil, "id")
      AttrName = XSD::QName.new(nil, "name")
      AttrUom = XSD::QName.new(nil, "uom")

      def __xmlattr
        @__xmlattr ||= {}
      end

      def xmlattr_id
        __xmlattr[AttrId]
      end

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

      def xmlattr_name
        __xmlattr[AttrName]
      end

      def xmlattr_name=(value)
        __xmlattr[AttrName] = value
      end

      def xmlattr_description
        __xmlattr[AttrDescription]
      end

      def xmlattr_description=(value)
        __xmlattr[AttrDescription] = value
      end

      def xmlattr_dataType
        __xmlattr[AttrDataType]
      end

      def xmlattr_dataType=(value)
        __xmlattr[AttrDataType] = value
      end

      def xmlattr_uom
        __xmlattr[AttrUom]
      end

      def xmlattr_uom=(value)
        __xmlattr[AttrUom] = value
      end

      def xmlattr_availableToCustomMetrics
        __xmlattr[AttrAvailableToCustomMetrics]
      end

      def xmlattr_availableToCustomMetrics=(value)
        __xmlattr[AttrAvailableToCustomMetrics] = value
      end

      def initialize
        @__xmlattr = {}
      end
    end
  end

  attr_accessor :metrics

  def __xmlattr
    @__xmlattr ||= {}
  end

  def xmlattr_id
    __xmlattr[AttrId]
  end

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

  def xmlattr_name
    __xmlattr[AttrName]
  end

  def xmlattr_name=(value)
    __xmlattr[AttrName] = value
  end

  def initialize(metrics = nil)
    @metrics = metrics
    @__xmlattr = {}
  end
end

Instance Method Details

#__xmlattrObject



7733
7734
7735
# File 'lib/portfolio_manager/xml.rb', line 7733

def __xmlattr
  @__xmlattr ||= {}
end