Sha256: a306e04dd099e3af84d5450dd1df428d6903a22ac0b4c033fa0c524f0e1c6966

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 KB

Contents

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

# typed: true
# frozen_string_literal: true

require 'sorbet-runtime'
require 'faraday'

module StackOne
  module Shared

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

      # The created_at date
      field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }

      field :display_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('display_name') } }

      field :id, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }

      field :name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
      # The updated_at date
      field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(created_at: T.nilable(DateTime), display_name: T.nilable(String), id: T.nilable(String), name: T.nilable(String), updated_at: T.nilable(DateTime)).void }
      def initialize(created_at: nil, display_name: nil, id: nil, name: nil, updated_at: nil)
        @created_at = created_at
        @display_name = display_name
        @id = id
        @name = name
        @updated_at = updated_at
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.1.0 lib/stackone/models/shared/company.rb
stackone_client-0.0.3 lib/stackone/models/shared/company.rb
stackone_client-0.0.2 lib/stackone/models/shared/company.rb