Sha256: 3f1fe763f72450aedb0f38dca9a3b5bd648ae2c0731d3c31b263c291f75e2089
Contents?: true
Size: 919 Bytes
Versions: 10
Compression:
Stored size: 919 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class CreateTemplateResult < ::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
10 entries across 10 versions & 1 rubygems