io.swagger.annotations.ApiModelProperty Java Examples

The following examples show how to use io.swagger.annotations.ApiModelProperty. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TypeHolderExample.java    From openapi-generator with Apache License 2.0 7 votes vote down vote up
/**
 * Get boolItem
 * @return boolItem
**/
@NotNull
@ApiModelProperty(example = "true", required = true, value = "")
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)

public Boolean isBoolItem() {
  return boolItem;
}
 
Example #2
Source File: V1JSONSchemaProps.java    From java with Apache License 2.0 5 votes vote down vote up
/**
 * Get minProperties
 * @return minProperties
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public Long getMinProperties() {
  return minProperties;
}
 
Example #3
Source File: V1Service.java    From java with Apache License 2.0 5 votes vote down vote up
/**
 * Get spec
 * @return spec
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public V1ServiceSpec getSpec() {
  return spec;
}
 
Example #4
Source File: MixedPropertiesAndAdditionalPropertiesClass.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get dateTime
 * @return dateTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public OffsetDateTime getDateTime() {
  return dateTime;
}
 
Example #5
Source File: GenericResource.java    From swaggy-jenkins with MIT License 5 votes vote down vote up
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("id")
public String getId() {
  return id;
}
 
Example #6
Source File: AllocationModel.java    From ariADDna with Apache License 2.0 5 votes vote down vote up
/**
 * Object UUID.
 * @return uuid
 **/
@ApiModelProperty(required = true, value = "Object UUID.")
@NotNull

@Valid

public UUID getUuid() {
    return uuid;
}
 
Example #7
Source File: ModelReturn.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get _return
 * @return _return
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Integer getReturn() {
  return _return;
}
 
Example #8
Source File: XmlItem.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get namespaceBoolean
 * @return namespaceBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Boolean getNamespaceBoolean() {
  return namespaceBoolean;
}
 
Example #9
Source File: ModelReturn.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get _return
 * @return _return
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public Integer getReturn() {
  return _return;
}
 
Example #10
Source File: MapTest.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get directMap
 * @return directMap
 **/
@JsonProperty("direct_map")
@ApiModelProperty(value = "")

public Map<String, Boolean> getDirectMap() {
  return directMap;
}
 
Example #11
Source File: EnumTest.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get enumInteger
 * @return enumInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public EnumIntegerEnum getEnumInteger() {
  return enumInteger;
}
 
Example #12
Source File: Capitalization.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Name of the pet 
 * @return ATT_NAME
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the pet ")
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

public String getATTNAME() {
  return ATT_NAME;
}
 
Example #13
Source File: ProcessGroupEntity.java    From nifi with Apache License 2.0 5 votes vote down vote up
/**
 * @return number of stopped components in this process group
 */
@ApiModelProperty(
    value = "The number of stopped components in the process group."
)
public Integer getStoppedCount() {
    return stoppedCount;
}
 
Example #14
Source File: ProvenanceEventDTO.java    From nifi with Apache License 2.0 5 votes vote down vote up
/**
 * @return time the event occurred
 */
@XmlJavaTypeAdapter(TimestampAdapter.class)
@ApiModelProperty(
        value = "The timestamp of the event.",
        dataType = "string"
)
public Date getEventTime() {
    return eventTime;
}
 
Example #15
Source File: FileSchemaTestClass.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * Get file
 * @return file
*/
@ApiModelProperty(value = "")

@Valid

public java.io.File getFile() {
  return file;
}
 
Example #16
Source File: V1PersistentVolumeClaimStatus.java    From java with Apache License 2.0 5 votes vote down vote up
/**
 * Phase represents the current phase of PersistentVolumeClaim.
 * @return phase
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Phase represents the current phase of PersistentVolumeClaim.")

public String getPhase() {
  return phase;
}
 
Example #17
Source File: V1SubjectAccessReview.java    From java with Apache License 2.0 5 votes vote down vote up
/**
 * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
 * @return apiVersion
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources")

public String getApiVersion() {
  return apiVersion;
}
 
Example #18
Source File: Pet.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 **/

