Class ContentCountry

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContentCountry
    extends java.lang.Object
    implements java.io.Serializable
    Represents a country that should be used when fetching content.

    YouTube, for example, give different results in their feed depending on which country is selected.

    See Also:
    Serialized Form
    • Constructor Detail

      • ContentCountry

        public ContentCountry​(@Nonnull
                              java.lang.String countryCode)
    • Method Detail

      • listFrom

        public static java.util.List<ContentCountry> listFrom​(java.lang.String... countryCodeList)
      • getCountryCode

        @Nonnull
        public java.lang.String getCountryCode()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object