# frozen_string_literal: true require_relative 'concerns/renderable' require_relative 'concerns/propertiable' require_relative 'actions/publish' require_relative 'parts/real_estate' require_relative 'parts/publish_channel' module Immoscout module Models class Publish < Base include Immoscout::Models::Concerns::Renderable include Immoscout::Models::Concerns::Propertiable include Immoscout::Models::Actions::Publish self.json_wrapper = 'common.publishObject' property :real_estate, coerce: Immoscout::Models::Parts::RealEstate property :publish_channel, coerce: Immoscout::Models::Parts::PublishChannel end end end