Sha256: fee0e114ce970ca82c22db4a3e13becdb7026794c2d7fe6d085e9271c6c6822e
Contents?: true
Size: 1.66 KB
Versions: 2
Compression:
Stored size: 1.66 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class List < ::StackOne::Utils::FieldAugmented extend T::Sig # Timestamp when the list was created field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } field :items, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('items') } } field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # The list type field :type, T.nilable(::StackOne::Shared::ListType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } } # Timestamp when the list was last updated 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), id: T.nilable(::String), items: T.nilable(T::Array[::String]), name: T.nilable(::String), type: T.nilable(::StackOne::Shared::ListType), updated_at: T.nilable(::DateTime)).void } def initialize(created_at: nil, id: nil, items: nil, name: nil, type: nil, updated_at: nil) @created_at = created_at @id = id @items = items @name = name @type = type @updated_at = updated_at end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.2.7 | lib/stack_one/models/shared/list.rb |
stackone_client-0.2.6 | lib/stack_one/models/shared/list.rb |