Class Scope


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class Scope
    extends Object
    Scope of the entity. For example it's locale \"English\"
    • Constructor Detail

      • Scope

        public Scope()
    • Method Detail

      • getLocale

        @Nonnull
        public String getLocale()
        A single value that represents content locale, for example, English.
        Returns:
        locale
      • setLocale

        public void setLocale​(String locale)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to Scope
      • fromJson

        public static Scope fromJson​(String jsonString)
                              throws IOException
        Create an instance of Scope given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of Scope
        Throws:
        IOException - if the JSON string is invalid with respect to Scope
      • toJson

        public String toJson()
        Convert an instance of Scope to an JSON string
        Returns:
        JSON string