@ApiModelProperty(required = true, value = "")
@JsonProperty("photoUrls")
@NotNull
public List<String> getPhotoUrls() {
  return photoUrls;
}
 
Example #19
Source File: ClusterTemplate.java    From director-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Cluster services configurations
 * @return servicesConfigs
**/
@ApiModelProperty(value = "Cluster services configurations")
public Map<String, Map<String, String>> getServicesConfigs() {
  return servicesConfigs;
}
 
Example #20
Source File: InstanceState.java    From director-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Last time that instance state was checked
 * @return lastChecked
**/
@ApiModelProperty(required = true, value = "Last time that instance state was checked")
public Long getLastChecked() {
  return lastChecked;
}
 
Example #21
Source File: Balances.java    From Xero-Java with MIT License 4 votes vote down vote up
/**
 * Get accountsReceivable
 * @return accountsReceivable
**/
@ApiModelProperty(value = "")
public AccountsReceivable getAccountsReceivable() {
  return accountsReceivable;
}
 
Example #22
Source File: Manifest.java    From forge-api-java-client with Apache License 2.0 4 votes vote down vote up
/**
 * Overall progress for all translation jobs in the manifest. Possible values are: `complete` or `##%` 
 * @return progress
**/
@ApiModelProperty(example = "null", required = true, value = "Overall progress for all translation jobs in the manifest. Possible values are: `complete` or `##%` ")
public String getProgress() {
  return progress;
}
 
Example #23
Source File: AuthenticationStatus.java    From docusign-java-client with MIT License 4 votes vote down vote up
/**
 * Get phoneAuthResult
 * @return phoneAuthResult
**/
@ApiModelProperty(value = "")
public EventResult getPhoneAuthResult() {
  return phoneAuthResult;
}
 
Example #24
Source File: Email.java    From docusign-java-client with MIT License 4 votes vote down vote up
/**
 * Get maxLengthMetadata
 * @return maxLengthMetadata
**/
@ApiModelProperty(value = "")
public PropertyMetadata getMaxLengthMetadata() {
  return maxLengthMetadata;
}
 
Example #25
Source File: ListWorkweekConfigsResponse.java    From connect-java-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * A page of Employee Wage results.
 * @return workweekConfigs
**/
@ApiModelProperty(value = "A page of Employee Wage results.")
public List<WorkweekConfig> getWorkweekConfigs() {
  return workweekConfigs;
}
 
Example #26
Source File: Category.java    From openapi-generator with Apache License 2.0 4 votes vote down vote up
@ApiModelProperty(value = "")
@JsonProperty("id")
public Long getId() {
  return id;
}
 
Example #27
Source File: ConfigurationProperty.java    From director-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Whether this property is required
 * @return required
**/
@ApiModelProperty(value = "Whether this property is required")
public Boolean isRequired() {
  return required;
}
 
Example #28
Source File: Cluster.java    From director-sdk with Apache License 2.0 4 votes vote down vote up
/**
 * Instances making this cluster
 * @return instances
**/
@ApiModelProperty(value = "Instances making this cluster")
public List<Instance> getInstances() {
  return instances;
}
 
Example #29
Source File: SubmitReplayRequestEntity.java    From nifi with Apache License 2.0 4 votes vote down vote up
@ApiModelProperty(
    value = "The event identifier"
)
public Long getEventId() {
    return eventId;
}
 
Example #30
Source File: NodeDTO.java    From nifi-swagger-client with Apache License 2.0 4 votes vote down vote up
/**
 * The time at which this Node was last refreshed.
 * @return nodeStartTime
**/
@ApiModelProperty(value = "The time at which this Node was last refreshed.")
public String getNodeStartTime() {
  return nodeStartTime;
}