Get the price of line action

REST: GET /price/xdsl/options/line/{lineAction}
@param lineAction [required] The type of line action
176278
public OvhPrice xdsl_options_line_lineAction_GET(net.minidev.ovh.api.price.xdsl.options.OvhLineEnum lineAction) throws IOException {
		String qPath = "/price/xdsl/options/line/{lineAction}";
		StringBuilder sb = path(qPath, lineAction);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhPrice.class);
	}
772592
public static Xml exports(Collection<ActionRef> actions)
    {
        Check.notNull(actions);

        final Xml node = new Xml(NODE_ACTIONS);

        for (final ActionRef action : actions)
        {
            final Xml nodeAction = node.createChild(NODE_ACTION);
            nodeAction.writeString(ATT_PATH, action.getPath());
            if (action.hasCancel())
            {
                nodeAction.writeBoolean(ATT_CANCEL, true);
            }
            for (final ActionRef ref : action.getRefs())
            {
                exports(nodeAction, ref);
            }
        }

        return node;
    }
109712
def GetValue(self):
    '''
    
    '''
    self.AssertInitialization('Optional')
    value = self._widget.GetValue()
    if not value or len(value) <= 0:
      return None
    return ' '.join(
      [self._action.option_strings[0],  # get the verbose copy if available
       value])
720413
public com.google.iam.v1.BindingDelta.Action getAction() {
    com.google.iam.v1.BindingDelta.Action result = com.google.iam.v1.BindingDelta.Action.valueOf(action_);
    return result == null ? com.google.iam.v1.BindingDelta.Action.UNRECOGNIZED : result;
  }
580664
public alluxio.grpc.SetAclAction getAction() {
    alluxio.grpc.SetAclAction result = alluxio.grpc.SetAclAction.valueOf(action_);
    return result == null ? alluxio.grpc.SetAclAction.REPLACE : result;
  }
73123
def _get_action(self, action):
        
        return_action = action
        if self.partial_update_is_update and action == 'partial_update':
            return_action = 'update'
        return return_action
549377
def labelForAction(self, action):
        
        for label in self.actionLabels():
            if label.action() == action:
                return label
        return None
444171
private void paintAction(final Action action, final String elementName,
			final XmlStringBuilder xml) {
		switch (action.getActionType()) {
			case SHOW:
			case HIDE:
			case ENABLE:
			case DISABLE:
			case OPTIONAL:
			case MANDATORY:
				paintStandardAction(action, elementName, xml);
				break;

			case SHOWIN:
			case HIDEIN:
			case ENABLEIN:
			case DISABLEIN:
				paintInGroupAction(action, elementName, xml);
				break;

			default:
				break;
		}
	}
900080
@Deprecated
    public MethodBinding getAction() {
        MethodBinding result = null;
        MethodExpression me;

        if (null != (me = getActionExpression())) {
            result = new MethodBindingMethodExpressionAdapter(me);
        }
        return result;
    }
895971
function getActualLineIndentText(line) {
            let actualText = actualLineIndentTexts.get(line)
            if (actualText === undefined) {
                const lineText = getLineText(line)
                const index = lineText.search(/\S/u)
                if (index >= 0) {
                    actualText = lineText.slice(0, index)
                } else {
                    actualText = lineText
                }
                actualLineIndentTexts.set(line, actualText)
            }
            return actualText
        }
877221
public Api getActionResult(String action, String params, TokenResult token,
      Object pFormData, String format) throws Exception {
    String text = this.getActionResultText(action, params, token, pFormData,
        format);
    Api api = null;
    if ("xml".equals(format)) {
      if (debug) {
        // convert the xml to a more readable format
        String xmlDebug = text.replace(">", ">\n");
        LOGGER.log(Level.INFO, xmlDebug);
      }
      if (text.startsWith("<?xml version"))
        api = fromXML(text);
      else {
        LOGGER.log(Level.SEVERE, text);
        throw new Exception("invalid xml:" + text);
      }
    } else if ("json".equals(format)) {
      if (debug) {
        LOGGER.log(Level.INFO,
            text.substring(0, Math.min(240, text.length() - 1)));
      }
      if (gson == null)
        gson = new Gson();
      api = gson.fromJson(text, Api.class);
      api.setRawJson(text);
    } else {
      throw new IllegalStateException("unknown format " + format);
    }
    return api;
  }
903208
public TransportApiResult<List<Line>> getLines(LineQueryOptions options)
    {
    	if (options == null)
    	{
    		options = LineQueryOptions.defaultQueryOptions();
    	}
    	
    	return TransportApiClientCalls.getLines(tokenComponent, settings, options, null, null, null);
    }
588772
def _get_action_endpoint(action):
    
    _endpoint = None
    if is_method(action):
        if hasattr(action, "_rule_cache"):
            rc = action._rule_cache
            if rc:
                k = list(rc.keys())[0]
                rules = rc[k]
                len_rules = len(rules)
                if len_rules == 1:
                    rc_kw = rules[0][1]
                    _endpoint = rc_kw.get("endpoint", None)
                    if not _endpoint:
                        _endpoint = _build_endpoint_route_name(action)
                elif len_rules > 1:
                    _prefix = _build_endpoint_route_name(action)
                    for r in Mocha._app.url_map.iter_rules():
                        if ('GET' in r.methods or 'POST' in r.methods) \
                                and _prefix in r.endpoint:
                            _endpoint = r.endpoint
                            break
    return _endpoint
1287178
def get_url(self, action, obj=None, domain=True):
        
        if not obj:
            url = reverse('actstream_detail', None, (action.pk,))
        elif hasattr(obj, 'get_absolute_url'):
            url = obj.get_absolute_url()
        else:
            ctype = ContentType.objects.get_for_model(obj)
            url = reverse('actstream_actor', None, (ctype.pk, obj.pk))
        if domain:
            return add_domain(Site.objects.get_current().domain, url)
        return url
1369149
def get_flag_style_optionals(self, actions):
    
    return [action
            for action in actions
            if isinstance(action, _StoreTrueAction)
            or isinstance(action, _StoreFalseAction)
            or isinstance(action, _StoreConstAction)]
820907
private static IAction createAction(String action) {
        IAction actn = null;
        
        if (!StringUtils.isEmpty(action)) {
            if ((actn = ActionRegistry.getRegisteredAction(action)) == null) {
                actn = ActionUtil.createAction(null, action);
            }
        }
        
        return actn;
    }
1177119
@Override
    public boolean applyAction(Model c) {
        if (c.getMapping().isOffline(node)) {
            c.getMapping().addOnlineNode(node);
            return true;
        }
        return false;
    }