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



1437
1438
1439
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1437

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

Instance Attribute Details

#collided_segment_sourceGoogle::Apis::CivicinfoV2::StreetSegmentList

Corresponds to the JSON property collidedSegmentSource



1390
1391
1392
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1390

def collided_segment_source
  @collided_segment_source
end

#ctcl_contest_uuidString

Corresponds to the JSON property ctclContestUuid

Returns:

  • (String)


1395
1396
1397
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1395

def ctcl_contest_uuid
  @ctcl_contest_uuid
end

#ctcl_office_uuidString

Corresponds to the JSON property ctclOfficeUuid

Returns:

  • (String)


1400
1401
1402
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1400

def ctcl_office_uuid
  @ctcl_office_uuid
end

#dataset_idFixnum

Corresponds to the JSON property datasetId

Returns:

  • (Fixnum)


1405
1406
1407
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1405

def dataset_id
  @dataset_id
end

#precinct_idFixnum

Corresponds to the JSON property precinctId

Returns:

  • (Fixnum)


1410
1411
1412
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1410

def precinct_id
  @precinct_id
end

#precinct_split_idFixnum

Corresponds to the JSON property precinctSplitId

Returns:

  • (Fixnum)


1415
1416
1417
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1415

def precinct_split_id
  @precinct_split_id
end

#ts_street_segment_idString

Corresponds to the JSON property tsStreetSegmentId

Returns:

  • (String)


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

def ts_street_segment_id
  @ts_street_segment_id
end

#vip5_precinct_idString

Corresponds to the JSON property vip5PrecinctId

Returns:

  • (String)


1425
1426
1427
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1425

def vip5_precinct_id
  @vip5_precinct_id
end

#vip5_street_segment_idString

Corresponds to the JSON property vip5StreetSegmentId

Returns:

  • (String)


1430
1431
1432
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1430

def vip5_street_segment_id
  @vip5_street_segment_id
end

#vip_street_segment_idFixnum

Corresponds to the JSON property vipStreetSegmentId

Returns:

  • (Fixnum)


1435
1436
1437
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1435

def vip_street_segment_id
  @vip_street_segment_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
# File 'generated/google/apis/civicinfo_v2/classes.rb', line 1442

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