Sha256: 4e38ea67fca68df170bfab3f2c04e7d7cfb2cf268894c4e6a1ad3aabaacf4da4

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'
require_relative '../shared/rejectedreasontypeenum'

module StackOne
  module Shared

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

      # The ID of the rejected reason.
      field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # The label of the rejected reason.
      field :label, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }

      field :rejected_reason_type, Shared::RejectedReasonTypeEnum, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }


      sig { params(id: String, label: String, rejected_reason_type: Shared::RejectedReasonTypeEnum).void }
      def initialize(id: nil, label: nil, rejected_reason_type: nil)
        @id = id
        @label = label
        @rejected_reason_type = rejected_reason_type
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.0.2 lib/stackone/models/shared/rejectedreason.rb