Class: Google::Apis::CivicinfoV2::Provenance

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Provenance

Returns a new instance of Provenance.



1281
1282
1283
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1281

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

Instance Attribute Details

#collided_segment_sourceGoogle::Apis::CivicinfoV2::StreetSegmentList

Corresponds to the JSON property collidedSegmentSource



1234
1235
1236
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1234

def collided_segment_source
  @collided_segment_source
end

#ctcl_contest_uuidString

Corresponds to the JSON property ctclContestUuid

Returns:

  • (String)


1239
1240
1241
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1239

def ctcl_contest_uuid
  @ctcl_contest_uuid
end

#ctcl_office_uuidString

Corresponds to the JSON property ctclOfficeUuid

Returns:

  • (String)


1244
1245
1246
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1244

def ctcl_office_uuid
  @ctcl_office_uuid
end

#dataset_idFixnum

Corresponds to the JSON property datasetId

Returns:

  • (Fixnum)


1249
1250
1251
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1249

def dataset_id
  @dataset_id
end

#precinct_idFixnum

Corresponds to the JSON property precinctId

Returns:

  • (Fixnum)


1254
1255
1256
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1254

def precinct_id
  @precinct_id
end

#precinct_split_idFixnum

Corresponds to the JSON property precinctSplitId

Returns:

  • (Fixnum)


1259
1260
1261
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1259

def precinct_split_id
  @precinct_split_id
end

#ts_street_segment_idString

Corresponds to the JSON property tsStreetSegmentId

Returns:

  • (String)


1264
1265
1266
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1264

def ts_street_segment_id
  @ts_street_segment_id
end

#vip5_precinct_idString

Corresponds to the JSON property vip5PrecinctId

Returns:

  • (String)


1269
1270
1271
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1269

def vip5_precinct_id
  @vip5_precinct_id
end

#vip5_street_segment_idString

Corresponds to the JSON property vip5StreetSegmentId

Returns:

  • (String)


1274
1275
1276
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1274

def vip5_street_segment_id
  @vip5_street_segment_id
end

#vip_street_segment_idFixnum

Corresponds to the JSON property vipStreetSegmentId

Returns:

  • (Fixnum)


1279
1280
1281
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1279

def vip_street_segment_id
  @vip_street_segment_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1286

def update!(**args)
  @collided_segment_source = args[:collided_segment_source] if args.key?(:collided_segment_source)
  @ctcl_contest_uuid = args[:ctcl_contest_uuid] if args.key?(:ctcl_contest_uuid)
  @ctcl_office_uuid = args[:ctcl_office_uuid] if args.key?(:ctcl_office_uuid)
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
  @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
  @precinct_split_id = args[:precinct_split_id] if args.key?(:precinct_split_id)
  @ts_street_segment_id = args[:ts_street_segment_id] if args.key?(:ts_street_segment_id)
  @vip5_precinct_id = args[:vip5_precinct_id] if args.key?(:vip5_precinct_id)
  @vip5_street_segment_id = args[:vip5_street_segment_id] if args.key?(:vip5_street_segment_id)
  @vip_street_segment_id = args[:vip_street_segment_id] if args.key?(:vip_street_segment_id)
end