Class: Google::Apis::GenomicsV1beta2::TranscriptExon

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) ⇒ TranscriptExon

Returns a new instance of TranscriptExon



3033
3034
3035
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3033

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

Instance Attribute Details

#endString

The end position of the exon on this annotation's reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start. Corresponds to the JSON property end

Returns:

  • (String)


3018
3019
3020
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3018

def end
  @end
end

#frameGoogle::Apis::GenomicsV1beta2::Int32Value

Wrapper message for int32. The JSON representation for Int32Value is JSON number. Corresponds to the JSON property frame



3024
3025
3026
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3024

def frame
  @frame
end

#startString

The start position of the exon on this annotation's reference sequence, 0- based inclusive. Note that this is relative to the reference start, and not the containing annotation start. Corresponds to the JSON property start

Returns:

  • (String)


3031
3032
3033
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3031

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3038
3039
3040
3041
3042
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 3038

def update!(**args)
  @end = args[:end] unless args[:end].nil?
  @frame = args[:frame] unless args[:frame].nil?
  @start = args[:start] unless args[:start].nil?
end