Class: WorkOS::ConnectionSAMLCertificateRenewedData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::ConnectionSAMLCertificateRenewedData
- Defined in:
- lib/workos/sso/connection_saml_certificate_renewed_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ connection: :connection, certificate: :certificate, renewed_at: :renewed_at }.freeze
Instance Attribute Summary collapse
-
#certificate ⇒ Object
Returns the value of attribute certificate.
-
#connection ⇒ Object
Returns the value of attribute connection.
-
#renewed_at ⇒ Object
Returns the value of attribute renewed_at.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ConnectionSAMLCertificateRenewedData
constructor
A new instance of ConnectionSAMLCertificateRenewedData.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ ConnectionSAMLCertificateRenewedData
Returns a new instance of ConnectionSAMLCertificateRenewedData.
18 19 20 21 22 23 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data.rb', line 18 def initialize(json) hash = self.class.normalize(json) @connection = hash[:connection] ? WorkOS::ConnectionSAMLCertificateRenewedDataConnection.new(hash[:connection]) : nil @certificate = hash[:certificate] ? WorkOS::ConnectionSAMLCertificateRenewedDataCertificate.new(hash[:certificate]) : nil @renewed_at = hash[:renewed_at] end |
Instance Attribute Details
#certificate ⇒ Object
Returns the value of attribute certificate.
13 14 15 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data.rb', line 13 def certificate @certificate end |
#connection ⇒ Object
Returns the value of attribute connection.
13 14 15 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data.rb', line 13 def connection @connection end |
#renewed_at ⇒ Object
Returns the value of attribute renewed_at.
13 14 15 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data.rb', line 13 def renewed_at @renewed_at end |