Sha256: fc9fd0fa6ab01f52a5a3b5abcfe7d460c5edb9a46e503327f53dda0c6e1ca04d

Contents?: true

Size: 746 Bytes

Versions: 5

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

# This file is autogenerated by Deimos, Do NOT modify
module Schemas; module MyNamespace; module Request
  ### Primary Schema Class ###
  # Autogenerated Schema for Record at com.my-namespace.request.CreateTopic
  class CreateTopic < Deimos::SchemaClass::Record

    ### Attribute Accessors ###
    # @return [String]
    attr_accessor :request_id

    # @override
    def initialize(request_id: nil)
      super
      self.request_id = request_id
    end

    # @override
    def schema
      'CreateTopic'
    end

    # @override
    def namespace
      'com.my-namespace.request'
    end

    # @override
    def as_json(_opts={})
      {
        'request_id' => @request_id
      }
    end
  end
end; end; end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deimos-ruby-2.0.0.pre.alpha2 spec/schemas/my_namespace/request/create_topic.rb
deimos-ruby-2.0.0.pre.alpha1 spec/schemas/my_namespace/request/create_topic.rb
deimos-ruby-1.24.2 spec/schemas/my_namespace/request/create_topic.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/request/create_topic.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/request/create_topic.rb