info.xiancloud.core.Input.add()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(6.8k)|赞(0)|评价(0)|浏览(168)

本文整理了Java中info.xiancloud.core.Input.add()方法的一些代码示例,展示了Input.add()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Input.add()方法的具体详情如下:
包路径:info.xiancloud.core.Input
类名称:Input
方法名:add

Input.add介绍

暂无

代码示例

代码示例来源:origin: info.xiancloud/xian-apifestOauth20

@Override
public Input getInput() {
  return new Input()
      .add("name", String.class, "application名称", REQUIRED)
      .add("scope", String.class, "支持由空格分割的多个scope", REQUIRED)
      .add("redirect_uri", String.class, "redirect_uri", REQUIRED)
      .add("client_id", String.class, "client_id", NOT_REQUIRED)
      .add("client_secret", String.class, "client_secret", NOT_REQUIRED)
      .add("description", String.class, "用户自定义application描述", NOT_REQUIRED)
      .add("application_details", Map.class, "用户自定义的多个键值对", NOT_REQUIRED);
}

代码示例来源:origin: info.xiancloud/xian-httpclient

@Override
public Input getInput() {
  return new Input()
      .add("url", String.class, "必须是完整的http url", REQUIRED)
      .add("userName", String.class, "httpBasicAuth的用户名", REQUIRED)
      .add("password", String.class, "httpBasicAuth的密码", REQUIRED)
      .add("headers", Map.class, "header键值对,必须是字符串键值对", NOT_REQUIRED)
      .add("body", String.class, "post请求payload")
      ;
}

代码示例来源:origin: info.xiancloud/xian-apifestOauth20

@Override
public Input getInput() {
  return new Input()
      .add("scope", String.class, "支持由空格分割的多个scope", REQUIRED)
      .add("client_id", String.class, "client_id", REQUIRED)
      .add("description", String.class, "用户自定义application描述", REQUIRED)
      .add("application_details", Map.class, "用户自定义的多个键值对", NOT_REQUIRED)
      .add("status", Integer.class, "值为1或者0,1为有效,0为无效", REQUIRED);
}

代码示例来源:origin: info.xiancloud/xian-apifestOauth20

@Override
public Input getInput() {
  return new Input()
      .add("scope", String.class, "一次仅能更新一个scope", REQUIRED)
      .add("description", String.class, "自定义scope描述", REQUIRED)
      .add("cc_expires_in", Integer.class, "grant_type为client_credentials时access_token过期时间", REQUIRED)
      .add("pass_expires_in", Integer.class, "grant_type为password时access_token过期时间", REQUIRED)
      .add("refresh_expires_in", Integer.class, "grant_type为refresh_token时access_token过期时间,如果不填写,则使用pass_expires_in的值", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("pattern", String.class, "", REQUIRED)
      .add("count", int.class, "", NOT_REQUIRED)
      .add("cursor", String.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("value", Long.class, "自减的值", NOT_REQUIRED)
      .add("timeout", Integer.class, "超时时间, 单位: 秒", NOT_REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("index", int.class, "", REQUIRED)
      .add("valueObj", Object.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", String.class, "", REQUIRED)
      .add("score", Long.class, "", REQUIRED)
      .add("member", Object.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("value", Long.class, "递增的值", NOT_REQUIRED)
      .add("timeout", Integer.class, "超时时间, 单位: 秒", NOT_REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", String.class, "缓存的关键字", REQUIRED)
      .add("values", List.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return Input.create().add("docName", String.class, "api doc name", REQUIRED)
      .add("unitFilter", String.class, "unit list", REQUIRED)
      .add("docDescription", String.class, "api doc description", NOT_REQUIRED)
      ;
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("url", String.class, "必须是完整的http url", REQUIRED)
      .add("headers", Map.class, "header键值对,必须是字符串键值对")
      .add("readTimeoutInMillis", Integer.class, "响应超时时间,如果不给定那么有一个默认超时时间")
      ;
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("valueObj", Object.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", String.class, "配置项key,不允许为空", REQUIRED)
      .add("plugin", String.class, "插件名", REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input().add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", Object.class, "缓存的关键字", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input()
      .add("key", String.class, "", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: xiancloud/xian

@Override
public Input getInput() {
  return new Input().add("key", String.class, "缓存的关键字", REQUIRED)
      .add("cacheConfig", CacheConfigBean.class, "", NOT_REQUIRED);
}

代码示例来源:origin: info.xiancloud/xian-qclouddocker

@Override
public Input getInput() {
  return new Input()
      .add("applications", String.class, "应用名列表,eg. gateway=1,gatewayOut=2,someApp=0", REQUIRED)
      .add("jobName", String.class, "jenkins项目名", REQUIRED);
}

代码示例来源:origin: info.xiancloud/xian-apifestOauth20

@Override
public Input getInput() {
  return new Input()
      .add("client_id", String.class, "筛选条件:client_id", NOT_REQUIRED);
}

相关文章