Sha256: 8afe006b5d6b950f57d1551097e00454def0eaef4a8cdb8bb6278c249bf657b6

Contents?: true

Size: 1.27 KB

Versions: 7

Compression:

Stored size: 1.27 KB

Contents

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

# typed: true
# frozen_string_literal: true


module SpeakeasyClientSDK
  module Shared
  
    # A namespace contains many revisions.
    class Namespace < ::SpeakeasyClientSDK::Utils::FieldAugmented
      extend T::Sig


      field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
      # {organization_slug}/{workspace_slug}/{namespace_name}
      field :id, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('id') } }
      # A human-readable name for the namespace.
      field :name, ::String, { 'format_json': { 'letter_case': ::SpeakeasyClientSDK::Utils.field_name('name') } }

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


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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
speakeasy_client_sdk_ruby-4.2.22 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.21 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.20 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.19 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.18 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.17 lib/speakeasy_client_sdk/models/shared/namespace.rb
speakeasy_client_sdk_ruby-4.2.16 lib/speakeasy_client_sdk/models/shared/namespace.rb