Class ApiOperationPropertiesDefinition
java.lang.Object
com.azure.resourcemanager.logic.models.ApiOperationPropertiesDefinition
The api operations properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApiOperationPropertiesDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the annotation property: The annotation of api operation.api()
Get the api property: The api reference.Get the description property: The description of the api operation.Get the inputsDefinition property: The operation inputs definition schema.Get the isNotification property: Indicates whether the API operation is notification or not.Get the isWebhook property: Indicates whether the API operation is webhook or not.pageable()
Get the pageable property: Indicates whether the api operation is pageable.Get the responsesDefinition property: The operation responses definition schemas.summary()
Get the summary property: The summary of the api operation.trigger()
Get the trigger property: The trigger type of api operation.Get the triggerHint property: The trigger hint for the api operation.void
validate()
Validates the instance.Get the visibility property: The visibility of the api operation.withAnnotation
(ApiOperationAnnotation annotation) Set the annotation property: The annotation of api operation.withApi
(ApiReference api) Set the api property: The api reference.withDescription
(String description) Set the description property: The description of the api operation.withInputsDefinition
(SwaggerSchema inputsDefinition) Set the inputsDefinition property: The operation inputs definition schema.withIsNotification
(Boolean isNotification) Set the isNotification property: Indicates whether the API operation is notification or not.withIsWebhook
(Boolean isWebhook) Set the isWebhook property: Indicates whether the API operation is webhook or not.withPageable
(Boolean pageable) Set the pageable property: Indicates whether the api operation is pageable.withResponsesDefinition
(Map<String, SwaggerSchema> responsesDefinition) Set the responsesDefinition property: The operation responses definition schemas.withSummary
(String summary) Set the summary property: The summary of the api operation.withTrigger
(String trigger) Set the trigger property: The trigger type of api operation.withTriggerHint
(String triggerHint) Set the triggerHint property: The trigger hint for the api operation.withVisibility
(String visibility) Set the visibility property: The visibility of the api operation.
-
Constructor Details
-
ApiOperationPropertiesDefinition
public ApiOperationPropertiesDefinition()Creates an instance of ApiOperationPropertiesDefinition class.
-
-
Method Details
-
summary
Get the summary property: The summary of the api operation.- Returns:
- the summary value.
-
withSummary
Set the summary property: The summary of the api operation.- Parameters:
summary
- the summary value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
description
Get the description property: The description of the api operation.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the api operation.- Parameters:
description
- the description value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
visibility
Get the visibility property: The visibility of the api operation.- Returns:
- the visibility value.
-
withVisibility
Set the visibility property: The visibility of the api operation.- Parameters:
visibility
- the visibility value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
trigger
Get the trigger property: The trigger type of api operation.- Returns:
- the trigger value.
-
withTrigger
Set the trigger property: The trigger type of api operation.- Parameters:
trigger
- the trigger value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
triggerHint
Get the triggerHint property: The trigger hint for the api operation.- Returns:
- the triggerHint value.
-
withTriggerHint
Set the triggerHint property: The trigger hint for the api operation.- Parameters:
triggerHint
- the triggerHint value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
pageable
Get the pageable property: Indicates whether the api operation is pageable.- Returns:
- the pageable value.
-
withPageable
Set the pageable property: Indicates whether the api operation is pageable.- Parameters:
pageable
- the pageable value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
annotation
Get the annotation property: The annotation of api operation.- Returns:
- the annotation value.
-
withAnnotation
Set the annotation property: The annotation of api operation.- Parameters:
annotation
- the annotation value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
api
Get the api property: The api reference.- Returns:
- the api value.
-
withApi
Set the api property: The api reference.- Parameters:
api
- the api value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
inputsDefinition
Get the inputsDefinition property: The operation inputs definition schema.- Returns:
- the inputsDefinition value.
-
withInputsDefinition
Set the inputsDefinition property: The operation inputs definition schema.- Parameters:
inputsDefinition
- the inputsDefinition value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
responsesDefinition
Get the responsesDefinition property: The operation responses definition schemas.- Returns:
- the responsesDefinition value.
-
withResponsesDefinition
public ApiOperationPropertiesDefinition withResponsesDefinition(Map<String, SwaggerSchema> responsesDefinition) Set the responsesDefinition property: The operation responses definition schemas.- Parameters:
responsesDefinition
- the responsesDefinition value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
isWebhook
Get the isWebhook property: Indicates whether the API operation is webhook or not.- Returns:
- the isWebhook value.
-
withIsWebhook
Set the isWebhook property: Indicates whether the API operation is webhook or not.- Parameters:
isWebhook
- the isWebhook value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
isNotification
Get the isNotification property: Indicates whether the API operation is notification or not.- Returns:
- the isNotification value.
-
withIsNotification
Set the isNotification property: Indicates whether the API operation is notification or not.- Parameters:
isNotification
- the isNotification value to set.- Returns:
- the ApiOperationPropertiesDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-