func (o *QueryCombinedDeviceControlPolicyMembersDefault) Code() int {
	return o._statusCode
}
Code gets the status code for the query combined device control policy members default response
package device_control_policies
import (
	"fmt"
	"io"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/crowdstrike/gofalcon/falcon/models"
)
type QueryCombinedDeviceControlPolicyMembersReader struct {
	formats strfmt.Registry
}
func (o *QueryCombinedDeviceControlPolicyMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewQueryCombinedDeviceControlPolicyMembersOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewQueryCombinedDeviceControlPolicyMembersBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 403:
		result := NewQueryCombinedDeviceControlPolicyMembersForbidden()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 404:
		result := NewQueryCombinedDeviceControlPolicyMembersNotFound()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 429:
		result := NewQueryCombinedDeviceControlPolicyMembersTooManyRequests()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewQueryCombinedDeviceControlPolicyMembersInternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		result := NewQueryCombinedDeviceControlPolicyMembersDefault(response.Code())
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		if response.Code()/100 == 2 {
			return result, nil
		}
		return nil, result
	}
}
func NewQueryCombinedDeviceControlPolicyMembersOK() *QueryCombinedDeviceControlPolicyMembersOK {
	return &QueryCombinedDeviceControlPolicyMembersOK{}
}
type QueryCombinedDeviceControlPolicyMembersOK struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.ResponsesPolicyMembersRespV1
}
func (o *QueryCombinedDeviceControlPolicyMembersOK) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersOK  %+v", 200, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersOK) GetPayload() *models.ResponsesPolicyMembersRespV1 {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.ResponsesPolicyMembersRespV1)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersBadRequest() *QueryCombinedDeviceControlPolicyMembersBadRequest {
	return &QueryCombinedDeviceControlPolicyMembersBadRequest{}
}
type QueryCombinedDeviceControlPolicyMembersBadRequest struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.ResponsesPolicyMembersRespV1
}
func (o *QueryCombinedDeviceControlPolicyMembersBadRequest) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersBadRequest  %+v", 400, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersBadRequest) GetPayload() *models.ResponsesPolicyMembersRespV1 {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.ResponsesPolicyMembersRespV1)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersForbidden() *QueryCombinedDeviceControlPolicyMembersForbidden {
	return &QueryCombinedDeviceControlPolicyMembersForbidden{}
}
type QueryCombinedDeviceControlPolicyMembersForbidden struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.MsaErrorsOnly
}
func (o *QueryCombinedDeviceControlPolicyMembersForbidden) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersForbidden  %+v", 403, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersForbidden) GetPayload() *models.MsaErrorsOnly {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersForbidden) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.MsaErrorsOnly)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersNotFound() *QueryCombinedDeviceControlPolicyMembersNotFound {
	return &QueryCombinedDeviceControlPolicyMembersNotFound{}
}
type QueryCombinedDeviceControlPolicyMembersNotFound struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.ResponsesPolicyMembersRespV1
}
func (o *QueryCombinedDeviceControlPolicyMembersNotFound) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersNotFound  %+v", 404, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersNotFound) GetPayload() *models.ResponsesPolicyMembersRespV1 {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersNotFound) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.ResponsesPolicyMembersRespV1)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersTooManyRequests() *QueryCombinedDeviceControlPolicyMembersTooManyRequests {
	return &QueryCombinedDeviceControlPolicyMembersTooManyRequests{}
}
type QueryCombinedDeviceControlPolicyMembersTooManyRequests struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	XRateLimitRetryAfter int64
	Payload *models.MsaReplyMetaOnly
}
func (o *QueryCombinedDeviceControlPolicyMembersTooManyRequests) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersTooManyRequests  %+v", 429, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersTooManyRequests) GetPayload() *models.MsaReplyMetaOnly {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersTooManyRequests) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	hdrXRateLimitRetryAfter := response.GetHeader("X-RateLimit-RetryAfter")
	if hdrXRateLimitRetryAfter != "" {
		valxRateLimitRetryAfter, err := swag.ConvertInt64(hdrXRateLimitRetryAfter)
		if err != nil {
			return errors.InvalidType("X-RateLimit-RetryAfter", "header", "int64", hdrXRateLimitRetryAfter)
		}
		o.XRateLimitRetryAfter = valxRateLimitRetryAfter
	}
	o.Payload = new(models.MsaReplyMetaOnly)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersInternalServerError() *QueryCombinedDeviceControlPolicyMembersInternalServerError {
	return &QueryCombinedDeviceControlPolicyMembersInternalServerError{}
}
type QueryCombinedDeviceControlPolicyMembersInternalServerError struct {
	XRateLimitLimit int64
	XRateLimitRemaining int64
	Payload *models.ResponsesPolicyMembersRespV1
}
func (o *QueryCombinedDeviceControlPolicyMembersInternalServerError) Error() string {
	return fmt.Sprintf("[GET /policy/combined/device-control-members/v1][%d] queryCombinedDeviceControlPolicyMembersInternalServerError  %+v", 500, o.Payload)
}
func (o *QueryCombinedDeviceControlPolicyMembersInternalServerError) GetPayload() *models.ResponsesPolicyMembersRespV1 {
	return o.Payload
}
func (o *QueryCombinedDeviceControlPolicyMembersInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	hdrXRateLimitLimit := response.GetHeader("X-RateLimit-Limit")
	if hdrXRateLimitLimit != "" {
		valxRateLimitLimit, err := swag.ConvertInt64(hdrXRateLimitLimit)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Limit", "header", "int64", hdrXRateLimitLimit)
		}
		o.XRateLimitLimit = valxRateLimitLimit
	}
	hdrXRateLimitRemaining := response.GetHeader("X-RateLimit-Remaining")
	if hdrXRateLimitRemaining != "" {
		valxRateLimitRemaining, err := swag.ConvertInt64(hdrXRateLimitRemaining)
		if err != nil {
			return errors.InvalidType("X-RateLimit-Remaining", "header", "int64", hdrXRateLimitRemaining)
		}
		o.XRateLimitRemaining = valxRateLimitRemaining
	}
	o.Payload = new(models.ResponsesPolicyMembersRespV1)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewQueryCombinedDeviceControlPolicyMembersDefault(code int) *QueryCombinedDeviceControlPolicyMembersDefault {
	return &QueryCombinedDeviceControlPolicyMembersDefault{
		_statusCode: code,
	}
}
type QueryCombinedDeviceControlPolicyMembersDefault struct {
	_statusCode int
	Payload *models.ResponsesPolicyMembersRespV1
}