Class: Stripe::V2::Iam::ActivityLog::Details::ApiKey

Inherits:
StripeObject
  • Object
show all
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

Attributes inherited from StripeObject

#last_response

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

#createdObject (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_atObject (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

#idObject (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_allowlistObject (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_byObject (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

#nameObject (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_keyObject (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

#noteObject (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

#typeObject (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_remappingsObject



107
108
109
# File 'lib/stripe/resources/v2/iam/activity_log.rb', line 107

def self.field_remappings
  @field_remappings = {}
end

.inner_class_typesObject



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