SteeringPolicyWeightedAnswerData

class oci.dns.models.SteeringPolicyWeightedAnswerData(**kwargs)

Bases: object

SteeringPolicyWeightedAnswerData model.

Methods

__init__(**kwargs) Initializes a new SteeringPolicyWeightedAnswerData object with values from keyword arguments.

Attributes

answer_condition Gets the answer_condition of this SteeringPolicyWeightedAnswerData.
value [Required] Gets the value of this SteeringPolicyWeightedAnswerData.
__init__(**kwargs)

Initializes a new SteeringPolicyWeightedAnswerData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • answer_condition (str) – The value to assign to the answer_condition property of this SteeringPolicyWeightedAnswerData.
  • value (int) – The value to assign to the value property of this SteeringPolicyWeightedAnswerData.
answer_condition

Gets the answer_condition of this SteeringPolicyWeightedAnswerData. An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.

Returns:The answer_condition of this SteeringPolicyWeightedAnswerData.
Return type:str
value

[Required] Gets the value of this SteeringPolicyWeightedAnswerData. The weight assigned to the set of selected answers. Answers with a higher weight will be served more frequently. Answers can be given a value between 0 and 255.

Returns:The value of this SteeringPolicyWeightedAnswerData.
Return type:int