Class: Inttegro::Shared::ChildrenPolicyVersionsPage

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/shared/children_policy_versions_page.rb

Overview

Typed representation of the children policy versions page object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#count ⇒ Integer (readonly)

Value of the count field in the Inttegro API payload.

Required in the API payload. Wire name: count.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end

#has_more ⇒ Boolean (readonly)

Value of the has_more field in the Inttegro API payload.

Required in the API payload. Wire name: has_more.

Returns:

  • (Boolean)


54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end

#number ⇒ Integer (readonly)

Value of the number field in the Inttegro API payload.

Required in the API payload. Wire name: number.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end

#size ⇒ Integer (readonly)

Value of the size field in the Inttegro API payload.

Required in the API payload. Wire name: size.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end

#total ⇒ Integer (readonly)

Value of the total field in the Inttegro API payload.

Required in the API payload. Wire name: total.

Returns:

  • (Integer)


54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end

#versions ⇒ Array<Inttegro::Shared::ChildrenPolicy> (readonly)

Value of the versions field in the Inttegro API payload.

Required in the API payload. Wire name: versions.



54
55
56
57
58
59
60
61
# File 'lib/inttegro/shared/children_policy_versions_page.rb', line 54

class ChildrenPolicyVersionsPage < T::Struct
  const :number, Integer
  const :size, Integer
  const :count, Integer
  const :total, Integer
  const :has_more, T::Boolean
  const :versions, T::Array[Inttegro::Shared::ChildrenPolicy]
end