// Code generated by go-swagger; DO NOT EDIT.

package ops

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// GithubCursorPagerResp github cursor pager resp
//
// swagger:model github.CursorPagerResp
type GithubCursorPagerResp struct {

	// end cursor
	EndCursor string `json:"end_cursor,omitempty"`

	// has next page
	HasNextPage bool `json:"has_next_page,omitempty"`
}

// Validate validates this github cursor pager resp
func (m *GithubCursorPagerResp) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this github cursor pager resp based on context it is used
func (m *GithubCursorPagerResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *GithubCursorPagerResp) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *GithubCursorPagerResp) UnmarshalBinary(b []byte) error {
	var res GithubCursorPagerResp
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
