Class: Telnyx::Models::Storage::Buckets::BucketsSslCertificate

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/storage/buckets/ssl_certificate.rb

Defined Under Namespace

Classes: IssuedBy, IssuedTo

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(common_name: nil, organization: nil, organization_unit: nil) ⇒ Object

Parameters:

  • common_name (String) (defaults to: nil)

    The common name of the entity the certificate was issued by

  • organization (String) (defaults to: nil)

    The organization the certificate was issued by

  • organization_unit (String) (defaults to: nil)

    The organizational unit the certificate was issued by



# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 42

Instance Attribute Details

#created_atTime?

Time when SSL certificate was uploaded

Returns:

  • (Time, nil)


18
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 18

optional :created_at, Time

#idString?

Unique identifier for the SSL certificate

Returns:

  • (String, nil)


12
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 12

optional :id, String

#issued_byTelnyx::Models::Storage::Buckets::BucketsSslCertificate::IssuedBy?



23
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 23

optional :issued_by, -> { Telnyx::Storage::Buckets::BucketsSslCertificate::IssuedBy }

#issued_toTelnyx::Models::Storage::Buckets::BucketsSslCertificate::IssuedTo?



28
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 28

optional :issued_to, -> { Telnyx::Storage::Buckets::BucketsSslCertificate::IssuedTo }

#valid_fromTime?

The time the certificate is valid from

Returns:

  • (Time, nil)


34
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 34

optional :valid_from, Time

#valid_toTime?

The time the certificate is valid to

Returns:

  • (Time, nil)


40
# File 'lib/telnyx/models/storage/buckets/ssl_certificate.rb', line 40

optional :valid_to, Time