Conditional Request Header
This doc details what emitters will generate for conditional request header
If-Match and If-None-Match
model Response { name: string;}
@getop get( /** The request should only proceed if an entity matches this string. */ @header("If-Match") ifMatch?: string,
/** The request should only proceed if no entity matches this string. */ @header("If-None-Match") ifNoneMatch?: string,): Response;from azure.core import MatchConditions
def get(self, *, etag: Optional[str] = None, match_condition: Optional[MatchConditions] = None) -> Response:import com.azure.core.http.MatchConditions;
public Response get(MatchConditions matchConditions);