Class: Com::Vmware::Vapi::Metadata::Privilege::Source::Info

Inherits:
VAPI::Bindings::VapiStruct
  • Object
show all
Defined in:
/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb

Overview

The ``Com::Vmware::Vapi::Metadata::Privilege::Source::Info`` class contains the metadata source information.

Instance Attribute Summary (collapse)

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Info) initialize(ruby_values = nil, struct_value = nil)

Constructs a new instance.

Parameters:

  • ruby_values (Hash) (defaults to: nil)

    a map of initial property values (optional)

  • struct_value (VAPI::Data::StructValue) (defaults to: nil)

    a raw StructValue from the wire (optional)



529
530
531
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 529

def initialize(ruby_values=nil, struct_value=nil)
    super(self.class.binding_type, ruby_values, struct_value)
end

Instance Attribute Details

- (URI) address

Connection information for the remote server. This must be in the format http(s)://IP:port/namespace.


 The remote server must support the  classs  in the   :mod:`com.vmware.vapi.metadata.privilege`    package . It must expose privilege information of one or more components.

This field is optional and it is only relevant when the value of ``type`` is null .

Returns:

  • (URI)


500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 500

class Info < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vapi.metadata.privilege.source.info',
                {
                    'description' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Metadata::SourceType'),
                    'filepath' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'address' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::URIType.instance),
                },
                Info,
                false,
                nil)
        end
    end

    attr_accessor :description,
                  :type,
                  :filepath,
                  :address

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String) description

English language human readable description of the source.

Returns:

  • (String)


500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 500

class Info < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vapi.metadata.privilege.source.info',
                {
                    'description' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Metadata::SourceType'),
                    'filepath' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'address' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::URIType.instance),
                },
                Info,
                false,
                nil)
        end
    end

    attr_accessor :description,
                  :type,
                  :filepath,
                  :address

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (String) filepath

Absolute file path of the privilege metadata file that has the privilege information about one component element. The ``filePath`` is the path to the file in the server’s filesystem. This field is optional and it is only relevant when the value of ``type`` is null .

Returns:

  • (String)


500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 500

class Info < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vapi.metadata.privilege.source.info',
                {
                    'description' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Metadata::SourceType'),
                    'filepath' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'address' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::URIType.instance),
                },
                Info,
                false,
                nil)
        end
    end

    attr_accessor :description,
                  :type,
                  :filepath,
                  :address

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

- (Com::Vmware::Vapi::Metadata::SourceType) type

Type of the metadata source.



500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 500

class Info < VAPI::Bindings::VapiStruct

    class << self
        # Holds (gets or creates) the binding type metadata for this structure type.
        # @scope class
        # @return [VAPI::Bindings::StructType] the binding type
        def binding_type
            @binding_type ||= VAPI::Bindings::StructType.new(
                'com.vmware.vapi.metadata.privilege.source.info',
                {
                    'description' => VAPI::Bindings::StringType.instance,
                    'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Metadata::SourceType'),
                    'filepath' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
                    'address' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::URIType.instance),
                },
                Info,
                false,
                nil)
        end
    end

    attr_accessor :description,
                  :type,
                  :filepath,
                  :address

    # Constructs a new instance.
    # @param ruby_values [Hash] a map of initial property values (optional)
    # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional)
    def initialize(ruby_values=nil, struct_value=nil)
        super(self.class.binding_type, ruby_values, struct_value)
    end
end

Class Method Details

+ (VAPI::Bindings::StructType) binding_type

Holds (gets or creates) the binding type metadata for this structure type.

Returns:

  • (VAPI::Bindings::StructType)

    the binding type



506
507
508
509
510
511
512
513
514
515
516
517
518
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/metadata/privilege.rb', line 506

def binding_type
    @binding_type ||= VAPI::Bindings::StructType.new(
        'com.vmware.vapi.metadata.privilege.source.info',
        {
            'description' => VAPI::Bindings::StringType.instance,
            'type' => VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Metadata::SourceType'),
            'filepath' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::StringType.instance),
            'address' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::URIType.instance),
        },
        Info,
        false,
        nil)
end