"""
Created by auto_sdk on 2021.01.20
"""
from api.base import RestApi


class OapiAuthorizationRbacRoleActionUpdateRequest(RestApi):
    def __init__(self, url=None):
        RestApi.__init__(self, url)
        self.agent_id = None
        self.open_action = None
        self.open_role_id = None

    def getHttpMethod(self):
        return 'POST'

    def getapiname(self):
        return 'dingtalk.oapi.authorization.rbac.role.action.update'
