本文整理汇总了Java中com.wordnik.swagger.annotations.ApiModelProperty类的典型用法代码示例。如果您正苦于以下问题:Java ApiModelProperty类的具体用法?Java ApiModelProperty怎么用?Java ApiModelProperty使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ApiModelProperty类属于com.wordnik.swagger.annotations包,在下文中一共展示了ApiModelProperty类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getApiName
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/** Api methods **/
@Override
@JsonProperty(value = "name")
@ApiModelProperty(required = true)
public String getApiName() {
return getName();
}
示例2: getApiName
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/** Api methods **/
@Override
@ApiModelProperty(required = true)
@JsonProperty(value = "name")
public String getApiName() {
return getName();
}
示例3: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
*
* @return List of customAttributes
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(WorkOrder.class, id);
}
示例4: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get custom attribute values.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(PortfolioEntryReport.class, id);
}
示例5: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get the custom attribute values.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(PortfolioEntryPlanningPackage.class, id);
}
示例6: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get custom attribute values.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(PortfolioEntry.class, id);
}
示例7: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get custom attribute values.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(PortfolioEntryEvent.class, id);
}
示例8: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get the custom attributes.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(Portfolio.class, id);
}
示例9: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get the custom attribute values.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(PortfolioEntryRisk.class, id);
}
示例10: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get the custom attributes.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String")
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(Actor.class, id);
}
示例11: getCustomAttributesAsSerializableValues
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
/**
* Get the custom attributes.
*/
@JsonProperty(value = "customAttributes")
@ApiModelProperty(dataType = "String", required = false)
public List<CustomAttributeValueObject> getCustomAttributesAsSerializableValues() {
ICustomAttributeManagerService customAttributeManagerService = Play.application().injector().instanceOf(ICustomAttributeManagerService.class);
return customAttributeManagerService.getSerializableValues(OrgUnit.class, id);
}
示例12: getId
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("The id of the dependency")
@JsonProperty("id")
public abstract String getId();
示例13: isHealthy
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Indicates the health of the dependency")
@JsonProperty("healthy")
@JsonView({HealthJsonViews.Primary.class, HealthJsonViews.Diagnostic.class})
public abstract boolean isHealthy();
示例14: isPrimary
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Indicates if this is a primary dependency of the service")
@JsonProperty("primary")
@JsonView(HealthJsonViews.Diagnostic.class)
public abstract boolean isPrimary();
示例15: getLinks
import com.wordnik.swagger.annotations.ApiModelProperty; //导入依赖的package包/类
@ApiModelProperty("Contains hyperlinks to other resources for health check")
@JsonProperty("links")
public abstract Optional<LinksDto> getLinks();