Sha256: 0b405e24869af1fdd5b2fe586d9a76ee2088a0bcf2c5f2bd7f604bf75625729c

Contents?: true

Size: 794 Bytes

Versions: 3

Compression:

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

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

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

    # @override
    def schema
      'UpdateRequest'
    end

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

    # @override
    def as_json(_opts={})
      {
        'update_request_id' => @update_request_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/request/update_request.rb
deimos-ruby-1.24.1 spec/schemas/my_namespace/request/update_request.rb
deimos-ruby-1.24.0 spec/schemas/my_namespace/request/update_request.rb