Sha256: 357915e1426419e516a23eaf133d13ec0851271e5b63b9f227a397212b228fd7
Contents?: true
Size: 939 Bytes
Versions: 2
Compression:
Stored size: 939 Bytes
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 CreateResult < ::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.0.3 | lib/stackone/models/shared/createresult.rb |
stackone_client-0.0.2 | lib/stackone/models/shared/createresult.rb |