Class: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntryStatus

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

Returns a new instance of BatchAnnotationsResponseEntryStatus



286
287
288
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 286

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

Instance Attribute Details

#codeFixnum

The HTTP status code for this operation. Corresponds to the JSON property code

Returns:

  • (Fixnum)


279
280
281
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 279

def code
  @code
end

#messageString

Error message for this status, if any. Corresponds to the JSON property message

Returns:

  • (String)


284
285
286
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 284

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



291
292
293
294
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 291

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