本文整理匯總了Java中io.swagger.annotations.ApiModelProperty類的典型用法代碼示例。如果您正苦於以下問題:Java ApiModelProperty類的具體用法?Java ApiModelProperty怎麽用?Java ApiModelProperty使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ApiModelProperty類屬於io.swagger.annotations包,在下文中一共展示了ApiModelProperty類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getAmount
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
@ApiModelProperty(
access = "public",
name = "amount",
example = "123.45",
value = "the amount - in this example without currency.")
public String getAmount() {
return amount;
}
示例2: getObs
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Observable determines whether you can subscribe to changes for this resource. It can have values \"true\" or \"false\".
* @return obs
**/
@ApiModelProperty(value = "Observable determines whether you can subscribe to changes for this resource. It can have values \"true\" or \"false\". ")
public Boolean getObs() {
return obs;
}
示例3: getIsMarketingAccepted
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* A flag indicating that receiving marketing information has been accepted.
* @return isMarketingAccepted
**/
@ApiModelProperty(value = "A flag indicating that receiving marketing information has been accepted.")
public Boolean getIsMarketingAccepted() {
return isMarketingAccepted;
}
示例4: getSelf
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get self
* @return self
**/
@ApiModelProperty(value = "")
public Link getSelf() {
return self;
}
示例5: getPropertyClass
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get propertyClass
* @return propertyClass
**/
@JsonProperty("_class")
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;
}
示例6: getComputer
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get computer
* @return computer
**/
@ApiModelProperty(value = "")
public List<HudsonMasterComputer> getComputer() {
return computer;
}
示例7: getEndTime
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get endTime
* @return endTime
**/
@JsonProperty("endTime")
@ApiModelProperty(value = "")
public String getEndTime() {
return endTime;
}
示例8: getRuns
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
@ApiModelProperty(value = "")
@JsonProperty("runs")
public Link getRuns() {
return runs;
}
示例9: getLinks
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get links
* @return links
**/
@JsonProperty("_links")
@ApiModelProperty(value = "")
public GithubRepositorylinks getLinks() {
return links;
}
示例10: getModifierListIds
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* A set of [CatalogModifierList](#type-catalogmodifierlist) IDs to be used to find associated [CatalogItem](#type-catalogitem)s.
* @return modifierListIds
**/
@ApiModelProperty(required = true, value = "A set of [CatalogModifierList](#type-catalogmodifierlist) IDs to be used to find associated [CatalogItem](#type-catalogitem)s.")
public List<String> getModifierListIds() {
return modifierListIds;
}
示例11: getAvailablePhysicalMemory
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get availablePhysicalMemory
* @return availablePhysicalMemory
**/
@JsonProperty("availablePhysicalMemory")
@ApiModelProperty(value = "")
public Integer getAvailablePhysicalMemory() {
return availablePhysicalMemory;
}
示例12: getDisplayName
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get displayName
* @return displayName
**/
@JsonProperty("displayName")
@ApiModelProperty(value = "")
public String getDisplayName() {
return displayName;
}
示例13: getMinimumLength
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Minimum length for the password. A number between 8 and 512.
* @return minimumLength
**/
@ApiModelProperty(required = true, value = "Minimum length for the password. A number between 8 and 512.")
public String getMinimumLength() {
return minimumLength;
}
示例14: getPhoneNumber
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Phone number, not longer than 100 characters.
* @return phoneNumber
**/
@ApiModelProperty(value = "Phone number, not longer than 100 characters.")
public String getPhoneNumber() {
return phoneNumber;
}
示例15: isIdle
import io.swagger.annotations.ApiModelProperty; //導入依賴的package包/類
/**
* Get idle
* @return idle
**/
@ApiModelProperty(value = "")
public Boolean isIdle() {
return idle;
}