Class: Google::Apis::GenomicsV1::ClinicalCondition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ClinicalCondition

Returns a new instance of ClinicalCondition



1440
1441
1442
# File 'generated/google/apis/genomics_v1/classes.rb', line 1440

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#concept_idString

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

Returns:

  • (String)


1433
1434
1435
# File 'generated/google/apis/genomics_v1/classes.rb', line 1433

def concept_id
  @concept_id
end

#external_idsArray<Google::Apis::GenomicsV1::ExternalId>

The set of external IDs for this condition. Corresponds to the JSON property externalIds



1427
1428
1429
# File 'generated/google/apis/genomics_v1/classes.rb', line 1427

def external_ids
  @external_ids
end

#namesArray<String>

A set of names for the condition. Corresponds to the JSON property names

Returns:

  • (Array<String>)


1438
1439
1440
# File 'generated/google/apis/genomics_v1/classes.rb', line 1438

def names
  @names
end

#omim_idString

The OMIM id for this condition. Search for these IDs at http://omim.org/ Corresponds to the JSON property omimId

Returns:

  • (String)


1422
1423
1424
# File 'generated/google/apis/genomics_v1/classes.rb', line 1422

def omim_id
  @omim_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1445
1446
1447
1448
1449
1450
# File 'generated/google/apis/genomics_v1/classes.rb', line 1445

def update!(**args)
  @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)
  @names = args[:names] if args.key?(:names)
end