| Name | Type | Description | Notes |
|---|---|---|---|
| keys | List[str] | Keys of the resources (flags, segments) to link/unlink | |
| filter | str | Filter string to match resources for linking. Uses the same syntax as list endpoints: flags use comma-separated field:value filters, segments use queryfilter syntax. Supported filters by resource type: - flags: query, tags, maintainerId, maintainerTeamKey, type, status, state, staleState, sdkAvailability, targeting, hasExperiment, hasDataExport, evaluated, creationDate, contextKindTargeted, contextKindsEvaluated, filterEnv, segmentTargeted, codeReferences.min, codeReferences.max, excludeSettings, releasePipeline, applicationEvaluated, purpose, guardedRollout, view, key, name, archived, followerId - segments (queryfilter): query, tags, keys, excludedKeys, unbounded, external, view, type Some filters are only available when the corresponding feature is enabled on your account. | |
| comment | str | Optional comment for the link/unlink operation | [optional] [default to ''] |
| segment_identifiers | List[ViewLinkRequestSegmentIdentifier] | Identifiers of the segments to link/unlink (environmentId and segmentKey) | |
| environment_id | str | Required when using filter for segment resources. Specifies which environment to query for segments matching the filter. Ignored for flag resources (flags are global across environments). | [optional] |
from launchdarkly_api.models.view_link_request import ViewLinkRequest
# TODO update the JSON string below
json = "{}"
# create an instance of ViewLinkRequest from a JSON string
view_link_request_instance = ViewLinkRequest.from_json(json)
# print the JSON string representation of the object
print(ViewLinkRequest.to_json())
# convert the object into a dict
view_link_request_dict = view_link_request_instance.to_dict()
# create an instance of ViewLinkRequest from a dict
view_link_request_from_dict = ViewLinkRequest.from_dict(view_link_request_dict)