Class: Inttegro::FinancialAccount::EnablePullRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::FinancialAccount::EnablePullRequest
- Defined in:
- lib/inttegro/financial_account/enable_pull_request.rb
Overview
Typed representation of the enable pull 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
-
#account_id ⇒ String
readonly
Value of the
account_idfield in the Inttegro API payload. -
#ip_address ⇒ String?
readonly
Client IP captured for the mandate.
-
#user_agent ⇒ String?
readonly
Client user agent captured for the mandate.
Instance Attribute Details
#account_id ⇒ String (readonly)
Value of the account_id field in the Inttegro API payload.
Required in the API payload. Wire name: account_id.
35 36 37 38 39 |
# File 'lib/inttegro/financial_account/enable_pull_request.rb', line 35 class EnablePullRequest < T::Struct const :account_id, String const :ip_address, T.nilable(String), default: nil const :user_agent, T.nilable(String), default: nil end |
#ip_address ⇒ String? (readonly)
Client IP captured for the mandate. This is not inferred from the request.
Optional in the API payload; omitted values default to nil. Wire name: ip_address.
35 36 37 38 39 |
# File 'lib/inttegro/financial_account/enable_pull_request.rb', line 35 class EnablePullRequest < T::Struct const :account_id, String const :ip_address, T.nilable(String), default: nil const :user_agent, T.nilable(String), default: nil end |
#user_agent ⇒ String? (readonly)
Client user agent captured for the mandate. This is not inferred from the request.
Optional in the API payload; omitted values default to nil. Wire name: user_agent.
35 36 37 38 39 |
# File 'lib/inttegro/financial_account/enable_pull_request.rb', line 35 class EnablePullRequest < T::Struct const :account_id, String const :ip_address, T.nilable(String), default: nil const :user_agent, T.nilable(String), default: nil end |