Sha256: 0f3259b55271599283712ad96977969bdd4f8d6b8d5cba66624495cd3909de7c

Contents?: true

Size: 1.76 KB

Versions: 4

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Monitor::Mgmt::V2015_05_01
  module Models
    #
    # Contains a sourceId and workbook resource id to link two resources.
    #
    class LinkProperties

      include MsRestAzure

      # @return [String] The source Azure resource id
      attr_accessor :source_id

      # @return [String] The workbook Azure resource id
      attr_accessor :target_id

      # @return [String] The category of workbook
      attr_accessor :category


      #
      # Mapper for LinkProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LinkProperties',
          type: {
            name: 'Composite',
            class_name: 'LinkProperties',
            model_properties: {
              source_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sourceId',
                type: {
                  name: 'String'
                }
              },
              target_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'targetId',
                type: {
                  name: 'String'
                }
              },
              category: {
                client_side_validation: true,
                required: false,
                serialized_name: 'category',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb
azure_mgmt_monitor-0.18.0 lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb
azure_mgmt_monitor-0.17.6 lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb
azure_mgmt_monitor-0.17.5 lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb