Class: WorkOS::SAMLSpEncryptionCertificate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::SAMLSpEncryptionCertificate
- Defined in:
- lib/workos/sso/saml_sp_encryption_certificate.rb
Constant Summary collapse
- HASH_ATTRS =
{ object: :object, id: :id, value: :value, not_before: :not_before, not_after: :not_after, created_at: :created_at }.freeze
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#not_after ⇒ Object
Returns the value of attribute not_after.
-
#not_before ⇒ Object
Returns the value of attribute not_before.
-
#object ⇒ Object
Returns the value of attribute object.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(json) ⇒ SAMLSpEncryptionCertificate
constructor
A new instance of SAMLSpEncryptionCertificate.
Constructor Details
#initialize(json) ⇒ SAMLSpEncryptionCertificate
Returns a new instance of SAMLSpEncryptionCertificate.
24 25 26 27 28 29 30 31 32 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 24 def initialize(json) hash = self.class.normalize(json) @object = hash[:object] @id = hash[:id] @value = hash[:value] @not_before = hash[:not_before] @not_after = hash[:not_after] @created_at = hash[:created_at] end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def id @id end |
#not_after ⇒ Object
Returns the value of attribute not_after.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def not_after @not_after end |
#not_before ⇒ Object
Returns the value of attribute not_before.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def not_before @not_before end |
#object ⇒ Object
Returns the value of attribute object.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def object @object end |
#value ⇒ Object
Returns the value of attribute value.
16 17 18 |
# File 'lib/workos/sso/saml_sp_encryption_certificate.rb', line 16 def value @value end |