Sha256: a2e589252bab6fd73fafe937e4d42c613f0be55c00dfc5ff9761bba5aadee8a5

Contents?: true

Size: 737 Bytes

Versions: 3

Compression:

Stored size: 737 Bytes

Contents

# frozen_string_literal: true

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

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

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

    # @override
    def schema
      'Index'
    end

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deimos-ruby-1.24.2 spec/schemas/my_namespace/response/index.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/response/index.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/response/index.rb