Class: Google::Apis::GenomicsV1beta2::VariantAnnotationCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VariantAnnotationCondition

Returns a new instance of VariantAnnotationCondition



3235
3236
3237
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3235

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)


3218
3219
3220
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3218

def concept_id
  @concept_id
end

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

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



3223
3224
3225
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3223

def external_ids
  @external_ids
end

#namesArray<String>

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

Returns:

  • (Array<String>)


3228
3229
3230
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3228

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)


3233
3234
3235
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3233

def omim_id
  @omim_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3240
3241
3242
3243
3244
3245
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3240

def update!(**args)
  @concept_id = args[:concept_id] unless args[:concept_id].nil?
  @external_ids = args[:external_ids] unless args[:external_ids].nil?
  @names = args[:names] unless args[:names].nil?
  @omim_id = args[:omim_id] unless args[:omim_id].nil?
end