anchor.diff:  
   %% @doc creates the json body for clients
   -spec assemble_client_ejson(#chef_client{}, binary()) -> ejson_term().
  -assemble_client_ejson(Client, OrgName) ->
  -    ?ASSEMBLE_CLIENT(Client, OrgName).
  -
  -%% @doc creates the json body for clients
  --spec oc_assemble_client_ejson(#chef_client{}, binary()) -> ejson_term().
  -oc_assemble_client_ejson(#chef_client{name = Name, validator = Validator,
  +assemble_client_ejson(#chef_client{name = Name, validator = Validator,
                                         public_key = PublicKey}, OrgName) ->
       Values = [{<<"name">>, value_or_default(Name, <<"">>)},
                 {<<"clientname">>, value_or_default(Name, <<"">>)},
  
positive.code:             {ok, Client}
      end.
  
  osc_set_values_from_current_client(Client, not_found) ->
      Client;
  osc_set_values_from_current_client(Client, #chef_client{admin = IsAdmin,
                                                          validator = IsValidator,
                                                          public_key = PublicKey}) ->
      C = chef_object_base:set_default_values(Client, [{<<"admin">>, IsAdmin},
                                                       {<<"validator">>, IsValidator}]),
      case chef_object_base:cert_or_key(C) of
          {undefined, _} ->
              chef_object_base:set_public_key(C, PublicKey);
          {_NewPublicKey, _} ->
              C
      end.
  
  oc_set_values_from_current_client(Client, not_found) ->
      Client;
  oc_set_values_from_current_client(Client, #chef_client{validator = IsValidator,
                                                         public_key = Cert}) ->
      C = chef_object_base:set_default_values(Client, [{<<"validator">>, IsValidator}]),
      case chef_object_base:cert_or_key(C) of
          {undefined, _} ->
  
negative.code: -include("../../include/chef_types.hrl").
  -include("../../include/chef_osc_defaults.hrl").
  
  -define(DEFAULT_FIELD_VALUES, [
                                 {<<"json_class">>, <<"Chef::ApiClient">>},
                                 {<<"chef_type">>, <<"client">>},
                                 {<<"validator">>, false},
                                 {<<"private_key">>, false}
                                ]).
  
  
  
  
  -behaviour(chef_object).
  
  