Class ContentTypesGetHeaders
java.lang.Object
com.azure.resourcemanager.apimanagement.models.ContentTypesGetHeaders
The ContentTypesGetHeaders model.
-
Constructor Summary
ConstructorsConstructorDescriptionContentTypesGetHeaders(com.azure.core.http.HttpHeaders rawHeaders) Creates an instance of ContentTypesGetHeaders class. -
Method Summary
-
Constructor Details
-
ContentTypesGetHeaders
public ContentTypesGetHeaders(com.azure.core.http.HttpHeaders rawHeaders) Creates an instance of ContentTypesGetHeaders class.- Parameters:
rawHeaders- The raw HttpHeaders that will be used to create the property values.
-
-
Method Details
-
etag
Get the etag property: The Etag property.- Returns:
- the etag value.
-
withEtag
Set the etag property: The Etag property.- Parameters:
etag- the etag value to set.- Returns:
- the ContentTypesGetHeaders object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-