Sha256: e0d2a94c3a3b3be0dd8646dfbe61cb8785fd14f060bce81aa4b86b443a492643
Contents?: true
Size: 908 Bytes
Versions: 1
Compression:
Stored size: 908 Bytes
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' require_relative '../shared/documentfileformatenum' module StackOne module Shared class Content < ::StackOne::Utils::FieldAugmented extend T::Sig # The file format of the document field :file_format, T.nilable(Shared::DocumentFileFormatEnum), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } } # URL where the file content is located field :url, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } } sig { params(file_format: T.nilable(Shared::DocumentFileFormatEnum), url: T.nilable(String)).void } def initialize(file_format: nil, url: nil) @file_format = file_format @url = url end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.0.3 | lib/stackone/models/shared/content.rb |