Returns a Post Object... same as "post"

@param cls
@return
@throws APIException
484584
public<T> Post<T> create(Class<T> cls) throws APIException {
		return new Post<T>(this,getDF(cls));
	}
1336201
public static <T> T castOrNull(Object o, Class<T> cls)
	{
		if(o == null)
			return null;
		if(cls.isInstance(o))
			return cls.cast(o);
		return null;
	}
1250282
public static Class<?> wrap(final Class<?> cls) {
        N.checkArgNotNull(cls, "cls");

        final Class<?> wrapped = PRIMITIVE_2_WRAPPER.get(cls);

        return wrapped == null ? cls : wrapped;
    }
402493
public static Class<?> unwrap(final Class<?> cls) {
        N.checkArgNotNull(cls, "cls");

        Class<?> unwrapped = PRIMITIVE_2_WRAPPER.getByValue(cls);

        return unwrapped == null ? cls : unwrapped;
    }
431302
private <TResponse> TResponse callServiceOwnerPostApi(
            String path, Map<String, String> queryParams,
            Object requestBody, Class<TResponse> responseClass) throws AuthleteApiException
    {
        return callPostApi(mServiceOwnerCredentials, path, queryParams, requestBody, responseClass);
    }
567589
public ApiResponse<PostUsers> postUsersWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = postUsersValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<PostUsers>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
998988
protected Method getParse(Class cls) throws Exception {
    Method meth = methodCache.get(cls);
    if (null == meth) {
      meth = cls.getMethod("parseFrom", new Class[]{ byte[].class });
      methodCache.put(cls, meth);
    }
    return meth;
  }
125068
async def api_post(self, url, params):
        """"""
        post = None
        try:
            with async_timeout.timeout(DEFAULT_TIMEOUT, loop=self._event_loop):
                post = await self._api_session.post(
                    url, params=params)
            if post.status != 204:
                _LOGGER.error('Error posting Emby data: %s', post.status)
                return None

            post_result = await post.text()
            return post_result

        except (aiohttp.ClientError, asyncio.TimeoutError,
                ConnectionRefusedError) as err:
            _LOGGER.error('Error posting Emby data: %s', err)
            return None
848500
public ApiResponse<Object> retrievePCTokenUsingPOSTWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = retrievePCTokenUsingPOSTValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<Object>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
421681
public String post(String endpoint, String params) throws IOException {
        return this.post(endpoint, params, "");
    }
609917
public static String serialize(Object obj) throws ApiException {
        try {
            if (obj != null)
                    if (obj instanceof String) {
                        // This assumes that we receive json as a string
                        return (String) obj;
                } else {
                        return JsonUtil.getJsonMapper().writeValueAsString(obj);
                }
            else
                return null;
        }
        catch (Exception e) {
            throw new ApiException(500, e.getMessage());
        }
    }
263436
public ApiResponse<GetSubResponse> getSubWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = getSubValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<GetSubResponse>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
1058005
public Serializer getSerializer(Class cls) {
    SerializerWrapper w = getSerializerWrapper(cls);
    if (w != null) {
      return w.serializer;
    }
    return null;
  }
994517
@SuppressWarnings("unchecked")
	public static @Nullable <T> T as(Object object, Class<T> cls) {
		return cls.isInstance(object) ? (T) object : null;
	}
1187788
public Object injectAndPostConstruct(Class<?> Klass) throws InjectionProviderException
    {
        Object instance = null;

        ManagedObject mo = (ManagedObject) ((WASInjectionProvider) getInjectionProvider()).inject(Klass, true, _externalContext);
        instance = mo.getObject();
        
        if (instance instanceof FacesWrapper)
        {
            Object innerInstance = ((FacesWrapper)instance).getWrapped();
            if (innerInstance != null)
            {
                injectAndPostConstruct(innerInstance);
            }
        }

        return instance;
    }
122953
public ApiResponse<Templates> postTemplatesWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = postTemplatesValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<Templates>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
859026
function getPost(post) {
  if (!post || !post.body) return {};


  let postQuery = getPostQuery(post.body);
  let postIntro = postQuery.intro || getPostIntro(post.body);

  Object.assign(post, {
    intro: postIntro,
    query: postQuery,
    create_time: formatTime(post.created_at),
    update_time: formatTime(post.updated_at)
  })

  return post;
}