# 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::V2018_07_01_preview module Models # # The integration account partner. # class IntegrationAccountPartner < Resource include MsRestAzure # @return [PartnerType] The partner type. Possible values include: # 'NotSpecified', 'B2B' attr_accessor :partner_type # @return [DateTime] The created time. attr_accessor :created_time # @return [DateTime] The changed time. attr_accessor :changed_time # @return The metadata. attr_accessor :metadata # @return [PartnerContent] The partner content. attr_accessor :content # # Mapper for IntegrationAccountPartner class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'IntegrationAccountPartner', type: { name: 'Composite', class_name: 'IntegrationAccountPartner', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, partner_type: { client_side_validation: true, required: true, serialized_name: 'properties.partnerType', type: { name: 'String' } }, created_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.createdTime', type: { name: 'DateTime' } }, changed_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.changedTime', type: { name: 'DateTime' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Object' } }, content: { client_side_validation: true, required: true, serialized_name: 'properties.content', type: { name: 'Composite', class_name: 'PartnerContent' } } } } } end end end end