Class: WorkOS::ConnectionSAMLCertificateRenewedDataCertificate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::ConnectionSAMLCertificateRenewedDataCertificate
- Defined in:
- lib/workos/sso/connection_saml_certificate_renewed_data_certificate.rb
Constant Summary collapse
- HASH_ATTRS =
{ certificate_type: :certificate_type, expiry_date: :expiry_date }.freeze
Instance Attribute Summary collapse
-
#certificate_type ⇒ Object
Returns the value of attribute certificate_type.
-
#expiry_date ⇒ Object
Returns the value of attribute expiry_date.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ConnectionSAMLCertificateRenewedDataCertificate
constructor
A new instance of ConnectionSAMLCertificateRenewedDataCertificate.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ ConnectionSAMLCertificateRenewedDataCertificate
Returns a new instance of ConnectionSAMLCertificateRenewedDataCertificate.
16 17 18 19 20 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data_certificate.rb', line 16 def initialize(json) hash = self.class.normalize(json) @certificate_type = hash[:certificate_type] @expiry_date = hash[:expiry_date] end |
Instance Attribute Details
#certificate_type ⇒ Object
Returns the value of attribute certificate_type.
12 13 14 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data_certificate.rb', line 12 def certificate_type @certificate_type end |
#expiry_date ⇒ Object
Returns the value of attribute expiry_date.
12 13 14 |
# File 'lib/workos/sso/connection_saml_certificate_renewed_data_certificate.rb', line 12 def expiry_date @expiry_date end |