Sha256: 169a3a884d1b93b8b5fe1c14cfd4905958fa5b98aa9f28b76e9130c577443b68

Contents?: true

Size: 1.69 KB

Versions: 26

Compression:

Stored size: 1.69 KB

Contents

# encoding: utf-8

##
# This file is auto-generated. DO NOT EDIT!
#
require 'protobuf'
require 'protobuf/rpc/service'


##
# Imports
#
require 'error.pb'

module Generic
  module Remote
    ::Protobuf::Optionable.inject(self) { ::Google::Protobuf::FileOptions }

    ##
    # Message Classes
    #
    class Category < ::Protobuf::Message; end
    class Categories < ::Protobuf::Message; end
    class CategoryRequest < ::Protobuf::Message; end


    ##
    # Message Fields
    #
    class Category
      optional :string, :guid, 1
      optional :string, :name, 2
      repeated ::Generic::Error, :errors, 3
      optional :string, :user_guid, 4
      optional :string, :author_guid, 5
      optional :string, :chief_editor_guid, 6
      optional :string, :editor_guid, 7
    end

    class Categories
      repeated ::Generic::Remote::Category, :records, 1
    end

    class CategoryRequest
      repeated :string, :guid, 1
      repeated :string, :name, 2
    end


    ##
    # Service Classes
    #
    class CategoryService < ::Protobuf::Rpc::Service
      rpc :search, ::Generic::Remote::CategoryRequest, ::Generic::Remote::Categories
      rpc :create, ::Generic::Remote::Category, ::Generic::Remote::Category
      rpc :update, ::Generic::Remote::Category, ::Generic::Remote::Category
      rpc :delete, ::Generic::Remote::Category, ::Generic::Remote::Category
      rpc :create_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
      rpc :update_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
      rpc :delete_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
      rpc :destroy_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
    end

  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
active_remote-3.3.1 spec/support/protobuf/category.pb.rb
active_remote-3.3.0 spec/support/protobuf/category.pb.rb
active_remote-3.2.2 spec/support/protobuf/category.pb.rb
active_remote-3.2.1 spec/support/protobuf/category.pb.rb
active_remote-3.2.0 spec/support/protobuf/category.pb.rb
active_remote-3.2.0.pre spec/support/protobuf/category.pb.rb