Class: EndpointSecurity::TaggedUnion
- Inherits:
-
Data
- Object
- Data
- EndpointSecurity::TaggedUnion
- Defined in:
- lib/endpoint_security/object_model.rb
Overview
Selected member of a tagged native union.
Instance Attribute Summary collapse
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Class Method Summary collapse
Instance Attribute Details
#kind ⇒ Object (readonly)
Returns the value of attribute kind
34 35 36 |
# File 'lib/endpoint_security/object_model.rb', line 34 def kind @kind end |
#value ⇒ Object (readonly)
Returns the value of attribute value
34 35 36 |
# File 'lib/endpoint_security/object_model.rb', line 34 def value @value end |
Class Method Details
.__native_new(kind, value) ⇒ TaggedUnion
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 |
# File 'lib/endpoint_security/object_model.rb', line 37 def self.__native_new(kind, value) = new(kind: kind, value: value) |