Skips for user. Zendesk API `Reference <https://developer.zendesk.com/rest_api/docs/core/ticket_skips>`__.
519067
def skips(self, user):
        
        return self._get(self._build_url(self.endpoint.skips(id=user)))
627952
private boolean skipOneLine() {
        if (!undecodedChunk.isReadable()) {
            return false;
        }
        byte nextByte = undecodedChunk.readByte();
        if (nextByte == HttpConstants.CR) {
            if (!undecodedChunk.isReadable()) {
                undecodedChunk.readerIndex(undecodedChunk.readerIndex() - 1);
                return false;
            }
            nextByte = undecodedChunk.readByte();
            if (nextByte == HttpConstants.LF) {
                return true;
            }
            undecodedChunk.readerIndex(undecodedChunk.readerIndex() - 2);
            return false;
        }
        if (nextByte == HttpConstants.LF) {
            return true;
        }
        undecodedChunk.readerIndex(undecodedChunk.readerIndex() - 1);
        return false;
    }
219562
def tickets(self, extra_params=None):
        
        tickets = []
        for space in self.api.spaces():
            tickets += filter(
                lambda ticket: ticket.get('assigned_to_id', None) == self['id'],
                space.tickets(extra_params=extra_params)
            )
        return tickets
1286508
def ticket_forms_reorder(self, data, **kwargs):
        ""
        api_path = "/api/v2/ticket_forms/reorder.json"
        return self.call(api_path, method="PUT", data=data, **kwargs)
667689
def tickets(self, view, include=None):
        
        return self._get(self._build_url(self.endpoint.tickets(id=view, include=include)))
916421
def ticket_form_create(self, data, **kwargs):
        ""
        api_path = "/api/v2/ticket_forms.json"
        return self.call(api_path, method="POST", data=data, **kwargs)
731608
def ticket_field_option_show(self, field_id, id, **kwargs):
        ""
        api_path = "/api/v2/ticket_fields/{field_id}/options/{id}.json"
        api_path = api_path.format(field_id=field_id, id=id)
        return self.call(api_path, **kwargs)
1289435
def metrics(self, ticket):
        
        return self._query_zendesk(self.endpoint.metrics, 'ticket_metric', id=ticket)
984555
def parse(self, ticket):
        
        if len(ticket) < self._min_ticket_size():
            raise TicketParseError(ticket, 'Invalid ticket length')

        digest_len = self._hash.digest_size * 2
        digest = ticket[:digest_len]

        try:
            time_len = 8
            time = int(ticket[digest_len:digest_len + time_len], 16)
        except:
            raise TicketParseError(ticket, 'Invalid time field')

        parts = ticket[digest_len + time_len:].split('!')
        if len(parts) != 3:
            raise TicketParseError(ticket, 'Missing parts')

        user_id = ulp.unquote(parts[0])
        tokens = ()
        if parts[1]:
            tokens = tuple((ulp.unquote(t) for t in parts[1].split(',')))

        user_data = ulp.unquote(parts[2])

        return TicketInfo(digest, user_id, tokens, user_data, time)
535057
def ticket_show(self, id, **kwargs):
        ""
        api_path = "/api/v2/tickets/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, **kwargs)
1081916
def suspended_ticket_show(self, id, **kwargs):
        ""
        api_path = "/api/v2/suspended_tickets/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, **kwargs)
241536
def skip(self, sched_rule_id):
        """"""
        path = 'schedulerule/skip'
        payload = {'id': sched_rule_id}
        return self.rachio.put(path, payload)
840677
def ticket_macro_apply(self, ticket_id, id, **kwargs):
        ""
        api_path = "/api/v2/tickets/{ticket_id}/macros/{id}/apply.json"
        api_path = api_path.format(ticket_id=ticket_id, id=id)
        return self.call(api_path, **kwargs)
1171305
protected int cleanInternal() {
        try (val expiredTickets = ticketRegistry.getTicketsStream().filter(Ticket::isExpired)) {
            val ticketsDeleted = expiredTickets
                .mapToInt(this::cleanTicket)
                .sum();
            LOGGER.info("[{}] expired tickets removed.", ticketsDeleted);
            return ticketsDeleted;
        }
    }
1141129
def ticket_delete(self, id, **kwargs):
        ""
        api_path = "/api/v2/tickets/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, method="DELETE", **kwargs)
1252482
def skip_cycles(self) -> int:
        """"""
        return sum((int(re.sub(r'\D', '', op)) for op in self.skip_tokens))
209213
def ticket_field_show(self, id, **kwargs):
        ""
        api_path = "/api/v2/ticket_fields/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, **kwargs)