Class: Nfe::Generated::ContribuintesV2::Microsoft_OData_Edm_IEdmSchemaElement
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::ContribuintesV2::Microsoft_OData_Edm_IEdmSchemaElement
- Defined in:
- lib/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rb,
sig/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rbs
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#namespace ⇒ Object
readonly
Returns the value of attribute namespace.
-
#schema_element_kind ⇒ Object
readonly
Returns the value of attribute schema_element_kind.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Microsoft_OData_Edm_IEdmSchemaElement
constructor
A new instance of Microsoft_OData_Edm_IEdmSchemaElement.
Constructor Details
#initialize ⇒ Microsoft_OData_Edm_IEdmSchemaElement
Returns a new instance of Microsoft_OData_Edm_IEdmSchemaElement.
13 |
# File 'sig/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rbs', line 13
def initialize: (?name: String?, ?namespace: String?, ?schema_element_kind: untyped) -> void
|
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rb', line 9 def name @name end |
#namespace ⇒ Object (readonly)
Returns the value of attribute namespace
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rb', line 9 def namespace @namespace end |
#schema_element_kind ⇒ Object (readonly)
Returns the value of attribute schema_element_kind
9 10 11 |
# File 'lib/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rb', line 9 def schema_element_kind @schema_element_kind end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 |
# File 'lib/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( name: payload["name"], namespace: payload["namespace"], schema_element_kind: payload["schemaElementKind"], ) end |
.new ⇒ instance
12 |
# File 'sig/nfe/generated/contribuintes_v2/microsoft_odata_edm_iedm_schema_element.rbs', line 12
def self.new: (?name: String?, ?namespace: String?, ?schema_element_kind: untyped) -> instance
|