Sha256: e8dc08fd410a3c97b308cd81c0e37e90e5c215c2179961904bd26e6d09ab1d8d

Contents?: true

Size: 908 Bytes

Versions: 3

Compression:

Stored size: 908 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class DeleteResult < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :message, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }

      field :status_code, ::Float, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }

      field :timestamp, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }


      sig { params(message: ::String, status_code: ::Float, timestamp: ::DateTime).void }
      def initialize(message: nil, status_code: nil, timestamp: nil)
        @message = message
        @status_code = status_code
        @timestamp = timestamp
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.3.0 lib/stack_one/models/shared/deleteresult.rb
stackone_client-0.2.46 lib/stack_one/models/shared/deleteresult.rb
stackone_client-0.2.45 lib/stack_one/models/shared/deleteresult.rb