Class: Google::Apis::GenomicsV1::ClinicalCondition
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::ClinicalCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb
Instance Attribute Summary collapse
-
#concept_id ⇒ String
The MedGen concept id associated with this gene.
-
#external_ids ⇒ Array<Google::Apis::GenomicsV1::ExternalId>
The set of external IDs for this condition.
-
#names ⇒ Array<String>
A set of names for the condition.
-
#omim_id ⇒ String
The OMIM id for this condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClinicalCondition
constructor
A new instance of ClinicalCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClinicalCondition
Returns a new instance of ClinicalCondition
2453 2454 2455 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2453 def initialize(**args) update!(**args) end |
Instance Attribute Details
#concept_id ⇒ String
The MedGen concept id associated with this gene.
Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/
Corresponds to the JSON property conceptId
2451 2452 2453 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2451 def concept_id @concept_id end |
#external_ids ⇒ Array<Google::Apis::GenomicsV1::ExternalId>
The set of external IDs for this condition.
Corresponds to the JSON property externalIds
2445 2446 2447 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2445 def external_ids @external_ids end |
#names ⇒ Array<String>
A set of names for the condition.
Corresponds to the JSON property names
2434 2435 2436 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2434 def names @names end |
#omim_id ⇒ String
The OMIM id for this condition.
Search for these IDs at http://omim.org/
Corresponds to the JSON property omimId
2440 2441 2442 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2440 def omim_id @omim_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2458 2459 2460 2461 2462 2463 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2458 def update!(**args) @names = args[:names] if args.key?(:names) @omim_id = args[:omim_id] if args.key?(:omim_id) @external_ids = args[:external_ids] if args.key?(:external_ids) @concept_id = args[:concept_id] if args.key?(:concept_id) end |