Class: Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/governance/frameworks/document_retrieve_response.rb,
sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs

Overview

See Also:

  • Openlayer::Resources::Governance::Frameworks::Documents#retrieve

Defined Under Namespace

Classes: Section

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize ⇒ Object



32
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 32

def initialize: (

Instance Attribute Details

#date_created ⇒ Time

Returns the value of attribute date_created.

Returns:

  • (Time)


20
21
22
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 20

def date_created
  @date_created
end

#date_updated ⇒ Time

Returns the value of attribute date_updated.

Returns:

  • (Time)


22
23
24
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 22

def date_updated
  @date_updated
end

#framework_id ⇒ String

Returns the value of attribute framework_id.

Returns:

  • (String)


24
25
26
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 24

def framework_id
  @framework_id
end

#id ⇒ String

Returns the value of attribute id.

Returns:

  • (String)


18
19
20
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 18

def id
  @id
end

#sections ⇒ ::Array[Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section]? (readonly)

Returns the value of attribute sections.



26
27
28
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 26

def sections
  @sections
end

#title ⇒ String

The document title.

Parameters:

  • value (String)

Returns:

  • (String)


13
# File 'lib/openlayer/models/governance/frameworks/document_retrieve_response.rb', line 13

required :title, String

Instance Method Details

#sections= ⇒ Object (readonly)



28
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 28

def sections=: (

#to_hash ⇒ {

Returns:

  • ({)


41
# File 'sig/openlayer/models/governance/frameworks/document_retrieve_response.rbs', line 41

def to_hash: -> {