def profile(id_or_name, factory_id, opts = {})
      data, _status_code, _headers = profile_with_http_info(id_or_name, factory_id, opts)
      return data
    end
def profile(id_or_name, factory_id, opts = {})
      data, _status_code, _headers = profile_with_http_info(id_or_name, factory_id, opts)
      return data
    end
Returns a Profile object.

 @param id_or_name A name or an id of a Profile.
 @param factory_id Id of a Factory.
 @param [Hash] opts the optional parameters
 @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
 @return [Profile]