# 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::Resources::Mgmt::V2016_07_01 module Models # # Deployment dependency information. # class Dependency include MsRestAzure # @return [Array] The list of dependencies. attr_accessor :depends_on # @return [String] The ID of the dependency. attr_accessor :id # @return [String] The dependency resource type. attr_accessor :resource_type # @return [String] The dependency resource name. attr_accessor :resource_name # # Mapper for Dependency class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'Dependency', type: { name: 'Composite', class_name: 'Dependency', model_properties: { depends_on: { required: false, serialized_name: 'dependsOn', type: { name: 'Sequence', element: { required: false, serialized_name: 'BasicDependencyElementType', type: { name: 'Composite', class_name: 'BasicDependency' } } } }, id: { required: false, serialized_name: 'id', type: { name: 'String' } }, resource_type: { required: false, serialized_name: 'resourceType', type: { name: 'String' } }, resource_name: { required: false, serialized_name: 'resourceName', type: { name: 'String' } } } } } end end end end