Sha256: 9386f892982cb85b2e5bd7b5d9afdf0171f160ef7f41c4f32e719e4884c380d6
Contents?: true
Size: 944 Bytes
Versions: 2
Compression:
Stored size: 944 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 CreateOfferResult < ::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/createofferresult.rb |
stackone_client-0.0.2 | lib/stackone/models/shared/createofferresult.rb |