Sha256: 448c4aade1a92b39e3b8e4a6481f836c1e6609478f30f6496afb466752d61ff2

Contents?: true

Size: 806 Bytes

Versions: 3

Compression:

Stored size: 806 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.UpdateResponse
  class UpdateResponse < Deimos::SchemaClass::Record

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

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

    # @override
    def schema
      'UpdateResponse'
    end

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

    # @override
    def as_json(_opts={})
      {
        'update_response_id' => @update_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/update_response.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/response/update_response.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/response/update_response.rb