class Pinnacle::Send::SendSmsResponse
def self.from_json(json_object:)
-
(Pinnacle::Send::SendSmsResponse)
-
Parameters:
-
json_object
(String
) --
def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) message_id = parsed_json["messageId"] message = parsed_json["message"] new( message_id: message_id, message: message, additional_properties: struct ) end