Class: Stripe::V2::Iam::ActivityLog::Details::ApiKey
- Inherits:
-
StripeObject
- Object
- StripeObject
- Stripe::V2::Iam::ActivityLog::Details::ApiKey
- Defined in:
- lib/stripe/resources/v2/iam/activity_log.rb
Defined Under Namespace
Classes: ManagedBy
Constant Summary
Constants inherited from StripeObject
StripeObject::RESERVED_FIELD_NAMES
Instance Attribute Summary collapse
-
#created ⇒ Object
readonly
Timestamp when the API key was created.
-
#expires_at ⇒ Object
readonly
Timestamp when the API key expires.
-
#id ⇒ Object
readonly
Unique identifier of the API key.
-
#ip_allowlist ⇒ Object
readonly
List of IP addresses allowed to use this API key.
-
#managed_by ⇒ Object
readonly
Information about the entity managing this API key.
-
#name ⇒ Object
readonly
Name of the API key.
-
#new_key ⇒ Object
readonly
Unique identifier of the new API key, set when this key was rotated.
-
#note ⇒ Object
readonly
Note or description for the API key.
-
#type ⇒ Object
readonly
Type of the API key.
Attributes inherited from StripeObject
Class Method Summary collapse
Methods inherited from StripeObject
#==, #[], #[]=, #_get_inner_class_type, additive_object_param, additive_object_param?, #as_json, construct_from, #deleted?, #dirty!, #each, #eql?, field_encodings, #hash, #initialize, #inspect, #keys, #marshal_dump, #marshal_load, protected_fields, #serialize_params, #to_hash, #to_json, #to_s, #update_attributes, #values
Constructor Details
This class inherits a constructor from Stripe::StripeObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stripe::StripeObject
Instance Attribute Details
#created ⇒ Object (readonly)
Timestamp when the API key was created.
85 86 87 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 85 def created @created end |
#expires_at ⇒ Object (readonly)
Timestamp when the API key expires.
87 88 89 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 87 def expires_at @expires_at end |
#id ⇒ Object (readonly)
Unique identifier of the API key.
89 90 91 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 89 def id @id end |
#ip_allowlist ⇒ Object (readonly)
List of IP addresses allowed to use this API key.
91 92 93 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 91 def ip_allowlist @ip_allowlist end |
#managed_by ⇒ Object (readonly)
Information about the entity managing this API key.
93 94 95 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 93 def managed_by @managed_by end |
#name ⇒ Object (readonly)
Name of the API key.
95 96 97 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 95 def name @name end |
#new_key ⇒ Object (readonly)
Unique identifier of the new API key, set when this key was rotated.
97 98 99 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 97 def new_key @new_key end |
#note ⇒ Object (readonly)
Note or description for the API key.
99 100 101 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 99 def note @note end |
#type ⇒ Object (readonly)
Type of the API key.
101 102 103 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 101 def type @type end |
Class Method Details
.field_remappings ⇒ Object
107 108 109 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 107 def self.field_remappings @field_remappings = {} end |
.inner_class_types ⇒ Object
103 104 105 |
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 103 def self.inner_class_types @inner_class_types = { managed_by: ManagedBy } end |