Class: PlexRubySDK::Operations::GetTokenByPinIdGeoData

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb

Overview

Geo location data

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(city: nil, code: nil, continent_code: nil, coordinates: nil, country: nil, european_union_member: nil, in_privacy_restricted_country: nil, in_privacy_restricted_region: nil, postal_code: nil, subdivisions: nil, time_zone: nil) ⇒ GetTokenByPinIdGeoData

Returns a new instance of GetTokenByPinIdGeoData.



42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/plex_ruby_sdk/models/operations/gettokenbypinid_geodata.rb', line 42

def initialize(city: nil, code: nil, continent_code: nil, coordinates: nil, country: nil, european_union_member: nil, in_privacy_restricted_country: nil, in_privacy_restricted_region: nil, postal_code: nil, subdivisions: nil, time_zone: nil)
  @city = city
  @code = code
  @continent_code = continent_code
  @coordinates = coordinates
  @country = country
  @european_union_member = european_union_member
  @in_privacy_restricted_country = in_privacy_restricted_country
  @in_privacy_restricted_region = in_privacy_restricted_region
  @postal_code = postal_code
  @subdivisions = subdivisions
  @time_zone = time_zone
end