Class Place
- Namespace
- Twikit
- Assembly
- Twikit.dll
場所。
public sealed class Place : IEquatable<Place>
- Inheritance
-
Place
- Implements
- Inherited Members
Constructors
Place(Client, JsonObject)
public Place(Client client, JsonObject data)
Parameters
clientClientdataJsonObject
Properties
Attributes
public JsonObject? Attributes { get; }
Property Value
BoundingBox
場所の地理的範囲を表すバウンディングボックス。
public JsonObject? BoundingBox { get; }
Property Value
Centroid
緯度・経度で表した中心。
public List<double>? Centroid { get; }
Property Value
ContainedWithin
この場所を含む場所の一覧。
public List<Place> ContainedWithin { get; }
Property Value
Country
国。
public string? Country { get; }
Property Value
CountryCode
ISO 3166-1 alpha-2 の国コード。
public string? CountryCode { get; }
Property Value
FullName
場所の正式名称。
public string? FullName { get; }
Property Value
Id
場所の ID。
public string Id { get; }
Property Value
Name
場所の名前。
public string? Name { get; }
Property Value
PlaceType
場所の種類。
public string? PlaceType { get; }
Property Value
Url
詳細情報の URL。
public string? Url { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(Place?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Place? other)
Parameters
otherPlaceAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
UpdateAsync()
最新の情報で更新します。
public Task UpdateAsync()