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



1419
1420
1421
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1419

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

Instance Attribute Details

#collided_segment_sourceGoogle::Apis::CivicinfoV2::StreetSegmentList

Corresponds to the JSON property collidedSegmentSource



1372
1373
1374
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1372

def collided_segment_source
  @collided_segment_source
end

#ctcl_contest_uuidString

Corresponds to the JSON property ctclContestUuid

Returns:

  • (String)


1377
1378
1379
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1377

def ctcl_contest_uuid
  @ctcl_contest_uuid
end

#ctcl_office_uuidString

Corresponds to the JSON property ctclOfficeUuid

Returns:

  • (String)


1382
1383
1384
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1382

def ctcl_office_uuid
  @ctcl_office_uuid
end

#dataset_idFixnum

Corresponds to the JSON property datasetId

Returns:

  • (Fixnum)


1387
1388
1389
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1387

def dataset_id
  @dataset_id
end

#precinct_idFixnum

Corresponds to the JSON property precinctId

Returns:

  • (Fixnum)


1392
1393
1394
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1392

def precinct_id
  @precinct_id
end

#precinct_split_idFixnum

Corresponds to the JSON property precinctSplitId

Returns:

  • (Fixnum)


1397
1398
1399
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1397

def precinct_split_id
  @precinct_split_id
end

#ts_street_segment_idString

Corresponds to the JSON property tsStreetSegmentId

Returns:

  • (String)


1402
1403
1404
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1402

def ts_street_segment_id
  @ts_street_segment_id
end

#vip5_precinct_idString

Corresponds to the JSON property vip5PrecinctId

Returns:

  • (String)


1407
1408
1409
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1407

def vip5_precinct_id
  @vip5_precinct_id
end

#vip5_street_segment_idString

Corresponds to the JSON property vip5StreetSegmentId

Returns:

  • (String)


1412
1413
1414
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1412

def vip5_street_segment_id
  @vip5_street_segment_id
end

#vip_street_segment_idFixnum

Corresponds to the JSON property vipStreetSegmentId

Returns:

  • (Fixnum)


1417
1418
1419
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1417

def vip_street_segment_id
  @vip_street_segment_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1424

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