class Azure::Monitor::Mgmt::V2015_05_01::Models::LinkProperties

Contains a sourceId and workbook resource id to link two resources.

Attributes

category[RW]

@return [String] The category of workbook

source_id[RW]

@return [String] The source Azure resource id

target_id[RW]

@return [String] The workbook Azure resource id

Public Class Methods

mapper() click to toggle source

Mapper for LinkProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/link_properties.rb, line 29
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