# 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::Logic::Mgmt::V2015_02_01_preview module Models # # Model object. # # class ContentLink include MsRestAzure # @return [String] Gets or sets the content link URI. attr_accessor :uri # @return [String] Gets or sets the content version. attr_accessor :content_version # @return [Integer] Gets or sets the content size. attr_accessor :content_size # @return [ContentHash] Gets or sets the content hash. attr_accessor :content_hash # @return Gets or sets the metadata. attr_accessor :metadata # # Mapper for ContentLink class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContentLink', type: { name: 'Composite', class_name: 'ContentLink', model_properties: { uri: { client_side_validation: true, required: false, serialized_name: 'uri', type: { name: 'String' } }, content_version: { client_side_validation: true, required: false, serialized_name: 'contentVersion', type: { name: 'String' } }, content_size: { client_side_validation: true, required: false, serialized_name: 'contentSize', type: { name: 'Number' } }, content_hash: { client_side_validation: true, required: false, serialized_name: 'contentHash', type: { name: 'Composite', class_name: 'ContentHash' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'metadata', type: { name: 'Object' } } } } } end end end end