class Pinnacle::Company::CompanyUpdateResponse

def self.from_json(json_object:)

Returns:
  • (Pinnacle::Company::CompanyUpdateResponse) -

Parameters:
  • json_object (String) --
def self.from_json(json_object:)
  struct = JSON.parse(json_object, object_class: OpenStruct)
  parsed_json = JSON.parse(json_object)
  if parsed_json["brand"].nil?
    brand = nil
  else
    brand = parsed_json["brand"].to_json
    brand = Pinnacle::Company::CompanyUpdateResponseBrand.from_json(json_object: brand)
  end
  new(brand: brand, additional_properties: struct)
end