Class: Inttegro::Shared::PageChildrenPolicyVersionsRequest

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

Overview

Typed representation of the page children policy versions request 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

#number ⇒ Integer? (readonly)

Value of the number field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: number.

Returns:

  • (Integer, nil)


30
31
32
33
# File 'lib/inttegro/shared/page_children_policy_versions_request.rb', line 30

class PageChildrenPolicyVersionsRequest < T::Struct
  const :number, T.nilable(Integer), default: nil
  const :size, T.nilable(Integer), default: nil
end

#size ⇒ Integer? (readonly)

Value of the size field in the Inttegro API payload.

Optional in the API payload; omitted values default to nil. Wire name: size.

Returns:

  • (Integer, nil)


30
31
32
33
# File 'lib/inttegro/shared/page_children_policy_versions_request.rb', line 30

class PageChildrenPolicyVersionsRequest < T::Struct
  const :number, T.nilable(Integer), default: nil
  const :size, T.nilable(Integer), default: nil
end